FROM : Bill Bumgarner
DATE : Thu Jan 10 22:22:55 2008
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
DATE : Thu Jan 10 22:22:55 2008
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
| Related mails | Author | Date |
|---|---|---|
| Keith Duncan | Jan 10, 22:13 | |
| Bill Bumgarner | Jan 10, 22:22 | |
| j o a r | Jan 10, 22:26 | |
| Clark Cox | Jan 10, 22:27 | |
| Keith Duncan | Jan 11, 11:27 | |
| Corbin Dunn | Jan 16, 00:13 |






Cocoa mail archive

