Re: NSView viewWillDraw crash
Re: NSView viewWillDraw crash
- Subject: Re: NSView viewWillDraw crash
- From: "Clark Cox" <email@hidden>
- Date: Thu, 10 Jan 2008 13:27:00 -0800
On Jan 10, 2008 1:13 PM, Keith Duncan <email@hidden> 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@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden