Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-62323

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 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

      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@mongodb.com Matt Diener (Inactive)
            Reporter:
            daniel.morilha@mongodb.com Daniel Morilha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: