Skip to content
Tcl Source Code History Of Ticket 218732
Login

History Of Ticket 218732

Artifacts Associated With Ticket 218732

  1. Ticket change [5cdb3b0125] (rid 115372) by nobody on 2000-10-26 01:04:41:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1922 Bug
      Version: 8.0.3
      SubmitDate: '1999-04-22'
      LastModified: '1999-10-29'
      Severity: CRIT
      Status: Released
      Submitter: pat
      ChangedBy: hobbs
      OS: Windows NT
      OSVersion: 4.0
      Machine: X86
      FixedDate: '1999-10-29'
      FixedInVersion: 8.2
      ClosedDate: '2000-10-25'
      
      
      Name:Simon Heffer
      
      Extensions:odbc 2
      
      Comments:
      I've had a quick look at the source and it appears to be in tclWinInit.c
          in the function TclPlatformInit which opens the registry:
          
             if (!isWin32s) {
          result = RegOpenKeyEx(HKEY_LOCAL_MACHINE, TCL_REGISTRY_KEY, 0,
          KEY_READ, &key);
              } else {
          result = RegOpenKeyEx(HKEY_CLASSES_ROOT, TCL_REGISTRY_KEY, 0,
          KEY_READ, &key);
              }
          
          The handle in 'key' is not freed.
      
      ObservedBehavior:
      C program launches a TCL interpreter to process a script. Each time a
      script is run a handle is consumed.  Under load (or after the equivalent
      amount of time not under load) this eventually causes the process to run
      out of handles, causing all sorts of thinks to fail.
      
      DesiredBehavior:
      No handle leaks.
      
      
      
      The use of the registry key was removed, this is not a problem
      in 8.2 (changed sometime earlier). 
      -- 10/29/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.0.3"
    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: "69. Other"
    10. title initialized to: "Tcl on WINNT leaks handles."
    11. type initialized to: "Bug"
  2. Ticket change [afb35ed114] (rid 97858) by welch on 2000-10-26 08:28:12:

    1. closedate changed to: "2000-10-26T01:28:12"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [da781668da] (rid 107793) by dgp on 2001-04-16 20:59:02:

    1. closedate changed to: "2001-04-16T13:59:02"
    2. closer changed to: "dgp"
    3. subsystem changed to: "38. Init - Library - Autoload"