Skip to content

CG2: Test failure JIT\Generics\Arrays\TypeParameters\MultiDim\class01 and struct01 #38260

Closed

Description

@nattress

Example run:
https://dev.azure.com/dnceng/public/_build/results?buildId=698082&view=ms.vss-test-web.build-test-results-tab&runId=21633748&resultId=100954&paneView=debug

Tests failing:
JIT\Generics\Arrays\TypeParameters\MultiDim\class01
JIT\Generics\Arrays\TypeParameters\MultiDim\struct01
Loader\classloader\regressions\Dev12_518401\dev12_518401\dev12_518401

Platform:
Win10 x64

Item log:

Could Not Find C:\h\w\A62C0917\w\A62C0924\e\JIT\Generics\Arrays\TypeParameters\MultiDim\struct01\struct01.dll.rsp
Unhandled exception. System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (0x8007000B (COR_E_BADIMAGEFORMAT))
   at Gen`1.StoreTArray(T[] arr)
   at Test.Main()

Return code:      1
Raw output file:      C:\h\w\A62C0917\w\A62C0924\e\JIT\Generics\Reports\JIT.Generics\Arrays\TypeParameters\MultiDim\struct01\struct01.output.txt
Raw output:
BEGIN EXECUTION
        1 file(s) copied.
Response file: C:\h\w\A62C0917\w\A62C0924\e\JIT\Generics\Arrays\TypeParameters\MultiDim\struct01\\struct01.dll.rsp
--inputbubble
C:\h\w\A62C0917\w\A62C0924\e\JIT\Generics\Arrays\TypeParameters\MultiDim\struct01\IL\struct01.dll
-r:C:\h\w\A62C0917\w\A62C0924\e\JIT\Generics\Arrays\TypeParameters\MultiDim\struct01\IL\*.dll
-o:C:\h\w\A62C0917\w\A62C0924\e\JIT\Generics\Arrays\TypeParameters\MultiDim\struct01\\struct01.dll
--targetarch:x64
-O
-r:C:\h\w\A62C0917\p\System.*.dll
-r:C:\h\w\A62C0917\p\Microsoft.*.dll
-r:C:\h\w\A62C0917\p\mscorlib.dll
-r:C:\h\w\A62C0917\p\netstandard.dll
" "dotnet" "C:\h\w\A62C0917\p\crossgen2\crossgen2.dll" @"C:\h\w\A62C0917\w\A62C0924\e\JIT\Generics\Arrays\TypeParameters\MultiDim\struct01\\struct01.dll.rsp" "
Info: Method `[struct01]Test.Eval(bool)` was not compiled because `https://github.com/dotnet/runtime/issues/32663: CORINFO_FIELD_STATIC_ADDRESS` requires runtime JIT
Emitting R2R PE file: C:\h\w\A62C0917\w\A62C0924\e\JIT\Generics\Arrays\TypeParameters\MultiDim\struct01\struct01.dll
 "C:\h\w\A62C0917\p\corerun.exe" struct01.dll 
Expected: 100
Actual: -532462766
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\h\w\A62C0917\p
> C:\h\w\A62C0917\w\A62C0924\e\JIT\Generics\Arrays\TypeParameters\MultiDim\struct01\struct01.cmd

Activity

  1. nattress commented on Jun 23, 2020

    @nattress
    ContributorAuthor

    The runtime fails to parse the signature of void !0[0...,0...].Set(int, int, !0) in class01!Gen`1[System.__Canon].StoreTArray(System.__Canon[]) because of a missing type context. Crossgen1 closes the instantiation over the containing type's __Canon: void __Canon[...,...].Set(int, int, !0)

  2. removed
    untriagedNew issue has not been triaged by the area owner
    on Jun 23, 2020
  3. linked a pull request that will close this issueFix mdarrays #39984on Jul 28, 2020
  4. added a commit that references this issue on Jul 28, 2020
  5. added a commit that references this issue on Aug 10, 2020
  6. ghost locked as resolved and limited conversation to collaborators on Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions