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

Re: GDB internal error


  • Subject: Re: GDB internal error
  • From: Jim Ingham <email@hidden>
  • Date: Tue, 9 Mar 2004 11:05:21 -0800

Something gross has happened to gdb's cached symfiles. When the developer tools are being installed, gdb makes a cache of its internal version of the symbols from the stuff under /System/Library/Frameworks, which it can use to speed up debugger startup time. We have seen several cases now where these get trashed somehow, but we haven't been able to pin down how it happens. Anyway, you can either recreate them by doing

sudo /usr/libexec/gdb/cache-symfiles

or if that doesn't work, then you can just delete them altogether by doing:

sudo rm -rf /usr/libexec/gdb/symfiles

Jim

On Mar 8, 2004, at 11:51 PM, Pete Yandell wrote:

Whenever I try to debug my latest project under XCode 1.1, I get the following in the debugging console:

GNU gdb 5.3-20030128 (Apple version gdb-309) (Thu Dec 4 15:41:30 GMT 2003)
Loading program into debugger...
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".
tty /dev/ttyp2
Program loaded.
run
[Switching to process 1025 local thread 0xd03]
Running...
Re-enabling shared library breakpoints: 1
/SourceCache/gdb/gdb-309/src/gdb/macosx/cached-symfile.c:718: internal-error: relocation was not in valid range
A problem internal to GDB has been detected. Further
debugging may prove unreliable.


The Debugger has exited with status 1.The Debugger has exited with status 1.


The application icon bounces a couple of times and then the app quits. It runs just fine without the debugger.


Anyone seen this before or have any idea where I can start looking to solve this?

Pete Yandell
http://pete.yandell.com/
_______________________________________________
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.



--
Jim Ingham                                   email@hidden
Developer Tools
Apple Computer
_______________________________________________
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.


References: 
 >GDB internal error (From: Pete Yandell <email@hidden>)

  • Prev by Date: nibtool warnings
  • Next by Date: Re: printing in Xcode
  • Previous by thread: GDB internal error
  • Next by thread: nibtool warnings
  • Index(es):
    • Date
    • Thread