Reorder data members of TestFixture found at src/mongo/transport/transport_layer_asio_test.cpp

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 5.0.8
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • v5.0
    • Service Arch 2022-2-21, Service Arch 2022-03-07
    • 21
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      BF-57427 came as an infrequent crash at the underlying ASIO synchronization mechanisms happening in windows. Upon investigation, it was found that the destruction order of TestFixture' s data members located at src/mongo/transport/transport_layer_asio_test.cpp could be related, as the underlying library tries to invalidly write to an address supposedly owned by an object in this class.

       

      The proposed solution is to simply re-order the data members. Preliminary tests didn't show any direct regression : Evergreen - Version Patch 8 by daniel.morilha (mongodb.com)

              Assignee:
              Matt Diener (Inactive)
              Reporter:
              Daniel Morilha (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: