Tcl Source Code

View Ticket
Login
Ticket UUID: 453d66ef70c4c58e5683bd079acfe2482c4b65ea
Title: http ThreadLevel 2 test errors
Type: Bug Created on: 2023-10-04 13:31:31
Submitter: apnadkarni Assigned to: nobody
Subsystem: - New Builtin Commands Severity: Minor
Priority: 5 Medium Last modified: 2023-12-06 00:42:03
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 8.7
Description:

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.

User Comments:
apnadkarni added on 2023-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).

stevel added on 2023-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.