Skip to content
Tcl Source Code History Of Ticket 3b00b2198d3a901f
Login

History Of Ticket 3b00b2198d3a901f

Artifacts Associated With Ticket 3b00b2198d3a901f

  1. Ticket change [915212571a] (rid 195210) by anonymous on 2021-07-20 09:28:34:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      A number of the async tests that use vwait/after are missing cleanup or have race conditions.
      
      For example, interp-36.7 will fail if the host system is under load as the 'foo' message doesn't get output correctly.  Discussion on the #tcl IRC channel led us to incorporating this patch which seems to have made the test more reliable:
      
      http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/tcltk/tcl/interp.patch
      
      That patch should probably be merged into tcl.
      
      Also, the same problems appear to exists for other tests, for example we just had a failure in socket:
      
      ==== socket-14.12 [socket -async] background progress triggered by [fconfigure -error] FAILED
      ==== Contents of test case:
      
          set s [socket -async localhost [randport]]
          for {set i 0} {$i < 50} {incr i} {
              set x [fconfigure $s -error]
              if {$x != ""} break
              after 200
          }
          set x
      
      ---- Result was:
      
      ---- Result should have been (exact matching):
      connection refused
      
    5. is_private initialized to: "0"
    6. login: "anonymous"
    7. priority initialized to: "5 Medium"
    8. private_contact initialized to: "996cc25f404016303f46d284bf704c17d8b7bc5f"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "anonymous"
    13. subsystem initialized to: "34. tcltest Package"
    14. title initialized to: "async test suite calls are missing cleanup"
    15. type initialized to: "Bug"
  2. Ticket change [acfe173328] (rid 259443) by serhiy.storchaka on 2026-10-20 13:39:16:

    1. foundin changed to: "8.6.18, 9.0.5, 9.1.0"
    2. icomment:
      interp-36.7 has a race: if the process is held up for more than 10 ms, <code>after 0 error foo</code> and <code>after 10 set done</code> fire in the same timer pass and vwait returns before the bgerror handler has run. Reproduced on main and 8.6 by adding a 20 ms sleep before the vwait (result "untouched").
      
      Proposed fix in branch [a81652d24d|interp-36.7-race]: wait for the variable the handler sets, with a 10 s timeout. It passes with the added sleep and still fails without <code>child bgerror handler</code>.
      
      socket-14.12 doesn't fail here (randport takes a fresh port from <code>socket -server {} 0</code> since 2017). A separate ticket with details would help if it still happens.
      
    3. login: "serhiy.storchaka"
    4. mimetype: "text/x-fossil-wiki"
  3. Ticket change [e5f55e30fc] (rid 259765) by jan.nijtmans on 2026-10-21 10:48:26:

    1. assignee changed to: "jan.nijtmans"
    2. icomment:
      +1
      
      Test-case only fixes/improvements don't need an entry in the changelog.
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
  4. Ticket change [6d65fcf68c] (rid 259779) by serhiy.storchaka on 2026-10-21 10:56:31:

    1. login: "serhiy.storchaka"
    2. resolution changed to: "Fixed"
    3. status changed to: "Closed"
  5. Ticket change [c527e79fc6] (rid 259785) by serhiy.storchaka on 2026-10-21 10:58:58:

    1. icomment:
      Merged into trunk [0f5fdaa945], backported to core-9-0-branch [ff7935f994] and core-8-6-branch [6b2fff63e6].
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
  6. Ticket change [9a1e7402bc] (rid 260053) by serhiy.storchaka on 2026-10-22 17:19:32:

    1. closedate changed to: "2461334.955920405"
    2. closer changed to: "serhiy.storchaka"
    3. login: "serhiy.storchaka"