wrongly duplicated reports - jockey-backend crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)

Bug #850005 reported by Thierry Lemaire
616
This bug affects 75 people
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Fix Released
High
Jarrod Hart
Oneiric
Won't Fix
High
Unassigned
Precise
Fix Released
High
Martin Pitt

Bug Description

During print openoffice document

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: jockey-common 0.9.4-0ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Wed Sep 14 09:54:30 2011
ExecutablePath: /usr/share/jockey/jockey-backend
InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
InterpreterPath: /usr/bin/python2.7
MachineType: Dell Inc. Studio XPS 435MT
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/jockey/jockey-backend --debug -l /var/log/jockey.log
ProcEnviron:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-11-generic root=UUID=8aff2563-2f33-4492-bfd6-7d3083afef6b ro quiet splash vt.handoff=7
PythonArgs: ['/usr/share/jockey/jockey-backend', '--debug', '-l', '/var/log/jockey.log']
SourcePackage: jockey
Title: jockey-backend crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)
Traceback: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)
UpgradeStatus: Upgraded to oneiric on 2011-08-08 (37 days ago)
UserGroups:

dmi.bios.date: 11/14/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.2
dmi.board.name: 0R849J
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.0.2:bd11/14/2008:svnDellInc.:pnStudioXPS435MT:pvr:rvnDellInc.:rn0R849J:rvrA00:cvnDellInc.:ct3:cvr:
dmi.product.name: Studio XPS 435MT
dmi.sys.vendor: Dell Inc.

Revision history for this message
Thierry Lemaire (thierry-lemaire) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Possible regression detected

This crash has the same stack trace characteristics as bug #804709. However, the latter was already fixed in an earlier package version than the one in this report. This might be a regression or because the problem is in a dependent package.

tags: removed: need-duplicate-check
tags: added: regression-retracer
Changed in jockey (Ubuntu):
status: New → Confirmed
tags: added: bugpattern-needed
visibility: private → public
Changed in jockey (Ubuntu):
importance: Undecided → High
tags: added: rls-mgr-o-tracking
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : Re: jockey-backend crashed with SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)

removing the release tracking tag. These reports are wrongly consolidated by apport for example
868691: flashplugin installation crash
867919: dpkg lock
867870: man-db postinst failure caused by a debconf lock.

tags: removed: bugpattern-needed regression-retracer rls-mgr-o-tracking
summary: - jockey-backend crashed with SystemError: E:Sub-process /usr/bin/dpkg
- returned an error code (2)
+ wrongly duplicated reports - jockey-backend crashed with SystemError:
+ E:Sub-process /usr/bin/dpkg returned an error code (2)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

The bug here is that the trace is only
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)

while it should be the full installation trace e.g
dpkg: error: dpkg status database is locked by another process
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)

and directly assigned to the right package because the installation fails due to the failure of this package and not jockey itself.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

for example in bug 868691 the dpkg error is
Setting up flashplugin-installer (10.3.183.10ubuntu5) ...
nspluginwrapper: /usr/lib/flashplugin-installer/libflashplayer.so is not a valid NPAPI plugin
dpkg: error processing flashplugin-installer (--configure):
 subprocess installed post-installation script returned error exit status 1

Changed in jockey (Ubuntu Oneiric):
status: Confirmed → Triaged
Changed in jockey (Ubuntu Precise):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
tags: added: iso-testing
Martin Pitt (pitti)
Changed in jockey (Ubuntu Precise):
assignee: Canonical Desktop Team (canonical-desktop-team) → Martin Pitt (pitti)
tags: added: rls-mgr-p-tracking
Revision history for this message
Martin Pitt (pitti) wrote :

I reproduced this locally now with a package with a failing postinsts. Apport gives me both this crash as well as a "proper" crash report for the failed package, so the jockey crash should just be silenced. It even gives an error message box about the package failure, something is just leaking the exception.

Changed in jockey (Ubuntu Precise):
status: Triaged → In Progress
Martin Pitt (pitti)
Changed in jockey (Ubuntu Precise):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jockey - 0.9.7-0ubuntu4

---------------
jockey (0.9.7-0ubuntu4) precise; urgency=low

  * jockey/oslib.py, install_packages: Temporarily disable our Apport (or any
    other) excepthook for apt.Cache().commit(), to circumvent python-apt's
    magic of calling the except hook without a stack trace in case of
    package installation failures. We already catch SystemErrors from this
    call and act accordingly. (LP: #850005)
  * Merge updated translations from trunk.
 -- Martin Pitt <email address hidden> Mon, 02 Apr 2012 17:24:11 +0200

Changed in jockey (Ubuntu Precise):
status: Fix Committed → Fix Released
Jarrod Hart (p1chil)
Changed in jockey (Ubuntu):
assignee: Martin Pitt (pitti) → Jarrod Hart (p1chil)
Revision history for this message
Rolf Leggewie (r0lf) wrote :

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

Changed in jockey (Ubuntu Oneiric):
status: Triaged → Won't Fix
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.