Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: df3a0b5a6131e329b862dd9ab35a0688cbadc173d05faa49d37b37c382f6827c
Ticket: f1a25e8a5090333da9c02de51f04f2914fea7bfa
New thread panics "Tcl_InitNotifier: could not create trigger eventfd" when stdin is closed
User & Date: serhiy.storchaka on 2026-11-14 17:51:58
Changes

  1. icomment:
    Proposed fix in branch [/timeline?r=notifier-fd-zero|notifier-fd-zero]: the epoll notifier now accepts an eventfd of 0. The epoll and kqueue notifiers now also close their trigger and epoll/kqueue descriptors when one is 0; until now the kqueue notifier leaked fd 0. Test thread-9.2. Tested on Linux (epoll) and FreeBSD (kqueue).
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"