Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 77f6aad2ebfe86bf88824988fd6766064e656d83
Ticket: 555058ffffffffffffffffffffffffffffffffff
Tcl initialization fails in external app
User & Date: rfranke on 2002-05-12 09:22:58
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OS Platform: Windows 2000 / MinGW or Active State Tcl
    
    The aim is to load Tcl dynamically into a non-Tcl 
    application, e.g. as Tcl is used as command language 
    in a component, but not in the complete application. 
    
    This means that Tcl_Main can not be called for the 
    initialization of Tcl. Until version 8.3, one could 
    create a Tcl_Interp and use it locally in the library.
    
    However, Tcl 8.4a4 crashes with a segmentation 
    violation when evaluating some built-in commands, 
    e.g. "file" and "source".
    
    Please see the little example program attachted to 
    this report, which is working with Tcl 8.0 and Tcl 
    8.3, but not with Tcl 8.4.
    
    How can one use Tcl without Tcl_Main?
    How is this problem solved in the Tcl Plugin?
    (this bug report might be related to 540226: encoding 
    init in dynamic loaded Tcl)
    
  4. foundin changed to: "obsolete: 8.4a4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "rfranke"
  9. subsystem changed to: "38. Init - Library - Autoload"
  10. title changed to: "Tcl initialization fails in external app"
  11. type changed to: "Bug"