Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb says: internal-error...



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:
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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.