Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 18f460be90f15f6d7b53ce69dcd8a7eadbfdb4a4
Ticket: 1016023fffffffffffffffffffffffffffffffff
latest tcl 8.5 timer.test test suite case 2.1 fails
User & Date: kennykb on 2004-09-08 02:12:51
Changes

  1. closedate changed to: "2004-09-07T19:12:51"
  2. closer changed to: "kennykb"
  3. icomment:
    Logged In: YES 
    user_id=99768
    
    The symptoms are consistent with 
    the process being hung for >100 ms
    because of an overloaded machine. 
    (Essentially, if the [after 200] sleeps
    for 300 ms or longer, we'll see this 
    behaviour.)  They are not consistent
    with dkf's reported problem, where
    [after 200] slept too little, rather than
    too much.
    
    I've changed the test case to (one 
    hopes!) be more resilient in the face
    of system load.
    
    Donal, can we track your issue separately?
    I've tried on the Unix machines that I have,
    and can't seem to make it fail.  The only way
    that I can see for it to happen is if the system
    clock were to run backwards between the
    Tcl_GetTime call inside the loop in Tcl_Sleep
    and the second Tcl_GetTime call in
    Tcl_TimeObjCmd.  I suppose that can happen
    if ntpd backs the clock up or something, but
    that would be pretty strange.
    
    
  4. login: "kennykb"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. username: "kennykb"