Re: NSView viewWillDraw crash
Re: NSView viewWillDraw crash
- Subject: Re: NSView viewWillDraw crash
- From: Bill Bumgarner <email@hidden>
- Date: Thu, 10 Jan 2008 13:22:55 -0800
On Jan 10, 2008, at 1:13 PM, Keith Duncan 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 ()
#3 0x9381f86a in -[NSView viewWillDraw] ()
It indicates that some view was likely removed from the view hierarchy
while that particular thread was trying to figure out what views will
need drawing.
While the backtrace doesn't pass through your code, you cannot
conclude that it isn't a bug in your code. In particular, are you
manipulating the view hierarchy -- removing views from it -- from
another thread or in any "figure out the rect that needs to be
refreshed" code?
b.bum
_______________________________________________
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