[Bug 938869] Re: lsb_release crashed with SIGABRT in Py_FatalError()

Launchpad Bug Tracker 938869 at bugs.launchpad.net
Wed Oct 24 00:32:12 UTC 2012


This bug was fixed in the package lsb - 4.0-0ubuntu27

---------------
lsb (4.0-0ubuntu27) raring; urgency=low

  * lsb_release: Add -Es to #! line for Python so that it will ignore
    the $PYTHON* environment variables, and not add the user's site
    directory to sys.path.  Both of these are general recommendations that
    should apply to all system scripts, but in this case fixes LP: #938869
 -- Barry Warsaw <barry at ubuntu.com>   Tue, 23 Oct 2012 18:48:21 -0400

** Changed in: lsb (Ubuntu Raring)
       Status: In Progress => 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/938869

Title:
  lsb_release crashed with SIGABRT in Py_FatalError()

Status in “lsb” package in Ubuntu:
  Fix Released
Status in “lsb” source package in Precise:
  Fix Committed
Status in “lsb” source package in Quantal:
  Fix Committed
Status in “lsb” source package in Raring:
  Fix Released

Bug description:
  = SRU =

  All Python system scripts should use -Es to ignore $PYTHON* envars and
  to ignore the user's site directory.  This is a general
  recommendation.

  [Test Case]
  $ PYTHONHOME=/does/not/exist lsb_release
  -> crashes without the fix
  -> works correctly with the fix

  [Regression Potential]
  None expected.

  = Details =

  During the installation process of either VMware Player major version
  4 or 5 you will receive a crash report regarding lsb-release as VMware
  ships a version of python 2 with the installer and the installation
  process calls lsb-release which uses python 3.

  I'm just login, and the message to some application crashed pops up.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: lsb-release 4.0-0ubuntu19
  ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
  Uname: Linux 3.2.0-17-generic i686
  ApportVersion: 1.92-0ubuntu1
  Architecture: i386
  Date: Wed Feb 22 13:45:24 2012
  ExecutablePath: /usr/bin/lsb_release
  InterpreterPath: /usr/bin/python3.2mu
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/lsb_release -sd
  Signal: 6
  SourcePackage: lsb
  StacktraceTop:
   raise () from /lib/i386-linux-gnu/libc.so.6
   abort () from /lib/i386-linux-gnu/libc.so.6
   Py_FatalError ()
   ?? ()
   Py_InitializeEx ()
  Title: lsb_release crashed with SIGABRT in raise()
  UpgradeStatus: Upgraded to precise on 2012-02-17 (5 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/938869/+subscriptions




More information about the foundations-bugs mailing list