EXC_BAD_ACCESS with NSAutoReleasePool, NSThread and NSThreadWillExitNotification

2008-10-14 Thread John Zorko
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

Re: EXC_BAD_ACCESS with NSAutoReleasePool, NSThread and NSThreadWillExitNotification

2008-10-14 Thread Jonathan del Strother
On Tue, Oct 14, 2008 at 3:38 PM, John Zorko [EMAIL PROTECTED] 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

Re: EXC_BAD_ACCESS with NSAutoReleasePool, NSThread and NSThreadWillExitNotification

2008-10-14 Thread John Zorko
Jonathan et al, Yup -- that was exactly it -- had nothing to do with the thread, even ... I had instantiated something and made it autorelease, but then proceeded to release it myself anyway like a doof. On Oct 14, 2008, at 7:47 AM, Jonathan del Strother wrote: On Tue, Oct 14, 2008 at

Re: EXC_BAD_ACCESS with NSAutoReleasePool, NSThread and NSThreadWillExitNotification

2008-10-14 Thread Ken Thomases
I realize you've already identified the cause of the crash but... On Oct 14, 2008, at 9:38 AM, John Zorko wrote: ... and the threadStopped method does this: - (void)threadStopped { NSLog(@*** streamer thread has stopped ***); [[NSNotificationCenter defaultCenter]