Overview
| Artifact ID: | 64a8fb123d1dae3381bf073ba814249180575b13f6f26e98e032d84ed8fb60db |
|---|---|
| Ticket: | 592a25a505a942c57ea6462057c8a70807d798ab
Tcl_PutEnv() crashes on Windows |
| User & Date: | danckaert on 2021-07-15 15:57:36 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/html"
- comment changed to:
A simple Tcl_PutEnv() call causes a segmentation fault on Windows, when no interpreters have been created yet at that point. Example: <pre> Tcl_FindExecutable(argv[0]); Tcl_PutEnv("TCL_LIBRARY=/some/path"); Tcl_Interp* ip = Tcl_CreateInterp(); </pre> The crash was first observed with this code to set TCL_LIBRARY before creating an interpreter, but actually it occurs with any environment variable. - foundin changed to: "8.6.11"
- is_private changed to: "0"
- login: "danckaert"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "danckaert"
- subsystem changed to: "08. Environment Variables"
- title changed to: "Tcl_PutEnv() crashes on Windows"
- type changed to: "Bug"