• 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
Crash while drawing cell in NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash while drawing cell in NSOutlineView


  • Subject: Crash while drawing cell in NSOutlineView
  • From: Trygve Inda <email@hidden>
  • Date: Sun, 14 Feb 2010 03:13:46 +0000
  • Thread-topic: Crash while drawing cell in NSOutlineView

In code based largely on Apple's SourceView, I am drawing by IconAndTextCell
and getting a crash...

Anyone seen this and know what it might be?

I have added code to draw a badge which I am updating frequently - if I only
call it once, it works ok... But if it is called rapidly I get:

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib                   0x00007fff818ab120 objc_msgSend + 44
1   com.apple.CoreFoundation          0x00007fff867ac246
_CFAutoreleasePoolPop + 230
2   com.apple.AppKit                  0x00007fff81a69d3d -[NSTableView
drawRow:clipRect:] + 1343
3   com.apple.AppKit                  0x00007fff81a695cb -[NSTableView
drawRowIndexes:clipRect:] + 369
4   com.apple.AppKit                  0x00007fff81a6944c -[NSOutlineView
drawRowIndexes:clipRect:] + 131
5   com.apple.AppKit                  0x00007fff81a67f78 -[NSTableView
drawRect:] + 1302
6   com.apple.AppKit                  0x00007fff81a5e05e -[NSView
_drawRect:clip:] + 3566
7   com.apple.AppKit                  0x00007fff81a5b834 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRect
ForView:topView:] + 2112
8   com.apple.AppKit                  0x00007fff81a5c1bf -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRect
ForView:topView:] + 4555
9   com.apple.AppKit                  0x00007fff81a5c1bf -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRect
ForView:topView:] + 4555
10  com.apple.AppKit                  0x00007fff81a5c1bf -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRect
ForView:topView:] + 4555
11  com.apple.AppKit                  0x00007fff81a5c1bf -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRect
ForView:topView:] + 4555
12  com.apple.AppKit                  0x00007fff81a5ae17 -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRect
ForView:topView:] + 254
13  com.apple.AppKit                  0x00007fff81a576bf -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2683
14  com.apple.AppKit                  0x00007fff819d0f37 -[NSView
displayIfNeeded] + 969


_______________________________________________

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

  • Follow-Ups:
    • Re: Crash while drawing cell in NSOutlineView
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: How to get small UISegmentedControl?
  • Next by Date: Re: Crash while drawing cell in NSOutlineView
  • Previous by thread: Re: How to get small UISegmentedControl?
  • Next by thread: Re: Crash while drawing cell in NSOutlineView
  • Index(es):
    • Date
    • Thread