UUID::gen use-after-destroy

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2021-05-31
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      BF-20646
      This was caught on Windows where SecureRandom is implemented by the Bcrypt library and some state went off the rails, but it should be a platform-independent problem. Some code (mongo::JournalFlusher::run() in this case) is trying to make a UUID, but main is already dying and the global uuidGen object is accessed after it's died.

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: