Artifact [67fd6dc463]

Artifact 67fd6dc463f415d9558952aa80a31c3e0c8a638f98f893b79ac4197b957bcf3b:

Ticket change [67fd6dc463] - New ticket [02fb67f4d35b22b8|02fb67f4d3] <i>Crash on process shutdown</i>. by anonymous on 2026-07-29 02:16:40.
D 2026-07-29T02:16:40.284
J foundin 2.0.1
J icomment I\sgot\sa\scrash\srunning\sTcl/Tk\strunk\s(9.1b1)\sand\stcltls\s2.0.1,\son\slinux\sx84_64,\sOpenSSL\s3.0.13\r\n\r\nWhile\sI\scouldn't\swrite\sa\sshort\sscript\sto\srepro,\sthe\ssetup\sis\sas\sfollow:\r\n\r\n*\stkcon\sruns\sa\sscript\sfrom\sa\smodified\sversion\sof\sjabberlib\sfrom\sthe\scoccinella\sproject.\r\n*\sthe\sscript\sconnects\sto\sthe\stclers's\schat\susing\stls\s(tested\swith\sboth\stls::socket\sat\sport\s5223\sand\stls::import\sat\sport\s5222).\r\n*\safter\ssuccessful\sconnection,\sTk\sis\sloaded\sin\sthe\sinterpreter\swith\s[package\srequire\sTk].\r\n*\stype\s[exit]\r\n\r\nThe\sprocess\ssegfaults\sat\sexit.\r\n\r\nThe\srelevant\slines\sfrom\sthe\sbacktrace\sare\s(tcltls\sbuilt\swith\s--enable-symbols)\r\n\r\n```\r\nProgram\sreceived\ssignal\sSIGSEGV,\sSegmentation\sfault.\r\n0x00007ffff30ee500\sin\sBIO_ctrl\s()\sfrom\s/lib/x86_64-linux-gnu/libcrypto.so.3\r\n(gdb)\sbt\r\n#0\s\s0x00007ffff30ee500\sin\sBIO_ctrl\s()\sat\s/lib/x86_64-linux-gnu/libcrypto.so.3\r\n#1\s\s0x00007ffff3d79369\sin\s???\s()\sat\s/lib/x86_64-linux-gnu/libssl.so.3\r\n#2\s\s0x00007ffff30ee502\sin\sBIO_ctrl\s()\sat\s/lib/x86_64-linux-gnu/libcrypto.so.3\r\n#3\s\s0x00007ffff5e5d812\sin\sTlsCloseProc\s()\r\n\s\s\s\sat\s/usr/local/lib/tcltls2.0.1/libtcl9tls2.0.1.so\r\n#4\s\s0x00007ffff7cff7b4\sin\sTclFinalizeIOSubsystem\s()\r\n\s\s\s\sat\s/usr/local/lib/libtcl9.1.so\r\n#5\s\s0x00007ffff7cd0344\sin\sFinalizeThread\s()\sat\s/usr/local/lib/libtcl9.1.so\r\n#6\s\s0x00007ffff7cd10f3\sin\sTcl_Exit\s()\sat\s/usr/local/lib/libtcl9.1.so\r\n#7\s\s0x00007ffff7c6ba01\sin\sTcl_ExitObjCmd\s()\sat\s/usr/local/lib/libtcl9.1.so\r\n#8\s\s0x00007ffff7c5090a\sin\sTclNRRunCallbacks\s()\sat\s/usr/local/lib/libtcl9.1.so\r\n```\r\n\r\nSteve\sLanders\sruns\san\sanalysis\susing\sClaude\sOpus\s5\sand\sit\sfound\sthese\sissues:\s[TclTLS\scrash\s-\sthe\sproblem](http://paste.tclers.tk/6232),\s[TclTLS\scrash\s-\sthe\sfix](http://paste.tclers.tk/6233),\s[TclLS\scrash\s-\sverification](http://paste.tclers.tk/6234).\r\n\r\nEffectively,\sremoving\sTcl_CreateExitHandler()\sfrom\sgeneric/tls.c\sfixes\sthe\sissue.
J login anonymous
J mimetype text/x-markdown
J severity Critical
J status Open
J title Crash\son\sprocess\sshutdown
J type Code\sDefect
K 02fb67f4d35b22b89ba627d28f24e65338b7e705
U anonymous
Z 32379ee1fd24882970517aa47ad896f0