-
Notifications
You must be signed in to change notification settings - Fork 57
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
addr2line -f fails with "InvalidDebugSymbols(SubroutineMissingName(0, 100459))" #35
Comments
I think we need to follow |
I've tested the fix you provided in #36 and indeed binutils:
gimli-rs (release):
gimli-rs (debug):
Note that it's function name resolving being slow. If Would you like me to create a separate issue regarding performance? On the positive side, you're the fastest among |
debug builds will be slow. We don't care about performance for it. The release build is slower for a single address, but faster for multiple addresses. Here's the benchmark for the same library testing 26069 different addresses:
Is performance for single addresses something you care about? There's definitely room for improvement there, but not sure if it is worth the effort. If you do care about it, please create a separate issue. |
Oh, for that benchmark, the third column is time in seconds, the fourth column is memory usage in kilobytes. |
For future readers: actually, there is one more |
Way to reproduce:
Expected output (as produced by
addr2line
from GNU binutils and gdb, and I know this is correct result):Actual output:
Note that running without
-f
switch properly resolves filename/lineno, it's only function name that fails to resolve.Funny facts:
addr2line
fromelfutils
works in the opposite way: it resolves function name but fails with filename/lineno.addr2line
fromelftoolchain
segfaults when trying to resolve function name, and gives wrong filename/lineno.addr2line
from FreeBSD gives wrong filename/lineno and fails to find function nameSo, among five
addr2line
implementations, there are no two that behave the same way.The text was updated successfully, but these errors were encountered: