-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Crash with clang sanitizers (on Debian) #81470
Comments
I had the same thoughts as the reporter, only difference is that we use ubuntu images (mantic), it can be reproduced there, too. Usually, it fails about 8-10 times from 50ish runs. and Ubuntu clang version 17.0.6 (5build1) |
Same here, Ubuntu mantic, but also under our CI. It's intermittant, but compiled code crashes Here's our trivial code:
It's compiled with Without Using
Here's the failed one:
Other info:
|
See llvm/llvm-project#81470 which started breaking CI because configurator doesn't expect test programs to crash! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
See llvm/llvm-project#81470 which started breaking CI because configurator doesn't expect test programs to crash! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
I must be doing something wrong because I cannot get address sanitizer or memory sanitizer to work without randomly crashing on a minimal C program, even on a fresh install via Docker.
I can't imagine this not being reported but yet I can't find anything on this.
Repro
The docker part if of course optional, but I used it to verify that it was not just my install.
Output
[...etc...]
[...etc...]
I did try explicitly adding
-fPIE -Wl,-pie
but it did not make a difference.The text was updated successfully, but these errors were encountered: