Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1e4e1f6bdb08bc3af3eaf041df4a56bb5bba845958d2de7e7a8056a25551558b
Ticket: e484a8407cb9ec45ea0a6f3127ae4a3a1780b8a0
pipe: time-related sporadic hangs in io/chan-io tests
User & Date: sebres on 2019-08-04 22:38:51
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Trying to fix all windows/mingw tests in travis, I found some sporadic hangs (io-27.6, io-29.32 etc), which are pretty reproducible if sleep times becomes reduced (<code>after 20</code> will be replaced with <code>after 1</code>).
    
    As one can see [https://travis-ci.org/sebres/tcl/builds/567003451|build # 567003451] is passed, and after some small changes the heisenbug is reproduced in all build jobs [https://travis-ci.org/sebres/tcl/builds/567076288|build # 567076288].
    
    The shorter the sleep intervals, the better it is reproducible.
    
    Here is the code to reproduce it in shell:
    <code><pre>
    package require tcltest
    namespace import -force ::tcltest::*
    tcltest::configure -match io-29.32
     
    proc ::tcltest::cleanupTestsHook {} {
      if {$::tcltest::numTests(Failed)} {error failed}
    }
    timerate {source tests/io.test} 10000
    </pre></code>
    
  5. foundin changed to: ">= 8.5"
  6. is_private changed to: "0"
  7. login: "sebres"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "sebres"
  13. subsystem changed to: "25. Channel System"
  14. title changed to:
    pipe: time-related sporadic hangs in io/chan-io tests
    
  15. type changed to: "Bug"