Re: Trying to understand/prevent crash using restorableStateKeyPaths in NSPersistentUI Work
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