[Ubuntu Wiki] Update of "DebuggingProgramCrash" by mterry
Ubuntu Wiki
noreply at ubuntu.com
Tue Sep 6 20:02:27 UTC 2016
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Ubuntu Wiki" for change notification.
The "DebuggingProgramCrash" page has been changed by mterry:
http://wiki.ubuntu.com/DebuggingProgramCrash?action=diff&rev1=123&rev2=124
Comment:
Add info for getting dbgsym packages from PPAs
sudo apt-get install yelp-dbgsym=2.22.1-0ubuntu2.8.04.1
}}} You can also use the Synaptic Package Manager to search for yelp-dbgsym and install it from there.
+ === Installing dbgsym packages from a PPA ===
+
+ If you are debugging a PPA package, have no fear! You can still install `-dbgsym` packages for them. Where normally you would have a line like:
+
+ {{{
+ deb http://ppa.launchpad.net/TEAM/PPA/ubuntu RELEASE main
+ }}}
+
+ Simply add '''`main/debug`''' at the end, like so:
+
+ {{{
+ deb http://ppa.launchpad.net/TEAM/PPA/ubuntu RELEASE main main/debug
+ }}}
+
+ Then `apt update` and `apt install` the `-dbgsym` packages you want.
+
== Manually finding required debug symbols ==
The above procedure will install the debug symbol package for yelp only. For many packages, they use libraries shared between different packages. Hence, in order to obtain a readable/more readable stacktrace, or perform other debugging tasks, one must find the debug symbols for these shared libraries. For example, if one had attached gdb to an application and got the following output:{{{
More information about the Ubuntu-bugsquad
mailing list