[PATCH] Provide oops in kerneloops dialog

Bug #528175 reported by Leann Ogasawara
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Martin Pitt

Bug Description

Binary package hint: apport

When reporting a kernel oops the reporter is presented a dialog asking if they would also like to forward the oops to kerneloops.org. Unfortunately there is no information about the oops until later in the reporting process. The patch attached here presents the reporter a condensed output of the kernel oops in the dialog so that the reporter can make a more educated decision if they want to send this to kerneloops.org or not.

Note, ideally I wanted to present the entire OopsText content in the dialog window but unfortunately it seemed to cause the window to spill off the screen thus hiding the 'yes' 'no' buttons. The dialog window itself does not appear to be able to be resized nor provides scrolling. So I figured condensing the oops to a minimal set of information would be the next best thing. Let me know if there is a better way to handle this. Thanks.

ProblemType: Bug
 apport (pid 9501) Thu Feb 25 10:31:33 2010: called for pid 2826, signal 6
 apport (pid 9501) Thu Feb 25 10:31:33 2010: executable: /usr/bin/synergyc (command line "synergyc yoji")
 apport (pid 9501) Thu Feb 25 10:31:34 2010: wrote report /var/crash/_usr_bin_synergyc.1000.crash
Architecture: i386
CheckboxSubmission: 27199aa7e30bbcb25cde0f30adca2f2c
CheckboxSystem: 8baff8f3b5cdd90914588b077dfd5f83
Date: Thu Feb 25 18:39:28 2010
DistroRelease: Ubuntu 10.04
Package: apport 1.12-0ubuntu5 [modified: usr/share/apport/package-hooks/source_linux.py]
PackageArchitecture: all
 PATH=(custom, user)
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: apport
Uname: Linux 2.6.32-14-generic i686

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

I did a fresh debcheckout apport, applied the patch, and then did a bzr push --overwrite lp:~leannogasawara/ubuntu/lucid/apport/ubuntu. Assuming there aren't any fixups needed for the patch, I hope this branch makes merging easier this time around.



description: updated
tags: added: patch
Changed in apport (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.12.1-0ubuntu4

apport (1.12.1-0ubuntu4) lucid; urgency=low

  [ Leann Ogasawara ]
  * data/package-hooks/source_linux.py: When reporting a kernel oops the
    reporter is presented with a dialog asking if they also want to report the
    oops to kerneloops.org. Unfortunately there is no information regarding
    the oops at the time this dialog is presented. Provide the reporter a
    summary of the oops in question so they can make an educated decision
    about reporting it to kerneloops.org. (LP: #528175)
 -- Martin Pitt <email address hidden> Thu, 04 Mar 2010 13:08:22 +0100

Changed in apport (Ubuntu):
status: In Progress → 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.