[New-bugs-announce] [issue17260] Seg fault when calling unicode() on old style class in virtualenv

Johannes report at bugs.python.org
Wed Feb 20 23:28:36 CET 2013


New submission from Johannes:

Running the code attached causes a segmentation fault.

This only occurs when run from within a virtual environment, and when the class is an old style class.

I've tested on OSX with both 2.7.3 installed via Homebrew, and the default 2.7.2 Python installation.

Also got the same result testing with 2.7.3 on linux ([GCC 4.4.5] on linux2)

I've verified that exactly the same Python installation is being used inside and outside of the virtual env.

Running the same code under 2.5 and 2.6 results in no seg fault.

----------
components: Unicode
files: unicode-bug.py
messages: 182562
nosy: ezio.melotti, johtso
priority: normal
severity: normal
status: open
title: Seg fault when calling unicode() on old style class in virtualenv
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file29136/unicode-bug.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17260>
_______________________________________


More information about the New-bugs-announce mailing list