-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
LLVM MemorySSA assertion failure when running with ASAN: "Not the same accesses in the same order" #50170
Comments
Running with |
@vchuravy They didn't work last time I tried (a couple of years back). They went on my unwritten to-do list, but I haven't gotten around to them yet. I think this is worth opening an LLVM issue for -- at least one other person has asked about it recently. |
For the `sigsetjmp` bypass; looks like glibc removed the `__libc_siglongjmp` symbol in glibc 2.34, so change to using the approach taking by our `dlopen` wrapper instead. Adopts topolarity's fixes from #50170 Resolves #47698 Co-authored-by: Jameson Nash <[email protected]>
For the `sigsetjmp` bypass; looks like glibc removed the `__libc_siglongjmp` symbol in glibc 2.34, so change to using the approach taking by our `dlopen` wrapper instead. Adopts topolarity's fixes from JuliaLang#50170 Resolves JuliaLang#47698 Co-authored-by: Jameson Nash <[email protected]>
For the `sigsetjmp` bypass; looks like glibc removed the `__libc_siglongjmp` symbol in glibc 2.34, so change to using the approach taking by our `dlopen` wrapper instead. Adopts topolarity's fixes from #50170 Resolves #47698 Co-authored-by: Jameson Nash <[email protected]> (cherry picked from commit 5cb0e51)
On my system (Ubuntu 22.04 WSL2) the following changes are needed for ASAN support to build locally (due partially to #47698):
If I then build with
contrib/asan/build.sh ./tmp/test-asan -j4 debug
the terminal is filled withJIT session error: Duplicate section
.The build completes, but the REPL crashes if you start Julia and hit Enter:
The text was updated successfully, but these errors were encountered: