Skip to content

Assertion failed 'lastBlockILEndOffset < beginOffs' #99543

@filipnavara

Description

@filipnavara

Building Loader\classloader\StaticVirtualMethods\GenericContext\GenericContextTest in NativeAOT win-x86 Debug mode yields:

ILC: D:\runtime\src\coreclr\jit\scopeinfo.cpp:1566
ILC: D:\runtime\src\coreclr\jit\scopeinfo.cpp:1566
ILC: Assertion failed 'lastBlockILEndOffset < beginOffs' in 'TestEntrypoint:Test_Ldftn_NonGenericNonGenericValuetype_GenericOverString_GenericOverString_GenericMethodOverString[System.__Canon]()' during 'Generate code' (IL size 47; hash 0xab6c92eb; MinOpts)

ILC: Assertion failed 'lastBlockILEndOffset < beginOffs' in 'TestEntrypoint:Test_Ldftn_GenericOverReferenceType_ClassAGenericValuetype_GenericOverInt32_GenericOverObject_NormalMethod[System.__Canon]()' during 'Generate code' (IL size 47; hash 0x89d04558; MinOpts)

ILC: D:\runtime\src\coreclr\jit\scopeinfo.cpp:1566
ILC: Assertion failed 'lastBlockILEndOffset < beginOffs' in 'TestEntrypoint:Test_Ldftn_GenericOverReferenceType_ClassAGenericClass_GenericOverString_GenericOverString_NormalMethod[System.__Canon]()' during 'Generate code' (IL size 47; hash 0xa314cc02; MinOpts)

Native stack trace:

[0x0]   KERNELBASE!wil::details::DebugBreak+0x2   0x3ba503b388   0x7ffd9f8eb9e9   
[0x1]   clrjit_win_aot_x86_x64!assertAbort+0x249   0x3ba503b390   0x7ffd9fb6c5c4   
[0x2]   clrjit_win_aot_x86_x64!CodeGen::siOpenScopesForNonTrackedVars+0xa4   0x3ba503d4c0   0x7ffd9fb6be2b   
[0x3]   clrjit_win_aot_x86_x64!CodeGen::siBeginBlock+0x15b   0x3ba503d510   0x7ffd9f8a2358   
[0x4]   clrjit_win_aot_x86_x64!CodeGen::genCodeForBBlist+0xaf8   0x3ba503d550   0x7ffd9f8969c3   
[0x5]   clrjit_win_aot_x86_x64!CodeGen::genGenerateMachineCode+0x683   0x3ba503da00   0x7ffd9f88a6cc   
[0x6]   clrjit_win_aot_x86_x64!CodeGenPhase::DoPhase+0x2c   0x3ba503da60   0x7ffd9fb3b157   
[0x7]   clrjit_win_aot_x86_x64!Phase::Run+0x87   0x3ba503daa0   0x7ffd9f88a688   
[0x8]   clrjit_win_aot_x86_x64!DoPhase+0x58   0x3ba503db20   0x7ffd9f89627b   

JIT dump for TestEntrypoint:Test_Ldftn_GenericOverTypeParameterGenericValuetype_GenericOverString_CuriouslyRecurringGeneric_GenericMethodOverTypeParameter:
GenericContextTest.txt

Metadata

Metadata

Assignees

Labels

arch-x64arch-x86area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions