[Bug 261380] [NEW] Packages have invalid .gnu_debuglink

Launchpad Bug Tracker 261380 at bugs.launchpad.net
Tue Sep 30 18:15:10 UTC 2008

You have been subscribed to a public bug:

I've encountered this problem while investigating crash in amarok-kde4
beta1, but this affects every package in my Kubuntu Hardy distribution

I suppose the contents of .gnu_debuglink section in all packages are invalid, therefore gdb fails to load symbols even if appropriate -gdb packages are installed (which makes them useless):
On my Kubuntu:
# objdump -s -j .gnu_debuglink /usr/lib/libQtGui.so.4.4.0

/usr/lib/libQtGui.so.4.4.0:     file format elf64-x86-64

Contents of section .gnu_debuglink:
 0000 6c696251 74477569 2e736f2e 342e342e  libQtGui.so.4.4.
 0010 30000000 000101b1                    0.......

Note, that this is not libQtGui.so.4.4.0.debug shipped with libqt4-dbg

On Fedora 8:
# objdump -s -j .gnu_debuglink /usr/lib/libQtGui.so.4.3.3

/usr/lib/libQtGui.so.4.3.3:     file format elf32-i386

Contents of section .gnu_debuglink:
 0000 6c696251 74477569 2e736f2e 342e332e  libQtGui.so.4.3.
 0010 332e6465 62756700 0607bf23           3.debug....#

Note that this points to .debug file name which is installed with
appropriate debug package.

I can confirm this for libqt4* 4.4.0-1ubuntu5~hardy1 packages and seems
every other. Because of this bug I can't step into calls to libqt4
functions (But the main probelm is that I can't get useful backtraces to
file crash reports).

System information:
# lsb_release -rd
Description:    Ubuntu 8.04.1
Release:        8.04
#uname -a
Linux gigawin2 2.6.24-20-generic #1 SMP Mon Jul 28 13:06:07 UTC 2008 x86_64 GNU/Linux

** Affects: qt4-x11 (Ubuntu)
     Importance: Undecided
         Status: Triaged

Packages have invalid .gnu_debuglink
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to qt4-x11 in ubuntu.

More information about the kubuntu-bugs mailing list