Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1fb15573c316f8ab2f06a5c25526f0bfc2e9fb548a88d356b4443319dee091d4
Ticket: 2840603fffffffffffffffffffffffffffffffff
Tcl hangs or crashes with [fileevent] on too many sockets
User & Date: serhiy.storchaka on 2026-10-12 14:06:31
Changes

  1. icomment:
    This is the same problem as [c6897e6e6a]: the select() notifier uses
    <code>FD_SET</code> without checking <code>fd &lt; FD_SETSIZE</code>. Since 8.7 Linux,
    the BSDs and macOS use the epoll or kqueue notifier, which have no such limit, but
    platforms using the select notifier (e.g. Solaris and illumos) are still affected.
    Closing as a duplicate of [c6897e6e6a], which has the analysis and proposed fixes.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"