openafs debug information CRC mismatch

Bug #660360 reported by Linus Widströmer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
Fix Released
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned
pkg-create-dbgsym (Ubuntu)
Fix Released
Undecided
Martin Pitt
Lucid
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: openafs-dbg

We have successfully been using the debug symbols from openafs-dbg when debugging our Hardy fileservers. We are currently in the need of doing debugging of our lucid fileservers but it seems that the openafs-dbg package on lucid is broken.

> Description: Ubuntu 10.04.1 LTS
> Release: 10.04
>
> openafs-dbg:
> Installed: 1.4.12+dfsg-3
> Candidate: 1.4.12+dfsg-3

How to reproduce:
1) Install the debug package openafs-dbg
2) Run: gdb /usr/lib/openafs/fileserver

Instead of actually loading the debug symbols as expected the following message is printed:
> Reading symbols from /usr/lib/openafs/fileserver...
> warning: the debug information found in "/usr/lib/debug//usr/lib/openafs/fileserver" does
> not match "/usr/lib/openafs/fileserver" (CRC mismatch).
>
> warning: the debug information found in "/usr/lib/debug/usr/lib/openafs/fileserver" does
> not match "/usr/lib/openafs/fileserver" (CRC mismatch).
> (no debugging symbols found)...done.
and consequently no debugging symbols are available for the debugger.

After searching LauncPad for similar problems I found among others https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/584477 which seems similar. It references https://bugs.launchpad.net/ubuntu/+source/pkg-create-dbgsym/+bug/566602 which suggests that the problem has been fixed and that it would be sufficent to do a rebuild of openafs to reenable a working debugging package.

Not having the possibility to attach a debugger and get symbols for openafs makes debugging afs tricky.

Revision history for this message
Russ Allbery (rra-debian) wrote :

For those triaging or looking at this bug, just wanted to note that I believe this is fallout from Ubuntu's handling of debug symbols, which has diverged from Debian. I don't believe this is an issue in the packages from the Debian perspective. I am happy to modify the package so that it will work properly with Ubuntu if this doesn't break anything for Debian, but I don't know enough about how the Ubuntu debug generation works to be able to come up with such a patch myself. (This is assuming that a simple rebuild doesn't fix it, which it might for all I know.)

Evan Broder (broder)
Changed in pkg-create-dbgsym (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

I just checked openafs-dbg on current natty, and it seems to be intact, so I'm closing this for natty and add a Lucid task instead.

Changed in pkg-create-dbgsym (Ubuntu):
status: New → Fix Released
Changed in openafs (Ubuntu):
status: New → Incomplete
status: Incomplete → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

I confirm that a simple rebuild fixes this, so pkg-create-dbgsym was already fixed in lucid.

Changed in pkg-create-dbgsym (Ubuntu Lucid):
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

I uploaded a no-change rebuild to lucid-proposed. Description already has the test case, and there is no source diff.

Changed in openafs (Ubuntu Lucid):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted openafs into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Anders Kaseorg (andersk) wrote :

The version of openafs needs to be bumped from 1.4.12+dfsg-3 to 1.4.12+dfsg-3+build1, not just 1.4.12+dfsg-3build1. The problem is that openafs-modules-source generates a package openafs-modules-$(uname -r) with version 1.4.12+dfsg-3build1+2.6.32-28.55, and dpkg sorts version numbers as follows:

  1.4.12+dfsg-3build1+2.6.32-28.55 <
  1.4.12+dfsg-3+2.6.32-28.55 <
  1.4.12+dfsg-3+build1+2.6.32-28.55

Revision history for this message
Pedro Villavicencio (pedro) wrote :

I've verified the package, the symbols are there with the proposed version, marking this as verification-done, thanks all.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openafs - 1.4.12+dfsg-3build1

---------------
openafs (1.4.12+dfsg-3build1) lucid-proposed; urgency=low

  * No-change rebuild against current pkg-create-dbgsym to fix broken debug
    symbol linking. (LP: #660360)
 -- Martin Pitt <email address hidden> Wed, 09 Feb 2011 15:12:55 +0100

Changed in openafs (Ubuntu Lucid):
status: Fix Committed → Fix Released
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.