runtime
runtime copied to clipboard
[aot] Library tests failures on Windows, assertion `elems <= MAX_VECTOR_ELEMS / 2' not met
Assertion at D:\a\_work\1\s\src\mono\mono\mini\mini-llvm.c:8581, condition elems <= MAX_VECTOR_ELEMS / 2' not met `
Error Blob
{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "Assertion.*llvm.*elems.*MAX_VECTOR_ELEMS",
"ExcludeConsoleLog": false
}
Reproduction Steps
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=556904&view=logs&jobId=b455efc5-4fe2-50ab-5106-412ad73c23a0
[System.Private.CoreLib.dll] Exec (with response file contents expanded) in C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\aot-in: MONO_PATH=C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\aot-in;C:\helix\work\correlation\build\microsoft.netcore.app.runtime.browser-wasm\runtimes\browser-wasm\native\;C:\helix\work\correlation\build\microsoft.netcore.app.runtime.browser-wasm\runtimes\browser-wasm\lib\net9.0 MONO_ENV_OPTIONS= C:\helix\work\correlation\build\cross\mono-aot-cross.exe --wasm-exceptions --debug --llvm "--aot=no-opt,static,direct-icalls,deterministic,mattr=simd,dwarfdebug,llvm-path=C:\helix\work\correlation\build\emsdk\upstream\bin\,static,dedup-skip,trimming-eligible-methods-outfile=C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\tokens\System_Private_CoreLib_dll_compiled_methods.txt,llvmonly,interp,asmonly,llvm-outfile=C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\System.Private.CoreLib.dll.bc.tmp,temp-path=C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\System.Private.CoreLib.dll.tmp" "System.Private.CoreLib.dll"
C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(677,5): error : Precompiling failed for C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\aot-in\System.Private.CoreLib.dll with exit code -1073740791. [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(677,5): error : Mono Ahead of Time compiler - compiling assembly C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\aot-in\System.Private.CoreLib.dll [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(677,5): error : * Assertion at D:\a\_work\1\s\src\mono\mono\mini\mini-llvm.c:8581, condition `elems <= MAX_VECTOR_ELEMS / 2' not met [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=556904
Error message validated: [Assertion.*llvm.*elems.*MAX_VECTOR_ELEMS]
Result validation: :white_check_mark: Known issue matched with the provided build.
Validation performed at: 2/7/2024 6:07:06 PM UTC
Report
| Build | Definition | Step Name | Console log | Pull Request |
|---|---|---|---|---|
| 562884 | dotnet/runtime | LLVM AOT compile CoreCLR tests | Log | dotnet/runtime#92057 |
| 562464 | dotnet/runtime | LLVM AOT compile CoreCLR tests | Log | dotnet/runtime#92057 |
| 562296 | dotnet/runtime | LLVM AOT compile CoreCLR tests | Log | |
| 562067 | dotnet/runtime | LLVM AOT compile CoreCLR tests | Log | |
| 562000 | dotnet/runtime | LLVM AOT compile CoreCLR tests | Log | dotnet/runtime#98279 |
| 561823 | dotnet/runtime | LLVM AOT compile CoreCLR tests | Log | |
| 561414 | dotnet/runtime | LLVM AOT compile CoreCLR tests | Log | |
| 560509 | dotnet/runtime | LLVM AOT compile CoreCLR tests | Log | dotnet/runtime#92057 |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 7 | 31 | 31 |
Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.
Issue Details
Assertion at D:\a\_work\1\s\src\mono\mono\mini\mini-llvm.c:8581, condition elems <= MAX_VECTOR_ELEMS / 2' not met `
Error Blob
{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "Assertion.*mini-llvm.*elems.*MAX_VECTOR_ELEMS",
"ExcludeConsoleLog": true
}
Reproduction Steps
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=556904&view=logs&jobId=b455efc5-4fe2-50ab-5106-412ad73c23a0
[System.Private.CoreLib.dll] Exec (with response file contents expanded) in C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\aot-in: MONO_PATH=C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\aot-in;C:\helix\work\correlation\build\microsoft.netcore.app.runtime.browser-wasm\runtimes\browser-wasm\native\;C:\helix\work\correlation\build\microsoft.netcore.app.runtime.browser-wasm\runtimes\browser-wasm\lib\net9.0 MONO_ENV_OPTIONS= C:\helix\work\correlation\build\cross\mono-aot-cross.exe --wasm-exceptions --debug --llvm "--aot=no-opt,static,direct-icalls,deterministic,mattr=simd,dwarfdebug,llvm-path=C:\helix\work\correlation\build\emsdk\upstream\bin\,static,dedup-skip,trimming-eligible-methods-outfile=C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\tokens\System_Private_CoreLib_dll_compiled_methods.txt,llvmonly,interp,asmonly,llvm-outfile=C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\System.Private.CoreLib.dll.bc.tmp,temp-path=C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\System.Private.CoreLib.dll.tmp" "System.Private.CoreLib.dll"
C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(677,5): error : Precompiling failed for C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\aot-in\System.Private.CoreLib.dll with exit code -1073740791. [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(677,5): error : Mono Ahead of Time compiler - compiling assembly C:\helix\work\workitem\e\wasm_build\obj\wasm\for-build\aot-in\System.Private.CoreLib.dll [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(677,5): error : * Assertion at D:\a\_work\1\s\src\mono\mono\mini\mini-llvm.c:8581, condition `elems <= MAX_VECTOR_ELEMS / 2' not met [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
| Author: | ilonatommy |
|---|---|
| Assignees: | - |
| Labels: |
|
| Milestone: | - |
Should be fixed by: https://github.com/dotnet/runtime/pull/98114
This is not a WASM only issue. It is also seen on desktop linux. See logs here: https://dev.azure.com/dnceng-public/public/_build/results?buildId=560509&view=logs&j=d25dc2c0-518b-5583-f661-5ac905106679&t=47cb0142-4d6b-5edf-a0a8-cf81fa3f7e05 @jkurdek Could you take a look, as your previous fix was to exclude Vector3 intrinsics from WASM.
I am aware of the regression on llvm linux x64. Looking into it.
Could we close this ?