problem with GDB on xcode
problem with GDB on xcode
- Subject: problem with GDB on xcode
- From: Greg Rumple <email@hidden>
- Date: Sun, 2 Nov 2003 10:33:16 -0800
I have been using Panther since the night it was released now along with
xcode. I have compiled up a bunch of open source apps, and have run
into several apps now that both crash GDB when I try and debug them inside
of xcode (The Debugger has exited due to signal 6 (SIGABRT)). So when I
attempt to run them outside of xcode to see what the real problem is, I
get:
Example is the CURLHandleTester included in the CURLHandle project
(http://curlhandle.sourceforge.net).
t21:~/src/CURLHandle/CURLHandleTesterSource/build grumple$ gdb CURLHandleTester.app
GNU gdb 5.3-20030128 (Apple version gdb-292) (Sat Sep 20 03:22:27 GMT 2003)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwin".
Reading symbols for shared libraries .... done
(gdb) r
Starting program: /Users/grumple/src/CURLHandle/CURLHandleTesterSource/build/CURLHandleTester.app/Contents/MacOS/CURLHandleTester
Reading symbols for shared libraries /SourceCache/gdb/gdb-292/src/gdb/macosx/cached-symfile.c:610: internal-error: relocation was not in valid range
A problem internal to GDB has been detected. Further
debugging may prove unreliable.
Quit this debugging session? (y or n) n
Create a core file of GDB? (y or n) n
*** malloc[2339]: error for object 0x56b2b0: Double free
................................................ done
Than it runs and works. I also found this exact same problem using the
Fire open source IM client (http://fire.sourceforge.net). I've pretty
much found GDB useless outside of the most basic "hello world" style
application as it always core dumps.
The question is this something I've done, or is this truly broken?
The machine is a 17" PowerBook G4 1.33 with 512MB of ram. I did a full
clean install of Panther, and have since than installed all of my apps
(fink, etc.). I have tried disabling fink, as well as several other
items in my bash profile without any luck. It still crashes.
Greg
--
Greg Rumple
email@hidden
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.