Skip to content
Tcl Source Code History Of Ticket 2529137fffffffffffffffffffffffffffffffff
Login

History Of Ticket 2529137fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 2529137fffffffffffffffffffffffffffffffff

  1. Ticket change [3a07fa9802] (rid 112491) by jkfellin on 2009-01-22 18:47:11:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. 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);
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "jkfellin"
    10. subsystem initialized to: "24. Channel Commands"
    11. title initialized to:
      tcl core dumps when exec'd program exits with a signal
      
    12. type initialized to: "Bug"
  2. Add attachment "tclPipe.diff" [74c5ec20a7] (rid 105269) by jkfellin on 2009-01-23 01:47:11.

  3. Ticket change [92a0ef854f] (rid 120795) by jkfellin on 2009-01-23 01:47:11:

    1. icomment:
      
      
      File Added - 310214: tclPipe.diff
      
      
      
    2. login: "jkfellin"
    3. mimetype: "text/plain"
    4. username: "jkfellin"
  4. Ticket change [b12abaaabb] (rid 98105) by andreas_kupries on 2009-01-23 02:19:54:

    1. icomment:
      I am a bit unclear on the platform reported.
      What is UWIN ?
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  5. Ticket change [b35153794c] (rid 98513) by andreas_kupries on 2009-01-23 02:26:49:

    1. 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).
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  6. Ticket change [10fc2fbf94] (rid 95067) by dkf on 2009-01-24 22:22:43:

    1. closedate changed to: "2009-01-24T15:22:43"
    2. closer changed to: "dkf"
    3. resolution changed to: "Invalid"
    4. status changed to: "Pending"
  7. Ticket change [2587546983] (rid 88186) by sf-robot on 2009-03-19 01:52:38:

    1. closedate changed to: "2009-03-18T18:52:38"
    2. closer changed to: "sf-robot"
    3. 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).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"