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

Windows stack trace isn't specifying symbol search path

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.2.3, 2.3.1
    • 2.2.0
    • None
    • None
    • Windows
    • Fully Compatible
    • Windows

    Description

      The Windows version of printStackTrace() isn't specifying a search path for symbol files. The default search path for symbols files (e.g. mongod.pdb) includes the current working directory but does not include the executable directory, so users who run mongod.exe from another directory do not get proper stack traces. Specifying a symbol search path that included the directory where the executable is located would let the code find a .pdb file in that directory.

      Attachments

        Activity

          People

            tad Tad Marshall
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: