Skip to content
Tcl Source Code Artifact [3a07fa9802]
Login

Artifact [3a07fa9802]

Artifact 3a07fa98022115172fc5024a5caa9695785545e7:

Ticket change [3a07fa9802] - New ticket [2529137fffffffff|2529137fff] <i>tcl core dumps when exec&#39;d program exits with a signal</i>. by jkfellin on 2009-01-22 18:47:11.
D 2009-01-22T18:47:11
J assignee andreas_kupries
J cmimetype text/plain
J comment This\soccurs\sin\stcl8.5.6,\sin\sporting\sto\sUWIN\srunning\son\sa\si686\splatform.\sThe\sexpected\sbehavior\sis\stclsh\sshould\snot\score\sdump\swhen\san\sexec'd\scommand\sexits\swith\sa\ssignal.\n\nWhen\sa\sprocess\sstarted\sby\sthe\sexec\scommand\sterminates\swith\sa\ssignal,\stcl\score\sdumps\sby\sreferencing\sthe\swait\sstatus\sas\sa\spointer\sto\sa\sstring.\s\nThe\sproblem\scode\sis\sin\sgeneric/tclPipe.c:TclCleanupChildren\sline\s331\s\n\s\sTcl_AppendResult(interp,\s"child\skilled:\s",\sp,\s"\swaitstatus\sx%x\\n",\swaitStatus,\sNULL);\n\nI've\scorrected\sthe\sproblem\sby\schanging\sthe\sabove\scode\sto\sthe\sfollowing:\n\nsprintf(msg2,\s"x%4.4x\\n",\swaitStatus);\nTcl_AppendResult(interp,\s"child\skilled:\s",\sp,\s"waitstatus\s",\smsg2,\sNULL);
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter jkfellin
J subsystem 24.\sChannel\sCommands
J title tcl\score\sdumps\swhen\sexec'd\sprogram\sexits\swith\sa\ssignal
J type Bug
K 2529137fffffffffffffffffffffffffffffffff
U jkfellin
Z 0630d047a3e1bd4314b9bf0bb79f1d61