Artifacts Associated With Ticket 1091431fff
Ticket change [2d23be55b7] (rid 119023) by jenglish on 2004-12-26 20:12:58:
- assignee initialized to: "kennykb"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "None"
- priority initialized to: "8"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "jenglish"
- subsystem initialized to: "40. Dynamic Loading"
- title initialized to: "Tcl_InitStubs failure crashes wish"
- type initialized to: "Bug"
Ticket change [ac7009c747] (rid 101287) by jenglish on 2004-12-27 03:37:09:
- icomment:
Logged In: YES user_id=68433 Attached patch to generic/tclStubLib.c attempts to fix the problem. Unfortunately it can't really work without retroactively patching all the existing copies of wish8.4; when an extension that calls Tcl_InitStubs() is loaded into wish8.4, the runtime loader will use the copy of Tcl_InitStubs from libtk8.4.so, not the one from the extensions' library.
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"
- icomment:
Add attachment "tcl-stublib.patch" [7800201aca] (rid 89875) by jenglish on 2004-12-27 03:37:10.
Ticket change [66cf991526] (rid 102789) by jenglish on 2004-12-27 03:37:11:
- icomment:
File Added - 113585: tcl-stublib.patch
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"
- icomment:
Ticket change [3bfab2d128] (rid 112845) by dgp on 2004-12-29 09:21:15:
- icomment:
Logged In: YES user_id=80530 Is Feature Request 540378 relevant here?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [95ff8e4aa8] (rid 106243) by kennykb on 2004-12-30 06:10:30:
- assignee changed to: "jenglish"
Ticket change [ec4db66d87] (rid 103691) by jenglish on 2005-11-21 01:37:34:
- status changed to: "Closed"
Ticket change [17bd2cc973] (rid 122545) by jenglish on 2005-11-21 01:37:35:
- icomment:
Logged In: YES user_id=68433 Committing refreshed patch to CVS HEAD and backported to core-8-4 branch, so at least this will be fixed with 8.4.12. Also removed some TCL_STORAGE_CLASS monkey business that had no effect.
- login: "jenglish"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- username: "jenglish"
- icomment:
Ticket change [f5e33f356e] (rid 130193) by jenglish on 2005-11-21 01:37:37:
- closedate changed to: "2005-11-20T18:37:37"
- closer changed to: "jenglish"
Ticket change [710279d2b5] (rid 100590) by jenglish on 2005-11-21 01:37:40:
- icomment:
File Added - 156958: tcl-stublib.patch
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"
- icomment:
Add attachment "tcl-stublib.patch" [e5ed1cb2cd] (rid 104212) by jenglish on 2005-11-21 01:37:40.