Skip navigation.
 
mlRe: Crash in CGDisplayCurrentMode()
FROM : Timothy J.Wood
DATE : Tue Apr 19 02:33:37 2005

On Apr 18, 2005, at 4:08 PM, Nigel Pearson wrote:
>>  My guess would be that the display mode dictionary
>> is getting deallocated and you are hitting a zombie.

>
>     Possible, but why would the CoreGraphics library code be
> deallocating the dictionary that it is meant to return to me?


  No; I mean that my guess is that your code is deallocating the
display mode dictionary somehow and that calling into CG is just
exposing this (possibly CG accesses the mode dictionary).

  At any rate, if you turn on zombie debugging and malloc_history
support you should be able to see the pointer of the dictionary and
then use malloc_history to see what stack frame deallocated it
(hopefully, anyway).

-tim

Related mailsAuthorDate
mlCrash in CGDisplayCurrentMode() Nigel Pearson Apr 18, 04:22
mlRe: Crash in CGDisplayCurrentMode() Timothy J.Wood Apr 18, 18:20
mlRe: Crash in CGDisplayCurrentMode() Nigel Pearson Apr 19, 01:08
mlRe: Crash in CGDisplayCurrentMode() Timothy J.Wood Apr 19, 02:33
mlRe: Crash in CGDisplayCurrentMode() Nigel Pearson Apr 28, 08:49