Re: Intermittent crashes in updateTrackingArea from delegate

Jack Nutting <[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
On Fri, Jan 29, 2010 at 2:01 PM, Christiaan Hofman <[email protected]> wrote:
> The crasher takes place in the -respondsToSelector: line, which is called from -updateTrackingAreas. It's the usual and useless EXC_BAD_ACCESS. It seems that the delegate is not valid, I get it when I call anything on the delegate, for instance when I replace the whole rebuildTrackingAreas implementation with something like NSLog(@"%@", [self delegate]);. However, the debugger does not say the _delegate is out of scope, though it only gives an "isa" in its outline.


Seems like your delegate object has been released.  Have you tried
running with NSZombieEnabled?

  http://www.cocoadev.com/index.pl?NSZombieEnabled

-- 
// jack
// http://www.nuthole.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.