Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect checksum for freed object #78

Open
yezilife opened this issue Oct 29, 2014 · 8 comments
Open

incorrect checksum for freed object #78

yezilife opened this issue Oct 29, 2014 · 8 comments

Comments

@yezilife
Copy link

I updated to iOS 8 SDK, and also updated tuneup js, but I got following error when I try to run automation:
ruby(22747,0x7fff76253300) malloc: *** error for object 0x100801a08: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
./runTestCase.sh: line 119: 22747 Abort trap: 6 $BASEDIR/automation/tests/tuneup/test_runner/run $PROJECT $BASEDIR/automation/tests/$PROJECT/$TESTCASE.js $BASEDIR/automation/results/ $TEMPLATE_OPTION $PLATFORM_OPTION -c -v

any idea? Thanks/

@alexvollmer
Copy link
Collaborator

It looks like a problem with Ruby. What version are you running and is it one that came with OS X or one you installed separately?

@yezilife
Copy link
Author

I appreciate your quick reply, Alex!
tunesup works fine with iOS 7., I just upgrade the OS and Xcode SDK to iOS8., I didn't remember I install Ruby, but I did install COCOAPODS this morning as well by using "sudo gem install cocoapods", not sure is cocoapods did something or not
which version of Ruby should I use?

@yezilife
Copy link
Author

actually I ended up getting the latest tuneup js by clone from git hub directly but not through cocoapods

@yezilife
Copy link
Author

I believe this is not the new tuneup script issue, the same error happens if I switch back to old tuneup script, interesting thing is, if I keep trying RunTestCase.sh, it will pass the error after a few try, but eventually it will fail at later steps (I think it's Instruments path)

@yezilife
Copy link
Author

even I run >ruby -v
ruby(24391,0x7fff76253300) malloc: *** error for object 0x100801a08: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6

@alexvollmer
Copy link
Collaborator

Are you running the stock Ruby, or one you installed yourself?

@yezilife
Copy link
Author

i am not sure, i didn't do any configuration, should I use which one? and how can I specify?

@yezilife
Copy link
Author

I fixed the ruby issue by installing Ruby 2.1.4, new issues shows up:

Launching instruments. Will retry 0 more times if it doesn't initialize

2014-10-29 15:32:14.736 instruments[63836:226173] WebKit Threading Violation - initial use of WebKit from a secondary thread.
Instruments Trace Error : Target failed to run: The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 4.) : Failed to launch process with bundle identifier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants