Re: gdb says: internal-error...
Re: gdb says: internal-error...
- Subject: Re: gdb says: internal-error...
- From: Kurt Sutter <email@hidden>
- Date: Wed, 21 Jun 2006 05:26:55 +0200
I have found a solution, sort of.
gdb did not fail immediately while stepping through my application,
but only once the application accessed a certain global variable.
That variable was an array of class pointers called functionList[100].
I tried many things to get gdb working again. A last desperate
attempt was to rename that variable from functionList to
ffunctionList -> that made gdb work again.
Search me why.
I doubt that you have a global var called functionList, but maybe you
can use a similar approach.
Good luck
Kurt Sutter
At 18:50 +0200 19.06.06, Henrik Dalgaard wrote:
I have run into this one too. After a good final release, I thought
it would be a good time to upgrade XCode to version 2.3.
The same assertion in GDB fails for me:
/SourceCache/gdb/gdb-477/src/gdb/varobj.c:2007: internal-error:
my_value_equal: Assertion `!value_lazy (val1)' failed.
I have tried:
Uninstalled and reinstalled XCode with reboots in between - in case
my upgrade from 2.2 had done something bad.
Symbol formats: stabs, DWARF and DWARF with dSym. No difference.
Returned my project settings to the same as those in a brand new
Cocoa Document Based Application.
Tried to download and build gdb from:
http://www.opensource.apple.com/darwinsource/DevToolsMay2006/
The make file generated by gdb-477/src/gdb/configure failed at
libiberty.a with Error 1
Did any of you find a solution?
System: iMac Core Duo - my code is Objective C (no ++).
Henrik
On May 28, 2006, at 10:58 AM, Kurt Sutter wrote:
I have recently upgraded to 2.3, and at first everything went fine.
I was happily debugging our Carbon C++ project using DWARF debug
information.
Now, after some days, debugging stopped working. Whenever I run
into a breakpoint, gdb tells me:
/SourceCache/gdb/gdb-477/src/gdb/varobj.c:2007: internal-error:
my_value_equal: Assertion `!value_lazy (val1)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
And then it stops.
Clearing all breakpoints, cleaning all targets and rebuilding them
does not help. I honestly have no clue as to where I should start
trying to fix this.
Any advice is appreciated.
Kurt
_______________________________________________
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