I'm using lastest Gtk1.3 and pygtk-1.99 from CVS. Pygtk is compiled with
threads enabled. If i call gtk.threads_init then .show()ing a gtk.TreeView
deadlocks.

(gdb) bt
#0  0x4015ea0e in sigsuspend () from /lib/libc.so.6
#1  0x400fe629 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2  0x401006c6 in __pthread_alt_lock () from /lib/libpthread.so.0
#3  0x400fcd82 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x40602596 in gdk_event_prepare (source=0x8070378, timeout=0xbffff7ec)
    at gdkevents-x11.c:1708
#5  0x402c0048 in g_main_context_prepare (context=0x80703a8, priority=0xbffff82c)
    at gmain.c:1921
#6  0x402c0682 in g_main_context_iterate (context=0x80703a8, block=1, dispatch=1, 
    self=0x8091290) at gmain.c:2209
#7  0x402c0e3a in g_main_loop_run (loop=0x81c24c0) at gmain.c:2449
#8  0x40477c2b in gtk_main () at gtkmain.c:812
#9  0x40378027 in _wrap_gtk_main (self=0x0) at gtk.override:1929
#10 0x4008bed7 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.2.so.0.0
#11 0x4008a4c1 in Py_MakePendingCalls () from /usr/lib/libpython2.2.so.0.0
#12 0x4008b594 in PyEval_EvalCodeEx () from /usr/lib/libpython2.2.so.0.0
#13 0x4008d89a in PyEval_EvalCode () from /usr/lib/libpython2.2.so.0.0
#14 0x400ab524 in PyOS_setsig () from /usr/lib/libpython2.2.so.0.0
#15 0x400ab4cf in PyOS_setsig () from /usr/lib/libpython2.2.so.0.0
#16 0x400ab15d in PyRun_FileExFlags () from /usr/lib/libpython2.2.so.0.0
#17 0x400a9bcf in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.2.so.0.0
#18 0x400aacf7 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.2.so.0.0
#19 0x400b1097 in Py_Main () from /usr/lib/libpython2.2.so.0.0
#20 0x08048624 in main ()
#21 0x4014e65f in __libc_start_main () from /lib/libc.so.6

It is very easy to reproduce (i stuck in a code snippet last post)

Any ideas?

-- 
Tom Morton
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to