Re: gdb crashes on breakpoint
Re: gdb crashes on breakpoint
- Subject: Re: gdb crashes on breakpoint
- From: Jim Ingham <email@hidden>
- Date: Fri, 24 Feb 2006 10:38:31 -0800
The warnings are harmless, and probably not the cause of the crash
you are seeing. There should be a crash log for the gdb crash in:
~/Library/Logs/CrashReporter/gdb-<arch>-apple-darwin.crash.log
Note that this file contains all crashes you've ever had for gdb, so
make sure you look at the ones with the right date. If you can cut
out the crash log for this crash and file a bug including that and
the Xcode/gdb log, that would be very helpful. You get the Xcode/gdb
log by doing:
1) Quit Xcode.
2) In Terminal, say:
$ defaults write com.apple.Xcode PBXGDBDebuggerLogToFile YES
$ defaults write com.apple.Xcode PBXGDBDebuggerLogFileName /tmp/
IncludeInBug.log
3) Restart Xcode, and do whatever you need to to make it fail.
4) Attach /tmp/IncludeInBug.log to the Radar.
Thanks,
Jim
On Feb 24, 2006, at 4:16 AM, Stefan Werner wrote:
Hi,
I'm having a weird problem where gdb crashes as soon as it reaches
a breakpoint. When my app reaches a breakpoint, Xcodde switches to
a debugger view, spits out dozens of mismatch warnings* and quits with
The Debugger has exited due to signal 10 (SIGBUS).The Debugger has
exited due to signal 10 (SIGBUS).
The red arrow still shows up at the breakpoint and the current code
line is hightlighted. I tried removing all my breakpoints and
setting them new, rebuilding the app and rebooting the computer,
but nothing helps.
Any ideas what could be wrong or how I could track down what makes
gdb give up?
Thanks,
Stefan
*warnings like these:
warning: Mismatch between current function "macPostedEventCallback"
and fun stack "_ZN5wxApp10InitializeERiPPc" in: "/svn2/trunk/
wxWidgets-2.6/src/mac/carbon/app.cpp"
_______________________________________________
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
_______________________________________________
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