Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 67d2370919a227399ede46a5dd896968f5b0975b
Ticket: 2282547fffffffffffffffffffffffffffffffff
load of ill-behaved shared library from VFS: core dump
User & Date: nijtmans on 2008-11-14 09:04:31
Changes

  1. assignee changed to: "nijtmans"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I cannot imagine that anyone would require that, but
    still it is a current problem.
    
    Fixing Bugs [2059262] and [2269431] leads to the
    following conflict. When unloading a shared library
    wen Tcl exists we have two choices. We can leave
    it to the OS, as Tcl 8.4 did, or we can force
    unloading at TclFinalize time, as Tcl 8.5 did.
    
    The method in Tcl 8.4 had the disadvantage that
    shared libraries cannot be loaded from VFS, that's
    why it was changed in Tcl 8.5. However, this
    introduced Bug [2059262]. Fixing this introduced
    Bug [2269431]. Both bugs are fixed now, simply
    by checking if the library comes from the native
    file system not. If so, we let the OS handle the
    unloading, otherwise we force unloading at
    TclFinalize time. Libraries which have an UnLoad
    proc use the second method as well.
    
    However, I think there is a way out of this,
    therefore this new (lower-priority) artifact.
    
  4. foundin changed to: "obsolete: 8.6a4"
  5. is_private changed to: "0"
  6. priority changed to: "3 Low"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nijtmans"
  10. subsystem changed to: "40. Dynamic Loading"
  11. title changed to:
    load of ill-behaved shared library from VFS: core dump
    
  12. type changed to: "Bug"