Skip to content
Tcl Source Code History Of Ticket 2282547fffffffff
Login

History Of Ticket 2282547fffffffff

Artifacts Associated With Ticket 2282547fffffffff

  1. Ticket change [67d2370919] (rid 102958) by nijtmans on 2008-11-14 09:04:31:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.6a4"
    5. is_private initialized to: "0"
    6. priority initialized to: "3 Low"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "40. Dynamic Loading"
    11. title initialized to:
      load of ill-behaved shared library from VFS: core dump
      
    12. type initialized to: "Bug"
  2. Ticket change [839ff6aea5] (rid 137003) by jan.nijtmans on 2014-02-21 19:08:51:

    1. assignee changed to: "jan.nijtmans"
  3. Ticket change [2e99055a2e] (rid 137017) by jan.nijtmans on 2014-02-21 19:12:30:

    1. submitter changed to: "jan.nijtmans"
  4. Ticket change [acc54c5315] (rid 257784) by serhiy.storchaka on 2026-10-12 18:37:33:

    1. icomment:
      Since [80aa157f45] (TIP #357), <code>TclFinalizeLoad()</code> unloads all
      non-static libraries, from VFS or not, when Tcl is built with
      <code>TCL_UNLOAD_DLLS</code> (always on Windows, configure option
      <code>--enable-dll-unloading</code> on Unix). Ill-behaved libraries require
      building with <code>--disable-dll-unloading</code>. On Unix the temporary copy
      of a library loaded from VFS is deleted right after loading, so it does not need
      to be unloaded.
      
    2. login: "serhiy.storchaka"
    3. mimetype: "text/x-fossil-wiki"