On Jan 23, 2013, at 23:49 , Kyle Sluder <k...@ksluder.com> wrote:

> There's no need to release and
> reinstall your tracking areas every time you get -updateTrackingAreas

I agree with this part.

> Regardless, you've failed to implement the pattern properly. You're
> never removing the tracking areas before installing new ones.

And I agree with this part.

> It should
> be pretty obvious why this is causing you to crash when messaging zombie
> objects.

But not this, though it was my first thought, too. However, it would be a bug 
in the frameworks if 'addTrackingArea:' didn't retain the passed area, which 
means the code (effectively) leaks tracking areas, rather than creating zombies.

Nevertheless, it does look like a memory management error, possibly one that's 
unrelated to tracking areas except by chance.


On Jan 23, 2013, at 23:14 , Nick Rogers <roger...@mac.com> wrote:

> The crash report says something about _updateTrackingAreas, so I have 
> detailed about the situation above.

What's the actual error message? You left that out, but it's important.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to