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

UUID::gen use-after-destroy

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2021-05-31
    • 0

    Description

      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.

      Attachments

        Activity

          People

            billy.donahue@mongodb.com Billy Donahue
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: