We are experiencing a memory leak in our game servers running on Linux.
We’ve collected memory traces using Insights with the `-trace=memory` flag and sent them to our trace server.
While we believe we’ve isolated the memory leak, we’re unable to retrieve the allocation callstack because debug symbols are not resolving. According to the documentation, Linux symbol support appears limited, which is a significant issue for us as our servers exclusively run on Linux (and likely for others in the community).
We’re seeking guidance on how to properly load symbols for Linux to analyze the memory leak. Here’s what we’ve encountered so far:
- Attempting to load the ELF file results in a “Failed to load debug symbols” error.
- Loading a .debug file causes a fatal crash with the following error in `syms_dwarf_parser.c`: The thread tried to divide an integer value by an integer divisor of zero.
From our investigation, it seems that only PDB files are supported, as the issue traces back to the `syms_dbg_accel_from_file(..)` function.
Could you provide any insights, workarounds, or recommendations for resolving symbol loading on Linux? Any help or suggestions would be greatly appreciated!
Thank you!