Overview
| Artifact ID: | 4a0a0969aad48afec3d055a0310408355abd77eff113c121fb5e76305fc9e8f2 |
|---|---|
| Ticket: | c015c90c928d04de115adcd7c98da742868c0f4e
[fcopy] leaks file channels? |
| User & Date: | dgp on 2023-04-21 13:31:04 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
Run the test suite like so... $ make test-tcl TESTFLAGS='-singleproc 1 -file "io.test ioTrans.test" -match "io-52.10 iortrans-3.1"' ... io.test ioTrans.test ==== iortrans-3.1 chan finalize, handler destruction has no effect on channel FAILED ==== Contents of test case: proc foo {args} { lappend ::res $args handle.initialize return } lappend res [set c [chan push [tempchan] foo]] rename foo {} lappend res [file channels file*] lappend res [file channels rt*] lappend res [catch {close $c} msg] $msg lappend res [file channels file*] lappend res [file channels rt*] ---- Result was: {initialize rt0 {read write}} file7 {file5 file6 file7} {} 1 {invalid command name "foo"} {file5 file6} {} ---- Result should have been (glob matching): {initialize rt* {read write}} file* file* {} 1 {invalid command name "foo"} {} {} ==== iortrans-3.1 FAILED Test iortrans-3.1 is unhappy apparently because there are channels file5 and file6 lurking about that it does not expect. It appears that the [fcopy] command in test io-52.10 has created them and the test has not cleaned up after that creation. Hoping someone recognizes what the symptoms mean. - foundin changed to: "trunk"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- private_contact changed to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "25. Channel System"
- title changed to: "[fcopy] leaks file channels?"
- type changed to: "Bug"