Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cfe7b0618620f9ed0b0e6c9fe695633a270ec7747384894a7112b0c0de2481a0
Ticket: 31fc36fe475584527a11610105c03a9f4dca3e0c
Crash opening server sockets in more than one thread on Windows
User & Date: apnadkarni on 2023-10-21 11:24:24
Changes

  1. icomment:
    So it turns out this has nothing to do with http except that it triggered the bug. The following suffices to crash
    
    ```
    % socket -server accept 12345
    sock000001334182C510
    % package require Thread
    2.8.9
    % set tid [thread::create]
    tid0000000000004FF8
    % thread::send $tid "socket -server accept 12345"
    couldn't open socket: address already in use
    % thread::send $tid "socket -server accept 12346"
    ...crash...
    ```
    
    Requires sockets in both threads.
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"
  4. priority changed to: "7 High"
  5. title changed to:
    Crash opening server sockets in more than one thread on Windows