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
NativeAOT-LLVM compilation fails with STATUS_ACCESS_VIOLATION
#2522
Comments
Here is a corresponding dump file: ilc.exe.6592.dmp |
The dump (along with a fuller one shared on Discord) shows that the failure is an AV on a
The context of execution here is x64 emulation on Windows ARM64 on macOS ARM64 via https://getutm.app/, so it seems likely to be a bug in one of those components (curiously, the documentation for |
Firstly, the test project can be modified not to include the absolute path with these two changes:
I can reproduce the crash on Windows Dev Kit machine running Windows ARM64 22631.3155. Got both full- and mini- dumps and they are equally "corrupted" when viewed in WinDBG. Seems like WinDBG just doesn't handle the x64 emulation correctly.
|
After some more debugging (and hitting debugger bugs) it turns out that |
Description
I have a simple wasi-wasm application that I compile to wasm using the NativeAOT-LLVM tooling. On my machine the compilation very often fails with the following error:
The exit code
-1073741819
is apparentlySTATUS_ACCESS_VIOLATION
.If I retry the build a few times it will eventually succeed.
Reproduction Steps
Here is an attached zip of my project: MyTest.zip
Note that the
MyTest.csproj
file contains an absolute path that will have to be changed.To run the build I run
dotnet publish -r wasi-wasm --self-contained
.Expected behavior
The build should either always fail (preferably with some helpful message) or always succeed.
Actual behavior
The build often fails as described above.
Regression?
No response
Known Workarounds
Retry a few times.
Configuration
Other information
No response
The text was updated successfully, but these errors were encountered: