• 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: Henrik Dalgaard <email@hidden>
  • Date: Sat, 8 Jul 2006 11:44:48 +0200

I thought I had this one nailed by removing the weak linked frameworks from my debug build, but including the frameworks in my project. It sort of made sense, but it was not the solution.

It just made other parts of my code undebuggable instead.
Fix and Continue + NSLog is my best workaround.

Henrik

On Jun 21, 2006, at 5:26 AM, Kurt Sutter wrote:
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



 _______________________________________________
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

  • Prev by Date: Beginning XCode
  • Next by Date: Re: Making new XCode stationery projects
  • Previous by thread: Beginning Xcode
  • Next by thread: Re: gdb says: internal-error...
  • Index(es):
    • Date
    • Thread