Skip to content

Assertion failed 'm_dst->TypeGet() != TYP_STRUCT' with COMPlus_JitSkipArrayBoundCheck #61116

@kunalspathak

Description

@kunalspathak

Hits following assert with COMPlus_JitSkipArrayBoundCheck=1:

Assert failure(PID 11344 [0x00002c50], Thread: 35792 [0x8bd0]): Assertion failed 'm_dst->TypeGet() != TYP_STRUCT' in 'System.Reflection.PortableExecutable.PEHeaders:ReadSectionHeaders(byref):System.Collections.Immutable.ImmutableArray`1[SectionHeader]:this' during 'Morph - Global' (IL size 65)
    File: D:\git\runtime\src\coreclr\jit\morphblock.cpp Line: 256
    Image: D:\git\runtime\artifacts\tests\coreclr\windows.x64.Checked\tests\Core_Root\CoreRun.exe

Repro: https://gist.github.com/kunalspathak/c45a8eb1e10413ef7e4614d516e94fc4

Metadata

Metadata

Assignees

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions