Skip to content

[RuntimeAsync] Assert !isCallConv(callConv, IMAGE_CEE_CS_CALLCONV_LOCAL_SIG) #122050

@VSadov

Description

@VSadov

There are some new failures when enabling async in Libraries.
Possibly related to the recent changes in the resume stubs.

Typical failure/stack

C:\h\w\BD0B09AE\w\ABFF0976\e>"C:\h\w\BD0B09AE\p\dotnet.exe" exec --runtimeconfig System.Collections.Tests.runtimeconfig.json --depsfile System.Collections.Tests.deps.json xunit.console.dll System.Collections.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: System.Collections.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Collections.Tests (found 7103 of 9191 test cases)
  Starting:    System.Collections.Tests (parallel test collections = on [4 threads], stop on fail = off)

Assert failure(PID 19820 [0x00004d6c], Thread: 39352 [0x99b8]): !isCallConv(callConv, IMAGE_CEE_CS_CALLCONV_LOCAL_SIG)

CORECLR! PrettyPrintSignature + 0x1BE (0x6c5e0c36)
CORECLR! PrettyPrintSig + 0x8A (0x6c5e0953)
CORECLR! ILStubLinker::DumpIL_FormatToken + 0x55A (0x6c8cab04)
CORECLR! ILStubLinker::LogILInstruction + 0x213 (0x6c8d2467)
CORECLR! ILStubLinker::LogILStubWorker + 0x41B (0x6c8d2c28)
CORECLR! ILStubLinker::LogILStub + 0x20B (0x6c8d27b6)
CORECLR! CEEJitInfo::getAsyncResumptionStub + 0xB05 (0x6c6249c5)
CLRJIT! emitter::emitAsyncResumeTable + 0xBD (0x6c03ab0f)
CLRJIT! CodeGen::genEmitAsyncResumeInfoTable + 0x58 (0x6c01d46a)
CLRJIT! CodeGen::genRecordAsyncResume + 0x6D (0x6c026c7d)
    File: D:\a\_work\1\s\src\coreclr\inc\formattype.cpp:223
    Image: C:\h\w\BD0B09AE\p\dotnet.exe

Happened in:
https://helixr1107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-119432-merge-b29ef8eb2caf482c89/System.Collections.Tests/1/console.c9287166.log?helixlogtype=result&skoid=8eda00af-b5ec-4be9-b69b-0919a2338892&sktid=72f988bf-86f1-41af-91ab-2d7cd011db47&skt=2025-11-29T01%3A01%3A10Z&ske=2025-11-29T02%3A01%3A10Z&sks=b&skv=2024-11-04&sv=2024-11-04&se=2025-11-29T02%3A01%3A10Z&sr=b&sp=rl&sig=3MQZqt8ZiygTXiTgWT%2FWr2D2bCkN5tO8ex9X3Fp0a28%3D

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIruntime-async

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions