apport-retrace fails with crash files with libraries not from the release pocket

Bug #1271258 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apport
Fix Released
Undecided
Brian Murray

Bug Description

If one uses apport-retrace with a .crash file from a release other than the tracing system's release the retrace of the .crash file will fail with error messages similar to the following (provided the crashing system has packages installed from -updates or -proposed):

dynamically loaded /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8 needs package libdbus-1-3, queueing
WARNING: /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.3200.4 is needed, but cannot be mapped to a package
dynamically loaded /usr/lib/x86_64-linux-gnu/libxml2.so.2.7.8 needs package libxml2, queueing
dynamically loaded /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.4.4 needs package libfontconfig1, queueing
WARNING: /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.3200.4 is needed, but cannot be mapped to a package

This is due to the fact that only the Contents.gz file from the release pocket is searched and the Contents.gz file from -proposed, -updates or -security are not. This issue appears on the retracers for the Ubuntu Error tracker with the following message:

16:12:56,613:16019:139930592470784:INFO:root:66f9fd24-6411-11e3-9488-fa163e1e7f38:swift:Retracing
66f9fd24-6411-11e3-9488-fa163e1e7f38:swift
2013-12-13
16:13:32,170:16019:139930592470784:INFO:root:66f9fd24-6411-11e3-9488-fa163e1e7f38:swift:Writing
back to Cassandra
2013-12-13
16:13:32,175:16019:139930592470784:INFO:root:66f9fd24-6411-11e3-9488-fa163e1e7f38:swift:Could
not retrace.
2013-12-13
16:13:32,537:16019:139930592470784:INFO:root:66f9fd24-6411-11e3-9488-fa163e1e7f38:swift:Done
processing /tmp/tmp0Y3y84-swift.66f9fd24-6411-11e3-9488-fa163e1e7f38.oopsid

The apport error is reproducable with a command like the following:

/usr/bin/apport-retrace -v -S ~/source-trees/daisy/daisy/retracer/config /tmp/precise-dfeet.crash -o /tmp/trunk-updated_crash_file.crash

Related branches

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

This is a d-feet crash file from precise for testing with.

Changed in apport:
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in trunk r2758. Thanks!

Changed in apport:
status: In Progress → 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.