Skip to content

Interpreted JIT\CodeGenBringupTests\ArrayMD1/2* tests fail due to num args not matching rank #116493

Closed
@janvorli

Description

@janvorli

The dwNumArgs is 3, rank is 2. I've stepped through the compiler phase for this test and the reason why we get dwNumArgs being 3 is the "this" being added to the argument count that's passed in the data[1] of the INTOP_NEWMDARR.

Assert failure(PID 27464 [0x00006b48], Thread: 41060 [0xa064]): dwNumArgs == rank || dwNumArgs == 2*rank

CORECLR! AllocateArrayEx + 0x51A (0x00007ff8`1835f3da)
CORECLR! CreateMultiDimArray + 0x121 (0x00007ff8`183bc661)
CORECLR! InterpExecMethod + 0x7490 (0x00007ff8`183c3fd0)
CORECLR! ExecuteInterpretedMethod + 0x11B (0x00007ff8`18165b9b)
CORECLR! InterpreterStubRetI8 + 0x12 (0x00007ff8`1879ba52)
CORECLR! InterpreterStub + 0x87 (0x00007ff8`1879ba07)
CORECLR! CallDescrWorkerInternal + 0x83 (0x00007ff8`1879c2a3)
CORECLR! CallDescrWorkerWithHandler + 0x130 (0x00007ff8`18286100)
CORECLR! MethodDescCallSite::CallTargetWorker + 0xB8B (0x00007ff8`18286c9b)
CORECLR! MethodDescCallSite::Call_RetArgSlot + 0x11F (0x00007ff8`17e6162f)
    File: D:\git\runtime6\src\coreclr\vm\gchelpers.cpp:842
    Image: D:\git\runtime6\artifacts\tests\coreclr\windows.x64.Debug\Tests\Core_Root\corerun.exe

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions