• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Random crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Random crashes
      • From: Uli Kusterer <email@hidden>
    • Re: Random crashes
      • From: Kevin Muldoon <email@hidden>
    • Re: Random crashes
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: NSDictionary @synchronize to read multiple objects
  • Next by Date: Re: Random crashes
  • Previous by thread: Re: NSDictionary @synchronize to read multiple objects
  • Next by thread: Re: Random crashes
  • Index(es):
    • Date
    • Thread