Skip to content

Assert failure extraParamArgLocation == INT_MAX in interpreter for async covariant return tests #130351

Description

@jakobbotsch

Example test run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1495258
Example console log: https://helixr1107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-heads-main-e6056bcae0584738bd/async/1/console.f4560e10.log?helixlogtype=result

14:46:06.361 Running test: _covariant_return_covariant_returns::GenericVirtualMethod.Program.TestGenericVirtualMethod()

Assert failure(PID 2116 [0x00000844], Thread: 2156 [0x086c]): extraParamArgLocation == INT_MAX
    File: D:\a\_work\1\s\src\coreclr\interpreter\compiler.cpp:5641
    Image: C:\h\w\B5F40A08\p\corerun.exe

Reproduces consistently under DOTNET_InterpMode=3 when running the async tests.

Looks caused by #129442, cc @VSadov. It looks like the VM is returning CORINFO_VIRTUALCALL_LDVIRTFTN but also that the call has a generic type argument, which is an unexpected combination for the interpreter.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions