Skip to content
Tcl Source Code Artifact [ed50b3b648]
Login

Artifact [ed50b3b648]

Artifact ed50b3b648b5d8c7cf5d518e46efc612a863583608279bedf721454553808296:

Ticket change [ed50b3b648] - Ticket [893f8cc5db3ba8bd|893f8cc5db] <i>Nested mutexes following TIP 509</i> status still Open with 3 other changes by sebres on 2025-09-24 20:21:28.
D 2025-09-24T20:21:28.895
J icomment Yep...\sThe\sfix\slooks\sgood\sto\sme.<br/>\r\nMoreover\sit\sis\spretty\swell\sreproducible\swith\sVC\smemdebug\sbuild,\sexactly\slike\swithin\sGHA\sbefore\sthe\sfix:\r\n\r\n<details>\r\n\r\n```\r\nwin>\snmake\s-f\smakefile.vc\sOPTS=symbols\sSTATS=compdbg,memdbg\stest\sTESTFLAGS="-f\s\\"*exit.test\senc*.test\\""\r\n...\r\nd:\\Projects\\tcl9.0-core-upstream\\win\\Debug_AMD64_VC1942\\tcltest90.exe\s"d:/Projects/tcl9.0-core-upstream/win/../tests/all.tcl"\s-f\s"*exit.test\senc*.test"\s-loadfile\sT:\\Temp\\nm32.tmp\r\nTests\srunning\sin\sinterp:\s\sd:/Projects/tcl9.0-core-upstream/win/Debug_AMD64_VC1942/tcltest90.exe\r\nTests\slocated\sin:\s\sD:/Projects/tcl9.0-core-upstream/tests\r\nTests\srunning\sin:\s\sD:/Projects/tcl9.0-core-upstream/win\r\nTemporary\sfiles\sstored\sin\sD:/Projects/tcl9.0-core-upstream/win\r\nTest\sfiles\srun\sin\sseparate\sinterpreters\r\nRunning\stests\sthat\smatch:\s\s*\r\nSkipping\stest\sfiles\sthat\smatch:\s\sl.*.test\r\nOnly\srunning\stest\sfiles\sthat\smatch:\s\s*exit.test\senc*.test\r\nTests\sbegan\sat\s2025-09-24\s22:09:52\s+0200\r\naaa_exit.test\r\n\r\n\r\n====\sexit-1.2\sfull-finalized\sexit\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\sset\sf\s[open\s"|[interpreter]\s<<\s\\"exec\s[interpreter]\s<<\s{set\s::env(TCL_FINALIZE_ON_EXIT)\s1;exit}\\""\sr]\r\n\s\s\s\sset\saft\s[after\s1000\s{set\sdone\s"Full-finalized\sexit\shangs\s!!!"}]\r\n\s\s\s\sfileevent\s$f\sreadable\s{after\scancel\s$aft;set\sdone\sOK}\r\n\s\s\s\svwait\sdone\r\n\s\s\s\sif\s{$done\s!=\s"OK"}\s{\r\n\s\s\s\s\s\s\s\sfconfigure\s$f\s-blocking\s0\r\n\s\s\s\s\s\s\s\sclose\s$f\r\n\s\s\s\s}\selse\s{\r\n\s\s\s\s\s\s\s\sif\s{[catch\s{close\s$f}\serr]}\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\sset\sdone\s"Full-finalized\sexit\smisbehaves:\s$err"\r\n\s\s\s\s\s\s\s\s}\r\n\s\s\s\s}\r\n\s\s\s\sset\sdone\r\n\r\n----\sResult\swas:\r\nFull-finalized\sexit\shangs\s!!!\r\n----\sResult\sshould\shave\sbeen\s(exact\smatching):\r\nOK\r\n====\sexit-1.2\sFAILED\r\n\r\nencoding.test\r\n\r\n\r\n====\sencoding-24.2\sEscapeFreeProc\son\sopen\schannels\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\r\n\s\s\s\s#\sBug\s#524674\soutput\r\n\s\s\s\srunInSubprocess\s{\r\n\s\s\s\s\s\s\s\sencoding\ssystem\scp1252;\s#\sBug\s#2891556\scrash\srevelator\r\n\s\s\s\s\s\s\s\sfconfigure\sstdout\s-encoding\siso2022-jp\r\n\s\s\s\s\s\s\s\sputs\sab乎棙g\r\n\s\s\s\s\s\s\s\sset\senv(TCL_FINALIZE_ON_EXIT)\s1\r\n\s\s\s\s\s\s\s\sexit\r\n\s\s\s\s}\r\n\r\n----\sTest\sgenerated\serror;\sReturn\scode\swas:\s1\r\n----\sReturn\scode\sshould\shave\sbeen\sone\sof:\s0\s2\r\n----\serrorInfo:\sab8CD%g\r\nchild\skilled:\ssegmentation\sviolation\r\n\s\s\s\swhile\sexecuting\r\n"exec\s[interpreter]\s$theFile"\r\n\s\s\s\s(procedure\s"runInSubprocess"\sline\s4)\r\n\s\s\s\sinvoked\sfrom\swithin\r\n"runInSubprocess\s{\r\n\s\s\s\s\s\s\s\sencoding\ssystem\scp1252;\s#\sBug\s#2891556\scrash\srevelator\r\n\s\s\s\s\s\s\s\sfconfigure\sstdout\s-encoding\siso2022-jp\r\n\s\s\s\s\s\s\s\sputs\sab乎棙g\r\n\s\s\s\s\s\s\s\sset\senv(TCL_FINALIZ..."\r\n\s\s\s\s("uplevel"\sbody\sline\s3)\r\n\s\s\s\sinvoked\sfrom\swithin\r\n"uplevel\s1\s$script"\r\n----\serrorCode:\sCHILDKILLED\s22336\sSIGSEGV\s{segmentation\sviolation}\r\n====\sencoding-24.2\sFAILED\r\n\r\n\r\nTests\sended\sat\s2025-09-24\s22:10:34\s+0200\r\nall.tcl:\s\s\s\s\s\s\s\sTotal\s\s\s234\s\s\s\s\sPassed\s\s228\s\s\s\s\sSkipped\s4\s\s\s\s\s\s\sFailed\s\s2\r\nSourced\s2\sTest\sFiles.\r\nFiles\swith\sfailing\stests:\saaa_exit.test\sencoding.test\r\nNumber\sof\stests\sskipped\sfor\seach\sconstraint:\r\n\s\s\s\s\s\s\s\s4\s\s\s\s\s\s\sperf\r\n```\r\n</details>\r\n\r\nAnd\snot\sreproducible\sanymore\safter\slatest\sfix\sof\sallocMutex.\r\n\r\nStrange\sis\sthat\sit\swas\snot\sreproducible\salso\swithin\s[gcc\s(--enable-symbols=all)](https://github.com/tcltk/tcl/actions/runs/17969599841/job/51113679485),\swhich\simplies\smem-debug\stoo.\r\nI\sexpected\sit\sto\sfail\sthere\stoo.
J login sebres
J mimetype text/x-markdown
K 893f8cc5db3ba8bd6bed80ce89a0a75c6088a37c
U sebres
Z d54f40e632013e8f0b7a4d050d1dbfe1