Skip navigation.
 
mlRe: Leopard on PPC
FROM : Lorenzo
DATE : Thu Mar 27 00:04:53 2008

Hi Laurent,
I am going to debug and let you know. Right now I have found these lines.
Might they cause the trouble on Leopard && PPC?

    number = CFNumberCreate(NULL, kCFNumberFloatType, &destSize.width);
    options = [NSDictionary dictionaryWithObjectsAndKeys:
            (id) kCFBooleanTrue,  (id) kCGImageSourceShouldCache,
            (id) kCFBooleanTrue,  (id)
                        kCGImageSourceCreateThumbnailFromImageIfAbsent,
            (id) number,          (id) kCGImageSourceThumbnailMaxPixelSize,
            NULL];



    options = [NSDictionary dictionaryWithObjectsAndKeys:
            (id) kCFBooleanTrue,    (id) kCGImageSourceShouldCache,
            (id) kCFBooleanTrue,    (id) kCGImageSourceShouldAllowFloat,
            NULL];


Best Regards
--
Lorenzo
email: <email_removed>

> From: Laurent Cerveau <<email_removed>>
> Date: Wed, 26 Mar 2008 21:29:45 +0100
> To: Lorenzo <<email_removed>>
> Cc: "<email_removed>" <<email_removed>>, Jean-Daniel Dupas
> <<email_removed>>
> Subject: Re: Leopard on PPC
>
> 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_removed>
>>

>

Related mailsAuthorDate
mlLeopard on PPC Lorenzo Mar 26, 17:51
mlRe: Leopard on PPC Laurent Cerveau Mar 26, 18:02
mlRe: Leopard on PPC Jean-Daniel Dupas Mar 26, 18:07
mlRe: Leopard on PPC Lorenzo Mar 26, 21:02
mlRe: Leopard on PPC Nick Zitzmann Mar 26, 21:17
mlRe: Leopard on PPC Laurent Cerveau Mar 26, 21:29
mlRe: Leopard on PPC Jonathan Hess Mar 26, 21:41
mlRe: Leopard on PPC Lorenzo Mar 27, 00:04
mlRe: Leopard on PPC Sherm Pendley Mar 27, 00:48
mlRe: Leopard on PPC Clark Cox Mar 27, 16:25
mlRe: Leopard on PPC Clark Cox Mar 27, 16:29
mlRe: Leopard on PPC Sherm Pendley Mar 27, 16:59
mlRe: Leopard on PPC Matt Gough Mar 27, 17:18
mlRe: Leopard on PPC Jean-Daniel Dupas Mar 27, 17:19
mlRe: Leopard on PPC glenn andreas Mar 27, 17:22
mlRe: Leopard on PPC Sherm Pendley Mar 27, 17:33
mlRe: Leopard on PPC Scott Thompson Mar 27, 21:39
mlRe: Leopard on PPC Lorenzo Apr 28, 09:31
mlRe: Leopard on PPC Nick Zitzmann Apr 28, 09:34
mlRe: Leopard on PPC Lorenzo Apr 28, 09:48
mlRe: Leopard on PPC Jean-Daniel Dupas Apr 28, 09:58
mlRe: Leopard on PPC Jean-Daniel Dupas Apr 28, 10:58
mlRe: Leopard on PPC Michael Vannorsdel Apr 28, 18:58