• 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: problems building on 10.5 for 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems building on 10.5 for 10.4


  • Subject: Re: problems building on 10.5 for 10.4
  • From: João Pavão <email@hidden>
  • Date: Fri, 2 Nov 2007 00:02:17 +0000

I have already seen something very similar to your first assertion failure a couple of times on one of my projects. It was due to having edited some nib files using IB3. The files became corrupt in some way to the eyes of IB2 and the Cocoa frameworks in Tiger. Try to save them again selecting Mac OS X 10.4 as the target OS for the nib in Interface Builder.
--
João Pavão



On 2007/10/30, at 19:49, 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
...


Any ideas what might be going on?

thanks

AC
_______________________________________________

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:
40sericaia.com


This email sent to email@hidden

_______________________________________________

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


  • Prev by Date: [Leopard] awakeFromNib not responding...
  • Next by Date: Re: NSBitmapImageRep byte/color component ordering
  • Previous by thread: [Leopard] awakeFromNib not responding...
  • Next by thread: Core Data property declaration
  • Index(es):
    • Date
    • Thread