Skip to content
Tcl Source Code View Ticket
Login

View Ticket

http ThreadLevel 2 test errors

Open453d66ef70c4c58e5683bd079acfe2482c4b65eaCreated 3 years agoUpdated 3 years ago
Descriptionmarkdown2023-10-04 13:31:31

When running the Tcl test suite with the thread package available under pkgs, the following errors are seen

http.test
Running httpd in thread tid0x7fc6bc411700
Running httpd in thread tid0x7fc6bbc10700
==== Test with ThreadLevel 0 ====
Running httpd in thread tid0x7fc6bbc10700
==== Test with ThreadLevel 1 ====
Running httpd in thread tid0x7fc6bbc10700
==== Test with ThreadLevel 2 ====
Test file error: http.test bgerror
invalid command name "::http::104--SocketCoroutine"
invalid command name "::http::104--SocketCoroutine"
    while executing
"::http::104--SocketCoroutine"
    ("after" script)
http.test bgerror
invalid command name "::http::158--SocketCoroutine"
invalid command name "::http::158--SocketCoroutine"
    while executing
"::http::158--SocketCoroutine"
    ("after" script)

To reproduce, ensure the Thread package is available and in the path.

apnadkarniplain2023-12-05 10:43:05
Forgot to mention - details about the system on which this failure was reported:

Linux tcltk.wu.ac.at 6.5.10-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov  2 19:59:55 UTC 2023 x86_64 GNU/Linux
Fedora release 38 (Thirty Eight)
20 processor, 128GB

I'm not able to reproduce the failure on my system running Windows or Ubuntu (under WSL).
stevelplain2023-12-06 00:42:03
I've tested on both macOS 14.1.2 Sonoma arm64 and Ubuntu 22.04.3 x86_64 and do not see the failure.
Log in (anonymous is fine) to add a comment.