Skip to content

Assert failure: !CREATE_CHECK_STRING(!"Detected use of a corrupted OBJECTREF. Possible GC hole.") #129682

Description

@VincentBu

Failed in: runtime-coreclr gcstress-extra 20260620.1

Failed tests:

coreclr windows x64 Checked gcstress0xc_disabler2r_jitstress2 @ Windows.10.Amd64.Open
- Loader/classloader/RefFields/Validate/Validate.cmd
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows x64 Checked gcstress0xc_tailcallstress @ Windows.10.Amd64.Open
- Loader/classloader/RefFields/Validate/Validate.cmd
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows x64 Checked gcstress0xc_disabler2r_heapverify1 @ Windows.10.Amd64.Open
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows x64 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.10.Amd64.Open
- Loader/classloader/RefFields/Validate/Validate.cmd
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows x64 Checked gcstress0xc_jitstress2 @ Windows.10.Amd64.Open
- Loader/classloader/RefFields/Validate/Validate.cmd
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows x64 Checked gcstress0xc_jitstress1 @ Windows.10.Amd64.Open
- Loader/classloader/RefFields/Validate/Validate.cmd
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows x64 Checked gcstress0xc_disabler2r @ Windows.10.Amd64.Open
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows arm64 Checked gcstress0xc_tailcallstress @ Windows.11.Arm64.Open
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows arm64 Checked gcstress0xc_disabler2r_jitstress2 @ Windows.11.Arm64.Open
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows arm64 Checked gcstress0xc_disabler2r_heapverify1 @ Windows.11.Arm64.Open
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows arm64 Checked gcstress0xc_jitstress1 @ Windows.11.Arm64.Open
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows arm64 Checked gcstress0xc_disabler2r @ Windows.11.Arm64.Open
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows arm64 Checked gcstress0xc_jitminopts_heapverify1 @ Windows.11.Arm64.Open
- Loader/classloader/RefFields/Validate/Validate.cmd
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd
coreclr windows arm64 Checked gcstress0xc_jitstress2 @ Windows.11.Arm64.Open
- Loader/classloader/RefFields/Validate/Validate.cmd
- Loader/classloader/SequentialLayout/ManagedSequential/LargeStructSize_CoreCLR/LargeStructSize_CoreCLR.cmd

Error message:


Assert failure(PID 8964 [0x00002304], Thread: 6528 [0x1980]): !CREATE_CHECK_STRING(!"Detected use of a corrupted OBJECTREF. Possible GC hole.")

CORECLR! `Object::ValidateInner'::`1'::catch$7 + 0x139 (0x00007ffb`66508cc9)
CORECLR! CallSettingFrame_LookupContinuationIndex + 0x20 (0x00007ffb`66432c70)
CORECLR! _FrameHandler4::CxxCallCatchBlock + 0x1DE (0x00007ffb`6643127e)
NTDLL! RtlCaptureContext + 0x3C3 (0x00007ffb`8e95a523)
CORECLR! Object::ValidateInner + 0x119 (0x00007ffb`65f22b69)
CORECLR! Object::Validate + 0xB0 (0x00007ffb`65f22a10)
CORECLR! TGcInfoDecoder<AMD64GcInfoEncoding>::ReportRegisterToGC + 0x1A6 (0x00007ffb`663d1976)
CORECLR! TGcInfoDecoder<AMD64GcInfoEncoding>::EnumerateLiveSlots + 0x1726 (0x00007ffb`663cd816)
CORECLR! EECodeManager::EnumGcRefs + 0x2E7 (0x00007ffb`65dcd397)
CORECLR! GcStackCrawlCallBack + 0x34B (0x00007ffb`660fcceb)
    File: D:�_work1ssrccoreclr�mobject.cpp:626
    Image: C:hwA4D408EDpcorerun.exe


Return code:      1
Raw output file:      C:hwA4D408EDwB3BC0980uploadsclassloaderRefFieldsValidateoutput.txt
Raw output:
BEGIN EXECUTION
 "C:hwA4D408EDpcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  Validate.dll 
Validate_Invalid_RefField_Fails...
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwA4D408EDwB3BC0980eLoaderLoader../classloader/RefFields/Validate/Validate.cmd

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 135
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor361|0_362(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions