Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f47b2536abd268b033816d1b75251ba9319b8dd3abbb5b740ecad40b8e1c2974
Ticket: c6897e6e6a8a65a995ec35c9c297b926bf1b6783
select notifier crashes/misbehaves on fd >= FD_SETSIZE
User & Date: chw on 2019-11-11 22:03:15
Changes

  1. icomment:
    Please see in
    
      https://www.androwish.org/home/artifact?udc=1&ln=1290-1300&name=0b9ce4d422fe17e2
    
    that the added panic is for the error case in the initialization
    of the notifier thread, i.e. catching the condition that the IPC
    pipe of the notifier does not fit into the projected size of the
    select masks of the notifier thread. Otherwise problems occur
    later in the main loop of the notifier thread since the file
    descriptor of the receive end of the pipe is beyond the upper
    bound of the select bitmask for reading. So yes, the panic is
    unavoidable here.
    
  2. login: "chw"
  3. mimetype: "text/plain"