windows-2.9 test hangs on AIX 5.1 with tk 8.4.14
- From: allenjo5@xxxxxxxxxxxxxxxxxx
- Date: 13 Dec 2006 10:34:10 -0800
[ Posted to comp.lang.tcl a few days ago, but no one responded. I've
since rebuilt tcl/tk on AIX 5.2, but the window-2.9 test still hangs.
I'm using the (rather old) vac.C compiler, version 5.0.2.8. Has anyone
out there in AIX land built tcl/tk 8.4.14 on 5.1 or 5.2 and not seen
the hang? ]
Both tcl and tk were built with --enable-threads. Tcl passed all but
two minor tests: clock-10.0 and clock-41.1, which are strftime format
tests. Tk failed many of the font tests, which I think I can live
with, but the windows-2.9 hang troubles me. The code is this:
test window-2.9 {Tk_DestroyWindow, Destroy bindings evaluated after
exit} \
unixOrWin {
set script [makeFile {
toplevel .t1
toplevel .t2
update
bind .t2 <Destroy> {puts "Destroy .t2" ; exit 1}
bind .t1 <Destroy> {puts "Destroy .t1" ; exit 0}
destroy .t2
} script]
set error [catch {exec [interpreter] $script -geometry 10x10+0+0}
msg]
removeFile script
list $error $msg
} {0 {Destroy .t2
Destroy .t1}}
Testing it without the test wrappings, I find that this hangs:
toplevel .t1
toplevel .t2
update
bind .t1 <Destroy> {puts "Destroy .t1" ; exit 0}
destroy .t2
But when I remove the "exit 0" it doesn't:
toplevel .t1
toplevel .t2
update
bind .t1 <Destroy> {puts "Destroy .t1" ; }
destroy .t2
How serious is this, and what might I do to fix it?
John.
.
- Follow-Ups:
- Re: windows-2.9 test hangs on AIX 5.1 with tk 8.4.14
- From: Hajo Ehlers
- Re: windows-2.9 test hangs on AIX 5.1 with tk 8.4.14
- Prev by Date: Redistributing the xlC runtime filesets
- Next by Date: Re: Redistributing the xlC runtime filesets
- Previous by thread: Redistributing the xlC runtime filesets
- Next by thread: Re: windows-2.9 test hangs on AIX 5.1 with tk 8.4.14
- Index(es):
Relevant Pages
|