[Bug 1094218] Re: lsb_release crashed with IOError in getstatusoutput(): [Errno 10] No child processes (called by teamviewerd)

Launchpad Bug Tracker 1094218 at bugs.launchpad.net
Mon Aug 12 21:41:15 UTC 2013


This bug was fixed in the package lsb - 4.0-0ubuntu26.2

---------------
lsb (4.0-0ubuntu26.2) quantal-proposed; urgency=low

  * lsb_release.py: Use the subprocess module instead of the commands
    module to work around Python SIGCHLD handler issue9127.  LP: #1094218
 -- Barry Warsaw <barry at ubuntu.com>   Thu, 13 Jun 2013 10:22:16 -0400

** Changed in: lsb (Ubuntu Quantal)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
Status in “lsb” source package in Quantal:
  Fix Released
Status in “lsb” source package in Raring:
  Fix Released

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`

  Also watch for no incidents involving the new package version at:
  https://errors.ubuntu.com/problem/4eebfa6d3f91386f752207eeaf410b5a8ce81081

  [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