Skip to content
Tcl Source Code History Of Ticket 217945ffffffffff
Login

History Of Ticket 217945ffffffffff

Artifacts Associated With Ticket 217945ffffffffff

  1. Ticket change [5f6257f15e] (rid 115813) by nobody on 2000-10-26 00:46:25:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 3903 Bug
      Version: 8.2.2
      SubmitDate: '1999-12-20'
      LastModified: '2000-03-30'
      Severity: MED
      Status: Closed
      Submitter: techsupp
      ChangedBy: hobbs
      RelatedBugIDs: 2460
      OS: Windows NT
      OSVersion: Windows NT v4.0, service release 5
      Machine: various PC's, a Compaq Pentium II, an IBM Pentium II, 2 homebuil
      FixedDate: '2000-10-25'
      ClosedDate: '2000-03-30'
      
      
      Name:
      Russ Durrett
      
      Extensions:
      none
      
      CustomShell:
      none
      
      ReproducibleScript:
      # A simple Tcl shell program to run 'Hello World!' in a loop.
      for {set index 1} {$index <= 10000} {incr index} {
        set helloOut [exec hello.exe]
        puts "$helloOut  index = $index"
      }
      
      ObservedBehavior:
      I was using a Tcl script to test a C program by running it repeatedly.  I found that the Tcl script would run the C program a certain
      number of times and then hang up.  I can reduce the problem to a bare minimum by using the above script to run the following
      C program in a loop:
      
          /* Hello World! program */
          #include <stdio.h>
          int main (void)
          {
            printf ("Hello World!\n");
            return 0;
          } /* end main */
      
      When I run this under Windows NT (v4, SR5), it will hang after about 895 iteration with Tcl v8.1 or v8.22 and after about 2022
      iterations with Tcl v8.2.  I have run this on 4 different PC's (a Compaq, an IBM, and 2 homebuilts) with very repeatable results.
      I also tried this under Windows 95 and Solaris and the script worked fine, going al the way to 10,000 iterations.
      
      DesiredBehavior:
      Tcl script doesn't stop in the middle of the loop.
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.2.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "60. NRE and coroutines"
    10. title initialized to:
      loop running 'exec' command hangs after N iterations
      
    11. type initialized to: "Bug"
  2. Ticket change [4361fc23ae] (rid 116550) by welch on 2000-10-26 08:10:55:

    1. closedate changed to: "2000-10-26T01:10:55"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [84ffc3303f] (rid 131250) by dgp on 2001-04-05 08:20:14:

    1. closedate changed to: "2001-04-05T01:20:14"
    2. closer changed to: "dgp"
    3. subsystem changed to: "27. Channel Types"