• 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: Leopard on PPC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard on PPC


  • Subject: Re: Leopard on PPC
  • From: Lorenzo <email@hidden>
  • Date: Thu, 27 Mar 2008 00:04:53 +0100

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@hidden

> From: Laurent Cerveau <email@hidden>
> Date: Wed, 26 Mar 2008 21:29:45 +0100
> To: Lorenzo <email@hidden>
> Cc: "email@hidden" <email@hidden>, Jean-Daniel Dupas
> <email@hidden>
> 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@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

  • Follow-Ups:
    • Re: Leopard on PPC
      • From: "Clark Cox" <email@hidden>
    • Re: Leopard on PPC
      • From: "Sherm Pendley" <email@hidden>
References: 
 >Re: Leopard on PPC (From: Laurent Cerveau <email@hidden>)

  • Prev by Date: Re: Changing the line height of an NSTextField?
  • Next by Date: Re: Simple Out-of-Box Demo: Private Framework Crashes in 10.3.9
  • Previous by thread: Re: Leopard on PPC
  • Next by thread: Re: Leopard on PPC
  • Index(es):
    • Date
    • Thread