X86-64 application fails to load on 2008 MBP
X86-64 application fails to load on 2008 MBP
- Subject: X86-64 application fails to load on 2008 MBP
- From: Antonio Nunes <email@hidden>
- Date: Mon, 08 Apr 2013 08:48:46 +0100
Hi,
I've had my application 64-bit only, and out in the wild, for a while now, and it has been functioning reliably. For an upcoming update I added a few static libraries, and now find that, although the app works fine on my 2012 rMBP, it fails to load on my 2008 MBP. The libs I added were all built for 64-bit only, and I've checked with lipo that they are indeed x86-64.
Trying to run it on the older machine yields in the following BT:
Code Type: X86-64 (Native)
Parent Process: launchd [134]
User ID: 501
Date/Time: 2013-04-08 06:52:09.968 +0100
OS Version: Mac OS X 10.8.2 (12C60)
Report Version: 10
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Application Specific Information:
/Users/antonionunes/Desktop/PDF Nomad.app/Contents/MacOS/PDF Nomad
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.sintraworks.PDF-Nomad 0x00000001048074ea _GLOBAL__I_a + 90
1 dyld 0x00007fff63fd9378 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 236
2 dyld 0x00007fff63fd9762 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 46
3 dyld 0x00007fff63fd606e ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) + 380
4 dyld 0x00007fff63fd5eba ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 54
5 dyld 0x00007fff63fc7fc0 dyld::initializeMainExecutable() + 207
6 dyld 0x00007fff63fcbb04 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 3060
7 dyld 0x00007fff63fc7397 dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 761
8 dyld 0x00007fff63fc705e _dyld_start + 54
Thread 1:
0 libsystem_kernel.dylib 0x00000001076e36d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x0000000107571eec _pthread_workq_return + 25
2 libsystem_c.dylib 0x0000000107571cb3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x000000010755c171 start_wqthread + 13
[more threads like Thread 1]
I've searched online for info on this type of crash, but couldn't find anything. I have no idea how to work back from this to finding the culprit. My guess is that the problem lies with one or more of the added static libraries, but I'm not sure.
On my development machine the app loads, including when I startup from an external drive, with a clean system 10.7 or 10.8. On the older MBP it doesn't doesn't load on either 10.7 or 10.8. I'd be grateful for any pointers/hints towards solving this.
-António
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden