Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2d23be55b78f6387c59b980cbe337127969dd8fe
Ticket: 1091431fffffffffffffffffffffffffffffffff
Tcl_InitStubs failure crashes wish
User & Date: jenglish on 2004-12-26 20:12:58
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    On Linux and possibly other ELF-based systems,  the
    global variable "tclStubsPtr" defined in tclStubLib.c
    may be shared by all extensions.  That is, even though
    each shared library includes its own copy of the
    variable, the runtime loader will merge all copies into
    a single location.
    
    This causes serious problems if Tcl_InitStubs() ever
    fails.  For example, if an extension that calls
    Tcl_InitStubs(..., "8.5", ...) is loaded into an 8.4
    wish, then Tcl_InitStubs() sets tclStubsPtr to NULL,
    causing wish to immediately crash (if, as is the usual
    case, Tk was compiled with -DUSE_TCL_STUBS).
    
    
  4. foundin changed to: "None"
  5. priority changed to: "8"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "jenglish"
  9. subsystem changed to: "40. Dynamic Loading"
  10. title changed to: "Tcl_InitStubs failure crashes wish"
  11. type changed to: "Bug"