-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
[clang-cl] Exception Code: 0xC0000005 #107113
Comments
@llvm/issue-subscribers-backend-x86 Author: None (mzukovec)
I get internal compiler error during C++ compilation of OpenCascade library with `clang-cl`. The same codebase compiles fine using `cl.exe` and `clang 17.1.6` on MacOS.
I tried versions 17.0.6 and 18.1.8, both crashing. Error log:
|
Could you please try 19 or |
I see you have /EHa set(turns into -fasync-exceptions and the others in the reproducible). Could you try compiling without /EHa and use a different exception handling mode? This would exclude this being #107031. Sadly the issue with /EHa is non-deterministic. I can't get master or older clang 20 to crash on your file while 18.1.8 crashes. I don't have 18.1.8 with debug info to fully confirm it on my end. Clang 17 is the first version to have the offending piece of code. |
I just confirmed that the The |
The code responsible for the bug is in 19.1.0-rc4 as well. It just doesn't always trigger. Like master not crashing on your code. This does not mean that it won't crash on other code. Since it only affects /EHa I think we can be quite confident that this is the reason. A run with debug info would make it 100% clear, but this doesn't seem necessary. |
Weird… It seems to be reproducible on version 17 and 18. I did try at least 20 times with consistemnt crashes. |
#105813 this has more code samples. If you want to check it out. |
I get internal compiler error during C++ compilation of OpenCascade library with
clang-cl
. The same codebase compiles fine usingcl.exe
andclang 17.1.6
on MacOS.I tried versions 17.0.6 and 18.1.8, both crashing.
Error log:
BOPAlgo_WireSplitter_1-153cb5.zip
The text was updated successfully, but these errors were encountered: