• 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: SIGBUS when I set a breakpoint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIGBUS when I set a breakpoint


  • Subject: Re: SIGBUS when I set a breakpoint
  • From: Michael Brian Bentley <email@hidden>
  • Date: Thu, 29 Sep 2005 10:07:42 -0700

We're trying out XCode 2.1, finally, to build some of our stuff on Tiger and PowerPC, and immediately run into strangeness with gdb. Admittedly much of our code is in the form of plug-ins, but we haven't had difficulties with gdb like this with 1.5, and I did a quick search of the XCode list archive to see if anyone else has seen this but didn't notice anything.

All I have to do is set a breakpoint and the app stops. The message in the debugger window is that the application exits normally, while the console reports twice that gdb encountered a SIGBUS exception. I can set the breakpoint before starting the debug session and gdb will eventually exit. I can set the breakpoint after the app successfully starts and is waiting for user interactions; gdb will immediately exit with SIGBUS.

If I don't set a breakpoint, the app appears to run fine.

I can set the fancy watchpoint options like Sound without incident.

Odd. Is this a known issue mentioned somewhere?

-m

Just so folks know, after playing with this problem for a while on two different machines, moving build products around and changing parameters, I removed XCode 2.2 dp1 from one Tiger machine using the uninstall script and reinstalled 2.2 clean. The problem still showed up.


Then I removed XCode 2.2 dp1 again and installed XCode 2.0 from the Tiger install DVD. The debugger works again, the problem does not appear.
_______________________________________________
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: 
 >SIGBUS when I set a breakpoint (From: Michael Brian Bentley <email@hidden>)

  • Prev by Date: Re: Strip
  • Next by Date: Re: Help needed with install path and bundling libraries
  • Previous by thread: SIGBUS when I set a breakpoint
  • Next by thread: Costs of Adding a Library
  • Index(es):
    • Date
    • Thread