[Bug 1094218] Re: lsb_release crashed with IOError in getstatusoutput(): [Errno 10] No child processes (called by teamviewerd)
Barry Warsaw
1094218 at bugs.launchpad.net
Thu Jun 13 14:24:11 UTC 2013
** Also affects: lsb (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: lsb (Ubuntu Quantal)
Importance: Undecided
Status: New
** Also affects: lsb (Ubuntu Raring)
Importance: Undecided
Status: New
** Changed in: lsb (Ubuntu)
Status: In Progress => Invalid
** Changed in: lsb (Ubuntu Precise)
Status: New => In Progress
** Changed in: lsb (Ubuntu Quantal)
Status: New => In Progress
** Changed in: lsb (Ubuntu Raring)
Status: New => In Progress
** Changed in: lsb (Ubuntu Precise)
Importance: Undecided => High
** Changed in: lsb (Ubuntu Quantal)
Importance: Undecided => High
** Changed in: lsb (Ubuntu Raring)
Importance: Undecided => High
** Changed in: lsb (Ubuntu)
Importance: Medium => Undecided
** Changed in: lsb (Ubuntu)
Assignee: Barry Warsaw (barry) => (unassigned)
** Changed in: lsb (Ubuntu Precise)
Assignee: (unassigned) => Barry Warsaw (barry)
** Changed in: lsb (Ubuntu Quantal)
Assignee: (unassigned) => Barry Warsaw (barry)
** Changed in: lsb (Ubuntu Raring)
Assignee: (unassigned) => Barry Warsaw (barry)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lsb in Ubuntu.
https://bugs.launchpad.net/bugs/1094218
Title:
lsb_release crashed with IOError in getstatusoutput(): [Errno 10] No
child processes (called by teamviewerd)
Status in “lsb” package in Ubuntu:
Invalid
Status in “lsb” source package in Precise:
In Progress
Status in “lsb” source package in Quantal:
In Progress
Status in “lsb” source package in Raring:
In Progress
Bug description:
Add-ons: globalmenu at ubuntu.com:2.0.4,langpack-de at firefox.mozilla.org:11.0,langpack-en-GB at firefox.mozilla.org:11.0,langpack-en-ZA at firefox.mozilla.org:11.0,langpack-es-AR at firefox.mozilla.org:11.0,langpack-es-CL at firefox.mozilla.org:11.0,langpack-es-ES at firefox.mozilla.org:11.0,langpack-es-MX at firefox.mozilla.org:11.0,langpack-pt-BR at firefox.mozilla.org:11.0,langpack-pt-PT at firefox.mozilla.org:11.0,langpack-zh-CN at firefox.mozilla.org:11.0,ubufox at ubuntu.com:2.0.1,{972ce4c6-7e08-4474-a285-3208198ce6fd}:11.0
BuildID: 20120313141405
CrashTime: 1356689682
EMCheckCompatibility: true
FramePoisonBase: 00000000f0dea000
FramePoisonSize: 4096
InstallTime: 1356685662
Notes: OpenGL: X.Org R300 Project -- Gallium 0.4 on ATI RV515 -- 2.1 Mesa 8.0.2 -- texture_from_pixmap
ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
ProductName: Firefox
ReleaseChannel: release
SecondsSinceLastCrash: 18
StartupTime: 1356689673
Theme: classic/1.0
Throttleable: 1
URL: http://ubuntuforums.org/private.php?s=&pp=&folderid=0
Vendor: Mozilla
Version: 11.0
This report also contains technical information about the state of the
application when it crashed.
ProblemType: CrashDistroRelease: Ubuntu 12.04
Package: lsb-release 4.0-0ubuntu20
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic-pae 3.2.12
Uname: Linux 3.2.0-20-generic-pae i686
ApportVersion: 1.95-0ubuntu1
Architecture: i386
Date: Fri Dec 28 09:42:36 2012
ExecutablePath: /usr/bin/lsb_release
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/lsb_release -a
ProcEnviron:
TERM=linux
PATH=(custom, no user)
PythonArgs: ['/usr/bin/lsb_release', '-a']SourcePackage: lsb
Title: lsb_release crashed with IOError in getstatusoutput(): [Errno 10] No child processes
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
[Impact]
SIGCHLD in lsb_release isn't handled correctly by Python causing the error code 10 IOError in some cases. Upstream Python has a fixed subprocess module, so switching from commands (where it is not fix) to subprocess (where it is fixed) should do the trick. Versions of lsb after precise are not affected because they use subprocess anyway, so this just backports that relatively mechanical change.
[Test Case]
Difficult to reproduce outside of teamviewer, but the following should work to verify that there is no regression: `lsb_release -a`
[Regression Potential]
If the patch to use subprocess is broken, then lsb_release may cease to work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1094218/+subscriptions
More information about the foundations-bugs
mailing list