Skip navigation.
 
mlRe: NSView viewWillDraw crash
FROM : Clark Cox
DATE : Thu Jan 10 22:27:00 2008

On Jan 10, 2008 1:13 PM, Keith Duncan <<email_removed>> wrote:
> I've just caught a crash in NSView's viewWillDraw method, stack
> backtrace below, note that none of my views implement this method. I'm
> trying to think of an instance in which a crash could happen without
> having overidden the method?
>
> I'f no-one can think of anything I'll just have to file a bug.
>
> - Keith
>
> #0  0x915f15e4 in CFRelease ()
> #1  0x91581343 in __CFArrayReleaseValues ()
> #2  0x915f17c8 in _CFRelease ()


Crashes in CFRelease or -release almost always indicate that some
object has been over-released. I'd pay special attention to any code
you have that either creates views or manipulates the view hierarchy
in other ways. Look for any -release or -autorelease method calls that
aren't properly balanced.

--
Clark S. Cox III
<email_removed>

Related mailsAuthorDate
mlNSView viewWillDraw crash Keith Duncan Jan 10, 22:13
mlRe: NSView viewWillDraw crash Bill Bumgarner Jan 10, 22:22
mlRe: NSView viewWillDraw crash j o a r Jan 10, 22:26
mlRe: NSView viewWillDraw crash Clark Cox Jan 10, 22:27
mlRe: NSView viewWillDraw crash Keith Duncan Jan 11, 11:27
mlRe: NSView viewWillDraw crash Corbin Dunn Jan 16, 00:13