Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Carbon Project, SIGBUS error on --Deployment-- build only.



Hi All,

I have a .NIB-based Carbon app which runs and builds just fine when using the default "Development" build style, but when I switch to "Deployment", I get the following message:

"Executable 'testapp' has exited due to signal 10 (SIGBUS)"

From my main() function:



int main(int argc, char* argv[])
{
	IBNibRef	nibRef;

printf("ABOUT TO CREATE NIB...\n");
	// do the funky nib ..
    err = CreateNibReference(CFSTR("main"), &nibRef);
printf("NIB ERR: %d\n", err);


...


I get "ABOUT TO CREATE NIB", then I get "SIGBUS" .. so, it seems that the NIB is not being loaded, or there is an error in the NIB somewhere. However, when I turn on "ZeroLink" (or switch to "Development" build style), the app runs just fine, the NIB loads, and I can run and use the whole thing.


I have torn my hair out trying to work out what could possibly be wrong with my .NIB file, but alas I have wasted a lot of time it would seem, since I cannot work it out for the life of me.

Does anyone have any clues for me as to how I might resolve this situation? I can't distribute the "Development" build version of this app, obviously, so I have to work out what is going wrong with XCode/.NIB loading ..

--

;

Jay Vaughan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.