Skip to content
Tcl Source Code History Of Ticket ab951a7503
Login

History Of Ticket ab951a7503

Artifacts Associated With Ticket ab951a7503

  1. Ticket change [a6b9f227bb] (rid 157936) by hypnotoad on 2017-11-07 17:03:26:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      Building a fresh checkout of [84de05583b0631640bcb0f697345f4743c74da0b] within MSYS on Windows 7 and running "make test" produces a failed test:
      
      ==== chan-io-60.1 writing illegal utf sequences FAILED
      ==== Contents of test case:
      
          # This test will hang in older revisions of the core.
          set out [open $path(script) w]
          chan puts $out {
      	chan puts [testbytestring \xe2]
      	exit 1
          }
          proc readit {pipe} {
      	variable x
      	variable result
      	if {[chan eof $pipe]} {
      	    set x [catch {chan close $pipe} line]
      	    lappend result catch $line
      	} else {
      	    chan gets $pipe line
      	    lappend result gets $line
      	}
          }
          chan close $out
          set pipe [openpipe r $path(script)]
          chan event $pipe readable [namespace code [list readit $pipe]]
          variable x ""
          set result ""
          vwait [namespace which -variable x]
          # cut of the remainder of the error stack, especially the filename
          set result [lreplace $result 3 3 [lindex [split [lindex $result 3] \n] 0]]
          list $x $result
      
      ---- Result was:
      1 {gets {} catch {invalid command name "testbytestring"}}
      ---- Result should have been (exact matching):
      1 {gets {} catch {error writing "stdout": invalid argument}}
      ==== chan-io-60.1 FAILED
      
    5. foundin initialized to: "84de05583b0631640bcb0f697345f4743c74da0b"
    6. is_private initialized to: "0"
    7. login: "hypnotoad"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "5846a328c39e4967aaeb56d4e03d3e783e2dd1b8"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "hypnotoad"
    14. subsystem initialized to: "25. Channel System"
    15. title initialized to:
      Test Failure - chan-io-60.1 - On MSYS builds of core-8-branch
      
    16. type initialized to: "Bug"
  2. Ticket change [4efec874ac] (rid 157938) by dgp on 2017-11-07 17:21:50:

    1. icomment:
      
      Why is the constraint failing?
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [0ef62beb69] (rid 259669) by serhiy.storchaka on 2026-10-21 08:46:00:

    1. icomment:
      Fixed by [1688d8f73e] (8.6.10, and in 9.0): the child process of chan-io-60.1 now loads the Tcltest library before using <tt>testbytestring</tt> (the constraint was checked in the parent, but the child had no such command). Closing.
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  4. Ticket change [ef63a630fd] (rid 259972) by serhiy.storchaka on 2026-10-22 17:19:28:

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