StacktraceAddressSignature is missing on many ARM reports

Bug #1089778 reported by Martin Pitt on 2012-12-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apport
High
Martin Pitt
apport (Ubuntu)
High
Martin Pitt
Precise
Undecided
Unassigned
Quantal
Undecided
Unassigned

Bug Description

None of the armhf test crashes built in https://code.launchpad.net/~daisy-pluckers/+archive/daisy-seeds have a StacktraceAddressSignature. For precise and quantal an important fix was fixed in Raring and currently being SRUed to precise and quantal in bug 1084996, but that doesn't seem to be enough for armhf.

This is because Apport currently makes the assumption that the last field (the file path) is separated from the other fields by at least four spaces, which is the case on x86 (where there are some 15 spaces). However, on armhf there are only three, so the parser did not recognize these lines.

FIX: http://bazaar.launchpad.net/~apport-hackers/apport/trunk/revision/2563 (which just reduces the number of expected spaces from 4 to 2, and adds a test case from a real-life ARM crash)

SRU TEST CASE:
Above patch includes a test case, but a manual one is:
- Generate a crash on an armhf machine, with e. g.: dash -c 'kill -SEGV $$'
- Let Apport pop up and display the details
- With the current Apport version, it most probably does not have a StacktraceAddressSignature field; with the -proposed package it should have one.

Tags: arm Edit Tag help
Martin Pitt (pitti) on 2012-12-13
Changed in apport (Ubuntu):
importance: Undecided → High
tags: added: arm
Changed in apport (Ubuntu):
status: New → In Progress
assignee: nobody → Martin Pitt (pitti)
Martin Pitt (pitti) on 2012-12-13
Changed in apport:
status: New → In Progress
assignee: nobody → Martin Pitt (pitti)
Changed in apport (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
status: In Progress → Triaged
Changed in apport:
importance: Undecided → High
Martin Pitt (pitti) wrote :

Once this hits raring, I'd like to SRU this.

description: updated
Changed in apport:
status: In Progress → Fix Released
Changed in apport (Ubuntu):
status: Triaged → Fix Committed
assignee: nobody → Martin Pitt (pitti)
Changed in apport (Ubuntu Precise):
status: New → Triaged
Changed in apport (Ubuntu Quantal):
status: New → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.7-0ubuntu2

---------------
apport (2.7-0ubuntu2) raring; urgency=low

  * Cherry-pick from trunk:
    - Fix StacktraceAddressSignature generation on ARM. (LP: #1089778)
 -- Martin Pitt <email address hidden> Thu, 13 Dec 2012 08:56:47 +0100

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
Rolf Leggewie (r0lf) wrote :

quantal has seen the end of its life and is no longer receiving any updates. Marking the quantal task for this ticket as "Won't Fix".

Changed in apport (Ubuntu Quantal):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers