#1049349 valgrind: DWARF5 not supported: "Possibly corrupted debuginfo file"

Package:
valgrind
Source:
valgrind
Description:
instrumentation framework for building dynamic analysis tools
Submitter:
Ralf Jung
Date:
2023-08-14 13:45:14 UTC
Severity:
normal
#1049349#5
Date:
2023-08-14 13:41:34 UTC
From:
To:
Dear Maintainer,

trying to use valgrind on programs that contain DWARF5 debuginfo leads to an error message:

==92495== Valgrind: debuginfo reader: Possibly corrupted debuginfo file.
==92495== Valgrind: I can't recover.  Giving up.  Sorry.

This is a problem, since e.g. for over a year now, more and more Rust programs contain DWARF5 debuginfo (see <https://github.com/rust-lang/rust/issues/98746>).
They all cannot be debugged or profiled with valgrind.

Reportedly, valgrind 3.20 improves the situation greatly, but unfortunately that only has an experimental package available right now.

Kind regards,
Ralf