On Jun 10, 2010, at 9:00 AM, Sixten Otto wrote: > It seems like what's happening is that there's some object someplace > that's holding an unretained pointer to my entity, and trying to use > it after it's gone. But the stack trace doesn't tell me much of > anything (and I confess that I really don't grok assembly).
If you suspect a use-after-free bug somewhere, and NSZombie doesn't find it, then try this: 1. Verify that NSZombie is operating. Add `[[[[NSMutableString alloc] init] release] release]` to your code. Make sure NSZombie catches it. 2. If NSZombie doesn't help, try Guard Malloc. It's slow, but catches errors that NSZombie does not catch. -- Greg Parker gpar...@apple.com Runtime Wrangler _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com