• 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
Re: inconsistent crash drawing a string in a custom browser cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inconsistent crash drawing a string in a custom browser cell


  • Subject: Re: inconsistent crash drawing a string in a custom browser cell
  • From: Aki Inoue <email@hidden>
  • Date: Wed, 7 Jun 2006 12:41:38 -0700

Graham,

It's hard to determine what's wrong with the information here.
Which version of Tiger are you using ?

Also, it would be much more useful to show the crash log from the Reporter.

Aki

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:baselineRende ring:usesFontLeading:usesScreenFont:typesetterBehavior:paragraphStyle: lineBreakMode: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

_______________________________________________ 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
References: 
 >inconsistent crash drawing a string in a custom browser cell (From: Graham <email@hidden>)

  • Prev by Date: inconsistent crash drawing a string in a custom browser cell
  • Next by Date: Re: Editing State in NSOutlineView
  • Previous by thread: inconsistent crash drawing a string in a custom browser cell
  • Next by thread: Re: Re: inconsistent crash drawing a string in a custom browser cell
  • Index(es):
    • Date
    • Thread