-
Notifications
You must be signed in to change notification settings - Fork 63
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
Wrong symbols for Rust binary #37
Comments
Is this on Linux or macOS? Can you share the binary and the profile.json file with me (e.g. by email)? Does this also reproduce with a |
This is on Linux, this is an open source project called Fractal. The problem still happens on the main branch. I have investigated further, getting the symbols works fine if they are included in the binary. However as part of our release process, the debuginfo is split into a eu-strip --remove-comment --reloc-debug-sections -f fractal.debug It's after this point that the symbols seem to not be found. The binary is in I have also tried placing Finally, after some investigating, the culprit seems to be this function: Lines 620 to 639 in 3e36c91
The binary's location is hardcoded as I might have time to open a PR about that later today and to test it to make sure that's the only issue. |
When profiling a Rust binary, it seems the symbols are not correct. Instead of the function names for all my binary I get
fun_XXXX
whereXXXX
is an hexadecimal number. However function names for C libraries we depend on are properly displayed.I know that the symbols are available because using e.g. flamegraph, the proper function names show up.
I would like to help debug this but the only error I'm seeing is this in the web console:
The text was updated successfully, but these errors were encountered: