Skip to content
Tcl Source Code History Of Ticket 7c9b3f3832805e2b
Login

History Of Ticket 7c9b3f3832805e2b

Artifacts Associated With Ticket 7c9b3f3832805e2b

  1. Ticket change [2afc1697cb] (rid 261370) by dgp on 2026-11-10 16:40:31:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      After the latest sync, 9.0 and trunk branches are failing in new ways:
      
      http.test
      Running httpd in thread tid0x7f741aec6640
      Running httpd in thread tid0x7f741a6c5640
      ==== Test with ThreadLevel 0 ====
      
      
      ==== http-4.19.0 keepalive socket closed by the server before reuse (bug [05b158ed56]) FAILED
      ==== Contents of test case:
      
          set result {}
          for {set i 0} {$i < 3} {incr i} {
      	set token [http::geturl $srvurl -keepalive 1 -timeout 5000]
      	lappend result [http::status $token] [http::data $token]
      	http::cleanup $token
          }
          set result
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: can't read "socketWrState(127.0.0.1:32881)": no such element in array
          while executing
      "http::geturl $srvurl -keepalive 1 -timeout 5000"
          ("uplevel" body line 4)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: NONE
      ==== http-4.19.0 FAILED
      
      Running httpd in thread tid0x7f7419e6a640
      ==== Test with ThreadLevel 1 ====
      
      
      ==== http-4.19.1 keepalive socket closed by the server before reuse (bug [05b158ed56]) FAILED
      ==== Contents of test case:
      
          set result {}
          for {set i 0} {$i < 3} {incr i} {
      	set token [http::geturl $srvurl -keepalive 1 -timeout 5000]
      	lappend result [http::status $token] [http::data $token]
      	http::cleanup $token
          }
          set result
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: can't read "socketWrState(127.0.0.1:45383)": no such element in array
          while executing
      "http::geturl $srvurl -keepalive 1 -timeout 5000"
          ("uplevel" body line 4)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: NONE
      ==== http-4.19.1 FAILED
      
      Running httpd in thread tid0x7f7419e6a640
      ==== Test with ThreadLevel 2 ====
      
      
      ==== http-4.19.2 keepalive socket closed by the server before reuse (bug [05b158ed56]) FAILED
      ==== Contents of test case:
      
          set result {}
          for {set i 0} {$i < 3} {incr i} {
      	set token [http::geturl $srvurl -keepalive 1 -timeout 5000]
      	lappend result [http::status $token] [http::data $token]
      	http::cleanup $token
          }
          set result
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: can't read "socketWrState(127.0.0.1:35681)": no such element in array
          while executing
      "http::geturl $srvurl -keepalive 1 -timeout 5000"
          ("uplevel" body line 4)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: NONE
      ==== http-4.19.2 FAILED
      
      http11.test
      ==== Test with ThreadLevel 0 ====
      
      
      ==== http11-5.1.0 reuse persistent socket after server restart, bug 3764f4e81f FAILED
      ==== Contents of test case:
      
          set h [restart_httpd $port]
          set tok [http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -channel $chan -timeout 5000]
          lappend res [http::status $tok]
          http::cleanup $tok
          # No event loop between the restart and the next request.
          foreach i {1 2 3} {
      	set h [restart_httpd $port $h]
      	set tok [http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -timeout 5000]
      	lappend res [http::status $tok] [check_crc $tok]
      	http::cleanup $tok
          }
          set res
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: can't read "socketWrState(localhost:33203)": no such element in array
          while executing
      "http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -timeout 5000"
          ("foreach" body line 3)
          invoked from within
      "foreach i {1 2 3} {
      	set h [restart_httpd $port $h]
      	set tok [http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -timeout 5000]
      	lappend r..."
          ("uplevel" body line 7)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: NONE
      ==== http11-5.1.0 FAILED
      
      ==== Test with ThreadLevel 1 ====
      
      
      ==== http11-5.1.1 reuse persistent socket after server restart, bug 3764f4e81f FAILED
      ==== Contents of test case:
      
          set h [restart_httpd $port]
          set tok [http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -channel $chan -timeout 5000]
          lappend res [http::status $tok]
          http::cleanup $tok
          # No event loop between the restart and the next request.
          foreach i {1 2 3} {
      	set h [restart_httpd $port $h]
      	set tok [http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -timeout 5000]
      	lappend res [http::status $tok] [check_crc $tok]
      	http::cleanup $tok
          }
          set res
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: can't read "socketWrState(localhost:40139)": no such element in array
          while executing
      "http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -timeout 5000"
          ("foreach" body line 3)
          invoked from within
      "foreach i {1 2 3} {
      	set h [restart_httpd $port $h]
      	set tok [http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -timeout 5000]
      	lappend r..."
          ("uplevel" body line 7)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: NONE
      ==== http11-5.1.1 FAILED
      
      ==== Test with ThreadLevel 2 ====
      
      
      ==== http11-5.1.2 reuse persistent socket after server restart, bug 3764f4e81f FAILED
      ==== Contents of test case:
      
          set h [restart_httpd $port]
          set tok [http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -channel $chan -timeout 5000]
          lappend res [http::status $tok]
          http::cleanup $tok
          # No event loop between the restart and the next request.
          foreach i {1 2 3} {
      	set h [restart_httpd $port $h]
      	set tok [http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -timeout 5000]
      	lappend res [http::status $tok] [check_crc $tok]
      	http::cleanup $tok
          }
          set res
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: can't read "socketWrState(localhost:37779)": no such element in array
          while executing
      "http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -timeout 5000"
          ("foreach" body line 3)
          invoked from within
      "foreach i {1 2 3} {
      	set h [restart_httpd $port $h]
      	set tok [http::geturl http://localhost:$port/testdoc.html  -keepalive 1 -timeout 5000]
      	lappend r..."
          ("uplevel" body line 7)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: NONE
      ==== http11-5.1.2 FAILED
      
    5. foundin initialized to: "9.0+"
    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: "29. http Package"
    15. title initialized to: "New http test failures"
    16. type initialized to: "Bug"
  2. Ticket change [d2e10eaf2a] (rid 261377) by serhiy.storchaka on 2026-11-10 16:58:17:

    1. icomment:
      This is a stale library zip, see [1555016064]: an incremental build does not rebuild libtcl9.x.y.zip when only files in library/ change, so the new tests ran against the old http.tcl. Reproduced exactly that way; after deleting the zip and running make again, http.test and http11.test pass.
      
      Workaround: delete the zip file in the build directory (or make clean). Proposed fix in branch [/timeline?r=zip-depends-on-library|zip-depends-on-library].
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"
  3. Ticket change [ef7e897003] (rid 261380) by dgp on 2026-11-10 17:33:20:

    1. closedate changed to: "2461355.2314895601"
    2. closer changed to: "dgp"
    3. icomment:
      
      I could swear this was after a `make distclean` but trying
      again I cannot reproduce.
      
      Please alert me if these are http package changes that
      should cause a new version number.
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
  4. Ticket change [9d24d285cb] (rid 261381) by jan.nijtmans on 2026-11-10 17:55:10:

    1. closedate changed to: "2461355.2466510534"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      There is no need for a version bump, since this was recently done already, and never released
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"