Skip to content
Tcl Source Code History Of Ticket 5974ff
Login

History Of Ticket 5974ff

Artifacts Associated With Ticket 5974ff

  1. Ticket change [52ed726de5] (rid 143072) by anonymous on 2015-09-21 09:12:58:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      The test 5.2 in thread.test makes the assumption that joining a detached thread will return an error.
      As per the POSIX spec, calling pthread_join on a detached thread is undefined behavior.
      
      Currently, this test never finishes on musl libc.
      
    5. foundin initialized to: "8.6.4"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "anonymous"
    13. subsystem initialized to: "49. Threading"
    14. type initialized to: "Bug"
  2. Ticket change [37416b13fa] (rid 143176) by oehhar on 2015-09-23 13:42:08:

    1. login: "oehhar"
    2. mimetype: "text/plain"
    3. title changed to:
      Error in "test thread-5.2": joined detached thread does not always return error
      
  3. Ticket change [913a6f738f] (rid 167556) by anonymous on 2018-11-18 18:15:08:

    1. foundin changed to: "8.6.9"
    2. icomment: "Still the case in version 8.6.9"
    3. login: "anonymous"
    4. mimetype: "text/plain"
    5. severity changed to: "Important"
  4. Ticket change [f32644fc02] (rid 258081) by serhiy.storchaka on 2026-10-14 19:49:47:

    1. foundin changed to: "8.6.18, 9.0.5, 9.1.0"
    2. icomment:
      This is a bug in Tcl, not only in the test: on Unix Tcl_JoinThread() calls pthread_join() for any thread, also a detached one. With glibc, joining a detached thread that has already exited even "succeeds" (reproduced with 8.6.18, 9.0.5 and 9.1 using <nowiki>[testthread]</nowiki>).
      
      Proposed fix in branch [/timeline?r=unix-join-detached-thread|unix-join-detached-thread]: Tcl_JoinThread() only joins threads created joinable, and only once, as on Windows. Tests thread-5.3 to thread-5.5.
      
    3. login: "serhiy.storchaka"
    4. mimetype: "text/x-fossil-wiki"
  5. Ticket change [4f1b6898bd] (rid 259107) by jan.nijtmans on 2026-10-18 21:50:45:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2461332.4102523495"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Fixed in [30d8ccce48|trunk], core-9-0-branch and core-8-6-branch
      
      Many thanks!
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"