Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 06265efb71a551d5181c8e196f033d680232871a
Ticket: 1011715fffffffffffffffffffffffffffffffff
segfault in exit() due to unloaded shared library
User & Date: kennykb on 2004-08-20 02:39:23
Changes

  1. assignee changed to: "dkf"
  2. icomment:
    Logged In: YES 
    user_id=99768
    
    Donal,  this appears to be TIP#100 stuff.
    It appears that the stanza of code beginning at line 1155
    of tclLoad.c is unloading all packages, irrespective of
    whether they support a Foo_Unload entry point, and
    therefore unloading packages that aren't designed to
    be unloaded.
    
    Should the test for pkgPtr->fileName[0] perhaps
    also include a test that pkgPtr->unloadProc is non-NULL,
    to indicate that the package expects to be unloaded
    early?  
    
    
  3. login: "kennykb"
  4. mimetype: "text/plain"
  5. username: "kennykb"