|
2021-07-17
| ||
| 11:22 | • Closed ticket [592a25a505]: Tcl_PutEnv() crashes on Windows plus 5 other cha... artifact: 71ae9c7666 user: jan.nijtmans | |
| 11:22 | • Ticket [592a25a505]: 3 changes artifact: 850c57fac4 user: jan.nijtmans | |
| 11:16 | Fix [592a25a505]: Tcl_PutEnv() crashes on Windows check-in: 9bd7ebe143 user: jan.nijtmans tags: core-8-6-branch | |
|
2021-07-16
| ||
| 17:25 | • Ticket [592a25a505] Tcl_PutEnv() crashes on Windows status still Pending wit... artifact: c11bc905eb user: danckaert | |
| 15:54 | • Pending ticket [592a25a505]. artifact: 8ba73ae1f6 user: jan.nijtmans | |
| 15:52 | Proposed fix for [592a25a505]: Tcl_PutEnv() crashes on Windows closed check-in: cf658956aa user: jan.nijtmans tags: bug-592a25a505 | |
|
2021-07-15
| ||
| 15:57 | • New ticket [592a25a505] Tcl_PutEnv() crashes on Windows. artifact: 64a8fb123d user: danckaert | |
Tcl_PutEnv() crashes on Windows
Closed / Fixed592a25a505a942c57ea6462057c8a70807d798abCreated 5 years agoUpdated 5 years ago
Descriptionhtml2021-07-15 15:57:36
A simple Tcl_PutEnv() call causes a segmentation fault on Windows, when no interpreters have been created yet at that point. Example:
Tcl_FindExecutable(argv[0]);
Tcl_PutEnv("TCL_LIBRARY=/some/path");
Tcl_Interp* ip = Tcl_CreateInterp();
The crash was first observed with this code to set TCL_LIBRARY before creating an interpreter, but actually it occurs with any environment variable.
Referenced by2
9bd7ebe143Fix [592a25a505]: Tcl_PutEnv() crashes on Windows check-in2021-07-17 11:16:11cf658956aaProposed fix for [592a25a505]: Tcl_PutEnv() crashes on Windows check-in2021-07-16 15:52:34
jan.nijtmanswiki2021-07-16 15:54:12
Does [this] fix it?
danckaerthtml2021-07-16 17:25:24
Yes, that fixes it. Thanks!
jan.nijtmanswiki2021-07-17 11:22:29
Fixed in all branches now. Thanks for the report!
jan.nijtmans Closed ticket [592a25a505].
[History diff]2021-07-17 11:22:39
Log in (anonymous is fine) to add a comment.