Skip to content
Tcl Source Code History Of Ticket 217869
Login

History Of Ticket 217869

Artifacts Associated With Ticket 217869

  1. Ticket change [d8118a89b2] (rid 107375) by nobody on 2000-10-26 00:45:09:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2115 Bug
      Version: 8.1
      SubmitDate: '1999-05-21'
      LastModified: '1999-08-31'
      Severity: LOW
      Status: Closed
      Submitter: pat
      ChangedBy: hobbs
      RelatedBugIDs: 2550
      OS: Solaris
      OSVersion: 2.5.1
      Machine: Other
      FixedDate: '2000-10-25'
      ClosedDate: '1999-08-31'
      
      
      Name:
      Hans Werner Strube
      
      ReproducibleScript:
      (In subdirectory unix/ :) make test
      
      ObservedBehavior:
      tcl8.1 in Solaris 2.5.1 on UltraSPARC 1,
          compiler: Sun cc, version SC4.0 18 Oct 1995 C 4.0,
          configure --enable-threads
          
          Running "make test" yields the following failed tests:
          event, io, thread, unixInit; detailed output:
          
          event.test
          
          ==== event-1.1 Tcl_CreateFileHandler, reading FAILED
          ==== Contents of test case:
          
              testfilehandler close
              testfilehandler create 0 readable off
              testfilehandler clear 0
              testfilehandler oneevent
              set result ""
              lappend result [testfilehandler counts 0]
              testfilehandler fillpartial 0
              testfilehandler oneevent
              lappend result [testfilehandler counts 0]
              testfilehandler oneevent
              lappend result [testfilehandler counts 0]
              testfilehandler close
              set result
          
          ---- Result was:
          {0 0} {0 0} {0 0}
          ---- Result should have been:
          {0 0} {1 0} {2 0}
          ==== event-1.1 FAILED
          
          io.test
          
          ==== io-6.56 Tcl_GetsObj: incomplete lines should disable file events
          FAILED
          ==== Contents of test case:
          
              update
              set f [open "|[list $tcltest cat]" w+]
              fconfigure $f -buffering none
              puts -nonewline $f "foobar"
              fconfigure $f -blocking 0
              set x {}
              after 500 { lappend x timeout }
              fileevent $f readable { lappend x [gets $f] }
              vwait x
              vwait x
              fconfigure $f -blocking 1
              puts -nonewline $f "baz\n"
              after 500 { lappend x timeout }
              fconfigure $f -blocking 0
              vwait x
              vwait x
              close $f
              set x
          
          ---- Result was:
          {} timeout timeout foobarbaz
          ---- Result should have been:
          {} timeout foobarbaz timeout
          ==== io-6.56 FAILED
          
          
          ==== io-13.6 TranslateInputEOL: auto mode: saw cr in last segment
          FAILED
          ==== Contents of test case:
          
              # (chanPtr->flags & INPUT_SAW_CR)
              # This test may fail on slower machines.
          
              set f [open "|[list $tcltest cat]" w+]
              fconfigure $f -blocking 0 -buffering none -translation {auto lf}
          
              fileevent $f read "ready $f"
              proc ready {f} {
          lappend ::x [read $f] [testchannel queuedcr $f]
              }
              set x {}
          
              puts -nonewline $f "abcdefghj\r"
              after 500 {set y ok}
              vwait y
          
              puts -nonewline $f "\n01234"
              after 500 {set y ok}
              vwait y
          
              close $f
              set x
          
          ---- Result was:
          {abcdefghj
          } 1
          ---- Result should have been:
          {abcdefghj
          } 1 01234 0
          ==== io-13.6 FAILED
          
          
          ==== io-46.1 Tcl event loop vs multiple interpreters FAILED
          ==== Contents of test case:
          
              testfevent create
              testfevent cmd {
                  set f [open foo r]
                  set x "no event"
                  fileevent $f readable {
                      set x "f triggered: [gets $f]"
                      fileevent $f readable {}
                  }
              } 
              after 1;# We must delay because Windows takes a little time to
          notice
              update
              testfevent cmd {close $f}
              list [testfevent cmd {set x}] [testfevent cmd {info commands
          after}]
          
          ---- Result was:
          {no event} after
          ---- Result should have been:
          {f triggered: foo bar} after
          ==== io-46.1 FAILED
          
          
          ==== io-50.1 testing handler deletion FAILED
          ==== Contents of test case:
          
              removeFile test1
              set f [open test1 w]
              close $f
              set f [open test1 r]
              testchannelevent $f add readable [list delhandler $f]
              proc delhandler {f} {
          global z
          set z called
          testchannelevent $f delete 0
              }
              set z not_called
              update
              close $f
              set z
          
          ---- Result was:
          not_called
          ---- Result should have been:
          called
          ==== io-50.1 FAILED
          
          
          ==== io-50.2 testing handler deletion with multiple handlers FAILED
          ==== Contents of test case:
          
              removeFile test1
              set f [open test1 w]
              close $f
              set f [open test1 r]
              testchannelevent $f add readable [list delhandler $f 1]
              testchannelevent $f add readable [list delhandler $f 0]
              proc delhandler {f i} {
          global z
          lappend z "called delhandler $f $i"
          testchannelevent $f delete 0
              }
              set z ""
              update
              close $f
              string compare [string tolower $z]  [list [list called delhandler $f
          0] [list called delhandler $f 1]]
          
          ---- Result was:
          -1
          ---- Result should have been:
          0
          ==== io-50.2 FAILED
          
          
          ==== io-50.3 testing handler deletion with multiple handlers FAILED
          ==== Contents of test case:
          
              removeFile test1
              set f [open test1 w]
              close $f
              set f [open test1 r]
              testchannelevent $f add readable [list notcalled $f 1]
              testchannelevent $f add readable [list delhandler $f 0]
              set z ""
              proc notcalled {f i} {
          global z
          lappend z "notcalled was called!! $f $i"
              }
              proc delhandler {f i} {
          global z
          testchannelevent $f delete 1
          lappend z "delhandler $f $i called"
          testchannelevent $f delete 0
          lappend z "delhandler $f $i deleted myself"
              }
              set z ""
              update
              close $f
              string compare [string tolower $z]  [list [list delhandler $f 0
          called]  [list delhandler $f 0 deleted myself]]
          
          ---- Result was:
          -1
          ---- Result should have been:
          0
          ==== io-50.3 FAILED
          
          
          ==== io-50.4 testing handler deletion vs reentrant calls FAILED
          ==== Contents of test case:
          
              removeFile test1
              set f [open test1 w]
              close $f
              set f [open test1 r]
              testchannelevent $f add readable [list delrecursive $f]
              proc delrecursive {f} {
          global z u
          if {"$u" == "recursive"} {
              testchannelevent $f delete 0
              lappend z "delrecursive deleting recursive"
          } else {
              lappend z "delrecursive calling recursive"
              set u recursive
              update
          }
              }
              set u toplevel
              set z ""
              update
              close $f
              string compare [string tolower $z]  {{delrecursive calling
          recursive} {delrecursive deleting recursive}}
          
          ---- Result was:
          -1
          ---- Result should have been:
          0
          ==== io-50.4 FAILED
          
          
          ==== io-50.5 testing handler deletion vs reentrant calls FAILED
          ==== Contents of test case:
          
              removeFile test1
              set f [open test1 w]
              close $f
              set f [open test1 r]
              testchannelevent $f add readable [list notcalled $f]
              testchannelevent $f add readable [list del $f]
              proc notcalled {f} {
          global z
          lappend z "notcalled was called!! $f"
              }
              proc del {f} {
          global z u
          if {"$u" == "recursive"} {
              testchannelevent $f delete 1
              testchannelevent $f delete 0
              lappend z "del deleted notcalled"
              lappend z "del deleted myself"
          } else {
              set u recursive
              lappend z "del calling recursive"
              update
              lappend z "del after update"
          }
              }
              set z ""
              set u toplevel
              update
              close $f
              string compare [string tolower $z]  [list {del calling recursive}
          {del deleted notcalled}  {del deleted myself} {del after update}]
          
          ---- Result was:
          -1
          ---- Result should have been:
          0
          ==== io-50.5 FAILED
          
          
          ==== io-50.6 testing handler deletion vs reentrant calls FAILED
          ==== Contents of test case:
          
              removeFile test1
              set f [open test1 w]
              close $f
              set f [open test1 r]
              testchannelevent $f add readable [list second $f]
              testchannelevent $f add readable [list first $f]
              proc first {f} {
          global u z
          if {"$u" == "toplevel"} {
              lappend z "first called"
              set u first
              update
              lappend z "first after update"
          } else {
              lappend z "first called not toplevel"
          }
              }
              proc second {f} {
          global u z
          if {"$u" == "first"} {
              lappend z "second called, first time"
              set u second
              testchannelevent $f delete 0
          } elseif {"$u" == "second"} {
              lappend z "second called, second time"
              testchannelevent $f delete 0
          } else {
              lappend z "second called, cannot happen!"
              testchannelevent $f removeall
          }
              }
              set z ""
              set u toplevel
              update
              close $f
              string compare [string tolower $z]  [list {first called} {first
          called not toplevel}  {second called, first time} {second called, second
          time}  {first after update}]
          
          ---- Result was:
          -1
          ---- Result should have been:
          0
          ==== io-50.6 FAILED
          
          thread.test
          
          ==== thread-4.4 TclThreadSend preserve code FAILED
          ==== Contents of test case:
          
              threadReap
              set len [llength [testthread names]]
              set serverthread [testthread create]
              set x [catch {testthread send $serverthread {break}} msg]
              threadReap
              list $len $x $msg $errorInfo
          
          ---- Result was:
          1 3 {} {invalid thread id
              while executing
          "testthread send -async $tid {testthread exit}"}
          ---- Result should have been:
          1 3 {} {}
          ==== thread-4.4 FAILED
          
          unixInit.test
          
          ==== unixInit-3.2 TclpSetInitialEncodings FAILED
          ==== Contents of test case:
          
              set env(LANG) japanese
          
              set f [open "|[list $tcltest]" w+]
              fconfigure $f -buffering none
              puts $f {puts [encoding system]; exit}
              set enc [gets $f]
              close $f
              unset env(LANG)
          
              set enc
          
          ---- Result was:
          iso8859-1
          ---- Result should have been:
          euc-jp
          ==== unixInit-3.2 FAILED
      
      DesiredBehavior:
      No "FAILED" messages.
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "Solaris 2.5.1: Failed tests"
    11. type initialized to: "Bug"
  2. Ticket change [580a00eb6e] (rid 117736) by welch on 2000-10-26 07:59:49:

    1. closedate changed to: "2000-10-26T00:59:49"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Invalid"
    5. status changed to: "Closed"