Skip to content

[wasm] mono-aot-cross crashing all performance wasm-aot jobs #72105

@radical

Description

@radical

This is from 20220713.2.

  [OSExtensions.dll] Exec (with response file contents expanded) in /home/helixbot/work/A55E0939/w/ABD30964/e/performance/artifacts/bin/for-running/MicroBenchmarks/eb6d9336-f307-4d0b-8cf6-78a893bd614f/bin/net7.0/browser-wasm/publish: MONO_PATH=/home/helixbot/work/A55E0939/w/ABD30964/e/performance/artifacts/bin/for-running/MicroBenchmarks/eb6d9336-f307-4d0b-8cf6-78a893bd614f/bin/net7.0/browser-wasm/publish:/home/helixbot/work/A55E0939/p/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.0-ci/runtimes/browser-wasm/native/:/home/helixbot/work/A55E0939/p/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/7.0.0-ci/runtimes/browser-wasm//lib/net7.0 MONO_ENV_OPTIONS= /home/helixbot/work/A55E0939/p/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.linux-x64.Cross.browser-wasm/7.0.0-ci/Sdk/../tools/mono-aot-cross --debug --llvm "--aot=no-opt,static,direct-icalls,deterministic,dwarfdebug,llvm-path=/home/helixbot/work/A55E0939/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/7.0.0-preview.7.22361.2/tools/bin/,static,llvmonly,interp,asmonly,llvm-outfile=/home/helixbot/work/A55E0939/w/ABD30964/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/OSExtensions.dll.bc.tmp" "OSExtensions.dll"

...

Precompiling failed for /home/helixbot/work/A55E0939/w/ABD30964/e/performance/artifacts/bin/for-running/MicroBenchmarks/eb6d9336-f307-4d0b-8cf6-78a893bd614f/bin/net7.0/browser-wasm/publish/OSExtensions.dll. [/home/helixbot/work/A55E0939/w/ABD30964/e/performance/artifacts/bin/for-running/MicroBenchmarks/eb6d9336-f307-4d0b-8cf6-78a893bd614f/BenchmarkDotNet.Autogenerated.csproj]
Failed to load methodspec 0x2b000001 due to Method not found: int System.Runtime.InteropServices.Marshal.SizeOf<!0>(!!0). [/home/helixbot/work/A55E0939/w/ABD30964/e/performance/artifacts/bin/for-running/MicroBenchmarks/eb6d9336-f307-4d0b-8cf6-78a893bd614f/BenchmarkDotNet.Autogenerated.csproj]
Run with MONO_LOG_LEVEL=debug for more information. [/home/helixbot/work/A55E0939/w/ABD30964/e/performance/artifacts/bin/for-running/MicroBenchmarks/eb6d9336-f307-4d0b-8cf6-78a893bd614f/BenchmarkDotNet.Autogenerated.csproj]
Unable to compile method 'void Microsoft.Diagnostics.Tracing.Extensions.ETWControl:EnableStackCaching (ulong)' due to: 'Method not found: void System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(int)'. [/home/helixbot/work/A55E0939/w/ABD30964/e/performance/artifacts/bin/for-running/MicroBenchmarks/eb6d9336-f307-4d0b-8cf6-78a893bd614f/BenchmarkDotNet.Autogenerated.csproj]

Last working build was 20220713.1, and the failing one 20220713.2.
The runtime changes between them d434c4a...199580b

cc @vargaz @radekdoulik

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmWebAssembly architecturearea-Codegen-AOT-monoblockingMarks issues that we want to fast track in order to unblock other important work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions