Skip to content

[wasm][aot] sig->call_convention != MONO_CALL_VARARG assertion forSystem.Runtime.Tests.dll #51960

Closed

Description

@radical

System.Runtime.Tests

/home/helixbot/work/AA8B0906/p/dotnet-cli/sdk/6.0.100-preview.2.21155.3/MSBuild.dll -maxcpucount -verbosity:m /bl:/home/helixbot/work/AA8B0906/w/A5D60920/uploads/xharness-output/AOTBuild.binlog /p:RunAOTCompilation=true publish/AOTTestProjectForHelix.proj
  AOT'ing 66 assemblies
/home/helixbot/work/AA8B0906/p/build/wasm/WasmApp.targets(140,5): error : Precompiling failed for /home/helixbot/work/AA8B0906/w/A5D60920/e/wasm_build/../publish/System.Runtime.Tests.dll: Error:  [/home/helixbot/work/AA8B0906/w/A5D60920/e/publish/AOTTestProjectForHelix.proj]
/home/helixbot/work/AA8B0906/p/build/wasm/WasmApp.targets(140,5): error :  [/home/helixbot/work/AA8B0906/w/A5D60920/e/publish/AOTTestProjectForHelix.proj]
XHarness artifacts: /home/helixbot/work/AA8B0906/w/A5D60920/uploads/xharness-output

Activity

  1. added
    arch-wasm
    disabled-test
    wasm-aot-test
    on Apr 27, 2021
  2. ghost added
    untriaged
    on Apr 27, 2021
  3. radical commented on Apr 27, 2021

    @radical
    MemberAuthor

    The binlog should have details on why this failed.

  4. radical commented on Apr 27, 2021

    @radical
    MemberAuthor

    From the binlog:

    [AOT] /home/helixbot/work/AA8B0906/w/A5D60920/e/wasm_build/../publish/System.Runtime.Tests.dll (TaskId:4)
    Running: /home/helixbot/work/AA8B0906/p/build/microsoft.netcore.app.runtime.browser-wasm/runtimes/browser-wasm/native/cross/browser-wasm/mono-aot-cross --debug --llvm "--aot=no-opt,static,direct-icalls,deterministic,dwarfdebug,llvm-path=/home/helixbot/work/AA8B0906/p/build/emsdk/upstream/bin/,llvmonly,interp,asmonly,llvm-outfile=/home/helixbot/work/AA8B0906/w/A5D60920/e/wasm_build/obj/wasm/System.Runtime.Tests.dll.bc" System.Runtime.Tests.dll (TaskId:4)
    Using working directory: /home/helixbot/work/AA8B0906/w/A5D60920/e/wasm_build/../publish (TaskId:4)
    Setting environment variables for execution: (TaskId:4)
       MONO_PATH = /home/helixbot/work/AA8B0906/w/A5D60920/e/wasm_build/../publish:/home/helixbot/work/AA8B0906/p/build/microsoft.netcore.app.runtime.browser-wasm/runtimes/browser-wasm/native/:/home/helixbot/work/AA8B0906/p/build/microsoft.netcore.app.runtime.browser-wasm/runtimes/browser-wasm/lib/net6.0 (TaskId:4)
       MONO_ENV_OPTIONS =  (TaskId:4)
    Mono Ahead of Time compiler - compiling assembly /home/helixbot/work/AA8B0906/w/A5D60920/e/publish/System.Runtime.Tests.dll (TaskId:4)
    * Assertion at /__w/1/s/src/mono/mono/mini/mini-wasm.c:117, condition `sig->call_convention != MONO_CALL_VARARG' not met (TaskId:4)
     (TaskId:4)
    Exit code: 134 (TaskId:4)
    System.Exception: Error:
    
       at Utils.RunProcess(String path, String args, IDictionary`2 envVars, String workingDir, Boolean ignoreErrors, Boolean silent, MessageImportance outputMessageImportance, MessageImportance debugMessageImportance) in /_/src/tasks/Common/Utils.cs:line 99
       at MonoAOTCompiler.PrecompileLibrary(ITaskItem assemblyItem, String monoPaths) in /_/src/tasks/AotCompilerTask/MonoAOTCompiler.cs:line 413 (TaskId:4)
    1>/home/helixbot/work/AA8B0906/p/build/wasm/WasmApp.targets(140,5): error : Precompiling failed for /home/helixbot/work/AA8B0906/w/A5D60920/e/wasm_build/../publish/System.Runtime.Tests.dll: Error:  [/home/helixbot/work/AA8B0906/w/A5D60920/e/publish/AOTTestProjectForHelix.proj]
    
  5. changed the title [-][wasm][aot] Precompiling failed for`System.Runtime.Tests.dll`[/-] [+][wasm][aot] `condition `sig->call_convention != MONO_CALL_VARARG'` assertion for`System.Runtime.Tests.dll`[/+] on Apr 27, 2021
  6. marek-safar commented on Apr 28, 2021

    @marek-safar
    Contributor

    @vargaz is this something we should declare as unsupported on wasm?

  7. changed the title [-][wasm][aot] `condition `sig->call_convention != MONO_CALL_VARARG'` assertion for`System.Runtime.Tests.dll`[/-] [+][wasm][aot] `sig->call_convention != MONO_CALL_VARARG` assertion for`System.Runtime.Tests.dll`[/+] on Apr 28, 2021
  8. ghost added
    in-pr
    on May 6, 2021
  9. ghost removed
    in-pr
    on May 6, 2021
  10. ghost locked as resolved and limited conversation to collaborators on Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmarea-Codegen-AOT-monodisabled-testuntriagedwasm-aot-test

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions