Right now, the process to take a stack trace as printed during a mongo crash is:
- Download the correct version of mongodb to match the submitters version and platform.
- Find a machine of the right OS and architecture.
- Discover that the regular downloads are stripped
- Try to figure out where the symbolized versions are and how to get them
- Spend 10 minutes downloading the symbols and untar them
- read the man page for addr2line to remember the flags
- run addr2line
- re run addr2line with --demangle
What we should have is an internal web tool (the symbolizer) that lets you paste in the hex addresses, identify the target architecture and mongodb version, and the name of the crashing binary, and goes and does all of the above for you.
First version could be linux only, but subsequent versions should probably handle Windows and Darwin as well.