Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 350381a79814de9f91a4327a30337aedd42e746b
Ticket: 615304ffffffffffffffffffffffffffffffffff
Tcl_InitStubs crash/exception
User & Date: nobody on 2002-09-27 00:21:07
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The error primarily involves the Tcl_InitStubs 
    function.
    
    This is the scenario that causes the error:
    
    1. Upon being loaded the component first calls 
    LoadLibrary for both the Tcl and Tk DLLs.  Next, 
    some other initialization functions are called.  
    Finally, Tcl_InitStubs is called successfully.  
    Initialization is now complete.
    
    2. Various Tcl/Tk calls are made without any 
    problems.
    
    3. During component shutdown, Tcl_Finalize is 
    called followed by FreeLibrary on both the Tcl and 
    Tk DLLs.
    
    4. Later, when the component is loaded again into 
    the same process (it's still running), it calls 
    LoadLibrary for both the Tcl and Tk DLLs [again] 
    and calls Tcl_InitStubs [again] as part of it's 
    initialization routine. An exception is immediately 
    thrown (unable to even step-into the code for 
    Tcl_InitStubs).
    
    It is my impression that somehow the Tcl_InitStubs 
    function might be getting corrupted by 
    Tcl_Finalize.  
    
    If this behavior is by design, I apologize in advance 
    for this bug report.
    
    JJM
    
    
    
  4. foundin changed to: "obsolete: 8.4.0"
  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: "None"
  10. title changed to: "Tcl_InitStubs crash/exception"
  11. type changed to: "Bug"