-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Shadow memory range interleaves with an existing memory mapping #1630
Comments
Standalone command to repro this:
|
It seems the problem only happens when you use both clang and gold ld. Reproduce:
|
It's caused by duplicated invoking of The memory address of variable But I'm still confused why there are two |
I found the root cause, there is below code in
So the program try to dlopen itself, and dlopen pie file is undefined behavior. |
I have an ASAN test suite that gives me the following error:
I am running
IMPORTANTLY, All Asan test pass with no errors if I run the ASAN tests using nvidia 470 drivers:
Other Info
I have kept all variables the same, including Asan testsuite, OS, kernel, nvidia gpu t4. The only difference being the Nvidia drivers.
I do not believe -fsanitize=address is related in #856, because the test suite runs flawlessly with Nvidia 470 drivers.
All my other tests pass, including tsan.
Why am I still getting the "Shadow memory range interleaves" error?
The text was updated successfully, but these errors were encountered: