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

Segmentation fault: 11 #194

Closed
siuying opened this issue Nov 26, 2015 · 7 comments
Closed

Segmentation fault: 11 #194

siuying opened this issue Nov 26, 2015 · 7 comments
Labels
Milestone

Comments

@siuying
Copy link

siuying commented Nov 26, 2015

ios-deploy just crash when I try to download file

ios-deploy --download=/Logs --bundle_id the_app --to ./Downloads/Logs
[....] Waiting for iOS device to be connected
[....] Using iPhone 6 Plus 'Halley' (.....).
Segmentation fault: 11
ios-deploy -l --bundle_id the_app
[....] Waiting for iOS device to be connected
[....] Using (...).
Segmentation fault: 11
@siuying
Copy link
Author

siuying commented Nov 27, 2015

That was the master branch, the 2.x branch will not crash.

@fxfactorial
Copy link

A segfault with no stack info or even core dump is pretty useless.

@siuying
Copy link
Author

siuying commented Dec 8, 2015

True, please find a crash log at: http://cl.ly/34290y1Z2X2k

Same crash with install using npm install -g ios-deploy in a different machine.

@shazron
Copy link

shazron commented Jan 5, 2016

Thanks!
Pasted it here: https://gist.github.com/shazron/fb950a19e6a715bbbdc4

@shazron shazron added the bug label Jan 5, 2016
@shazron shazron added this to the 1.8.4 milestone Jan 5, 2016
@shazron
Copy link

shazron commented Jan 5, 2016

Looks like the macro stringification of the method call is failing I think here:
https://github.com/phonegap/ios-deploy/blob/922f8483a78b1904c020b8c22058de204e4e32ca/src/ios-deploy.c#L198

If it was a C String it would work, but the format string is an Obj-C string here

@shazron
Copy link

shazron commented Jan 5, 2016

Sorry - red herring, that's not it.

@shazron
Copy link

shazron commented Jan 5, 2016

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

No branches or pull requests

3 participants