Skip to content
Tcl Source Code History Of Ticket c015c90c928d04de
Login

History Of Ticket c015c90c928d04de

Artifacts Associated With Ticket c015c90c928d04de

  1. Ticket change [4a0a0969aa] (rid 213471) by dgp on 2023-04-21 13:31:04:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized 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.
      
    5. foundin initialized to: "trunk"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "dgp"
    14. subsystem initialized to: "25. Channel System"
    15. title initialized to: "[fcopy] leaks file channels?"
    16. type initialized to: "Bug"
  2. Ticket change [08f2db71c2] (rid 213515) by dgp on 2023-04-21 16:07:50:

    1. assignee changed to: "pooryorick"
    2. icomment:
      
      This first shows up in checkin [b66d50b4d45f6f36] which is
      part of fixing bug [fa3d9fd818fa0072].
      
    3. login: "dgp"
    4. mimetype: "text/plain"
  3. Ticket change [7422d3e627] (rid 257960) by serhiy.storchaka on 2026-10-14 07:31:46:

    1. icomment:
      Fixed by [e99d523a7d]: the channels were left open by io-52.10 itself, which
      closed them after the <code><nowiki>[fcopy]</nowiki></code> that now fails with
      an encoding error. The command in the description passes now.
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  4. Ticket change [9febfc1158] (rid 259906) by serhiy.storchaka on 2026-10-22 17:19:25:

    1. closedate changed to: "2461327.8137305207"
    2. closer changed to: "serhiy.storchaka"
    3. login: "serhiy.storchaka"