embedded frameworks and dyld failure
Anthony B Arthur
brianarthur at nc.rr.com
Fri Sep 28 14:04:08 PDT 2007
Thanks for the suggestion. I was skeptical, but at this point I'll
try anything......, alas it did not make a difference, the results
are exactly the same with or without specifying a CFBundleIdentifier.
I am pretty sure of what is going wrong. Even though I have assigned
@executable_path/../Frameworks to every framework's Installation
Directory config setting, somehow there's still something in the app,
either the app itself or linked frameworks, that is loading these
frameworks from a directory outside of the app bundle instead of from
@executable_path/../Frameworks because when this outside folder is
available the app runs otherwise it crashes at launch. Why?
**********
Host Name: decatur
Date/Time: 2007-09-28 16:45:47.101 -0400
OS Version: 10.4.10 (Build 8R2232)
Report Version: 4
Command: EstiKit
Path: /Users/aarthur/Desktop/EstiKit.app/Contents/MacOS/EstiKit
Parent: WindowServer [61]
Version: 0.1 (0.1)
PID: 2246
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 <<00000000>> 0x00000000 0 + 0
1 com.apple.myApp 0x000028a9 start + 41
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0xbffffd74 ecx: 0x90001658 edx: 0x00000002
edi: 0xbffffd68 esi: 0xbffffd90 ebp: 0xbffffd48 esp: 0xbffffd0c
ss: 0x0000001f efl: 0x00010286 eip: 0x00000000 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
Binary Images Description:
0x1000 - 0x5fff com.apple.myApp 0.1 /Users/aarthur/Desktop/
EstiKit.app/Contents/MacOS/EstiKit
0x9000 - 0xdfff com.gigabit.gbaccess 1.0 /Users/aarthur/
Desktop/EstiKit.app/Contents/Frameworks/GBAccess.framework/Versions/A/
GBAccess
0x205000 - 0x220fff com.gigabit.estikitmodel 1.0 /Users/aarthur/
Desktop/EstiKit.app/Contents/Frameworks/EstiKitModel.framework/
Versions/A/EstiKitModel
0x2d1000 - 0x2dcfff com.gigabit.ekformkit 1.0 /Users/aarthur/
Desktop/EstiKit.app/Contents/Frameworks/EKFormKit.framework/Versions/
A/EKFormKit
0x334000 - 0x34dfff com.gigabit.gbsketchkit 1.0 /Users/aarthur/
Desktop/EstiKit.app/Contents/Frameworks/GBSketchKit.framework/
Versions/A/GBSketchKit
0x20000000 - 0x20003fff com.gigabit.gbappkit 1.0 /Users/aarthur/
Desktop/EstiKit.app/Contents/Frameworks/GBAppKit.framework/Versions/A/
GBAppKit
0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld
0x90000000 - 0x90171fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
On Sep 28, 2007, at 2:17 PM, Benjamin Stiglitz wrote:
>> Binary Images Description:
>> 0x1000 - 0x5fff com.apple.myApp 0.1 /Users/aarthur/Desktop/
>> EstiKit.app/Contents/MacOS/EstiKit
>> 0x63000 - 0x6efff com.apple.yourcocoaframework 1.0 /Users/
>> aarthur/Desktop/EstiKit.app/Contents/Frameworks/
>> EKFormKit.framework/Versions/A/EKFormKit
>> 0xc6000 - 0xcafff com.apple.yourcocoaframework 1.0 /Users/
>> aarthur/Desktop/EstiKit.app/Contents/Frameworks/GBAccess.framework/
>> Versions/A/GBAccess
>> 0x205000 - 0x220fff com.apple.yourcocoaframework 1.0 /Users/
>> aarthur/Desktop/EstiKit.app/Contents/Frameworks/
>> EstiKitModel.framework/Versions/A/EstiKitModel
>> 0x2d1000 - 0x2eafff com.apple.yourcocoaframework 1.0 /Users/
>> aarthur/Desktop/EstiKit.app/Contents/Frameworks/
>> GBSketchKit.framework/Versions/A/GBSketchKit
>> 0x20000000 - 0x20003fff com.apple.yourcocoaframework 1.0 /Users/
>> aarthur/Desktop/EstiKit.app/Contents/Frameworks/GBAppKit.framework/
>> Versions/A/GBAppKit
>> 0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld
>
> You should change the identifiers to be unique; right now, they’re
> all com.apple.yourcocoaframework, but should be something like
> com.rr.nc.estikit.GBAppKit.
>
> -Ben
More information about the MacOSX-dev
mailing list