-
Notifications
You must be signed in to change notification settings - Fork 13k
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
SIGSEGV: invalid memory reference in librustc_trans-llvm #47953
Comments
cc @alexcrichton -- Probably related to the trans work |
An LLVM upgrade is underway in #47828, if you care to try with that. |
@cuviper I'll try compiling with this PR. |
Unfortunatly I'm not able to compile the code from this PR or the one from @alexcrichton 's llvm6 branch. Error from PR's code:
I also tried to compile directly from @alexcrichton 's llvm6 branch with RUST_BACKTRACE=1 :
|
Oh, deleting my custom config.toml made this bug disappear. (I'll report this issue on the llvm6 PR) |
I now have a working rustc compiled with llvm6. For info, here is the new error:
|
Ok, so to get everything working, updating to libfuzzer 6.0 is not enough, you also need to link to asan or remove the -Zsanitizer from cargo-fuzz. |
I tried to reproduce on recent nightly and the bug seems to be gone, so I'm closing. |
Rust version:
Steps to reproduce:
The log of the last command leading to the crash:
The backtrace of one the subcommands leading to a segfault:
If needed I can build rustc and llvm with the debug symbols to get a better backtrace.
The text was updated successfully, but these errors were encountered: