Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-3120

Fix ordering problem in connection_close for filesystem loaded in an extension

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.2, 3.2.13, 3.4.3, 3.5.4
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Storage 2017-02-13

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: