-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Ocassionally line number in stacktrace is 0 #1173
Comments
These are usually bugs in the compiler-generated dwarf or (less frequently) in the symbolizer. |
It's definitely not ruining my life or anything :-) Sounds like the best thing to do is just hope LLVM fixes whatever the bug is. |
Yep. As usual, if you have a smaller repro the bug is more likely to be fixed. |
Indeed. |
Is there a good way to attempt to test whether an attempted repro is effected without actually triggering an ASAN failure? |
just use addr2line and llbm-symbolizer on the binary with the affected PC. |
thanks
…On Sat, Feb 17, 2018 at 4:26 PM, Kostya Serebryany ***@***.*** > wrote:
just use addr2line and llbm-symbolizer on the binary with the affected PC.
If addr2line also shows bogus value, it's likely a bug in emitted dwarf.
If llvm-symbolizer shows the bogus value and addr2line shows a good one,
most likely the LLVM dwarf reader is wrong.
(You can also dump dwarf with elfdump and some such, but I never remember
the incantations)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1173 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAADBI2j3RdlEddR_gzK46RLFugkxLvRks5tV0PzgaJpZM4SJVi_>
.
--
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: D1B3 ADC0 E023 8CA6
|
I'm not sure where this bug exists, it might be a bug in ASAN or the symbolizer, filing here as a first step :-)
If you look at https://oss-fuzz.com/v2/testcase-detail/5638304557957120?noredirect=1 at frame #5 you can see it points to line 0. I'm not sure what the cause might be, none of the potential locations are in macros or anything else that I might expect to cause problems.
The text was updated successfully, but these errors were encountered: