Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Correctness
-
Fully Compatible
-
ALL
Description
If an engineer attempts to debug a variant failure on a spawnhost, AND the variant was a *san configuration, gdb will NOT work on the spawnhost.
On sanitizer variants we build with separate-debug=off which includes the debugsymbols inside of the binaries. The setup_spawnhosts scripts does some stuff which modifies the binary which makes the binary not work with gdb. If you download the binary from evergreen it does work.
Max h hypothesized that adding the .gdb_index section into the executable itself (separate-debug=off) causes gdb to not recognize the executable as having produced the core dump and therefore refuses to load the debug symbols from the executable
Original slack thread: https://mongodb.slack.com/archives/CR8SNBY0N/p1692653657122299
Attachments
Issue Links
- is related to
-
SERVER-74299 spawnhost script should not create gdb index without binaries
-
- Closed
-