See https://github.com/dotnet/runtime/pull/65675#issuecomment-1049044725 Seems like this might be a GC issue? Fails in main with a checked build and no complus options set. ``` TID 9f88: thread [os id=0x084918 id=0x084] redirect failed due to ContextFlags of 0xc810000b Assert failure(PID 60484 [0x0000ec44], Thread: 18712 [0x4918]): Consistency check failed: AV in clr at this callstack: ------ CORECLR! PinObject + 0x90 (0x00007ffb`e54e4190) CORECLR! ScanConsecutiveHandlesWithoutUserData + 0x65 (0x00007ffb`e54e2815) CORECLR! BlockScanBlocksWithoutUserData + 0x44 (0x00007ffb`e54e2224) CORECLR! xxxTableScanQueuedBlocksAsync + 0x1B5 (0x00007ffb`e54e30e5) CORECLR! xxxAsyncSegmentIterator + 0x56 (0x00007ffb`e54e2dd6) CORECLR! TableScanHandles + 0x281 (0x00007ffb`e54e2bf1) CORECLR! xxxTableScanHandlesAsync + 0xBF (0x00007ffb`e54e2ebf) CORECLR! HndScanHandlesForGC + 0x1B8 (0x00007ffb`e54dfca8) CORECLR! Ref_TracePinningRoots + 0x116 (0x00007ffb`e54e6526) CORECLR! GCScan::GcScanHandles + 0x94 (0x00007ffb`e54e8a14) CORECLR! WKS::gc_heap::background_mark_phase + 0x723 (0x00007ffb`e5537983) CORECLR! WKS::gc_heap::gc1 + 0x28A (0x00007ffb`e55490da) CORECLR! WKS::gc_heap::bgc_thread_function + 0xD1 (0x00007ffb`e553bf11) CORECLR! <lambda_d9a0428bbecf3d379716300c87d22bd6>::operator() + 0xA1 (0x00007ffb`e51ad611) KERNEL32! BaseThreadInitThunk + 0x10 (0x00007ffc`594154e0) NTDLL! RtlUserThreadStart + 0x2B (0x00007ffc`5afa485b) ----- .AV on tid=0x4918 (18712), cxr=0000005367D7EB00, exr=0000005367D7EFF0 ```
Activity
mangod9 commentedon Jul 19, 2022
Believe this issue was fixed as part of regions enablement. Please reopen if its still failing.