| Ticket UUID: | 081338a2de767f6adfa54214374f24d397e1bde | ||
| Title: | Tcl_SetAssocData with Tcl_InterpDeleteProc segfaults on exit | ||
| Type: | Bug | Created on: | 2024-10-22 15:57:02 |
| Submitter: | sheinb | Assigned to: | nobody |
| Subsystem: | 41. Memory Allocation | Severity: | Important |
| Priority: | 5 Medium | Last modified: | 2024-10-22 20:24:17 |
| Status: | Open | Closed by: | nobody |
| Resolution: | None | Closed on: | |
| Version: | 9.0.1 | ||
| Description: | ||||
In 8.6 the associated delProc specified in Tcl_SetAssocData would be called properly to free data associated with an interpreter when the program that initialized the interpreter closed. In 9.0 (and 9.0.1) it seems that when the program shuts down there is a memory access error. If this only occurs at shutdown, it's not catastrophic, but if interpreters are being created and deleted, it would cause the running program to crash. | ||||
| User Comments: | ||||
oehhar added on 2024-10-22 16:37:01:
Dear David, thanks for this crash report. It is serious. Even, if it crashes on shutdown, it is serious, because the shutdown may not be terminated. On MS-Windows, crash logs are written. It would be great to have some code for reproduction. Even if this feels "trivial" for you, it might help to track-down the issue. Thank you again, Harald sebres added on 2024-10-22 20:24:17:
Possibly dup of [34870ab575], if so - it must be already fixed. | ||||
