• 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
Re: Trying to understand/prevent crash using restorableStateKeyPaths in NSPersistentUI Work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to understand/prevent crash using restorableStateKeyPaths in NSPersistentUI Work


  • Subject: Re: Trying to understand/prevent crash using restorableStateKeyPaths in NSPersistentUI Work
  • From: Eric Wing <email@hidden>
  • Date: Mon, 29 Jul 2013 22:01:49 -0700

> There are a couple of interesting points here. Perhaps the appearance of
> 'probeGC' in Eric's backtrace suggests he's using garbage collection. Are
> you doing so too? If not, then it wouldn't be surprising that the crash is
> more reproducible for you. Eric was racing garbage collection for a zombie
> access. For a non-GC app, you always lose the race before it even starts.

No, this wasn't under garbage collection. The app was a traditional,
pre-ARC app. Maybe I accidentally turned it on while trying to debug
the problem, but it seems very unlikely. Or maybe I created a new
isolated test case which reproduced the problem and accidentally
turned it on, but that seems unlikely too.


> Secondly, this has all the appearance of a memory management error, though
> of course that's not necessarily conclusive. In Eric's narrative, the crash
> occurs with a zombie *window controller*, but he doesn't mention the status
> of the window at that moment.

I don't remember. This was from a year ago? I know I never resolved
it. I think this was simply after closing the window, though maybe it
was on restart. I really can't remember. The behavior was not always
reproducible (sometimes it would happen).


Thanks,
Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/
_______________________________________________

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


References: 
 >Re: Trying to understand/prevent crash using restorableStateKeyPaths in NSPersistentUI Work (From: Lee Ann Rucker <email@hidden>)
 >Re: Trying to understand/prevent crash using restorableStateKeyPaths in NSPersistentUI Work (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Trying to understand/prevent crash using restorableStateKeyPaths in NSPersistentUI Work
  • Next by Date: Re: Trying to understand/prevent crash using restorableStateKeyPaths in NSPersistentUI Work
  • Previous by thread: Re: Trying to understand/prevent crash using restorableStateKeyPaths in NSPersistentUI Work
  • Next by thread: How to add device to Team Provisioning Profile?
  • Index(es):
    • Date
    • Thread