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

lldb console spammed with quit attempts, app hangs without running #29

Closed
OrangeDog opened this issue Apr 9, 2014 · 9 comments
Closed

Comments

@OrangeDog
Copy link

v1.0.6
Using --verbose, --debug, --nointeractive and --unbuffered.
Might be multiple issues going on here.

------ Debug phase ------
Device support path: /Users/me/Library/Developer/Xcode/iOS DeviceSupport/7.0.4 (11B554a)
Developer disk image: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1 (11D167)/DeveloperDiskImage.dmg
[ 0%] Looking up developer disk image
[ 90%] Mounting developer disk image
[ 95%] Developer disk image already mounted
[100%] Connecting to remote debug server
-------------------------
tcsetpgrp failed: Inappropriate ioctl for device
^D
^D
^D
^D
^D
^D
^D
quit
quit
qu(lldb) quit
quit
[ ... some pages later ... ]
quit
quit
quit^D
qusuccess
Executing commands in '/tmp/fruitstrap-lldb-prep-cmds-'.
(lldb) platform select remote-ios --sysroot '/Users/me/Library/Developer/Xcode/iOS DeviceSupport/7.0.4 (11B554a)/Symbols'
Platform: remote-ios
Connected: no
SDK Path: "/Users/me/Library/Developer/Xcode/iOS DeviceSupport/7.0.4 (11B554a)/Symbols"
(lldb) target create "MyApp.app"
Current executable set to 'MyApp.app' (armv7).
(lldb) script fruitstrap_device_app="/private/var/mobile/Applications/442DB2EB-C55B-47AC-8B8E-9DD449A51E29/MyApp.app"
(lldb) script fruitstrap_connect_url="connect://127.0.0.1:12345"
(lldb) command script import "/tmp/fruitstrap_.py"
(lldb) command script add -f fruitstrap_.connect_command connect
(lldb) command script add -s asynchronous -f fruitstrap_.run_command run
(lldb) connect
(lldb) settings set -- auto-confirm true
(lldb) target stop-hook add --one-liner "bt"
Stop hook #1 added.
(lldb) target stop-hook add --one-liner "quit"
Stop hook #2 added.
(lldb) run

The app then does not run, and ios-deploy hangs indefinitely.

@smilediver
Copy link

Try updating to the latest revision. If that doesn't help, could you provide more info: how are you running ios-deploy? Is it directly from command line or from a script?

@OrangeDog
Copy link
Author

Run via a Jenkins slave connected via JNLP.
I haven't seen it when running the same command directly in a Terminal window.

@johnlabarge
Copy link

I have the same issue trying to get an automated build going. Any clue yet?

@johnlabarge
Copy link

Here is the command that I'm using: ios-deploy -i b07cfe50e870c792fce423ccc33b42e407f203d0 -b 'build/sym/Debug-iphoneos/whitewallet-cal.app' -d

@smilediver
Copy link

Sorry, didn't had time to look into the issue yet. Maybe next week I'll have some free time.

@johnlabarge
Copy link

I think there is a problem with the disk on the phone "Already being mounted"

@smilediver
Copy link

I've fixed at least the ^D and quit spam, but I'm not sure if the hang and not running is related to this issue. Anyway, I recommend getting and building from https://github.com/Unity-Technologies/ios-deploy master branch, and see if it works.

P.S. "Developer disk image already mounted" is not an issue, I get it too, but it works for me.

@shazron
Copy link

shazron commented Apr 30, 2014

Pulled in #33

@OrangeDog
Copy link
Author

It works! Thanks very much.

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

4 participants