Artifacts Associated With Ticket 1016023fffffffffffffffffffffffffffffffff
Ticket change [ba60afd000] (rid 129315) by lvirden on 2004-08-25 14:36:07:
- assignee initialized to: "kennykb"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "obsolete: 8.5a2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "lvirden"
- subsystem initialized to: "03. Timer Events"
- title initialized to:
latest tcl 8.5 timer.test test suite case 2.1 fails
- type initialized to: "Bug"
Ticket change [73644dcb9c] (rid 105038) by dkf on 2004-08-25 21:51:04:
- 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. :^( - login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [f5e50014af] (rid 130196) by kennykb on 2004-09-08 02:12:50:
- status changed to: "Closed"
Ticket change [18f460be90] (rid 122744) by kennykb on 2004-09-08 02:12:51:
- closedate changed to: "2004-09-07T19:12:51"
- closer changed to: "kennykb"
- 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.
- login: "kennykb"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- username: "kennykb"
Ticket change [eee0eb1f70] (rid 108896) by dkf on 2004-09-09 21:07:42:
- 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...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment: