Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: eb46f4b05af3a8621fc91648320e90337f6a199d
Ticket: 1011715fffffffffffffffffffffffffffffffff
segfault in exit() due to unloaded shared library
User & Date: mistachkin on 2004-10-10 02:38:01
Changes

  1. icomment:
    Logged In: YES 
    user_id=113501
    
    It would seem from reading the description of the problem
    above that gcc expects the atexit() handlers to be called
    prior to the DLL being unloaded?  Is there any way we can
    figure out those handlers and call them ourselves?
    
    Perhaps we can "hook" atexit(), figure out which DLL invoked
    it, and simply call the handlers ourselves prior to
    unloading the DLL in question.
    
    
    
  2. login: "mistachkin"
  3. mimetype: "text/plain"
  4. username: "mistachkin"