Skip to content

Crash: access violation in coreclr!PgoManager::getPgoInstrumentationResults during tier-1 background JIT (Windows x86) #134695

Description

@lewing

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1613037
Build error leg or test failing: Build windows-x86 release CoreCLR_AllSubsets-System.Private.Xml.Tests
Pull request: #134676

Also seen on main (same frame, Windows x86 Release CoreCLR): Helix jobs 98eb605a-92e7-45bd-91e3-38e51ec14951 (System.Transactions.Local.Tests), 4749098d-8bf3-4bfe-b8fb-7e0f16da0fa0 (System.Collections.Concurrent.Tests), 3fdcb624-6a07-465c-a3de-068849c7ea6f (System.Resources.Extensions.Tests).

KBE authoring guidance (ci-failure-scan)
  • Error Details is for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.
  • Build Analysis parses only the single JSON block under Error Message.
  • ErrorMessage is a case-sensitive ordinal String.Contains substring copied verbatim from the failing log.
  • Set BuildRetry to true only for a clear infrastructure retry case. ExcludeConsoleLog disables Helix console-log scanning.

Error Details

The test process dies with 0xC0000005 while the tiered-compilation background worker is re-jitting a method at tier 1; the fault is in PgoManager::getPgoInstrumentationResults. The foreground test thread is unrelated (file cleanup in FileCleanupTestBase.Dispose), and the crash has hit many unrelated test assemblies.

(1c90.145c): Access violation - code c0000005 (first/second chance not available)
coreclr!StressLog::InlinedStressLogOn [inlined in coreclr!WatsonLastChance+0x1f6]
coreclr!WatsonLastChance+0x1f6
coreclr!EEPolicy::LogFatalError+0x607
coreclr!EEPolicy::HandleFatalError+0x123
coreclr!CLRVectoredExceptionHandlerPhase3+0xb8bc5
coreclr!CLRVectoredExceptionHandler+0xb1
ntdll!KiUserExceptionDispatcher+0xf
coreclr!PgoManager::getPgoInstrumentationResults+0x87
coreclr!CEECodeGenInfo::getPgoInstrumentationResults+0x180
clrjit!Compiler::compInitOptions+0x38a
clrjit!Compiler::compCompileHelper+0x107
clrjit!jitNativeCode+0x1bb
clrjit!CILJit::compileMethod+0x9b
coreclr!UnsafeJitFunction+0x56a
coreclr!MethodDesc::JitCompileCodeLocked+0x8d
coreclr!MethodDesc::PrepareCode+0x17b
coreclr!TieredCompilationManager::CompileCodeVersion+0x85
coreclr!TieredCompilationManager::OptimizeMethod+0x1a
coreclr!TieredCompilationManager::DoBackgroundWork+0x48e
coreclr!TieredCompilationManager::BackgroundWorkerStart+0xde
['System.Private.Xml.Tests' END OF WORK ITEM LOG: Command exited with -1073741819]

Error Message

