Skip navigation.
 
mlRe: Crash when dispaying document in iChat Theater
FROM : Quincey Morris
DATE : Mon Apr 21 20:25:49 2008

On Apr 21, 2008, at 10:32, Antonio Nunes wrote:

> d is a local variable indeed, but it is just an intermediate 
> instrument, one that points to a document that is held' by the 
> document controller. The object d points to remains connected to a 
> root object by being held by the controller.
>
> Just in case: turning of the collector for variable d doesn't make a 
> difference. Stil crashes.


The interesting part of the stack trace is:

> <something that tries to send an objc message>
> #1  0x90a2f337 in _pixelBufferReleaseCallback ()
> #2  0x93079d78 in CVPixelBufferBacking::finalize ()
> #3  0x9307242e in CVPixelBuffer::finalize ()



That has the *appearance* of CVPixelBufferBacking violating the 
finalize rules -- it looks like it's sending a message to the object 
that allocated it, but that object has already been garbage collected 
out of existence (or, in the case of the second stack trace, been 
reallocated already as a different kind of object). If that's so, I 
agree it looks like a frameworks bug.

Related mailsAuthorDate
mlCrash when dispaying document in iChat Theater Antonio Nunes Apr 21, 14:18
mlRe: Crash when dispaying document in iChat Theater Kevin Grant Apr 21, 17:55
mlRe: Crash when dispaying document in iChat Theater Antonio Nunes Apr 21, 18:36
mlRe: Crash when dispaying document in iChat Theater Quincey Morris Apr 21, 18:52
mlRe: Crash when dispaying document in iChat Theater Antonio Nunes Apr 21, 19:32
mlRe: Crash when dispaying document in iChat Theater Quincey Morris Apr 21, 20:25