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

Windows dumps have corrupted CONTEXT_RECORD

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.5.5
    • 2.5.5
    • Diagnostics
    • None
    • Windows
    • Fully Compatible
    • Windows

    Description

      When we hit an exception in Windows, we get a CONTEXT_RECORD. We then pass this context record to the DBGHelp to print the stack trace. DbgHelp mutates the CONTEXT_RECORD, but we pass the now mutated CONTEXT_RECORD which points to the bottom of the stack instead of the top the stack where the A/V occurs to MiniDumpWriteMinidump. As a result, we get a minidump that points to the wrong place, and is not useful for debugging windows issues.

      Attachments

        Issue Links

          Activity

            People

              mark.benvenuto@mongodb.com Mark Benvenuto
              mark.benvenuto@mongodb.com Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: