Re: Mysterious crash in objc_msgSend in GC app

2009-10-27 Thread Bill Bumgarner
On Oct 27, 2009, at 3:08 PM, Sean McBride wrote: > nor do I do any dynamic > loading nor unloading of bundles. You don't, but there appear to be certain QuickTime components -- decoder/encoder modules, perchance? -- that do and will inside your application if you use QuickTime. There may be o

Re: Mysterious crash in objc_msgSend in GC app

2009-10-27 Thread Sean McBride
On 10/27/09 1:57 PM, Greg Parker said: >NSSpeechRecognizer passes `self` to a void* callback context >parameter. Under GC it should use CFRetain() to keep itself alive >until the callback returns, but on Leopard it still used [self >retain]. You get the crash when GC throws the object away and the

Re: Mysterious crash in objc_msgSend in GC app

2009-10-27 Thread Greg Parker
On Oct 27, 2009, at 1:24 PM, Sean McBride wrote: On 10/27/09 11:30 AM, Greg Parker said: I'm able to determine that the selector was from libobjc.A.dylib but I don't know which (the uuid from dwarfdump does not match mine). The selector is `_handleRecognitionDoneWithRecognitionResult:`, whic

Re: Mysterious crash in objc_msgSend in GC app

2009-10-27 Thread Sean McBride
On 10/27/09 11:30 AM, Greg Parker said: >> I'm able to determine that the selector was from libobjc.A.dylib but I >> don't know which (the uuid from dwarfdump does not match mine). > >The selector is `_handleRecognitionDoneWithRecognitionResult:`, which How did you determine that? Like the repor

Re: Mysterious crash in objc_msgSend in GC app

2009-10-27 Thread Greg Parker
On Oct 27, 2009, at 10:43 AM, Sean McBride wrote: Occasionally, my GC app crashes in objc_msgSend with none of my code in the backtrace. This only happens to customers; I've never caught it in gdb. I've read through Greg's awesome "So you crashed in objc_msgSend()" article, but I still don'

Re: Mysterious crash in objc_msgSend in GC app

2009-10-27 Thread Jens Alfke
On Oct 27, 2009, at 10:43 AM, Sean McBride wrote: Thread 0 Crashed: 0 libobjc.A.dylib 0x7fff81d86ad9 objc_msgSend + 41 1 com.apple.CoreFoundation0x7fff81eba969 __CFMessagePortPerform + 185 2 com.apple.CoreFoundation0x7fff81eda12c CFRun

Re: Mysterious crash in objc_msgSend in GC app

2009-10-27 Thread Bill Bumgarner
On Oct 27, 2009, at 10:43 AM, Sean McBride wrote: > Occasionally, my GC app crashes in objc_msgSend with none of my code in > the backtrace. This only happens to customers; I've never caught it in gdb. > > I've read through Greg's awesome "So you crashed in objc_msgSend()" > article, but I stil

Mysterious crash in objc_msgSend in GC app

2009-10-27 Thread Sean McBride
Hi all, Occasionally, my GC app crashes in objc_msgSend with none of my code in the backtrace. This only happens to customers; I've never caught it in gdb. I've read through Greg's awesome "So you crashed in objc_msgSend()" article, but I still don't have a clue. :( I'm able to determine that t