Overview
| Artifact ID: | 0eadd8ba04377c86a9e9e1c348ed35f2f58ba7ae |
|---|---|
| Ticket: | 2919042fffffffffffffffffffffffffffffffff
Exit reform lost valgrindability |
| User & Date: | ferrieux on 2009-12-22 01:06:25 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
The quick-exit reform of Bug 2001201 neglected the "valgrindability" of Tcl executables. Indeed, it moved Tcl_Finalize out of the default Tcl_Exit path. The attached patch corrects this by letting the TCL_FINALIZE_ON_EXIT environment variable, when set and not "0", make Tcl_Exit call Tcl_Finalize in the exact same sequence as before the reform. It should be noted that while useful for leak hunting, this tool shouldn't be used too creatively in threaded builds. The fundamental reason behind the reform (deadlocks and crashes) is here to stay.
- foundin changed to: "obsolete: 8.6b1"
- is_private changed to: "0"
- priority changed to: "8"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "ferrieux"
- subsystem changed to: "42. Memory Preservation"
- title changed to: "Exit reform lost valgrindability"
- type changed to: "Bug"