• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bus Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bus Error


  • Subject: Re: Bus Error
  • From: Federico <email@hidden>
  • Date: Thu, 16 Jun 2005 18:18:09 +0200

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:

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>)

  • Prev by Date: Re: CopyCStringToPascal
  • Next by Date: Re: Xcode-users Digest, Vol 2, Issue 282
  • Previous by thread: Re: Bus Error
  • Next by thread: error: parse error before "Game"
  • Index(es):
    • Date
    • Thread