<i>Tcl 9.0.5 failing tests in valgrind</i> status still Open with 3 other changes
by
.
D 2026-11-02T22:29:04.450
J icomment Most\sof\sthese\sare\sone\scause.\s<b>io-78.1</b>\s(from\s[7aa8fd34c4])\sstarts\sa\schild\sthat\sexits\sat\sonce;\sunder\svalgrind\sit\shas\salready\sexited\swhen\sthe\sparent\swrites,\sso\s<tt>puts</tt>\sitself\sfails\swith\sEPIPE.\sThe\scleanup\sdid\snot\sclose\sthe\schannel,\sand\swith\s<tt>-singleproc\s1</tt>\sthe\sleaked\spipe\sand\sits\sunreaped\schild\sbreak\s<b>iortrans-3.1</b>\s(stray\s<tt>file10</tt>)\sand\s<b>process-3.x..5.x</b>\s(an\sextra\sentry\sin\s<tt>tcl::process\slist</tt>).\sForcing\sthe\searly\sexit\sreproduces\sthe\ssame\s10\sfailures\swithout\svalgrind.\n\nProposed\sfix\sin\sbranch\s[/timeline?r=io-test-pipe-reader-alive|io-test-pipe-reader-alive]:\sthe\schild\swaits\sfor\sa\ssignal\sfile,\sand\sthe\scleanup\scloses\sthe\schannel.\n\n<b>thread-9.1</b>\sis\sa\srace\sin\sthe\sThread\spackage,\snot\sin\sTcl:\s<tt>ThreadExitProc</tt>\soverwrites\sa\stransfer\sresult\sthat\salready\ssucceeded\swith\s"target\sthread\sdied",\sso\sthe\sworker\ssplices\sthe\schannel\sback\swhile\sthe\sexiting\smain\sthread\salready\sowns\sit\s("SpliceChannel:\strying\sto\sadd\schannel\sused\sin\sdifferent\slist").\sAbout\s1\sin\s150\sruns\sunder\sload.\sSkipping\scompleted\sresults\sin\s<tt>ThreadExitProc</tt>\sfixes\sit;\sthe\ssame\sapplies\sto\s<tt>thread::send</tt>\sresults.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 20ca033deef14a85ee420ecb1c4111e25c88114b
U serhiy.storchaka
Z 8a39972ce29dd542aa859f90d145e22f