Skip to content
Tcl Source Code History Of Ticket 010d8f3885642212
Login

History Of Ticket 010d8f3885642212

Artifacts Associated With Ticket 010d8f3885642212

  1. Ticket change [b209585ece] (rid 235627) by stevel on 2024-12-01 23:42:44:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized 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 initialized to: "8.7+"
    6. is_private initialized to: "0"
    7. login: "stevel"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "dbd9f1f971bee45e7989f7c0304044ff7e772893"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "stevel"
    14. subsystem initialized to: "25. Channel System"
    15. title initialized to:
      tclEpollNotfy PlatformEventsControl panics if websocket disconnected
      
    16. type initialized to: "Bug"
  2. Ticket change [e9b8c2c510] (rid 235628) by stevel on 2024-12-01 23:43:12:

    1. assignee changed to: "jan.nijtmans"
    2. login: "stevel"
    3. mimetype: "text/plain"
  3. Ticket change [c339bb1253] (rid 235662) by dkf on 2024-12-02 14:13:55:

    1. icomment:
      At the moment, it seems that the fstat call isn't doing anything useful. In particular, the contents of the statbuf aren't examined afterwards on success; at best, it changes what message we panic with.
      
    2. login: "dkf"
    3. mimetype: "text/x-markdown"
  4. Ticket change [e695923f47] (rid 235679) by stevel on 2024-12-02 23:59:41:

    1. icomment:
      I've confirmed that just returning from PlatformEventsControl rather than a panic does avoid the crash.  So that's a workaround albeit at the cost of a memory leak.  Is that sufficient or should we keep looking for a better solution?
      
    2. login: "stevel"
    3. mimetype: "text/plain"
  5. Add attachment "tcl.patch" [86a089eb41] (rid 237824) by stevel on 2025-02-25 08:55:27.

  6. Ticket change [f013df1d93] (rid 238619) by oehhar on 2025-03-24 10:16:18:

    1. icomment:
      Dear Steve, dear Donal,
      thanks for this great action.
      Is the current source code comment sufficiant?
      Would it feasable to mention this ticket in a source code comment?
      
      I am wondering, why this ticket is shown as "new wiki page" in fossil timeline. Is it me?
      
      Thanks for all,
      Harald
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"
  7. Ticket change [258f41b71b] (rid 238625) by stevel on 2025-03-24 11:38:45:

    1. icomment: "Comments added, link fixed"
    2. login: "stevel"
    3. mimetype: "text/plain"
  8. Ticket change [0a636fb7a1] (rid 238912) by stevel on 2025-04-07 04:20:45:

    1. closedate changed to: "2460772.68108373"
    2. closer changed to: "stevel"
    3. login: "stevel"
    4. mimetype: "text/plain"
    5. status changed to: "Closed"
  9. Ticket change [5be40c2137] (rid 251920) by jan.nijtmans on 2026-03-06 09:31:11:

    1. closedate changed to: "2461105.8966575926"
    2. closer changed to: "jan.nijtmans"
    3. icomment:
      Fixed [e3ffca215ef8cf8a|here]. No problems with it reported.
      
      If this change causes newly found problems (which is not expected), please re-open this ticket
      
    4. login: "jan.nijtmans"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"