-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Bug]: ASAN use-after-poison in TimeZoneInfo #1677
Comments
We need a full reproduction before we can look into this. There are too many possible causes. |
I appreciate the answer but that's very difficult because I'm much higher up the stack just using gRPC. I don't even know how to start to get to a small reproducible example. It seems to happen here:
|
I can see where it happens from the stack trace, but as I said, there are too many possible causes (Abseil bug, gRPC bug, ASAN bug, ODR violation, etc). If I had to guess, I'd say ODR violation is most likely. We don't see this issue, and just because our code is at the top of the stack trace doesn't mean it is an error in our code. |
just updated grpc and got similar problem on app finalization:
|
ouch it is much worse than that. not only it happens on finalization but it also crashes during the run `==597460==ERROR: AddressSanitizer: use-after-poison on address 0x7560a2b9ece0 at pc 0x589fcfe8f9e7 bp 0x7560a2b9ec70 sp 0x7560a2b9ec68 Address 0x7560a2b9ece0 is located in stack of thread T34 ==597460==ABORTING ` |
Repeating what I said again: Without reproduction instructions, we cannot look into this. |
@zlojvavan do you happen to have minimal steps to reproduce it? |
@julianoes no, got it in real-world project that worked just fine with asan before updating grpc |
After an update to gRPC/Abseil I also started getting the same
The fact that a different gRPC version exhibits a similar error but pointing to a completely different part of Abseil does suggest that the issue may be with gRPC rather than Abseil (though it's still hard to say for sure). |
Describe the issue
While running our gRPC server with ASAN, we often see a use-after-poison error occur. Valgrind does not show a problem though.
Steps to reproduce the problem
I could not extract a minimal example to reproduce this yet. I'm hoping the backtrace is enough of a hint for you. If not, I will try to create a setup to reproduce.
This happens when used within a gRPC server.
I would be interested how to further debug this to get to the bottom of it.
What version of Abseil are you using?
20240116.2
What operating system and version are you using?
Linux Mint based on Ubuntu 22.04
What compiler and version are you using?
Default GCC 11.4.0
What build system are you using?
cmake version 3.22.1
Additional context
This happens for me in NZ time zone, so +12h in case that's relevant.
First raised in grpc/grpc#36668.
The text was updated successfully, but these errors were encountered: