Tk Source Code

View Ticket
Login
Ticket UUID: 1439517
Title: Hang in window-2.9 on Linux/Gnome
Type: Bug Version: obsolete: 8.5a4
Submitter: dkf Created on: 2006-02-27 10:08:56
Subsystem: 63. Tk_Win Functions Assigned To: dkf
Priority: 6 Severity:
Status: Closed Last Modified: 2006-03-31 13:57:04
Resolution: Duplicate Closed By: hobbs
    Closed on: 2006-03-31 06:57:04
Description:
Running Linux-x86/Gnome, the test window-2.9 hangs
during execution, hanging the whole test suite. Is some
timeout missing? (This is only a high priority because
of the hang.)

Killing the right sub-process allows the remainder of
the test suite to run to completion. If that is done,
the following test message is printed for the problem test:

==== window-2.9 Tk_DestroyWindow, Destroy bindings
        evaluated after exit FAILED
==== Contents of test case:

    set code [loadTkCommand]
    append code {
        toplevel .t1
        toplevel .t2
        update
        bind .t2 <Destroy> {puts "Destroy .t2" ; exit 1}
        bind .t1 <Destroy> {puts "Destroy .t1" ; exit 0}
        destroy .t2
    }
    set script [makeFile $code script]
    if {[catch {exec [interpreter] $script -geometry
10x10+0+0} msg]} {
        set error 1
    } else {
        set error 0
    }
    removeFile script
    list $error $msg

---- Result was:
1 {Destroy .t2
Destroy .t1
child killed: software termination signal}
---- Result should have been (exact matching):
0 {Destroy .t2
Destroy .t1}
==== window-2.9 FAILED
User Comments: hobbs added on 2006-03-31 13:57:04:
Logged In: YES 
user_id=72656

dup of 740570

hobbs added on 2006-03-31 12:02:37:
Logged In: YES 
user_id=72656

I have to bounce this back because my Linux test box uses
WindowMaker, and this test passes fine there.