Artifacts Associated With Ticket 2529137
Ticket change [3a07fa9802] (rid 112491) by jkfellin on 2009-01-22 18:47:11:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
This occurs in tcl8.5.6, in porting to UWIN running on a i686 platform. The expected behavior is tclsh should not core dump when an exec'd command exits with a signal. When a process started by the exec command terminates with a signal, tcl core dumps by referencing the wait status as a pointer to a string. The problem code is in generic/tclPipe.c:TclCleanupChildren line 331 Tcl_AppendResult(interp, "child killed: ", p, " waitstatus x%x\n", waitStatus, NULL); I've corrected the problem by changing the above code to the following: sprintf(msg2, "x%4.4x\n", waitStatus); Tcl_AppendResult(interp, "child killed: ", p, "waitstatus ", msg2, NULL);
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "jkfellin"
- subsystem initialized to: "24. Channel Commands"
- title initialized to:
tcl core dumps when exec'd program exits with a signal
- type initialized to: "Bug"
Add attachment "tclPipe.diff" [74c5ec20a7] (rid 105269) by jkfellin on 2009-01-23 01:47:11.
Ticket change [92a0ef854f] (rid 120795) by jkfellin on 2009-01-23 01:47:11:
- icomment:
File Added - 310214: tclPipe.diff
- login: "jkfellin"
- mimetype: "text/plain"
- username: "jkfellin"
- icomment:
Ticket change [b12abaaabb] (rid 98105) by andreas_kupries on 2009-01-23 02:19:54:
- icomment:
I am a bit unclear on the platform reported. What is UWIN ?
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [b35153794c] (rid 98513) by andreas_kupries on 2009-01-23 02:26:49:
- icomment:
More questions. Looking at the CVS head of Tcl 8.5, file generic/tclPipe.c, rev 1.19) I do not find the code you are refering too. Grepping through the cvs heads of 8.[456] the phrase 'waitstatus x' is nowhere found. Goinf for 'child killed:' I find andreask@gila:~/activetcl/dbn/night> grep -rn 'child killed:' ~/lsf/tcl-8.[456] /home/andreask/lsf/tcl-8.4/generic/tclPipe.c:341: Tcl_AppendResult(interp, "child killed: ", p, "\n", /home/andreask/lsf/tcl-8.5/generic/tclPipe.c:332: Tcl_AppendResult(interp, "child killed: ", p, "\n", NULL); /home/andreask/lsf/tcl-8.6/generic/tclPipe.c:332: Tcl_AppendResult(interp, "child killed: ", p, "\n", NULL); and none of these places use waitStatus in the manner you describe. What revision is your file ? (Look at the RCS: comment at the top).
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [10fc2fbf94] (rid 95067) by dkf on 2009-01-24 22:22:43:
- closedate changed to: "2009-01-24T15:22:43"
- closer changed to: "dkf"
- resolution changed to: "Invalid"
- status changed to: "Pending"
Ticket change [2587546983] (rid 88186) by sf-robot on 2009-03-19 01:52:38:
- closedate changed to: "2009-03-18T18:52:38"
- closer changed to: "sf-robot"
- icomment:
allow_comments - 1 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"