• 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: A problem internal to GDB detected
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A problem internal to GDB detected


  • Subject: Re: A problem internal to GDB detected
  • From: Jim Ingham <email@hidden>
  • Date: Thu, 13 Dec 2007 09:58:11 -0800

This error is printed when there is a library in dyld's list of libraries, but we can't stat the file that is pointed to. In this case the name of the library is "", which seems a little odd...

Try setting DYLD_PRINT_LIBRARIES to 1 in you app before you run it (you can do this in the executable editor if you are running from Xcode.) Then dyld will print all the libraries it is loading as it loads them. The one before gdb gets this error should be the one causing the problem. It would be interesting to know what it is...

Jim

On Dec 13, 2007, at 12:31 AM, Mark Munz wrote:

I seem to be unable to debug a specific application anymore. I don't
know what or where specifically the bug is because the debugger keeps
getting an internal error in the process.

I have cleaned and rebuild the application several times, trying the
different symbol formats (STABS, dwarf) but the debug just craps out
on me with no clue as to where or what the issue is.

Any clue as to how I can find out what is happening here?

Thanks.

Here's the snippet from the console.

warning: Unable to read symbols for "" (file not found).
warning: Unable to read symbols for "" (file not found).
gdb stack crawl at point of internal error:
[ 0 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(align_down+0x0) [0x11d2ff]
[ 1 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(objfile_data+0x69) [0xa3c76]
[ 2 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(dwarf2_frame_find_fde+0x33) [0xdbf23]
[ 3 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(dwarf2_frame_sniffer+0x2e) [0xdc9d1]
[ 4 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(frame_unwind_find_by_frame+0x3b) [0x124c4c]
[ 5 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(get_prev_frame+0x63) [0x12405f]
[ 6 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(actually_do_stack_frame_prologue+0x114) [0x15d129]
[ 7 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(fast_show_stack_trace_prologue+0xde) [0x15d30c]
[ 8 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(i386_fast_show_stack+0x8f) [0x154e84]
[ 9 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(mi_cmd_stack_list_frames_lite+0x1e0) [0x1238b]
[ 10 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(captured_mi_execute_command+0x15b) [0x17618]
[ 11 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(catch_exception+0x41) [0x77267]

The Debugger has exited with status 1.The Debugger has exited with status 1.
[ 12 ] /Developer/usr/libexec/gdb/gdb-i386-apple-darwin
(mi_execute_command+0x9e) [0x16830]
/SourceCache/gdb/gdb-768/src/gdb/objfiles.c:2292: internal-error:
objfile_data: Assertion `data->index < objfile->num_data' failed.
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.


-- Mark Munz unmarked software http://www.unmarked.com/ _______________________________________________ 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

_______________________________________________ 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: 
 >A problem internal to GDB detected (From: "Mark Munz" <email@hidden>)

  • Prev by Date: Re: 64 bit
  • Next by Date: Re: 64 bit
  • Previous by thread: A problem internal to GDB detected
  • Next by thread: Problem with CFBundleGetFunctionPointerForName and 10.5 SDK
  • Index(es):
    • Date
    • Thread