inconsistent crash drawing a string in a custom browser cell
inconsistent crash drawing a string in a custom browser cell
- Subject: inconsistent crash drawing a string in a custom browser cell
- From: Graham <email@hidden>
- Date: Wed, 7 Jun 2006 15:21:39 -0400
I have an NSBrowser using my custom cells.
Occasionally I get this error that crashes my app when scrolling down
a column.
All the values in the statement are valid so I don't know what the
problem is.
At the bottom is the stack trace from the offending line upwards.
Any ideas?
line 82 is: [header drawInRect:rect];
header is an NSMutableAttributedString with a valid value in it
rect is an NSRect with the values: x=75, y=1725 w=193 h=30
#0 0x90a4fca0 in _objc_trap
#1 0x90a4fc18 in _objc_error
#2 0x90a4fba4 in __objc_error
#3 0x93aff3c0 in +[NSStringDrawingTextStorage
_fastDrawString:attributes:length:inRect:graphicsContext:baselineRenderi
ng:usesFontLeading:usesScreenFont:typesetterBehavior:paragraphStyle:line
BreakMode:boundingRect:padding:scrollable:]
#4 0x93778444 in _NSStringDrawingCore
#5 0x937fa160 in -[NSAttributedString(NSStringDrawing) drawInRect:]
#6 0x000dc120 in -[Cell draw:inView:] at Cell.m:82
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden