Overview
| Artifact ID: | 519e0d35179ca1d08441f5e96ee5822277377eac |
|---|---|
| Ticket: | 8bd13f07bde6fb0631f27927e36461fdefe8ca95
Closing tcl pipes prevents windows threads from starting up |
| User & Date: | sebres on 2017-05-03 16:58:55 |
Changes
- icomment:
New insights about "R6016" bug: - important to reproduce it faster - shutdown "Windows Defender" service: net stop /y WinDefend - test case to reproduce: ```tcl set tclsh [info nameofexecutable] time { puts "[string repeat = 50] [incr i]. ==" set out [exec $tclsh ../../tests/all.tcl -file *exec.* -match "*exec-3.* *exec-4.* *exec-5.*"] puts $out if {[regexp {====[^\n]+ FAILED|error R6016} $out]} {error FAILED} } 100 ``` Strange is: - Bug occurs in "core-8-5-branch-fix-1997007" (with "fix-1997007"), independent with Jan's changes (GetModuleHandle) from [8785cdc62c] or without. - Bug occurs in "core-8-5-branch-fix-1997007" reduced to relevant changes from 8.6 of "fix-1997007" only. - NOT occurs in "core-8-6-branch" (with "fix-1997007"). - NOT occurs in "core-8-5-branch" (without "fix-1997007"), but sporadic previous BUG with suspended/hanging processes (resp. deadlock in ntdll). It looks like either the tcl-process finalization differs greatly between tcl8.5 and tcl8.6. Or something using win-pipes was changed there in-between. - login: "sebres"
- mimetype: "text/plain"