Repository navigation
Description
This might be related to #124181 or #124976 or #122845. We've been seeing various corruptions in crossgen2 and ILC, both when native AOT compiled and when not native AOT compiled.
The special thing about "Crossgen2 failed with exitcode - -1073741819" is that this is a crash inside Helix.
AND WE GET A DUMP!!!:
0:006> k
# Child-SP RetAddr Call Site
00 00000061`84c7f220 00007ff7`b68b6fb8 crossgen2!SVR::GCHeap::Promote+0xb [D:\a\_work\1\s\src\runtime\src\coreclr\gc\gc.cpp @ 49915]
01 00000061`84c7f280 00007ff7`b68b5bea crossgen2!TGcInfoDecoder<AMD64GcInfoEncoding>::EnumerateLiveSlots+0x1238 [D:\a\_work\1\s\src\runtime\src\coreclr\vm\gcinfodecoder.cpp @ 1070]
02 00000061`84c7f700 00007ff7`b68bc966 crossgen2!CoffNativeCodeManager::EnumGcRefs+0x14a [D:\a\_work\1\s\src\runtime\src\coreclr\nativeaot\Runtime\windows\CoffNativeCodeManager.cpp @ 500]
03 00000061`84c7f7d0 00007ff7`b68af1bf crossgen2!EnumGcRefs+0x66 [D:\a\_work\1\s\src\runtime\src\coreclr\nativeaot\Runtime\GcEnum.cpp @ 153]
04 00000061`84c7f840 00007ff7`b68af02d crossgen2!Thread::GcScanRootsWorker+0x16f [D:\a\_work\1\s\src\runtime\src\coreclr\nativeaot\Runtime\thread.cpp @ 542]
05 00000061`84c7f900 00007ff7`b68bb4d8 crossgen2!Thread::GcScanRoots+0x8d [D:\a\_work\1\s\src\runtime\src\coreclr\nativeaot\Runtime\thread.cpp @ 425]
06 00000061`84c7fb70 00007ff7`b6918e2c crossgen2!GCToEEInterface::GcScanRoots+0x148 [D:\a\_work\1\s\src\runtime\src\coreclr\nativeaot\Runtime\gcenv.ee.cpp @ 125]
07 00000061`84c7fbd0 00007ff7`b690fb91 crossgen2!SVR::gc_heap::mark_phase+0x4dc [D:\a\_work\1\s\src\runtime\src\coreclr\gc\gc.cpp @ 30096]
08 00000061`84c7fce0 00007ff7`b690fa19 crossgen2!SVR::gc_heap::gc1+0x111 [D:\a\_work\1\s\src\runtime\src\coreclr\gc\gc.cpp @ 22563]
09 00000061`84c7fd60 00007ff7`b6911111 crossgen2!SVR::gc_heap::garbage_collect+0xc59 [D:\a\_work\1\s\src\runtime\src\coreclr\gc\gc.cpp @ 24733]
0a 00000061`84c7fe50 00007ff7`b691143e crossgen2!SVR::gc_heap::gc_thread_function+0x421 [D:\a\_work\1\s\src\runtime\src\coreclr\gc\gc.cpp @ 7329]
0b 00000061`84c7fed0 00007ff7`b68bae83 crossgen2!SVR::gc_heap::gc_thread_stub+0x7e [D:\a\_work\1\s\src\runtime\src\coreclr\gc\gc.cpp @ 37846]
0c 00000061`84c7ff10 00007ffc`cd0b84d4 crossgen2!<lambda_cfddccf0842510998c037a6768ae02c9>::operator()+0x63 [D:\a\_work\1\s\src\runtime\src\coreclr\nativeaot\Runtime\gcenv.ee.cpp @ 592]
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1357249
Build error leg or test failing: jit64_5.WorkItemExecution
Pull request: #126170
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "Crossgen2 failed with exitcode - -1073741819",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1357249
Error message validated: [Crossgen2 failed with exitcode - -1073741819]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 3/30/2026 6:18:08 AM UTC
Report
| Build | Definition | Test | Pull Request |
|---|---|---|---|
| 1357249 | dotnet/runtime | jit64_5.WorkItemExecution | #126170 |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 1 | 1 | 1 |
Metadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
MichalStrehovsky commentedon Mar 30, 2026
Regdisplay.IP is pointing to the instruction after
RhpResolveInterfaceMethodFastand we have been seeing these crashes since around late January so it would be a big coincidence if this wasn't from #122639.@jakobbotsch could you double check the GC information is correct? The dump can be pulled down with
But also this might be all moot if we can merge #123252.
mangod9 commentedon Mar 30, 2026
some analysis for diag mcp analysis of the dump:
mangod9 commentedon Mar 30, 2026
Here is the updated analysis:
Fix NativeAOT GC crash: populate volatile arg registers from Universa…
Capture crossgen2 crash dumps from build-agent bake step
Fix NativeAOT GC crash: populate volatile arg registers from Universa…