Apport assumes dmesg output is ordered - not always true

Bug #414194 reported by Geir Ove Myhr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apport
Fix Released
Undecided
Brian Murray
apport (Ubuntu)
Fix Released
Undecided
Brian Murray

Bug Description

At bug 413399 there is apport-collect output attached. The dmesg output is split into BootDmesg.txt and CurrentDmesg.txt which is a nice feature. At that bug report however, there are a couple of error messages in CurrentDmesg.txt:

Error: command ['sh', '-c', 'dmesg | comm -13 /var/log/dmesg -'] failed with exit code 1:
comm: file 2 is not in sorted order

I don't know exactly what triggers the error message.

http://launchpadlibrarian.net/30298688/BootDmesg.txt
http://launchpadlibrarian.net/30298689/CurrentDmesg.txt

Related branches

Revision history for this message
Marco Rodrigues (gothicx) wrote :

It's fixed in trunk 1624.

Changed in apport (Ubuntu):
status: New → Fix Committed
assignee: nobody → Brian Murray (brian-murray)
Changed in apport:
assignee: nobody → Brian Murray (brian-murray)
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in upstream release 1.9.3, thank you!

Changed in apport:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.9.3-0ubuntu1

---------------
apport (1.9.3-0ubuntu1) karmic; urgency=low

  * New upstream bug fix release:
    - hookutils.py: Fix error codes from "comm", thanks to Brian Murray.
      (LP: #414194)
    - general-hooks/generic.py: Catch xkbcomp error messages. (LP: #431807)
    - launchpad.py: Assert that we have exactly one of "distro" or "project"
      option.
    - doc/crashdb-conf.txt: Improve documentation of crash database options.
    - apport-gtk: Make Cancel/Send buttons focusable. Thanks to Marco
      Rodrigues. (LP: #447780)
    - Drop handling of the APPORT_REPORT_THIRDPARTY environment variable and
      "thirdparty" configuration file option. This has never been documented,
      and conceptually does not work. There is a proper mechanism for this in
      place now, e. g. launchpad.py's "project" option.
  * bin/apport-bug: Show deprecation warning for -p/-P. (LP: #431942)

 -- Martin Pitt <email address hidden> Wed, 14 Oct 2009 23:28:24 +0200

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.