Debugging SIGKILL when opening app after multitasking quit

Hi everyone,

I'm having some trouble trying to debug a complication with an application I'm working on.

Now, we've not added any multitasking functionality - infact most of it is as Xcode creates it. However, if I launch the app in the simulator, quit the app completely (via the double home button tap) then launch it again it all falls over with a SIGKILL complaint.

The thing that's really causing me a problem is that all of the crash reports and profiling methods all seem to stop 'following' the app once I fully quit it and thus I get no feedback about what's causing the application to crash.

Am I missing something?

Thanks.
Greg.

Macbook Pro, Mac OS X (10.6.6)

Posted on Mar 19, 2011 9:18 AM

Reply
22 replies

Mar 22, 2011 2:08 PM in response to GregularExpressions

I get the same thing with my tab bar App.
- Launch with Xcode 4 and run in simulator.
- Quit App with Home button.
- Double Tap Home to bring up running Apps.
- Hold finger on App and tap X to quit running.
- Relaunch by tapping App in Simulator and SigKill crash in Xcode on the Main() run loop.

No Errors logged by App, but there is the "Error deserializing wallpaper image" error seen by running "Console" that is caused by the "SpringBoard" process.

Have seen no solution,
Jim

Mar 22, 2011 2:32 PM in response to Mac Jim ID

After further research it appears to be normal behavior. The SigKill comes up since the App was ran by Xcode and the process was stopped by "SpringBoard". The debugger catches the kill in Xcode after it is ran again from "Springboard". If you continue from the debugger the App will run as usual.
Also, you can launch the App in Xcode until the App comes up, then Stop the App in Xcode. You can then run the App in simulator and quit it as described above without the error on relaunch. You won't get the debugging information that stopped the App previously.

The issue was explained by Rincewind on the Apple Developer Forums.

Hope this helps your situation.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Debugging SIGKILL when opening app after multitasking quit

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.