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.
- Votes:
-
0 Vote for this issue
- Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: