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

Fix ordering problem in connection_close for filesystem loaded in an extension

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • WT2.9.2, 3.2.13, 3.4.3, 3.5.4
    • None
    • None
    • 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

              donald.anderson@mongodb.com Donald Anderson
              donald.anderson@mongodb.com Donald Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: