Skip to content
Tcl Source Code History Of Ticket 1016023fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1016023fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1016023fffffffffffffffffffffffffffffffff

  1. Ticket change [ba60afd000] (rid 129315) by lvirden on 2004-08-25 14:36:07:

    1. assignee initialized to: "kennykb"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      platform: sparc solaris 8, sun c compiler, cvs snapshot
      from aug 24, 2004
      
      configuration: --enable-stubs --enable-symbols
      --enable-shared 
      
      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
      
      
      
    4. foundin initialized to: "obsolete: 8.5a2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "lvirden"
    9. subsystem initialized to: "03. Timer Events"
    10. title initialized to:
      latest tcl 8.5 timer.test test suite case 2.1 fails
      
    11. type initialized to: "Bug"
  2. Ticket change [73644dcb9c] (rid 105038) by dkf on 2004-08-25 21:51:04:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      The problem can be summed up by this snipped from a session
      with the CVS HEAD on Linux...
      
       % time {after 200}
       190820 microseconds per iteration
      
      (i.e. it slept for 10ms less than we asked).  Note that this
      is not reliably reproducable; the jitter in the time taken
      is quite a lot, but the requested value definitely isn't a
      lower bound. :^(
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [f5e50014af] (rid 130196) by kennykb on 2004-09-08 02:12:50:

    1. status changed to: "Closed"
  4. Ticket change [18f460be90] (rid 122744) by kennykb on 2004-09-08 02:12:51:

    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"
  5. Ticket change [eee0eb1f70] (rid 108896) by dkf on 2004-09-09 21:07:42:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      I could believe annoying ntpd problems; I've been having
      some persistent problems with our local ntpd systems in
      other contexts...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"