-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Valgrind breaks stacktraces #39795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks. Breaking up that output text as described in the contribution guidelines will help people spot the necessary info. |
@sanmai-NL Like this? |
The backtrace here looks correct, it looks like it's just the step of translating an address to a symbol that's failing. That in turn is probably because by default libbacktrace uses tl;dr; the bug is to find the dwarf debug section, as the current logic is probably finding the wrong one. |
From a quick skim, libbacktrace |
Visiting for wg-debugging triage Its been so long since this issue was touched, we should have someone go and confirm that it still reproduces. I'm adding E-help-wanted to reflect that. @rustbot label: E-help-wanted (also, @wesleywiser notes that this may have the same root (or at least related) cause as #101913 .) |
In particular, it looks like sufficiently new versions of So I would not be shocked if this bug no longer replicates, for sufficiently recent versions of |
I just confirmed that a test case (namely the immediately panicking program from #101913); see transcript below. Thus, closing as resolved.
|
Backtraces are not available when running a Rust executable under valgrind.
Without Valgrind
Meta
Host is Ubuntu 14.04, using a recently nightly.
The text was updated successfully, but these errors were encountered: