It seems to be debuggable by yourself. Can you start up in XCode on PPC? If not you can simply launch the app under gdb and put a breakpoint at +[NSDictionary dictionaryWithObjectsAndKeys:] with br. From then it would be interesting to check the passed argument (on PPC the argument of a method function are in register $r3, $r4, be careful that an objective-C call will have implicit $r3 being self and $r4 being the selector). You can also also crash and simply go up in the backtrace. Then you can find which arguments is bogus (and then why)

HTH

laurent

On Mar 26, 2008, at 9:02 PM, Lorenzo wrote:

Thanks,
actually I get this crash log on the Console

Path: /Applications/MyApp 1.2.3/MyApp.app/Contents/MacOS/ MyApp
Identifier:      com.myapp.myapp
Version:         1.2.3 (1.2.3)
Code Type:       PPC (Native)
Parent Process:  launchd [104]

Date/Time:       2008-03-26 20:33:19.245 +0200
OS Version:      Mac OS X 10.5.2 (9C31)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000014
Crashed Thread:  0

Thread 0 Crashed:
0   com.apple.CoreFoundation          0x91ef3354
_CFStringCreateWithFormatAndArgumentsAux + 112
1 com.apple.CoreFoundation 0x91ef33e8 CFStringCreateWithFormat +
44
2   com.apple.CoreFoundation          0x91ea0da0
__CFDictionaryHandleOutOfMemory + 56
3 com.apple.CoreFoundation 0x91ea2510 __CFDictionaryGrow + 452 4 com.apple.CoreFoundation 0x91ea3830 CFDictionaryAddValue + 252 5 com.apple.CoreFoundation 0x91ea3f60 CFDictionaryCreate + 104 6 com.apple.CoreFoundation 0x91f37c0c - [__NSPlaceholderDictionary
initWithObjects:forKeys:count:] + 972
7   com.apple.CoreFoundation          0x91f3a7d4 +[NSDictionary
dictionaryWithObjectsAndKeys:] + 692
8   com.apple.AppKit                  0x9462362c -[NSTableColumn
_postColumnDidResizeNotificationWithOldWidth:] + 384
9   com.myapp.myapp               0x00120d48 0x1000 + 1178952
10  com.myapp.myapp               0x00120b30 0x1000 + 1178416
11 com.apple.AppKit 0x9462f034 -[NSTableView numberOfRows]
+ 180
12  com.apple.AppKit                  0x94619774 -[NSTableView
_verifySelectionIsOK] + 100
13  com.apple.AppKit                  0x946196e8 -[NSTableView
_tileAndRedisplayAll] + 244
14  com.apple.AppKit                  0x946193d8 -[NSTableView
setDataSource:] + 260
15  com.apple.AppKit                  0x94525a94 -[NSIBObjectData
nibInstantiateWithOwner:topLevelObjects:] + 1048
16  com.apple.AppKit                  0x9451d170 loadNib + 224
17 com.apple.AppKit 0x9451cb14 + [NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:] + 840
18 com.apple.AppKit 0x9451c6f0 + [NSBundle(NSNibLoading)
loadNibNamed:owner:] + 336
19 com.apple.AppKit 0x9451c3d8 NSApplicationMain + 332
20  com.myapp.myapp               0x00002ed8 0x1000 + 7896
21  com.myapp.myapp               0x00002bdc 0x1000 + 7132

Thread 0 crashed with PPC Thread State 32:
srr0: 0x91ef3354 srr1: 0x0000f030 dar: 0x00000014 dsisr: 0x40000000 r0: 0x91ef334c r1: 0xbffff060 r2: 0x00000078 r3: 0x00000000 r4: 0x00000003 r5: 0x00000000 r6: 0x0000002c r7: 0x00000e03 r8: 0x00000000 r9: 0x00000000 r10: 0x9308009c r11: 0x84044422 r12: 0x00000000 r13: 0x0021bfa0 r14: 0x00000000 r15: 0xa09bf4f8 r16: 0xa099567c r17: 0x1407f040 r18: 0xa099567c r19: 0x00000000 r20: 0xffdfc070 r21: 0x00000000 r22: 0xa057c174 r23: 0x00000000 r24: 0x00000002 r25: 0xa057c174 r26: 0x00000000 r27: 0xbffff144 r28: 0x00000000 r29: 0xffdfc030 r30: 0xa058476c r31: 0x91ef32ec cr: 0x24044422 xer: 0x20000000 lr: 0x91ef334c ctr: 0x92f66970
vrsave: 0x00000000



Best Regards
--
Lorenzo
email: [EMAIL PROTECTED]


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to