binutils 2.32 update breaks debug symbols in disco

Bug #1815774 reported by Sebastien Bacher
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Apport
New
Undecided
Unassigned
binutils (Ubuntu)
Invalid
High
Unassigned
Disco
Invalid
High
Unassigned
gdb (Ubuntu)
Fix Released
Undecided
Unassigned
Disco
Fix Released
Undecided
Unassigned

Bug Description

Recently retracing started failing in disco, that seems to be due to the binutils 2.32 update

example

$ gdb gnome-control-center
...
Reading symbols from gnome-control-center...BFD: /usr/lib/debug/.build-id/2a/4367ded6c5ba5f464c762f1576874694053c71.debug: unable to initialize decompress status for section .debug_aranges
BFD: /usr/lib/debug/.build-id/2a/4367ded6c5ba5f464c762f1576874694053c71.debug: unable to initialize decompress status for section .debug_aranges

warning: File "/usr/lib/debug/.build-id/2a/4367ded6c5ba5f464c762f1576874694053c71.debug" has no build-id, file skipped
(no debugging symbols found)...done.

Rebuilding the package with binutils 2.31 installed fixes the issue. Googling for the warning lead to an arch bug pointing out that upstream commit as fixing the issue
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5f6c22ae

Revision history for this message
Brian Murray (brian-murray) wrote :

The retracers do not treat this as a failure because apport returns 0 when retracing the crash and that's because gdb also returns 0 as I believe this is just a warning from gdb. That being said there is no record of this failure in the retracers and it would not have been noticed if not for seb128, so there is some room for improvement in how the retracers / apport handle this situation.

Revision history for this message
Brian Murray (brian-murray) wrote :

An example of apport's behavior in this situation can be found in https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1815703.

Changed in binutils (Ubuntu):
assignee: Canonical Foundations Team (canonical-foundations) → nobody
status: New → In Progress
Changed in binutils (Ubuntu):
status: In Progress → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

The pointed commit is in 2.32 (see https://sourceware.org/bugzilla/show_bug.cgi?id=23919 for details) but that seems not enough since the disco-proposed version seems to not fix the issue from local testing

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in binutils (Ubuntu):
status: New → Confirmed
Steve Langasek (vorlon)
tags: removed: rls-dd-incoming
Revision history for this message
Matthias Klose (doko) wrote :

gdb 8.2.50.x handles this.

Changed in gdb (Ubuntu Disco):
status: New → Fix Released
Changed in binutils (Ubuntu Disco):
status: Confirmed → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

Confirmed, that's fixed with that update

tags: added: id-5c64ddcf31ae8e6f7cc51b89
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.