In a project with mixed C/C++ and Rust (e.g. embedding Rust in C/C++), backtrace does not correctly look up file and line numbers for symbols in C/C++ modules. Upgrading addr2line to 0.18.0 fixes it.
In a simple test project where C/C++ code calls the following Rust function
OS: Linux
In a project with mixed C/C++ and Rust (e.g. embedding Rust in C/C++),
backtrace
does not correctly look up file and line numbers for symbols in C/C++ modules. Upgradingaddr2line
to 0.18.0 fixes it.In a simple test project where C/C++ code calls the following Rust function
The results are:
After upgrading
addr2line
version to 0.18.0, the results are correct: