gdb can't print backtraces in musl binaries during syscalls #90103
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-bug
Category: This is a bug.
O-musl
Target: The musl libc
If you run gdb and attempt to get the backtrace during a sycall (or are debugging a crash dump that includes frames in the middle of syscalls), gdb is unable to correctly print the backtrace and shows a truncated stack instead.
Repro:
For comparison, the same program compiled using
x86_64-unknown-linux-gnu
produces a backtrace like this:I believe the issue is that we need CFI directives to be included in our musl build. I'm working on resolving this now.
The text was updated successfully, but these errors were encountered: