Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: acfe17332836798e760d3bf7302bbf31f52a76a8e1aec612fbb8ca4d3854578e
Ticket: 3b00b2198d3a901ff4ec002ff705a0162f7bf202
async test suite calls are missing cleanup
User & Date: serhiy.storchaka on 2026-10-20 13:39:16
Changes

  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"