| Ticket UUID: | 3d768414de12dcd10aa7af36cdaca3fcdd821c4d | ||
| Title: | Use of the thread package prevents interp from being fully deleted | ||
| Type: | Bug | Created on: | 2020-07-14 15:25:02 |
| Submitter: | sbron | Assigned to: | jan.nijtmans |
| Subsystem: | 49. Threading | Severity: | Important |
| Priority: | 5 Medium | Last modified: | 2020-07-15 05:23:16 |
| Status: | Open | Closed by: | nobody |
| Resolution: | None | Closed on: | |
| Version: | 8.6.10 | ||
| Description: | ||||
|
When an interp uses the thread package, it does not get fully deleted by a [interp delete] command. I noticed this because the function registered with Tcl_CallWhenDeleted() in my extension never runs under these conditions. There seems to be a call to Tcl_Preserve(interp) happening somewhere, without a matching call to Tcl_Release(interp). I haven't yet pinpointed where. The problem was found on linux x86_64. | ||||
