Re: signal 10 (SIGBUS) problem
Re: signal 10 (SIGBUS) problem
- Subject: Re: signal 10 (SIGBUS) problem
- From: Creed Erickson <email@hidden>
- Date: Wed, 17 Dec 2003 17:52:37 -0800
On Wednesday, December 17, 2003, at 01:15 PM, Jay Rimalrick wrote:
Question 1:
While working on my project everything was going fine. I added a few
GUI object and some simple code everything that I am comfortable to
say are errorless. However when I build and run my project it starts
to run and then quits. I get an error message "The application
myApplication has unexpectedly quit." Then in the terminal in says
"myApplication has exited due to signal 10 (SIGBUS). What is weird
about this is that when I run my program in debug it runs fine, no
errors. How can this be?
You don't really give enough info, but if I were to take a wild guess,
I'd say something in your additions make assumptions about the current
working directory. When running under Xcode or PB, you run in the
project directory. When running from the finder, you run from "/"
Question 2:
Also of note, when my program was working perfectly fine I tried to
take the myApplication.app (application file) to another computer.
When I double clicked the icon it started to start up but then quit.
The myApplication.app file ran fine on my computer but why when I took
it to another machine it screwed up?
This is most often a build style issue. disable zero link, build with a
deployment build style, or both. This may fix issue #1 also.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.