Skip to content

[wasm] Loader/classloader/explicitlayout/NestedStructs/case04/case04.sh failing with FAIL: object and non-object field overlap was not detected #62303

Closed

Description

@radical

Rolling build, and Log

    Loader/classloader/explicitlayout/NestedStructs/case04/case04.sh [FAIL]
      
      Return code:      1
      Raw output file:      /datadisks/disk1/work/A3F40905/w/ABAB093F/uploads/Reports/Loader.classloader/explicitlayout/NestedStructs/case04/case04.output.txt
      Raw output:
      BEGIN EXECUTION
      Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
      Copyright (C) Microsoft Corporation. All rights reserved.
      
        AppDir: /datadisks/disk1/work/A3F40905/w/ABAB093F/e/Loader/classloader/explicitlayout/NestedStructs/case04/WasmApp/
        TestBinDir: /datadisks/disk1/work/A3F40905/w/ABAB093F/e/Loader/classloader/explicitlayout/NestedStructs/case04
        ArtifactsBinDir: 
      /datadisks/disk1/work/A3F40905/p/build/WasmApp.targets(210,5): warning : Could not find $(AssemblyName)=WasmTestRunner.dll in the assemblies to be bundled. [/datadisks/disk1/work/A3F40905/p/wasm-test-runner/WasmTestRunner.proj]
      Incoming arguments: --run case04.dll
      Application arguments: --run case04.dll
      console.debug: mono_wasm_runtime_ready fe00e07a-5519-4dfe-b35a-f867dbaf2e28
      console.info: Initializing.....
      FAIL: object and non-object field overlap was not detected
      Expected: 100
      Actual: 101
      END EXECUTION - FAILED

IIUC, this is a new test that was added in #61467 . cc @simonrozsival

FYI, the diff from the previous passing rolling build - https://github.com/dotnet/runtime/compare/a61c1a3c..ad9979381706d1976e4d26e13cb88d6147264968

And it slipped through because we are not running the wasm/RuntimeTests on PRs. @lewing @steveisok Should we enable them for wasm on PRs? Or maybe based on some path changes?

Activity

  1. added
    arch-wasm
    on Dec 2, 2021
  2. ghost added
    untriaged
    on Dec 2, 2021
  3. added
    blocking-clean-ci
    on Dec 2, 2021
  4. lambdageek commented on Dec 3, 2021

    @lambdageek
    Member

    Let's disable the test on wasm for now. Nevermind - I added a PR to make the test work on wasm.

    @simonrozsival wasm is 32-bit. Maybe this test only has overlapping fields on 64-bit platforms?

  5. lambdageek commented on Dec 3, 2021

    @lambdageek
    Member

    Yea this field doesn't actually overlap the object on a 32-bit arch

  6. ghost added
    in-pr
    on Dec 3, 2021
  7. simonrozsival commented on Dec 3, 2021

    @simonrozsival
    Member

    @lambdageek Yes, that should be the problem. In the other tests the conflicting fields have the same explicit field offset. In case04 I intentionally used different offsets and I didn't notice that it behaves differently on 32 bit platforms. Thanks for fixing it!

  8. ghost removed
    in-pr
    on Dec 3, 2021
  9. removed
    untriaged
    on Dec 3, 2021
  10. ghost locked as resolved and limited conversation to collaborators on Jan 3, 2022
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-wasmblocking-clean-ci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions