Random crashes
Random crashes
- Subject: Random crashes
- From: Alexander Reichstadt <email@hidden>
- Date: Tue, 01 Apr 2014 23:19:36 +0200
Hi,
in a project using the default Spritekit template all works fine until one leaves the app and switches to another process, which results in random crashes without a backtrace. After having switched to another process and returning to the running or also paused game, it's only a question of time when it will crash.
It always seems to involve the main window. The trace is not very helpful as it crashes outside the app's own code. The last calls that I can see in the debugger are sometimes [NSApplication updateWindows], other times it's [NSWindow becomeKeyWindow].
Googling this issue was not very helpful. Suggestions varied from putting the entire app in a try-block, subclassing NSApplication for testing purposes, up to including creating the entire project from scratch and copy pasting line by line.....good luck with that. Except for that last option I tried the other two to no avail. Is there a way to find the root cause of such a crash?
Thx
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden