• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
inconsistent crash drawing a string in a custom browser cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: inconsistent crash drawing a string in a custom browser cell
      • From: Aki Inoue <email@hidden>
  • Prev by Date: not seeing NSNotification
  • Next by Date: Re: inconsistent crash drawing a string in a custom browser cell
  • Previous by thread: Re: not seeing NSNotification
  • Next by thread: Re: inconsistent crash drawing a string in a custom browser cell
  • Index(es):
    • Date
    • Thread