: <i>Tclsh91.exe from release 9.1.a1 crashes upon launch on older MS Windows release.</i> plus 6 other changes
by
.
D 2026-03-17T02:44:50.182
J closedate 2461116.6144696991
J closer apnadkarni
J icomment Jan,\r\n\r\n>\sSo\sthe\scomment\s"Do\snot\suse\sTcl_PanicProc"\sdoesn't\smake\smuch\ssense\shere.\r\n\r\nThe\scomment\srefers\sto\s`Tcl_Panic`\snot\s`Tcl_PanicProc`.\sThe\sreason\sI\sdo\snot\swant\sto\scall\s`Tcl_Panic`\sis\sthat\sit\sexits\swith\san\s`int\s3`\swhich\sputs\sup\sanother\snasty\sdialog.\sSince\swe\shave\salready\sdisplayed\sa\smessage\sto\sthe\suser\swith\scause\sfor\sexit,\sI\sprefer\sa\sclean\sexit()\sas\sopposed\sto\san\s`int\s3`\sexception.\r\n\r\n\r\n>\sYou\scould\salso\suse\sthe\sfunction\stclWinDebugPanic().\s\r\n\r\nTBH\sI\sthought,\sbased\son\sthe\sname,\sthat\s`tclWinDebugPanic`\swould\spanic\s(i.e.\sexit),\snot\srealizing\sit\sonly\sdisplays\sa\smessage.\sStill,\sduring\sinitialization\stime\swhen\sall\sTcl\ssubsystems\smay\sor\smay\snot\shave\sbeen\sfully\sinitialized,\smy\spreference\swould\sbe\sto\suse\sdirect\sWin32\scalls\sand\snot\sTcl\sfacilities\sto\sexit.\sHowever,\sI'm\sok\swith\syour\schanging\sit\sto\s`tclWinDebugPanic`\sif\syou\sprefer\sthat.
J login apnadkarni
J mimetype text/x-markdown
J resolution Fixed
J status Closed
K 422b0414a390567aa0f5070bced52d75aaa4fc02
U apnadkarni
Z edbc65e94c78f4870dd8b1201b98e5d7