Skip to content

Assert failure: pMT != NULL #33298

@BruceForstall

Description

@BruceForstall

Starting with this "runtime-coreclr jitstress" run (20200304.1):

https://dev.azure.com/dnceng/public/_build/results?buildId=547324&view=ms.vss-test-web.build-test-results-tab

thousands of tests are failing with:

Assert failure(PID 6276 [0x00001884], Thread: 2184 [0x0888]): pMT != NULL

CORECLR! SigPointer::GetTypeHandleThrowing + 0xBC3 (0x00007ffe2a9f2f4f)
CORECLR! SigPointer::GetTypeHandleThrowing + 0x1606 (0x00007ffe2a9f3992)
CORECLR! ClassLoader::LoadTypeDefOrRefOrSpecThrowing + 0x8A1 (0x00007ffe2a80c055)
CORECLR! MethodTableBuilder::LoadExactInterfaceMap + 0x4D8 (0x00007ffe2ac747bc)
CORECLR! ClassLoader::LoadExactParentAndInterfacesTransitively + 0x56F (0x00007ffe2aa847b7)
CORECLR! ClassLoader::LoadExactParents + 0x4B0 (0x00007ffe2aa84ce4)
CORECLR! ClassLoader::DoIncrementalLoad + 0x585 (0x00007ffe2a8005c9)
CORECLR! ClassLoader::LoadTypeHandleForTypeKey_Body + 0xC96 (0x00007ffe2a80fa12)
CORECLR! ClassLoader::LoadTypeHandleForTypeKey + 0x217 (0x00007ffe2a80e51f)
CORECLR! ClassLoader::LoadTypeDefThrowing + 0xF01 (0x00007ffe2a80dff9)
 File: F:\workspace\_work\1\s\src\coreclr\src\vm\binder.h Line: 407
 Image: C:\h\w\9C09087E\p\CoreRun.exe


Return code: 1
Raw output file: C:\h\w\9C09087E\w\A57B0884\e\JIT\opt\Reports\JIT.opt\ObjectStackAllocation\ObjectStackAllocationTests\ObjectStackAllocationTests.output.txt
Raw output:
BEGIN EXECUTION
 "C:\h\w\9C09087E\p\corerun.exe" ObjectStackAllocationTests.dll 
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\h\w\9C09087E\p
> C:\h\w\9C09087E\w\A57B0884\e\JIT\opt\ObjectStackAllocation\ObjectStackAllocationTests\ObjectStackAllocationTests.cmd
Expected: True
Actual: False

with JitStress=1, only JIT\\opt\\ObjectStackAllocation\\ObjectStackAllocationTests\\ObjectStackAllocationTests.cmd fails.

with JitStress=2, thousands of tests fail.

affects all platforms.

Metadata

Metadata

Assignees

Labels

JitStressCLR JIT issues involving JIT internal stress modesarea-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