This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Stability issues with current Debian
On Sat, 2004-05-15 at 17:46, Tom Low-Shang wrote:
>
> #0 0x402a0115 in pthread_cond_wait@@GLIBC_2.3.2 ()
> from /lib/tls/libpthread.so.0
> #1 0x401a2b32 in Tcl_ConditionWait () from /usr/lib/libtcl8.4.so.0
> #2 0x401a36f5 in Tcl_WaitForEvent () from /usr/lib/libtcl8.4.so.0
> #3 0x4017fc8c in Tcl_DoOneEvent () from /usr/lib/libtcl8.4.so.0
> #4 0x0804fb45 in ui_mainloop () at tkmain.c:1977
> #5 0x0804ae12 in main (argc=1075555836, argv=0xbffffbf4) at tkunix.c:126
Thanks Tom. This is essentially identical to the stack trace that Martin
just sent me.
Please try the attached patch which I just sent Martin. I am not
guaranteeing this will fix anything, and have a few other ideas in mind,
but if you could help me by testing it, I would be grateful.
Thanks,
Eric
P.S. Could you also send me your tclConfig.sh file (with Debian I never
know where it is :-), but probably /usr/lib, /usr/share/tcl8.4, or
/usr/lib/tcl8.4)? Thanks. (I just want to see if the 'TCL_THREADS'
variable is set to 1.)
Index: tcltk/tkmain.c
===================================================================
RCS file: /cvs/xconq/xconq/tcltk/tkmain.c,v
retrieving revision 1.156
diff -r1.156 tkmain.c
1977c1977
< Tcl_DoOneEvent(TCL_ALL_EVENTS);
---
> Tcl_DoOneEvent(TCL_ALL_EVENTS | TCL_DONT_WAIT);
Index: tcltk/tkmap.c
===================================================================
RCS file: /cvs/xconq/xconq/tcltk/tkmap.c,v
retrieving revision 1.141
diff -r1.141 tkmap.c
726c726
< Tcl_DoOneEvent(0);
---
> Tcl_DoOneEvent(TCL_ALL_EVENTS | TCL_DONT_WAIT);