[Bug 1040645] Re: Broken symbols for packages using debhelper compat 9

Launchpad Bug Tracker 1040645 at bugs.launchpad.net
Fri Aug 24 13:35:09 UTC 2012


This bug was fixed in the package pkg-create-dbgsym - 0.51

---------------
pkg-create-dbgsym (0.51) quantal; urgency=low

  * tests/run: Do not explicitly set the symbols-file path, but let gdb find
    it by itself using the debuglink or buildid.
  * Add tests/dhtest.dbg.buildid to check a dh compat 9 build using buildids
    for debug symbols. Reproduces LP #1040645.
  * pkg_create_dbgsym: When building with dh compat level >= 9 and the ELF has
    a buildid, use that for the debug symbols. (LP: #1040645)
 -- Martin Pitt <martin.pitt at ubuntu.com>   Fri, 24 Aug 2012 15:30:05 +0200

** Branch linked: lp:ubuntu/pkg-create-dbgsym

** Changed in: pkg-create-dbgsym (Ubuntu Quantal)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkg-create-dbgsym in Ubuntu.
https://bugs.launchpad.net/bugs/1040645

Title:
  Broken symbols for packages using debhelper compat 9

Status in “pkg-create-dbgsym” package in Ubuntu:
  Fix Released
Status in “pkg-create-dbgsym” source package in Quantal:
  Fix Released

Bug description:
  The .gnu_debuglink section in each of the current eds binaries is
  broken. Eg, for libedataserver-1.2.so.17.0.0:

  Hex dump of section '.gnu_debuglink':
    0x00000000 63653839 65323932 39363231 63363833 ce89e2929621c683
    0x00000010 30383532 61656233 33383737 32623335 0852aeb338772b35
    0x00000020 61383631 30342e64 65627567 00000000 a86104.debug....
    0x00000030 e77668d2                            .vh.

  ...this should actually include the filename of the file containing
  the debug symbols. Eg, for libedataserver-1.2.so.15.0.0:

  Hex dump of section '.gnu_debuglink':
    0x00000000 6c696265 64617461 73657276 65722d31 libedataserver-1
    0x00000010 2e322e73 6f2e3135 2e302e30 00000000 .2.so.15.0.0....
    0x00000020 6d202216                            m ".

  As a consequence, gdb doesn't automatically load symbols for eds. It
  will break Apport retracing too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkg-create-dbgsym/+bug/1040645/+subscriptions




More information about the foundations-bugs mailing list