Red Hat Bugzilla – Bug 6742
SEGFAULT in PyDict_New() while python script. No error after Python is compiled from SRPM
Last modified: 2008-05-01 11:37:52 EDT
I use FortyTwo.py script from
It worked find under RH5.2 but fails with segmentaion fault
in PyDict_New() after upgrade to RH6.0. This persists after
I upgraded to python-1.5.2-7 from RH6.1
GDB trace follows. What is interesting, the program works
fine if I download python-1.5.2-7.src.rpm and compile it
manually, enabling Tcl/Tk support
myprompt> gdb /usr/bin/python
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/FortyTwo/FortyTwo.py", line 460, in ?
from FWidgets import *
ImportError: No module named FWidgets
or analyzing the coreTraceback (innermost last):
prompt> gdb /usr/lib/python core
Core was generated by
#0 0x806fc42 in PyDict_New ()
I have no vgetty settup, but I do have a question first: have you tried
using the gtk widget set instead of the tk widget set?
Please see if this is fixed in python-1.5.2-9 or later from RawHide, and let me
know either way.
This is bound to have been fixed by now.