libc6-dbg contains a file /usr/lib/debug/.build-id/3b/cc16afad852b9c0bfa30215cfe24de3e6bf0a2.debug;
loading that crashes my gdb.
(rr) symbol-file /usr/lib/debug/.build-id/3b/cc16afad852b9c0bfa30215cfe24de3e6bf0a2.debug
Load new symbol table from "/usr/lib/debug/.build-id/3b/cc16afad852b9c0bfa30215cfe24de3e6bf0a2.debug"? (y or n) y
Reading symbols from /usr/lib/debug/.build-id/3b/cc16afad852b9c0bfa30215cfe24de3e6bf0a2.debug...
/build/gdb-YnfO2U/gdb-13.2/gdb/symtab.c:6546: internal-error: get_msymbol_address: Assertion `(objf->flags & OBJF_MAINLINE) == 0' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
0x55e7cca0641e ???
0x55e7ccd84bac ???
0x55e7ccd84dea ???
0x55e7ccef6cb1 ???
0x55e7ccd0fa4e ???
0x55e7ccd0f9c3 ???
0x55e7ccca6b6d ???
0x55e7ccca7c85 ???
0x55e7cccff040 ???
0x55e7ccd01115 ???
0x55e7ccd02bdc ???
0x55e7ccd02d1c ???
0x55e7cca38ca4 ???
0x55e7ccd462f0 ???
0x55e7ccb0fe1c ???
0x55e7ccb113cf ???
0x55e7ccb106d1 ???
0x7fba43abbbbc ???
0x55e7ccb107fd ???
0x55e7ccb1098f ???
0x55e7ccb0fd0c ???
0x55e7ccef7245 ???
0x55e7ccef7d22 ???
0x55e7ccbd92f9 ???
0x55e7ccbdaf74 ???
0x55e7cc969cb9 ???
0x7fba429426c9 __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7fba42942784 __libc_start_main_impl
../csu/libc-start.c:360
0x55e7cc970e40 ???
0xffffffffffffffff ???
---------------------
/build/gdb-YnfO2U/gdb-13.2/gdb/symtab.c:6546: internal-error: get_msymbol_address: Assertion `(objf->flags & OBJF_MAINLINE) == 0' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
To reproduce: install rr, libc6-dbg and firefox-dbgsym,
trace a short firefox run,
and load the symbol files in a "rr replay" session via the attached .gdbinit.
Sorry, I couldn't find a shorter reproducer.
Thanks!