apport-retrace should install and use gdb for target release
Bug #1517257 reported by
Brian Murray
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Fix Released
|
Wishlist
|
Brian Murray | ||
apport (Ubuntu) |
Fix Released
|
Medium
|
Brian Murray |
Bug Description
apport-retrace will use the version of gdb installed on the system performing the retrace. This can cause issues retracing crash reports from releases that have a newer toolchain revision than the system performing the retrace. Subsequently, it would be better if apport-retrace were to install gdb into the sandbox being used for retracing and used that version of gdb for analyzing the core dump.
Related branches
lp://staging/~brian-murray/apport/sandbox-gdb
- Steve Langasek: Needs Fixing
- Barry Warsaw: Pending requested
- Apport upstream developers: Pending requested
-
Diff: 1510 lines (+516/-342)8 files modifiedapport/packaging.py (+4/-1)
apport/report.py (+55/-18)
apport/sandboxutils.py (+15/-2)
backends/packaging-apt-dpkg.py (+51/-9)
bin/apport-retrace (+54/-6)
po/apport.pot (+306/-306)
test/test_backend_apt_dpkg.py (+17/-0)
test/test_report.py (+14/-0)
tags: | added: rls-x-incoming |
Changed in apport (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in apport (Ubuntu): | |
milestone: | none → ubuntu-17.01 |
Changed in apport: | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | Triaged → In Progress |
Changed in apport: | |
status: | In Progress → Fix Released |
Changed in apport (Ubuntu): | |
milestone: | ubuntu-17.01 → ubuntu-17.05 |
To post a comment you must log in.
This is a xenial crash retraced on precise with the precise version of gdb:
https:/ /errors. ubuntu. com/problem/ 46cdc799549ce92 5789dda64598d44 de62337f13
The same crash retraced in xenial produced the following results:
http:// pastebin. ubuntu. com/13300108/
Notice how the backtrace is much more informative.