This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
Mangled names without location info in panic backtrace #201
Labels
difficulty: medium
Somewhat difficult to solve
priority: low
Low priority for the Knurling team
status: needs design
This feature needs design work to move forward
topic: backtrace
type: bug
Something isn't working
Describe the bug
I received the following stack backtrace after a panic, which contains 2 frames (7 and 8) that should get demangled properly (and also have location info) but don't:
To Reproduce
Steps to reproduce the behavior:
cd testsuite
cargo test --test interrupts
Probably only reproduces when reasonably compatible hardware is attached (I'm using an STM32F105)
Expected and observed behavior
According to rustfilt, the names demangle as follows:
_ZN5bxcan12Can$LT$I$GT$28clear_request_completed_flag17h4191b6ad4457a497E
=>bxcan::Can<I>::clear_request_completed_flag
_ZN5bxcan12Can$LT$I$GT$18clear_tx_interrupt17h8ede413b472a459eE
=>bxcan::Can<I>::clear_tx_interrupt
config.toml
(see repo link)
Probe details
Doesn't matter, but it's a µDAP DAPlink
Operating System:
Linux, but should reproduce on any
ELF file (attachment)
elf.zip
The text was updated successfully, but these errors were encountered: