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

Barry Warsaw 938869 at bugs.launchpad.net
Mon Oct 1 18:08:30 UTC 2012


The most boiled down example that provides Python 3 to fatally exit is:

$ PYTHONHOME=/does/not/exist /usr/bin/python3

Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named encodings
Aborted (core dumped)

That's to be expected I suppose; it's not a bug in Python in the sense
that it is purposefully aborting itself when it cannot find the
encodings module during start up.  I'm not sure what else Python could
do in that case (and neither is upstream, hence the self-abort).

It's not at all clear to me what we can do here, short of reporting the
problem to VMware and having them not break the Python environment when
they invoke lsb_release.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.2 in Ubuntu.
https://bugs.launchpad.net/bugs/938869

Title:
  lsb_release crashed with SIGABRT in Py_FatalError()

Status in “python3.2” package in Ubuntu:
  Triaged

Bug description:
  I'm just login, and the message to some aplication 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/python3.2/+bug/938869/+subscriptions




More information about the foundations-bugs mailing list