Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2e20980c3a76a9ea6166538dce3953092a12d91f1fb250b5ee4fa3da78011d8d
Ticket: b78d94c049af5090a9ef1c4aaa8059aa45b98b59
Thread pool panics if stdin closed and IO performed in initcmd
User & Date: aleteoryx on 2025-02-22 03:01:37
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    The following code panics with "Tcl_RegisterChannel: duplicate channel names".
    
    ```
    package require Thread
    
    close stdin
    
    set pool [tpool::create -initcmd {
      open tmpfile w
    }]
    tpool::post $pool {}
    ```
    
  5. foundin changed to: "8.6"
  6. is_private changed to: "0"
  7. login: "aleteoryx"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "f1b08526abe45bf5e2e4fd8f848cb4cffa73bca6"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "aleteoryx"
  14. subsystem changed to: "49. Threading"
  15. title changed to:
    Thread pool panics if stdin closed and IO performed in initcmd
    
  16. type changed to: "Bug"