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

Fix ordering problem in connection_close for filesystem loaded in an extension

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

      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@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: