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
1663447 dotnet/runtime System.IO.Pipes.Tests.WorkItemExecution #136958
1663460 dotnet/runtime System.Net.Security.Tests.WorkItemExecution #136902
1663424 dotnet/runtime System.IO.Compression.Brotli.Tests.WorkItemExecution
1663137 dotnet/runtime System.Text.Encodings.Web.Tests.WorkItemExecution
1662910 dotnet/runtime System.Net.Http.WinHttpHandler.Functional.Tests.WorkItemExecution #136879
1662720 dotnet/runtime System.IO.Compression.Brotli.Tests.WorkItemExecution #136942
1662626 dotnet/runtime System.Net.Requests.Tests.WorkItemExecution #136915
1662142 dotnet/runtime System.Net.Quic.Functional.Tests.WorkItemExecution #136905
1661907 dotnet/runtime System.Threading.Tasks.Dataflow.Tests.WorkItemExecution #136917
1661660 dotnet/runtime System.Data.Common.Tests.WorkItemExecution #136566
1661367 dotnet/runtime System.Transactions.Local.Tests.WorkItemExecution
1661314 dotnet/runtime System.IO.Pipes.Tests.WorkItemExecution #136699
1661236 dotnet/runtime System.Speech.Tests.WorkItemExecution #136893
1661201 dotnet/runtime System.IO.Pipes.Tests.WorkItemExecution #135555
1660807 dotnet/runtime Microsoft.Extensions.FileSystemGlobbing.Tests.WorkItemExecution #136881
1660768 dotnet/runtime System.IO.Compression.Brotli.Tests.WorkItemExecution #136879
1660396 dotnet/runtime Microsoft.Extensions.Http.Tests.WorkItemExecution #136771
1660413 dotnet/runtime System.IO.Compression.Brotli.Tests.WorkItemExecution #136795
1660315 dotnet/runtime System.IO.Pipes.Tests.WorkItemExecution #136852
1660189 dotnet/runtime System.Net.Http.WinHttpHandler.Functional.Tests.WorkItemExecution #136847
1659901 dotnet/runtime LibraryImportGenerator.Unit.Tests.WorkItemExecution #136833
1659862 dotnet/runtime System.IO.Compression.Brotli.Tests.WorkItemExecution #136644
1658942 dotnet/runtime System.IO.Pipelines.Tests.WorkItemExecution #136809
1658832 dotnet/runtime System.IO.Compression.Brotli.Tests.WorkItemExecution #136795
1658823 dotnet/runtime System.IO.Compression.Brotli.Tests.WorkItemExecution #136793
1658771 dotnet/runtime System.Text.Encodings.Web.Tests.WorkItemExecution #136630
1658621 dotnet/runtime System.Runtime.Caching.Tests.WorkItemExecution #136783
1658586 dotnet/runtime System.IO.Compression.Brotli.Tests.WorkItemExecution #136782
1658549 dotnet/runtime System.DirectoryServices.Tests.WorkItemExecution
1658437 dotnet/runtime System.Threading.ThreadPool.WindowsThreadPool.Tests.WorkItemExecution #136751
1658109 dotnet/runtime System.Net.Security.Tests.WorkItemExecution
1658088 dotnet/runtime System.IO.Pipes.Tests.WorkItemExecution #136760
1657622 dotnet/runtime System.Diagnostics.StackTrace.Tests.WorkItemExecution #136751
1657525 dotnet/runtime System.IO.Pipes.Tests.WorkItemExecution
1657447 dotnet/runtime System.DirectoryServices.Tests.WorkItemExecution #133853
1657346 dotnet/runtime System.IO.Pipes.Tests.WorkItemExecution #136706
1657321 dotnet/runtime Microsoft.Extensions.Hosting.WindowsServices.Tests.WorkItemExecution #133167
1657326 dotnet/runtime System.Text.Json.SourceGeneration.Roslyn3.11.Tests.WorkItemExecution #131062
1657310 dotnet/runtime Microsoft.Extensions.Caching.Memory.Tests.WorkItemExecution
1657073 dotnet/runtime System.Linq.Tests.WorkItemExecution #133275
1656596 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution #136725
1656470 dotnet/runtime System.Net.NameResolution.Functional.Tests.WorkItemExecution #136719
1656437 dotnet/runtime Microsoft.Extensions.FileSystemGlobbing.Tests.WorkItemExecution #134787
1656211 dotnet/runtime System.DirectoryServices.Tests.WorkItemExecution #136424
1656216 dotnet/runtime System.Linq.AsyncEnumerable.Tests.WorkItemExecution #136684
1656138 dotnet/runtime System.Net.Security.Tests.WorkItemExecution #136706
1656072 dotnet/runtime ComInterfaceGenerator.Unit.Tests.WorkItemExecution #136704
1655961 dotnet/runtime System.Net.Requests.Tests.WorkItemExecution #136699
1655864 dotnet/runtime System.Net.WebClient.Tests.WorkItemExecution #136696
1655587 dotnet/runtime System.IO.Compression.ZipFile.Tests.WorkItemExecution #129734
1655532 dotnet/runtime System.Formats.Tar.Tests.WorkItemExecution #136686
1655369 dotnet/runtime System.ComponentModel.TypeConverter.Tests.WorkItemExecution #136677
1655041 dotnet/runtime System.Net.Quic.Functional.Tests.WorkItemExecution #135902
1654782 dotnet/runtime LibraryImportGenerator.Unit.Tests.WorkItemExecution #135446
1654490 dotnet/runtime Microsoft.Extensions.Configuration.Binder.SourceGeneration.Tests.WorkItemExecution #136364
1654457 dotnet/runtime System.Resources.ResourceManager.Tests.WorkItemExecution #136634
1654460 dotnet/runtime System.Text.Encodings.Web.Tests.WorkItemExecution #136635
1654423 dotnet/runtime System.Net.Mail.Functional.Tests.WorkItemExecution #133637
1654358 dotnet/runtime System.Globalization.Calendars.Tests.WorkItemExecution #136630
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
Displaying 100 of 173 results

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 13 173

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
  7. AndyAyersMS commented on Nov 2, 2026

    @AndyAyersMS
    Member

    Seems like this could be the same issue as in #125699

  8. added a commit that references this issue on Nov 4, 2026
    f856ecc
  9. reopened this on Nov 4, 2026
  10. lewing commented on Nov 4, 2026

    @lewing
    MemberAuthor

    reopening for release branches

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