@chenz in #64 - good catch. We looked at errors.ubuntu.com and while there are a few related reports of this problem in versions of lsb later than precise-upgrades version 4.0-0ubuntu20.2, we think these are version mismatches. We see orders of magnitude more reports against precise's version.
So, I'm going to SRU a fix which switches from commands to subprocess, since 1) this is closer to the change in the code post-precise anyway, and 2) it's easier to make this change than to fix Python 2.7's commands module. We also have a suspicion that this problem *could* be the root cause of LP: #982082 although we have no direct evidence of that. Call it a hunch. We'll see if reports of that problem get reduced when this SRU lands. ** Changed in: lsb (Ubuntu) Assignee: (unassigned) => Barry Warsaw (barry) ** Changed in: lsb (Ubuntu) Status: Confirmed => In Progress ** Description changed: Add-ons: globalm...@ubuntu.com:2.0.4,langpack...@firefox.mozilla.org:11.0,langpack-en...@firefox.mozilla.org:11.0,langpack-en...@firefox.mozilla.org:11.0,langpack-es...@firefox.mozilla.org:11.0,langpack-es...@firefox.mozilla.org:11.0,langpack-es...@firefox.mozilla.org:11.0,langpack-es...@firefox.mozilla.org:11.0,langpack-pt...@firefox.mozilla.org:11.0,langpack-pt...@firefox.mozilla.org:11.0,langpack-zh...@firefox.mozilla.org:11.0,ubu...@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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1094218 Title: lsb_release crashed with IOError in getstatusoutput(): [Errno 10] No child processes (called by teamviewerd) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1094218/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs