Ticket Change Details
Not logged in
Overview

Artifact ID: b209585ece10e6b392894ad2a995c1b40559fecfca557b586b2154c5f33dd77c
Ticket: 010d8f3885642212cf2c65036dd4ad444e9f769e
tclEpollNotfy PlatformEventsControl panics if websocket disconnected
User & Date: stevel 2024-12-01 23:42:44
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    The tclEpollNotfy PlatformEventsControl function panics if the TclOSfstat call returns -1, which occurs when using a websocket to a browser and the browser page is refreshed. 
    
    Jan suggested changing the Panic call to LIST_REMOVE(filePtr, readyNode) to remove the filePtr from the hash table as that is more appropriate during the deletion of the handle, but that changes the behavior from a panic to a SIGSEGV.
    
    Tested on Ubuntu 22.04.4 LTS.   Doesn't affect 8.6 since that doesn't have ePoll support on Linux.
    
  5. foundin changed to: "8.7+"
  6. is_private changed to: "0"
  7. login: "stevel"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "dbd9f1f971bee45e7989f7c0304044ff7e772893"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "stevel"
  14. subsystem changed to: "25. Channel System"
  15. title changed to:
    tclEpollNotfy PlatformEventsControl panics if websocket disconnected
    
  16. type changed to: "Bug"