Re: Tracking a EXC_BAD_ACCESS when zombies don't work
Re: Tracking a EXC_BAD_ACCESS when zombies don't work
- Subject: Re: Tracking a EXC_BAD_ACCESS when zombies don't work
- From: Bruce Cresanta <email@hidden>
- Date: Wed, 16 Feb 2011 11:52:20 -0700
A big clue is in your backtrace:
#261968 0x98d06f38 in CFRelease
#261969 0x98d06f38 in CFRelease
#261970 0x98d06f38 in CFRelease
#261971 0x98d33c6d in _CFAutoreleasePoolPop
#261972 0x9867d0aa in NSPopAutoreleasePool
#261973 0x9867cfd2 in -[NSAutoreleasePool drain]
#261974 0x986c4596 in _NSAppleEventManagerGenericHandler
#261975 0x91450f58 in aeDispatchAppleEvent
#261976 0x91450e57 in dispatchEventAndSendReply
#261977 0x91450d61 in aeProcessAppleEvent
#261978 0x9519d389 in AEProcessAppleEvent
#261979 0x93b9a9ca in _DPSNextEvent
#261980 0x93b99fce in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#261981 0x93b5c247 in -[NSApplication run]
#261982 0x93b542d9 in NSApplicationMain
#261983 0x0003513a in main at main.m:23
//////////////
#261971 0x98d33c6d in _CFAutoreleasePoolPop results in EXC_BAD_ACCESS when you release a variable marked as autorelease. Go back through your code and make sure you manually haven't released an autoreleased variable.
Bruce
On Feb 16, 2011, at 11:27 AM, Keith Blount wrote:
> And the backtrace doesn't help either:
>
> #261968 0x98d06f38 in CFRelease
> #261969 0x98d06f38 in CFRelease
> #261970 0x98d06f38 in CFRelease
> #261971 0x98d33c6d in _CFAutoreleasePoolPop
> #261972 0x9867d0aa in NSPopAutoreleasePool
> #261973 0x9867cfd2 in -[NSAutoreleasePool drain]
> #261974 0x986c4596 in _NSAppleEventManagerGenericHandler
> #261975 0x91450f58 in aeDispatchAppleEvent
> #261976 0x91450e57 in dispatchEventAndSendReply
> #261977 0x91450d61 in aeProcessAppleEvent
> #261978 0x9519d389 in AEProcessAppleEvent
> #261979 0x93b9a9ca in _DPSNextEvent
> #261980 0x93b99fce in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
> #261981 0x93b5c247 in -[NSApplication run]
> #261982 0x93b542d9 in NSApplicationMain
> #261983 0x0003513a in main at main.m:23
_______________________________________________
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