Re: problems building on 10.5 for 10.4
Re: problems building on 10.5 for 10.4
- Subject: Re: problems building on 10.5 for 10.4
- From: Corbin Dunn <email@hidden>
- Date: Tue, 30 Oct 2007 14:17:17 -0700
Alex -- can you get the backtrace for when the first exception
(assertion) happens?
In gdb, on Tiger, break on [NSException raise]. Then get the bt and
email it back to the list.
The second backtrace is probably due to the first one's problem.
--corbin
On Oct 30, 2007, at 12:49 PM, Alexander Cohen wrote:
Hi,
I'm building an app on 10.5 but i'm targetting 10.4. The app runs
fine on 10.5. Whenever i try and run it o 10.4, i get a couple of
weird problems and then a crash. Maybe you guys can help me a bit.
The first error is this one and i get it twice: ( this happens
before any awakeFromNib Calls )
*** Assertion failure in -[NSMenu itemAtIndex:], Menus.subproj/
NSMenu.m:713
2007-10-30 15:51:13.323 Design[2669] Exception raised during posting
of notification. Ignored. exception: Invalid parameter not
satisfying: (index >= 0) && (index < (_itemArray ?
CFArrayGetCount((CFArrayRef)_itemArray) : 0))
The next one is an EXC_BAD_ACCESS. The stack in the crash log looks
like this:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000008
Thread 0 Crashed:
0 com.apple.AppKit 0x932f7e41 _NXSetCellParam + 153
1 com.apple.AppKit 0x933da0f8 -[NSTableView
_drawContentsAtRow:column:clipRect:] + 653
2 com.apple.AppKit 0x933d9789 -[NSOutlineView
_drawContentsAtRow:column:clipRect:] + 158
3 com.apple.AppKit 0x933d902b -[NSTableView
drawRow:clipRect:] + 335
4 com.apple.AppKit 0x933d8ed2 -[NSOutlineView
drawRow:clipRect:] + 240
5 com.apple.AppKit 0x933d67ce -[NSTableView
drawRowIndexes:clipRect:] + 99
6 com.apple.AppKit 0x933d56a4 -[NSTableView drawRect:]
+ 2499
7 com.apple.AppKit 0x933013b1 -[NSView
_drawRect:clip:] + 3228
8 com.apple.AppKit 0x9330040b -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] + 614
...
_______________________________________________
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