import OpenSSL segfaults pypy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyOpenSSL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I built a 32-bit -Ojit pypy on Ubuntu 10.04. The pypy revision was r78580 (2010-10-31 09:54). I installed pyOpenSSL r138, but importing it segfaults pypy. I don't know if this also happens in pypy 1.3, because I haven't been able to build any modules with the released version.
# pypy
Python 2.5.2 (78628, Oct 31 2010, 23:53:58)
[PyPy 1.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``pypy is more stable than debian''
>>>> import OpenSSL
<InvalidPointer
RPython traceback:
File "implement.c", line 77916, in PyDict_
File "implement.c", line 175602, in from_ref
File "implement_4.c", line 129883, in CpyTypedescr_
File "implement_1.c", line 37655, in type_realize
File "implement_1.c", line 117483, in W_PyCTypeObject
File "implement.c", line 175602, in from_ref
File "implement_1.c", line 17640, in CpyTypedescr_
zsh: segmentation fault pypy
Related branches
Changed in pyopenssl: | |
milestone: | none → 0.12 |
status: | New → In Progress |
Changed in pyopenssl: | |
status: | Fix Committed → Fix Released |
Same results on a release build, pypy 1.4 32-bit on Ubuntu 10.04 (64-bit):
<InvalidPointer Exception object at 0x893c554> SetItemString type_realize ___init_ _ realize
RPython traceback:
File "implement.c", line 79968, in PyDict_
File "implement.c", line 179834, in from_ref
File "implement_4.c", line 132364, in CpyTypedescr_
File "implement_1.c", line 44168, in type_realize
File "implement_1.c", line 123481, in W_PyCTypeObject
File "implement.c", line 179834, in from_ref
File "implement_1.c", line 24349, in CpyTypedescr_
Segmentation fault
The exact same thing happens in a 32-bit Ubuntu 10.04 chroot.