Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-05-20
16:23 • Closed ticket [748949ffff]: event.test failed plus 3 other changes artifact: 4692aee19f user: dkf
2004-05-19
16:09 • Ticket [748949ffff]: 4 changes artifact: b2923068c0 user: mmokrejs
2003-12-03
21:00 • Ticket [748949ffff]: 4 changes artifact: b90b81fb58 user: mmokrejs
2003-07-21
16:17 • Ticket [748949ffff]: 4 changes artifact: 33e22f0409 user: mmokrejs
2003-07-18
22:00 • Ticket [748949ffff]: 4 changes artifact: 685b5e7a5d user: dgp
19:01 • Ticket [748949ffff]: 4 changes artifact: 3de26b0838 user: mmokrejs
2003-06-04
23:03 • Ticket [748949ffff]: 2 changes artifact: 127d941e1b user: dgp
15:55 • New ticket [748949ffff]. artifact: e2f94a6807 user: mmokrejs

event.test failed

Closed / Fixed748949ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 23 years ago
Descriptionplain2003-06-04 15:55:17
Hi,
I have compiled tcl8.4.3 on Tru64Unix (formerly OSF1)
and make test fails in many cases. Would someone
inspect the output? Thanks!

I used cc/cxx from vendor, latest version, C*FLAGS"-O2
-arch ev56" if that matters.


The original bugreport is at
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=748804&group_id=10894


==== event-11.5 Tcl_VwaitCmd procedure: round robin
scheduling, 2 sources FAILED
==== Contents of test case:

    set test1file [makeFile "" test1]
    set f1 [open $test1file w]
    proc accept {s args} {
puts $s foobar
close $s
    }
    catch {set s1 [socket -server accept 0]}
    after 1000
    catch {set s2 [socket 127.0.0.1 [lindex [fconfigure
$s1 -sockname] 2]]}
    close $s1
    set x 0
    set y 0
    set z 0
    fileevent $s2 readable {incr z}
    vwait z
    fileevent $f1 writable {incr x; if {$y == 3} {set z
done}}
    fileevent $s2 readable {incr y; if {$x == 3} {set z
done}}
    vwait z
    close $f1
    close $s2
    removeFile $test1file
    list $x $y $z

---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
==== event-11.5 FAILED
dgp Ticket [748949ffff]: 2 changes [History diff]2003-06-04 23:03:36
mmokrejsplain2003-07-18 19:01:03
Logged In: YES 
user_id=696559

Still happens with current cvs.
dgpplain2003-07-18 22:00:37
Logged In: YES 
user_id=80530


can you re-run the test with
the "-verbose e" option so
that you report the error and
stack trace?
mmokrejsplain2003-07-21 16:17:19
Logged In: YES 
user_id=696559

$ ./tcltest ../tests/event.test -verbose e

==== event-11.5 Tcl_VwaitCmd procedure: round robin
scheduling, 2 sources FAILED
---- Test generated error; Return code was: 1
---- Return code should have been one of: 0 2
---- errorInfo: 
    while executing
"close $s2"
    ("uplevel" body line 21)
    invoked from within
"uplevel 1 $script"
---- errorCode: NONE
==== event-11.5 FAILED

event.test:     Total   40      Passed  31      Skipped 8  
    Failed  1
Number of tests skipped for each constraint:
        8       nonPortable
$
mmokrejsplain2003-12-03 21:00:56
Logged In: YES 
user_id=696559

Still happens with tcl8.4.5 on same host
mmokrejsplain2004-05-19 16:09:51
Logged In: YES 
user_id=696559

Seems to be fixed in cvs as of now.
dkf Closed ticket [748949ffff]. [History diff]2004-05-20 16:23:55
Log in (anonymous is fine) to add a comment.