Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e32c473fce9ccf6b85a5a889317699f3754ab3877151a091d9d138773dd8826b
Ticket: 94e3289b7996977cc978b649b437fe9890a7b0bb
MemoryModule doesn't handle TLS completely.
User & Date: jan.nijtmans on 2025-01-25 18:29:48
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    MemoryModule only calls the TLS callbacks for DLL_PROCESS_ATTACH, never for DLL_PROCESS_DETACH|DLL_THREAD_ATTACH|DLL_THREAD_DETACH. This means that shared memory - if used in loaded dll's - can never be handled correctly.
    
    Adding DLL_PROCESS_DETACH is quite trivial, the others are more complicated. But let's make a start. Until this is finished, the TIP #709 implementation disables loading any dll in memory which has a TLS section.
    
    This ticket is meant to keep track of the improvements.
    
  5. is_private changed to: "0"
  6. login: "jan.nijtmans"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "jan.nijtmans"
  13. subsystem changed to: "40. Dynamic Loading"
  14. title changed to: "MemoryModule doesn't handle TLS completely."
  15. type changed to: "Bug"