Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8bb37342b532ba978e6e410dc69dd2548b7bc262
Ticket: 219356ffffffffffffffffffffffffffffffffff
Memory leak execing perl from tclsh82, wish82
User & Date: nobody on 2000-10-26 05:11:19
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 5848 Bug
    Version: 8.2.2
    SubmitDate: '2000-06-07'
    LastModified: '2000-10-25'
    Severity: SER
    Status: UnAssn
    Submitter: techsupp
    OS: Windows NT
    OSVersion: Windows NT 4.0
    Machine: 300 MHz Pentium II
    FixedDate: '2000-10-25'
    ClosedDate: '2000-10-25'
    
    
    Name:
    Byron Biggs
    
    Extensions:
    no extensions
    
    CustomShell:
    none
    
    ReproducibleScript:
    If you source the following script from the tclsh82 prompt (or the wish82 prompt) you see the memory
    usage by tclsh82 grow significantly if you monitor VM Size in the Windows NT task manager.  If you loop about 1000 times, the process will eventually hang:
    
    for {set i 0} {$i < 500} {incr i} {
        exec perl -e \$x=1
    }
    
    If you change the exec line to:
        exec perl -e \$x=1 >nul
    there is no leak.  Redirection of stdout either to a file or to nul prevents the leak.
    
    For this particular test, I was running perl version 5.004.04 for win32.  However, there doesn't seem to be anything special about perl.  I was also able to reproduce the problem running a simple "echo.exe" program. It may occur with any console application.
    
    ObservedBehavior:
    Significant memory usage increase, and (eventually) complete lockup.
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.2.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Memory leak execing perl from tclsh82, wish82"
  11. type changed to: "Bug"