Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a27197b5341afea36c88d2ed0fa5893dc24da06a79e9f822a48ab522a3dff9df
Ticket: ac601b59bab79fbe0559f19f65620c28a3287517
using the Thread package in a debugging build of Tcl results in a segmentation fault at exit
User & Date: pooryorick on 2022-03-21 21:50:50
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    In a debugging build of core_8_branch, a script that does nothing more than
    require the Thread package results in a segmentation fault when the process
    exits.  This is due to the fact that since commit [3b0e92b198],
    <code>LoadCleanupProc()</code> unloads every loaded library when an interp is
    deleted.  Later, <code>FinalizeThread()</code> calls exit handlers set up by
    the Thread library, but those handlers have been unloaded, causing a
    segmentation fault.
    
  5. is_private changed to: "0"
  6. login: "pooryorick"
  7. priority changed to: "5 Medium"
  8. resolution changed to: "None"
  9. severity changed to: "Important"
  10. status changed to: "Open"
  11. submitter changed to: "pooryorick"
  12. subsystem changed to: "- New Builtin Commands"
  13. title changed to:
    using the Thread package in a debugging build of Tcl results in a segmentation fault at exit
    
  14. type changed to: "Bug"