Skip to content
Tcl Source Code History Of Ticket ee1341ff89edd6c5
Login

History Of Ticket ee1341ff89edd6c5

Artifacts Associated With Ticket ee1341ff89edd6c5

  1. Ticket change [7ff012f319] (rid 234916) by aleteoryx on 2024-11-09 01:01:28:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      Repro available at [https://gist.github.com/winrg/7fa3ac2a9b2b9f35bc4888ce0adaef46]
      
      I believe this happens because thread::send events get routed to the sub-interpreter instead of the main thread. Realistically this is not exploitable in most circumstances.
      
    5. foundin initialized to: "tested in 8.6.13, 8.6.15"
    6. is_private initialized to: "0"
    7. login: "aleteoryx"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "f1b08526abe45bf5e2e4fd8f848cb4cffa73bca6"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "aleteoryx"
    14. subsystem initialized to: "80. Thread Package"
    15. title initialized to:
      Use-after-free if Thread is initialized in a sub-interpreter before the root
      
    16. type initialized to: "Bug"
  2. Ticket change [612e9f2b98] (rid 234917) by aleteoryx on 2024-11-09 01:02:51:

    1. comment changed to:
      Repro available at [https://gist.github.com/winrg/7fa3ac2a9b2b9f35bc4888ce0adaef46]
      
      In short, if Thread is initialized in a sub-interpreter, and said interpreter is deleted, then thread::send events will cause the thread to segfault.
      
      I believe this happens because thread::send events get routed to the deleted sub-interpreter instead of the main thread. Realistically this is not exploitable in most circumstances.
      
    2. login: "aleteoryx"
    3. mimetype: "text/plain"
  3. Ticket change [8b437d8eb1] (rid 234918) by aleteoryx on 2024-11-09 01:04:55:

    1. foundin changed to: "tested in 8.6.13 (debian), 8.6.15 (magicsplat)"
    2. login: "aleteoryx"
    3. mimetype: "text/plain"
  4. Ticket change [cf794aa7a8] (rid 234919) by juliannoble2 on 2024-11-09 03:42:58:

    1. icomment:
      Reproduced the crash in magicsplat tcl9 with thread 3.0.0
      Also crashes in my own Tcl9 build on windows.
      
    2. login: "juliannoble2"
    3. mimetype: "text/plain"
  5. Ticket change [6a6baa29a1] (rid 235036) by sebres on 2024-11-13 14:12:44:

    1. closedate changed to: "2460628.09218124"
    2. closer changed to: "sebres"
    3. icomment:
      Basically it is not an issue of tcl, but of [../thread|thread].<br/>
      
      Thus I'll close it here - further in [../thread/info/d4ba38d00d06ebba|[d4ba38d00d06ebba]].
      
    4. login: "sebres"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"
  6. Ticket change [a5c6f7dcf2] (rid 235046) by sebres on 2024-11-13 16:10:08:

    1. closedate changed to: "2460628.17370958"
    2. icomment:
      JFYI, it is fixed now for all mainline branches (2.8+) in thread repository.
      
    3. login: "sebres"
    4. mimetype: "text/x-fossil-wiki"