Fix ordering problem in connection_close for filesystem loaded in an extension

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • WT2.9.2, 3.2.13, 3.4.3, 3.5.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-02-13
    • None

      Consider a dynamically loaded library loaded via the extension mechanism that calls WT_CONNECTION->set_file_system. When the connection is closed, the wt_connection_close function first dlcloses the library, then calls wt_connection_destroy in order to call terminate on the file system. But the code to implement terminate has been unloaded in the dynamic library, the pc will point to unmapped memory.

              Assignee:
              Donald Anderson
              Reporter:
              Donald Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: