Skip to content

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

Open

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
1653337 dotnet/runtime System.Net.Ping.Functional.Tests.WorkItemExecution #136607
1653223 dotnet/runtime Microsoft.Extensions.Configuration.Binder.SourceGeneration.Tests.WorkItemExecution
1653140 dotnet/runtime System.Runtime.Tests.WorkItemExecution #136375
1651752 dotnet/runtime System.Configuration.ConfigurationManager.Tests.WorkItemExecution #136552
1651626 dotnet/runtime System.IO.Tests.WorkItemExecution #136452
1651471 dotnet/runtime Microsoft.Extensions.DependencyInjection.Tests.WorkItemExecution #136271
1651455 dotnet/runtime System.IO.FileSystem.Watcher.Tests.WorkItemExecution
1650949 dotnet/runtime System.IO.Tests.WorkItemExecution #136517
1650845 dotnet/runtime System.ComponentModel.Composition.Tests.WorkItemExecution #136513
1649833 dotnet/runtime System.Linq.Tests.WorkItemExecution #136454
1649805 dotnet/runtime System.Net.NameResolution.Functional.Tests.WorkItemExecution #136450
1649783 dotnet/runtime System.ComponentModel.Composition.Tests.WorkItemExecution #136452
1649445 dotnet/runtime System.Globalization.Extensions.Nls.Tests.WorkItemExecution #136469
1649066 dotnet/runtime System.Net.Http.WinHttpHandler.Functional.Tests.WorkItemExecution #136436
1648451 dotnet/runtime System.Runtime.Serialization.Formatters.Tests.WorkItemExecution #136385
1648310 dotnet/runtime System.Globalization.Extensions.Tests.WorkItemExecution
1648052 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution #136336
1647978 dotnet/runtime System.Linq.Parallel.Tests.WorkItemExecution #136381
1647900 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution #136364
1647356 dotnet/runtime System.Net.Requests.Tests.WorkItemExecution #136376
1647289 dotnet/runtime System.Net.Http.WinHttpHandler.Functional.Tests.WorkItemExecution #136381
1647235 dotnet/runtime System.Net.HttpListener.Tests.WorkItemExecution #136253
1647195 dotnet/runtime System.IO.Pipes.Tests.WorkItemExecution #136377
1647039 dotnet/runtime System.Diagnostics.Tracing.Tests.WorkItemExecution #136257
1646955 dotnet/runtime Microsoft.Extensions.DependencyInjection.Tests.WorkItemExecution #134356
1646856 dotnet/runtime System.Collections.NonGeneric.Tests.WorkItemExecution #130141
1646771 dotnet/runtime Microsoft.Extensions.Configuration.Functional.Tests.WorkItemExecution #136360
1646674 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #136359
1646670 dotnet/runtime System.IO.Pipes.Tests.WorkItemExecution #136358
1646363 dotnet/runtime System.ComponentModel.Annotations.Tests.WorkItemExecution
1646254 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution #136345
1646209 dotnet/runtime System.Net.HttpListener.Tests.WorkItemExecution #134494
1646005 dotnet/runtime System.Net.Http.Unit.Tests.WorkItemExecution #133115
1645911 dotnet/runtime System.Collections.Concurrent.Tests.WorkItemExecution
1645869 dotnet/runtime LibraryImportGenerator.Unit.Tests.WorkItemExecution #135903
1645807 dotnet/runtime System.Diagnostics.StackTrace.Tests.WorkItemExecution #136309
1645761 dotnet/runtime System.Net.WebSockets.Tests.WorkItemExecution #135886
1645682 dotnet/runtime System.IO.MemoryMappedFiles.Tests.WorkItemExecution #136244
1645668 dotnet/runtime System.ComponentModel.EventBasedAsync.Tests.WorkItemExecution #134494
1645569 dotnet/runtime System.Console.Tests.WorkItemExecution #132584
1645332 dotnet/runtime Microsoft.Extensions.FileSystemGlobbing.Tests.WorkItemExecution #136214
1644919 dotnet/runtime System.IO.Tests.WorkItemExecution #136271
1644849 dotnet/runtime System.Composition.Hosting.Tests.WorkItemExecution
1644706 dotnet/runtime Microsoft.Extensions.Configuration.Binder.SourceGeneration.Tests.WorkItemExecution #136185
1644626 dotnet/runtime System.Diagnostics.StackTrace.Tests.WorkItemExecution #136257
1644412 dotnet/runtime System.IO.FileSystem.AccessControl.Tests.WorkItemExecution #135446
1644363 dotnet/runtime System.Net.Requests.Tests.WorkItemExecution #135886
1644295 dotnet/runtime System.Net.Security.Tests.WorkItemExecution
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
Displaying 100 of 167 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
3 40 167

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