You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression_4.5.10: Assert failure: !CREATE_CHECK_STRING(!"Detected use of a corrupted OBJECTREF. Possible GC hole.") #134837
changed the title [-]Assert failure: !CREATE_CHECK_STRING(!"Detected use of a corrupted OBJECTREF. Possible GC hole.")[/-][+]Regression_4.5.10: Assert failure: !CREATE_CHECK_STRING(!"Detected use of a corrupted OBJECTREF. Possible GC hole.")[/+]on Sep 29, 2026
Assert failure(PID 5432 [0x00001538], Thread: 5284 [0x14a4]): !CREATE_CHECK_STRING(!"Detected use of a corrupted OBJECTREF. Possible GC hole.")
CORECLR! Object::Validate + 0xA9 (0x7376b279)
CORECLR! WKS::GCHeap::Promote + 0x17C (0x7353622c)
CORECLR! GcEnumObject + 0x15D (0x738e8aed)
CORECLR! EnumGcRefsX86 + 0x4CF (0x7364ab6f)
CORECLR! EECodeManager::EnumGcRefs + 0x1E4 (0x7364a644)
CORECLR! GcStackCrawlCallBack + 0x2B9 (0x738e8f99)
CORECLR! Thread::StackWalkFramesEx + 0x223 (0x737b46b3)
CORECLR! Thread::StackWalkFrames + 0x1BB (0x737b447b)
CORECLR! ScanStackRoots + 0x2CE (0x738e735e)
CORECLR! GCToEEInterface::GcScanRoots + 0x172 (0x738e5052)
File: D:\a\_work\1\s\src\coreclr\vm\object.cpp:618
Image: C:\h\w\AF0C0A2A\p\corerun.exe
Return code: 1
Raw output file: C:\h\w\AF0C0A2A\w\A34F0912\uploads\DevDiv_377155\DevDiv_377155\output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\AF0C0A2A\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true" DevDiv_377155.dll
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:\h\w\AF0C0A2A\w\A34F0912\e\JIT\Regression_3\Regression_3\../DevDiv_377155/DevDiv_377155/DevDiv_377155.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) in /__w/1/s/src/tests/Common/CoreCLRTestLibrary/OutOfProcessTest.cs:line 202
at Program.<>c__DisplayClass0_0.<<Main>$>g__TestExecutor107|108(StreamWriter tempLogSw, StreamWriter statsCsvSw, StreamWriter outOfProcessPlanWriter)
; Assembly listing for method System.Reflection.MethodBaseInvoker:InvokeDirectByRefWithFewArgs(System.Object,System.Span`1[System.Object],int):System.Object:this (FullOpts)
; Emitting BLENDED_CODE for x86 + VEX on Windows
; FullOpts code
...
000140 mov ecx, bword ptr [ebp-0x34]
; byrRegs +[ecx]
000143 add esi, ecx
; byrRegs +[esi] <----- ESI is byref
000145 xchg eax, edi
000147 xchg ecx, edi
; byrRegs -[ecx] +[edi]
000149 xchg edx, edi
; byrRegs -[edi] +[edx]
00014B xchg ebx, edi
; gcrRegs -[ebx] +[edi] <----- EDI is objref
00014D xchg esi, edi <----- ESI is swapped with EDI, but GC reporting is missing. EDI is reported as objref, but it actually contains byref -> bug
00014F jmp SHORT G_M51382_IG14
Activity
dotnet-policy-service commentedon Sep 29, 2026
Tagging subscribers to this area: @anicka-net, @dotnet/gc
See info in area-owners.md if you want to be subscribed.
[-]Assert failure: !CREATE_CHECK_STRING(!"Detected use of a corrupted OBJECTREF. Possible GC hole.")[/-][+]Regression_4.5.10: Assert failure: !CREATE_CHECK_STRING(!"Detected use of a corrupted OBJECTREF. Possible GC hole.")[/+]VincentBu commentedon Oct 8, 2026
Also failed in runtime-coreclr gcstress-extra 20261004.1
Failed tests:
Error message:
Stack trace:
dotnet-policy-service commentedon Oct 8, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
jkotas commentedon Oct 8, 2026
@dotnet/jit-contrib We have accumulated multiple GC hole crashes in last week or two. Please take a look before it gets out of hand.
jkotas commentedon Oct 8, 2026
jkotas commentedon Oct 8, 2026
Fix x86 GC holes in xchg/rorx and GC suspension of spinning threads (#…