Skip to content
Tcl Source Code History Of Ticket e55a589d2b
Login

History Of Ticket e55a589d2b

Artifacts Associated With Ticket e55a589d2b

  1. Ticket change [9927d52a6b] (rid 239658) by pooryorick on 2025-05-01 10:58:26:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      When evaluated under a recent build of trunk, with the environment variable TCL_FINALIZE_ON_EXIT=1, the following script produces a segmentation fault:
      
      <code><verbatim>
      package require Thread
      set tid [thread::create]
      thread::send -async $tid {while 1 {}}
      </verbatim></code>
      
    5. is_private initialized to: "0"
    6. login: "pooryorick"
    7. priority initialized to: "5 Medium"
    8. private_contact initialized to: "2b2275eab1118e1fab0016cf1c5702893c6af86c"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "pooryorick"
    13. subsystem initialized to: "80. Thread Package"
    14. title initialized to:
      async send + busy thread + TCL_FINALIZE_ON_EXIT=1  == segmentation fault
      
    15. type initialized to: "Bug"
  2. Ticket change [e1dbfac386] (rid 253741) by apnadkarni on 2026-05-21 15:59:17:

    1. icomment:
      Still present in core-9-0-branch as of today. Verified on Windows and Linux. Examining further ...
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  3. Ticket change [8edd2ddcd3] (rid 253742) by apnadkarni on 2026-05-21 16:37:27:

    1. assignee changed to: "apnadkarni"
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  4. Ticket change [bed791123a] (rid 253744) by apnadkarni on 2026-05-22 08:17:43:

    1. icomment:
      Proposed fix in [bug-e55a589d2b](https://core.tcl-lang.org/tcl/timeline?r=bug-e55a589d2b). Not sure it is a complete fix, and may leak memory but I don't think a complete fix between non-cooperating threads is possible in Tcl. In any case, since this is at exit time so should suffice as a fix to at least not crash.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  5. Ticket change [34841db942] (rid 253830) by apnadkarni on 2026-05-23 15:18:18:

    1. closedate changed to: "2461184.1377126388"
    2. closer changed to: "apnadkarni"
    3. icomment:
      Fixed in [fc30388d62]. Not backported to 9.0 as a corner case and not worth risking without a full beta cycle.
      
    4. login: "apnadkarni"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"