• 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
Need suggestions for a crash in NSTable View...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need suggestions for a crash in NSTable View...


  • Subject: Need suggestions for a crash in NSTable View...
  • From: email@hidden
  • Date: Tue, 5 Sep 2006 16:34:34 -0400

Apologies if this is a re-send; I didn't realize I was sending the entire crash log to the list!

I have a user of my open-source software who is complaining that the program crashes when the main window has more than about ~140 items in its list.

Obviously, the first thing you look at in this case is an array overrun, but the data array in question is a NSMutableArray so that seems unlikely to me. In addition, the crash seems to indicate that it chased a NULL pointer from inside the graphics drawing routines - can anyone suggest how I can diagnose this problem?


Crash Report from version 0.9.1 (build 75):
------------------------------------------------------------------------ --------------------------------------------------------



Date/Time: 2006-09-04 12:00:48.205 -0700 OS Version: 10.4.7 (Build 8J135) Report Version: 4

Command: HPConnect
Path: /Applications/2. Science Apps/HPConnect.app/Contents/MacOS/ HPConnect
Parent: WindowServer [135]


Version: 0.9.1 (75)

PID:    9434
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0 com.apple.CoreGraphics 0x903e3830 aa_newpath + 24
1 libRIP.A.dylib 0x9471b8b8 ripr_Finish + 80
2 libRIP.A.dylib 0x9471abdc ripc_Render + 460
3 libRIP.A.dylib 0x9471a3f4 ripc_DrawRects + 556
4 com.apple.CoreGraphics 0x903e1de0 __CGContextDrawRects + 412
5 com.apple.CoreGraphics 0x903e1c00 CGContextFillRects + 156
6 com.apple.AppKit 0x938279b0 NSRectFillList + 124
7 com.apple.AppKit 0x938611c8 -[NSTableView _drawAlternatingRowBackgroundColors:inRect:] + 288
8 com.apple.AppKit 0x9379b368 -[NSTableView drawBackgroundInClipRect:] + 92
9 com.apple.AppKit 0x9379aa50 -[NSTableView drawRect:] + 560
10 com.apple.AppKit 0x9372f858 -[NSView _drawRect:clip:] + 2128
11 com.apple.AppKit 0x9372ee18 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 404
N
--
Michael Heinz
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. - Brian W. Kernighan"



_______________________________________________ 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
  • Prev by Date: Re: Programatically detect if any autorelease pool exists?
  • Next by Date: Re: Programatically detect if any autorelease pool exists?
  • Previous by thread: Re: InterfaceBuilder programming info
  • Next by thread: Using NSTask and NSPipe to perform a shell script
  • Index(es):
    • Date
    • Thread