Overview
| Artifact ID: | ef1b9708e8f81dae8048940620422e27cd1d872ceb3e3f86fb98f4177466ae2d |
|---|---|
| Ticket: | 5c3679820afa2aca58ef3bb2041181669fab5ac7
64-Bit Extensions Do Not Work With Old Tcl Applications |
| User & Date: | anonymous on 2025-02-26 18:08:24 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
Tcl extensions created as shared library via stubs interface do not work with old 64-bit tcl applications (version < 9). Reason: Function / Macro Tcl_InitStubs: In case of 64-bit application, the application calls Tcl_InitStubs with interface pointer containing a TclStubs pointer with field magic = 0xFCA3BACF. Unfortunately, since Tcl_InitStubs is a macro, parameter magic becomes 0xFCA3BAD3 and exact becomes (exact|0xff0900). The result is that TclStubs field magic does not equals parameter magic, therefore the function fails always. Correct behaviour should be: If parameter version specifies any version < 9, the function should not fail if TclStubs field magic equals either magic or 0xFCA3BACF.
- foundin changed to: "9.0.1"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "69b1135a4a90e8ec1d2d432575b9891953328cb4"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "38. Init - Library - Autoload"
- title changed to:
64-Bit Extensions Do Not Work With Old Tcl Applications
- type changed to: "Bug"