Itcl - the [incr Tcl] extension

View Ticket
Login
Ticket Hash: 9c3f652f29907fb7d48551714f1138b68ca1db5c
Title: Leak test hangs with Tk and reports false leaks; memory leaks in widget code
Status: Closed Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2026-11-17 11:47:32
15.4 days ago
Created: 2026-11-16 23:59:42
15.9 days ago
Version Found In: 4.3.8
Description:
In a memory-debug build of Tcl, with Tk available, the test run hangs after widgetadaptor.test, and the leak check in tests/helpers.tcl reports leaks in widgetadaptor.test and widgetclass.test. Some reports come from window events still queued when memory is measured; the others are real leaks in the widget and widgetadaptor code. They were hidden until tcltest stopped calling exit in child interpreters (Tcl 103abf181e).

Proposed fix in branch leaktest-hang-and-leaks.

User Comments:
jan.nijtmans added on 2026-11-17 11:47:32:

Merged to [3466498534|trunk]

Many thanks!