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

Windows dumps have corrupted CONTEXT_RECORD

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: 2.5.5
    • Component/s: Diagnostics
    • None
    • Environment:
      Windows
    • Fully Compatible
    • Windows

      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.

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

              Created:
              Updated:
              Resolved: