• 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: gdb says: internal-error...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb says: internal-error...


  • Subject: Re: gdb says: internal-error...
  • From: Kurt Sutter <email@hidden>
  • Date: Fri, 9 Jun 2006 19:48:43 +0200

Stefan

I am relieved to see that I am not the only one. I have been able to get rid of the problem on a G5 using a fairly awkward method:

1. Download the gdb-477 source files
2. Remove the assert statement for value_lazy (val1) in my_value_equal in varobj.c
3. Recompile gdb, replace the correct version in /usr/libexec/gdb


(No success on my intel MacBook pro, though, because the gdb I am compiling does generates an error when I try to run an application. If anyone knowns how to build a working gdb-477 for i386, do let me know)

Kurt

At 17:31 +0200 09.06.06, Stefan van den Oord wrote:
I'm experiencing exactly the same thing. My project is a C++ project
as well, but I'm using neither DWARF nor Carbon. I get the error when
stepping through my code. I'm unable to predict where it will occur,
but when it does, it does so reproducably. The only thing that
instances have in common, is that it always happens at the beginning
of a method.

Continuing over the code using breakpoints, instead of stepping over
it, does not trigger the issue.

Stefan


On 5/28/06, Kurt Sutter <email@hidden> 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.
_______________________________________________
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: 
 >Re: gdb says: internal-error... (From: "Stefan van den Oord" <email@hidden>)

  • Prev by Date: Re: gdb says: internal-error...
  • Next by Date: Re: Setting up framework headers and resources from the Xcode project.
  • Previous by thread: Re: gdb says: internal-error...
  • Next by thread: Re: gdb says: internal-error...
  • Index(es):
    • Date
    • Thread