Target 10.4 from 10.5, but getting a crash (Bus Error) right on launch
Target 10.4 from 10.5, but getting a crash (Bus Error) right on launch
- Subject: Target 10.4 from 10.5, but getting a crash (Bus Error) right on launch
- From: Brant Sears <email@hidden>
- Date: Fri, 11 Dec 2009 12:57:37 -0600
I'm using XCode 3.1.3 on MacOS 10.5.8. I am setting the deployment
target and the base SDK to 10.4 and building a universal application.
It is a cocoa app.
When I run on 10.5 on either Intel or PowerPC, my app launches
successfully. When I attempt to run on 10.4 PPC, I get a "bus error".
I installed GDB on the system to try to troubleshoot the problem. I
see that it crashes because the symbol _malloc_initalize() is NULL. It
is calling _malloc_initialize from inside the callstack from
NSApplicationMain() which happens right after launch. So, it does not
appear to be a dynamic load issue with not finding a framework or
dylib. (My app links to the Cocoa and the Security frameworks.)
What could be wrong?
Thanks.
Brant Sears
_______________________________________________
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