pygtk 0.6.8 crashes on everything

Alejandro Dubrovsky s328940 at student.uq.edu.au
Thu Dec 6 09:59:24 EST 2001


I have had pygtk installed for a while, and i've never noticed this before
about a month ago, so i'm assuming that originally it all worked fine. 
Now, anything i try to do with pygtk segfaults.  details:  linux 2.4.x
(the x changes too frequently), glibc-2.2.4 with corresponding
linuxthreads (0.9 i think), gcc-3.0.2, python 2.1.1, gtk+ and glib-1.2.10.
 I've recompiled python, glib, gtk, and pygtk again.  no luck.
eg, when trying to run pygtk/examples/test/testgtk.py, the following
backtrace is produced by gdb  (the backtraces all look very similar):
(gdb) bt
#0  0x400e70bb in chunk_free () from /lib/libc.so.6 #1  0x400e705b in free
() from /lib/libc.so.6 #2  0x401f0906 in PyGtk_dealloc ()
   from /usr/local/lib/python2.1/site-packages/_gtkmodule.so
#3  0x8090c3a in dict_dealloc (mp=0x819d2cc) at Objects/dictobject.c:637
#4  0x80812e0 in instance_dealloc (inst=0x81a0ecc) at
Objects/classobject.c:585 #5  0x80580aa in eval_code2 (co=0x401bc360,
globals=0x401a053c, locals=0x0,
    args=0x81b88fc, argcount=0, kws=0x81b88fc, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:1674
#6  0x8059efd in fast_function (func=0x81a195c, pp_stack=0xbffff754, n=0,
na=0, nk=0)
    at Python/ceval.c:3022
#7  0x80582c9 in eval_code2 (co=0x401bc3a0, globals=0x401a053c,
locals=0x0,
    args=0x80daee4, argcount=0, kws=0x80daee4, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at Python/ceval.c:1972
#8  0x8059efd in fast_function (func=0x81a1994, pp_stack=0xbffff854, n=0,
na=0, nk=0)
    at Python/ceval.c:3022
#9  0x80582c9 in eval_code2 (co=0x401bc3e0, globals=0x401a053c,
locals=0x401a053c,
    args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0,
    closure=0x0) at Python/ceval.c:1972
#10 0x80555e5 in PyEval_EvalCode (co=0x401bc3e0, globals=0x401a053c,
locals=0x401a053c)
    at Python/ceval.c:341
#11 0x806f3eb in run_node (n=0x80d2648, filename=0xbffffb22 "testgtk.py",
    globals=0x401a053c, locals=0x401a053c, flags=0xbffff948) at
    Python/pythonrun.c:1045
#12 0x806e675 in PyRun_SimpleFileExFlags (fp=0x80d1780,
    filename=0xbffffb22 "testgtk.py", closeit=1, flags=0xbffff948) at
    Python/pythonrun.c:665
#13 0x8051faa in Py_Main (argc=2, argv=0xbffff9e4) at Modules/main.c:320
#14 0x8051b69 in main (argc=2, argv=0xbffff9e4) at Modules/python.c:10 #15
0x4008f691 in __libc_start_main () from /lib/libc.so.6


Anyone have any ideas?
Thank you,
Alejandro Dubrovsky



More information about the Python-list mailing list