Re: Automatic Debug Packages
On 2009-08-13 11:32:17 +0800, Paul Wise wrote:
> Not having anything to do with Ubuntu, I don't know anything about the
> details, but they have had automatic debug packages and automated
> crash report stuff for quite a while, a couple of years IIRC. The
> specs for that are here:
>
> https://launchpad.net/ubuntu/+spec/apt-get-debug-symbols
> https://launchpad.net/distros/ubuntu/+spec/automated-problem-reports
Some more links and information:
- The ddeb repository is at http://ddebs.ubuntu.com/
- They are created on the Ubuntu buildds with pkg-create-dbgsym which
diverts dh_strip.
Source at https://launchpad.net/ubuntu/+source/pkg-create-dbgsym
They are used by the automatic retracing service of crashes filed in
Launchpad with apport. Example for such a bug
https://bugs.launchpad.net/ubuntu/+source/pango1.0/+bug/327446
But one can also use them to locally retrace crashes with
apport-retrace:
,----
| Description: tools for reprocessing Apport crash reports
| apport-retrace recombines an Apport crash report (either a file or a
| Launchpad bug) and debug symbol packages (.ddebs) into fully symbolic
| stack traces.
| .
| This package also ships apport-chroot. This tool can create and
| manage chroots for usage with apport-retrace. If the fakeroot and
| fakechroot libraries are available (either by installing the packages
| or by merely putting their libraries somewhere and setting two
| environment variables), the entire process of retracing crashes in
| chroots can happen with normal user privileges.
| Homepage: https://wiki.ubuntu.com/Apport
`----
Source package at https://launchpad.net/ubuntu/+source/apport
Michael
Reply to: