Overview
| Artifact ID: | 2f0c78e9e2daaae7c644a006785ec6c871bfe64d |
|---|---|
| Ticket: | 3408127fffffffffffffffffffffffffffffffff
several thread-7.* tests leak |
| User & Date: | dgp on 2011-09-12 16:05:44 |
Changes
- assignee changed to: "mistachkin"
- cmimetype changed to: "text/plain"
- comment changed to:
The following tests leak memory: thread-7.24 thread-7.25 thread-7.26 thread-7.28 thread-7.29 thread-7.30 thread-7.31 The cause is the same in all of them. The tests make use of the [testthread exit] command both directly and indirectly via the [tcltest::threadReap] command. This command unavoidably causes leaks. For this reason the corresponding Thread command [thread::exit] is declared deprecated. I've successfully converted many tests from [testthread] to the Thread package, making use of the [thread::preserve] and [thread::release] commands to manage thread lifetimes without leaking memory. I'm not able to convert the tests above though. These tests are testing Tcl_CancelEval via both the [interp cancel] command and a [testthread cancel] testing command. I've tried to convert these, but I cause intermittent segfaults with my attempts. My hope is that my failures are due to lack of experience with cancel, and the matter will be easy for those who know it.
- foundin changed to: "obsolete: 8.6b2"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "49. Threading"
- title changed to: "several thread-7.* tests leak"
- type changed to: "Bug"