Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 6742 - SEGFAULT in PyDict_New() while python script. No error after Python is compiled from SRPM
Summary: SEGFAULT in PyDict_New() while python script. No error after Python is compil...
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: python
Version: 6.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-11-05 02:46 UTC by pogosyan
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-12-20 21:00:34 UTC

Attachments (Terms of Use)

Description pogosyan 1999-11-05 02:46:55 UTC
I use 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

GDB output
myprompt> gdb /usr/bin/python
(gdb) run
>>> execfile("/usr/local/lib/FortyTwo/")
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/FortyTwo/", 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 ()

Comment 1 Michael K. Johnson 1999-11-22 19:00:59 UTC
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?

Comment 2 Nalin Dahyabhai 1999-12-20 21:00:59 UTC
Please see if this is fixed in python-1.5.2-9 or later from RawHide, and let me
know either way.

Comment 3 Brent Fox 2002-06-05 04:54:40 UTC
This is bound to have been fixed by now.

Note You need to log in before you can comment on or make changes to this bug.