Overview
| Artifact ID: | 2d23be55b78f6387c59b980cbe337127969dd8fe |
|---|---|
| Ticket: | 1091431fffffffffffffffffffffffffffffffff
Tcl_InitStubs failure crashes wish |
| User & Date: | jenglish on 2004-12-26 20:12:58 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- 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).
- foundin changed to: "None"
- priority changed to: "8"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "jenglish"
- subsystem changed to: "40. Dynamic Loading"
- title changed to: "Tcl_InitStubs failure crashes wish"
- type changed to: "Bug"