{
  "ErrorMessage": [
    "Access violation - code c0000005",
    "coreclr!PgoManager::getPgoInstrumentationResults"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)

Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 2 hits in failure.log

Note

This issue was drafted with GitHub Copilot.

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1613037
Error message validated: [Access violation - code c0000005 coreclr!PgoManager::getPgoInstrumentationResults]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/26/2026 2:23:51 AM UTC

Report

Build Repository Test Pull Request
1643928 dotnet/runtime System.Collections.Concurrent.Tests.WorkItemExecution #134494
1643831 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #134356
1643450 dotnet/runtime Microsoft.Bcl.Memory.Tests.WorkItemExecution #128981
1643374 dotnet/runtime System.Net.Ping.Functional.Tests.WorkItemExecution #131259
1643315 dotnet/runtime System.Resources.Extensions.Compat.Tests.WorkItemExecution
1642984 dotnet/runtime System.Net.Ping.Functional.Tests.WorkItemExecution #136047
1642708 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #132381
1642687 dotnet/runtime System.DirectoryServices.Protocols.Tests.WorkItemExecution #136173
1642682 dotnet/runtime System.Threading.ThreadPool.Tests.WorkItemExecution #136180
1642091 dotnet/runtime ComInterfaceGenerator.Unit.Tests.WorkItemExecution #136147
1641684 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #136129
1641358 dotnet/runtime System.Net.WebSockets.Client.Tests.WorkItemExecution #136114
1641385 dotnet/runtime System.Net.Requests.Tests.WorkItemExecution #136116
1641325 dotnet/runtime System.Runtime.InteropServices.Tests.WorkItemExecution #135446
1640916 dotnet/runtime ComInterfaceGenerator.Unit.Tests.WorkItemExecution #135067
1640917 dotnet/runtime System.Net.Http.WinHttpHandler.Functional.Tests.WorkItemExecution #135066
1640914 dotnet/runtime System.Memory.Data.Tests.WorkItemExecution
1640524 dotnet/runtime System.IO.Compression.Brotli.Tests.WorkItemExecution #125304
1640455 dotnet/runtime System.Threading.Tasks.Tests.WorkItemExecution #135846
1640460 dotnet/runtime System.Net.Requests.Tests.WorkItemExecution #136063
1640112 dotnet/runtime System.Runtime.InteropServices.Tests.WorkItemExecution #136072
1639942 dotnet/runtime System.IO.FileSystem.Tests.WorkItemExecution #133384
1639890 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #135847
1639764 dotnet/runtime Microsoft.Extensions.Configuration.Binder.SourceGeneration.Tests.WorkItemExecution #136047
1639447 dotnet/runtime System.Runtime.Caching.Tests.WorkItemExecution #136011
1639432 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution
1639326 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution #131652
1639329 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #131062
1639011 dotnet/runtime System.IO.Compression.Brotli.Tests.WorkItemExecution
1638880 dotnet/runtime System.ComponentModel.Composition.Tests.WorkItemExecution #135820
1638493 dotnet/runtime Common.Tests.WorkItemExecution #135653
1638442 dotnet/runtime System.CodeDom.Tests.WorkItemExecution #135876
1638000 dotnet/runtime System.IO.FileSystem.Tests.WorkItemExecution #135622
1637884 dotnet/runtime System.Diagnostics.Process.Tests.WorkItemExecution #135928
1637881 dotnet/runtime System.Resources.ResourceManager.Tests.WorkItemExecution #135927
1637789 dotnet/runtime System.Runtime.InteropServices.Tests.WorkItemExecution #135916
1637459 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #135896
1637072 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #135867
1636650 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #134179
1636637 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #135758
1635058 dotnet/runtime Microsoft.Extensions.Configuration.Binder.SourceGeneration.Tests.WorkItemExecution #135758
1636515 dotnet/runtime System.IO.Pipes.Tests.WorkItemExecution #135566
1635980 dotnet/runtime System.Globalization.Tests.WorkItemExecution #133659
1635587 dotnet/runtime System.IO.Compression.ZipFile.Tests.WorkItemExecution #135785
1635347 dotnet/runtime System.Security.Cryptography.Pkcs.Tests.WorkItemExecution #135776
1635254 dotnet/runtime System.Data.Common.Tests.WorkItemExecution #135748
1634711 dotnet/runtime System.Runtime.Extensions.Tests.WorkItemExecution
1634670 dotnet/runtime System.Threading.Channels.Tests.WorkItemExecution #135748
1634493 dotnet/runtime System.Net.Http.Json.Functional.Tests.WorkItemExecution
1634485 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #135741
1634467 dotnet/runtime System.Dynamic.Runtime.Tests.WorkItemExecution #135732
1634136 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #135066
1633923 dotnet/runtime System.Globalization.Extensions.Tests.WorkItemExecution #135712
1633891 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #135691
1633828 dotnet/runtime System.IO.Tests.WorkItemExecution #135653
1633113 dotnet/runtime Microsoft.Extensions.Hosting.WindowsServices.Tests.WorkItemExecution #135621
1632862 dotnet/runtime System.Threading.Channels.Tests.WorkItemExecution #135553
1632654 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #135555
1632403 dotnet/runtime System.Composition.Tests.WorkItemExecution #135520
1632386 dotnet/runtime System.Threading.Channels.Tests.WorkItemExecution #135572
1632105 dotnet/runtime System.IO.FileSystem.AccessControl.Tests.WorkItemExecution #134423
1632077 dotnet/runtime System.Threading.Overlapped.Tests.WorkItemExecution #135621
1632074 dotnet/runtime JSImportGenerator.Unit.Tests.WorkItemExecution #135359
1631408 dotnet/runtime System.ComponentModel.EventBasedAsync.Tests.WorkItemExecution
1631385 dotnet/runtime System.Net.Ping.Functional.Tests.WorkItemExecution #135587
1631315 dotnet/runtime Microsoft.Extensions.HostFactoryResolver.Tests.WorkItemExecution
1630968 dotnet/runtime System.Security.Cryptography.Cng.Tests.WorkItemExecution #134883
1630887 dotnet/runtime System.IO.FileSystem.AccessControl.Tests.WorkItemExecution
1630692 dotnet/runtime System.Net.Ping.Functional.Tests.WorkItemExecution #135237
1630246 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #133263
1630062 dotnet/runtime System.Net.Sockets.Tests.WorkItemExecution #135446
1629562 dotnet/runtime System.Threading.Thread.Tests.WorkItemExecution #135475
1629206 dotnet/runtime System.ComponentModel.Composition.Tests.WorkItemExecution
1628919 dotnet/runtime System.Transactions.Local.Tests.WorkItemExecution #135250
1628726 dotnet/runtime System.Globalization.Extensions.Tests.WorkItemExecution #135360
1628668 dotnet/runtime System.Threading.ThreadPool.WindowsThreadPool.Tests.WorkItemExecution #133659
1628488 dotnet/runtime System.Threading.Tasks.Dataflow.Tests.WorkItemExecution #135438
1628124 dotnet/runtime Microsoft.Extensions.HostFactoryResolver.Tests.WorkItemExecution #133606
1627925 dotnet/runtime Microsoft.Extensions.Configuration.Binder.SourceGeneration.Tests.WorkItemExecution #135167
1627706 dotnet/runtime Microsoft.Extensions.Caching.Memory.Tests.WorkItemExecution
1627097 dotnet/runtime System.Runtime.Numerics.Tests.WorkItemExecution #135372
1626941 dotnet/runtime Microsoft.Extensions.HostFactoryResolver.Tests.WorkItemExecution #135302
1626704 dotnet/runtime System.IO.Compression.ZipFile.Tests.WorkItemExecution #135351
1626316 dotnet/runtime Microsoft.Extensions.HostFactoryResolver.Tests.WorkItemExecution #135278
1626281 dotnet/runtime System.Runtime.Tests.WorkItemExecution #135277
1625616 dotnet/runtime System.Runtime.Serialization.Schema.Tests.WorkItemExecution #135065
1625177 dotnet/runtime Microsoft.Extensions.Http.Tests.WorkItemExecution #135287
1625023 dotnet/runtime Microsoft.Extensions.Caching.Memory.Tests.WorkItemExecution #135278
1624541 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #134025
1624096 dotnet/runtime System.Net.Mail.Functional.Tests.WorkItemExecution #135067
1623955 dotnet/runtime System.IO.FileSystem.Watcher.Tests.WorkItemExecution #135210
1623535 dotnet/runtime System.IO.MemoryMappedFiles.Tests.WorkItemExecution #135220
1623034 dotnet/runtime System.Net.Http.Unit.Tests.WorkItemExecution #135196
1622670 dotnet/runtime System.Threading.ThreadPool.Tests.WorkItemExecution #135158
1622673 dotnet/runtime Microsoft.Extensions.Logging.Generators.Roslyn4.8.Tests.WorkItemExecution #135144
1622487 dotnet/runtime ComInterfaceGenerator.Unit.Tests.WorkItemExecution #135177
1622067 dotnet/runtime System.Globalization.Nls.Tests.WorkItemExecution #135156
1622044 dotnet/runtime System.Collections.Tests.WorkItemExecution #134813
1622039 dotnet/runtime System.Numerics.Tensors.Tests.WorkItemExecution
1621892 dotnet/runtime System.Runtime.InteropServices.Tests.WorkItemExecution #135144
Displaying 100 of 137 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
6 43 137

Activity

  1. added
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Sep 26, 2026
  2. added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Sep 26, 2026
  3. dotnet-policy-service commented on Sep 26, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
    See info in area-owners.md if you want to be subscribed.

  4. removed
    untriagedNew issue has not been triaged by the area owner
    on Oct 2, 2026
  5. added this to the 12.0.0 milestone on Oct 2, 2026
  6. self-assigned this
    on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions