Artifact
8b1c2f31621a6cc9690fc18b82068f8e97a0a14d1a149dfeab6dd6ec0bcebfaa:
Ticket change
[8b1c2f3162]
- New ticket
[3b6b1c4e495f11ad|3b6b1c4e49] <i>Tcl 9.0 hangs infinitely</i>.
by
pointsman on
2023-06-30 08:47:28.
D 2023-06-30T08:47:28.753
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment There\sis\sTcl\scode\swhich\sruns\swith\sTcl\s8.6\sor\s8.7\sbut\shangs\s(runs\r\ninfinite)\swith\sTcl\s9.\r\n\r\nUnfortunately\sI\swasn't\sable\sto\snail\sthis\sdown\sto\sa\ssmall,\r\nstripped-down\sexample\sof\sthe\sproblem.\sBut\sthere\sis\san\sshort\srecipt\sto\r\ndemonstrate\sthe\sproblem.\sYou\sneed\san\sinstalled\sTcl\s9\sand\sa\stcllib\r\nrepository.\r\n\r\nInside\syour\stcllib\scheck-out\sdo:\r\n\r\nfossil\supdate\stcl9-testarea-rde\r\n\r\nThen\srun\r\n\r\ntclsh\ssak.tcl\stest\srun\s--shell\s/path/to/your/tcl/9/installation/tclsh9.0\sbase64\r\n\r\nThis\sruns\sinfinitely.\r\n\r\nIf\syou\srun\sthis\swith\sa\spath\sto\sa\sTcl\s8.6\sor\s8.7\stclsh\swith\sthe\s--shell\r\noption\sthis\sruns\sto\san\send\sas\sexpected.\r\n\r\nWhile\sI\swas\snot\sable\sto\sfind\sthe\scrucial\sactions\son\sscript\slevel\sto\r\ntrigger\sthat\sI\sfound\sthat\stclsh9.0\sendlessly\sloops\sin\r\n[https://core.tcl-lang.org/tcl/file?udc=1&ln=4640-4647&ci=trunk&name=generic%2FtclBasic.c]\r\n(attached\sto\sthe\srunning\sprocess\swith\sgdb\sand\sanalysed).\r\n\r\nBisecing\sturned\sout\sto\sbe\snot\sso\smuch\senlightening:\r\n\r\n2018-10-08\s19:36:29\s[acd6c0661e]\sBAD\r\n2018-10-08\s19:00:39\s[f3d49044c4]\sGOOD
J foundin 9.0
J is_private 0
J login pointsman
J priority 5\sMedium
J private_contact 4ca203a8e925aecdd9419645f936bccf18cd6ea7
J resolution None
J severity Severe
J status Open
J submitter pointsman
J subsystem None
J title Tcl\s9.0\shangs\sinfinitely
J type Bug
K 3b6b1c4e495f11ad9cf02230579359b72c8ccd73
U pointsman
Z dd98c79a6b87346ce11e3c9866a82f9e