← Back to team overview

touch-packages team mailing list archive

[Bug 942529] Re: gdb failed to debug application (gdb reports about internal error)

 

fixed in 12.04 LTS

** Changed in: gdb (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/942529

Title:
  gdb failed to debug application (gdb reports about internal error)

Status in “gdb” package in Ubuntu:
  Fix Released

Bug description:
  I running Ubuntu 11.10 with lates updates and I was trying to debug my own application, but gdb fails for some reason.
  I can't even start debugging. Binray compozit was build with -g -ggdb compiler options.

  $ gdb ./compozit 
  GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
  Copyright (C) 2011 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "x86_64-linux-gnu".
  For bug reporting instructions, please see:
  <http://bugs.launchpad.net/gdb-linaro/>...
  Reading symbols from /home/skylark/wc/compozit/src/compozit.../build/buildd/gdb-7.3/gdb/dwarf2read.c:9473: internal-error: could not find partial DIE 0x7203e in cache [from module /home/skylark/wc/compozit/src/compozit]

  A problem internal to GDB has been detected,
  further debugging may prove unreliable.
  Quit this debugging session? (y or n) n

  /build/buildd/gdb-7.3/gdb/dwarf2read.c:9473: internal-error: could not
  find partial DIE 0x7203e in cache [from module
  /home/skylark/wc/compozit/src/compozit]

  A problem internal to GDB has been detected,
  further debugging may prove unreliable.
  Create a core file of GDB? (y or n) y
  (gdb) b main
  No symbol table is loaded.  Use the "file" command.
  Make breakpoint pending on future shared library load? (y or [n]) 
  (gdb) quit

  $ uname -a
  Linux undertable 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

  How can I debug application anyway?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/942529/+subscriptions