idb icon indicating copy to clipboard operation
idb copied to clipboard

fbsimctl crash

Open yaphatak opened this issue 9 years ago • 3 comments

@lawrencelomax : Have you seen such crashes? We try to launch multiple simulators. When I do this manually via terminal it works fine. But when I put this under our service , basically only change we did is started used direct-launch instead of plain boot.

Here is crash log

yaphatak avatar Mar 13 '17 21:03 yaphatak

Is your service closing stdout or stderr before execing fbsimctl?

On Mon, Mar 13, 2017, 21:45 Yatin Phatak [email protected] wrote:

@lawrencelomax https://github.com/lawrencelomax : Have you seen such crashes? We try to launch multiple simulators. When I do this manually via terminal it works fine. But when I put this under our service , basically only change we did is started used direct-launch instead of plain boot.

Here is crash log https://gist.github.com/yaphatak/eba6468b87ec0f99f1e6a8ddae6b0168

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/facebook/FBSimulatorControl/issues/394, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEEtOqPpWEFYX2gMQykf-cnZShl4GNhks5rlbjvgaJpZM4Mb28q .

zsol avatar Mar 13 '17 21:03 zsol

@zsol When you said close stdout or stderr, is it the one belongs to earlier fbsimctl process? We don't explicitly close it. I just tried launching them via mac application (using swift), it works. For some reason it doesn't when using mono. I will debug more

yaphatak avatar Mar 13 '17 22:03 yaphatak

redirecting stdout & stderr to /dev/null fixes it

yaphatak avatar Mar 13 '17 23:03 yaphatak