[Bug libbacktrace/104463] Split debug info not loaded from .debug/ if .gnu_debuglink points to binary itself
mark at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 25 12:39:01 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104463
Mark Wielaard <mark at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2022-02-25
--- Comment #1 from Mark Wielaard <mark at gcc dot gnu.org> ---
Note. The term "split dwarf" is often associated with the -gsplit-dwarf option,
which uses .dwo sections (and files) to split DWARF debuginfo. This bug isn't
about that.
I can replicate the issue, but haven't fully traced why it happens.
It seems libbacktrace gets confused about where /proc/self/exe points to and
tries to open /proc/self/bug, /proc/self/.debug/bug and
/usr/lib/debug//proc/self/bug
More information about the Gcc-bugs
mailing list