Mailing Lists: Apple Mailing Lists

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

Re: Bus Error



Thanks a lot to all.
I found the problem, as I suspected it was in the linker.
I link using g++ with option -m, and this is the key: putting "-m" at
the end of the command makes the app run!!!
This is even a mistery for me... if there is anyone who want to
explain me such a behaviour I am here to learn.

Thanks!
--
Federico

2005/6/16, Cameron Hayne <email@hidden>:
> On 16-Jun-05, at 3:55 AM, Federico wrote:
> 
> > The debugger console shows:
> > argc = 8348
> 
> This printout comes before the line on which you are getting the bus
> error. The value (8348) is obviously wrong so it indicates that the
> 'argc' variable has been overwritten. Look for typical memory
> problems like array indexes out of bounds, etc.
> 
> --
> Cameron Hayne
> email@hidden
> 
>
 _______________________________________________
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

References: 
 >Bus Error (From: Federico <email@hidden>)
 >Re: Bus Error (From: Markus Hitter <email@hidden>)
 >Re: Bus Error (From: Federico <email@hidden>)
 >Re: Bus Error (From: Federico <email@hidden>)
 >Re: Bus Error (From: Cameron Kerr <email@hidden>)
 >Re: Bus Error (From: Federico <email@hidden>)
 >Re: Bus Error (From: Cameron Hayne <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.