Skip navigation.
 
mlRe: EXC_BAD_ACCESS with NSAutoReleasePool, NSThread and NSThreadWillExitNotification
FROM : Jonathan del Strother
DATE : Tue Oct 14 16:47:20 2008

On Tue, Oct 14, 2008 at 3:38 PM, John Zorko <<email_removed>> wrote:
>
> Hello, all ...
>
> I'm experiencing a crash after a thread exits.
>
> Program received signal:  "EXC_BAD_ACCESS".
> (gdb) bt
> #0  0x300c8c18 in objc_msgSend ()
> #1  0x3067073a in NSPopAutoreleasePool ()
> #2  0x306770ea in __NSFinalizeThreadData ()
> #3  0x31446f6e in _pthread_tsd_cleanup ()
> #4  0x31449ae4 in _pthread_exit ()
> #5  0x3144b7e8 in pthread_exit ()
> #6  0x30676e66 in +[NSThread exit] ()
> #7  0x30673444 in __NSThread__main__ ()
> #8  0x3144a824 in _pthread_body ()
> #9  0x00000000 in ?? ()
> (gdb)
>....


You're probably over-releasing something.  Turn on NSZombieEnabled to
find out what.
http://developer.apple.com/technotes/tn2004/tn2124.html

Related mailsAuthorDate
mlEXC_BAD_ACCESS with NSAutoReleasePool, NSThread and NSThreadWillExitNotification John Zorko Oct 14, 16:38
mlRe: EXC_BAD_ACCESS with NSAutoReleasePool, NSThread and NSThreadWillExitNotification Jonathan del Strot… Oct 14, 16:47
mlRe: EXC_BAD_ACCESS with NSAutoReleasePool, NSThread and NSThreadWillExitNotification John Zorko Oct 14, 21:02
mlRe: EXC_BAD_ACCESS with NSAutoReleasePool, NSThread and NSThreadWillExitNotification Ken Thomases Oct 15, 07:37