Skip to content
Tcl Source Code View Ticket
Login

View Ticket

timer-2.1 test suite case fails

Closed / Works For Me565814ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-06-07 13:31:19
Platform: SPARC Solaris 2.6, Sun's C compiler

after getting the latest cvs snapshot from activestate
this morning and doing a make clean, configure, make
all and make test, I get this error during make test:

timer.test

==== timer-2.1 Tcl_DeleteTimerHandler procedure FAILED
==== Contents of test case:

    foreach i [after info] {
        after cancel $i
    }
    set x ""
    foreach i {100 200 300 50 150} {
        after $i lappend x $i
    }
    after cancel lappend x 150
    after cancel lappend x 50
    after 200
    update
    set x

---- Result was:
100 200 300
---- Result should have been (exact matching):
100 200
==== timer-2.1 FAILED


This is the first time this has failed.
mdejongplain2002-06-13 02:32:40
Logged In: YES 
user_id=90858

I don't know how this got assigned to me as
"Configure and Build Tools". It sounds like
this is a bug in the Sun CC or some other
problem related to Suns. I don't have a Sun
box handy so I can't really fix this one. If
someone wants to write up a patch, that could
help.
dgpplain2002-06-13 09:32:08
Logged In: YES 
user_id=80530

Assigning to the Timer Events maintainer.

I'm curious if this is just an effect of a slow/busy machine?
If you add a "0" to each interval, does the test still fail?

There were several tests in the socket.test that assumed
certain operation would be completed in a certain amount
of time; this could be similar.
lvirdenplain2003-02-04 20:22:47
Logged In: YES 
user_id=15949

This bug no longer appears in my environment.
kennykbplain2003-02-04 20:38:52
Logged In: YES 
user_id=99768

If the system is so badly performing that it takes >300 ms to get to the
[update] near the end of the test, or if the system clock jumps, this can
be the result.  Larry reports that the problem has not recurred.

I don't really want to change the test, because I don't want to depend
on an [after] actually breaking a [vwait] this early in the sequence.
Log in (anonymous is fine) to add a comment.