← Back to team overview

ubuntu-phone team mailing list archive

Manually retracing crashes on Touch images

 

Hi everyone,

Loïc asked me to clarify how you can retrace crashes on Touch devices
manually, since we're still waiting on armhf retracers to appear on
Prodstack.

You'll first need some apt sources for apport to download -dbg and
-dbgsym packages from. The configurations we use for the production
retracers can be found in the Daisy project, so grab those:

bzr branch lp:daisy

You will need to add your PPA to the 13.10 sources if you have have
debugging symbols enabled.

Next, tell apport to collect some additional information for the
crash. This adds the packaging information and runs any hooks:

apport-cli /var/crash/your_crash_file.crash
Hit view (V), then hit keep (K).

Finally, retrace your crash:

apport-retrace -S ~/bzr/daisy/retracer/config
/var/crash/your_crash_file.crash -o updated_crash_file.crash

You can pass the -C option if you're going to run this over a number
of crash files and want to cache the unpacked ddebs between runs.

updated_crash_file.crash should now have full Stacktrace and
ThreadStacktrace fields.

You can throw that at Launchpad by running apport-cli
updated_crash_file.crash, then hitting S to send the report.

Let me know if you require further assistance.


Follow ups