Skip to content

[ci-scan] Test failure: GC/API/GC/Collect_Aggressive_LargePages segfaults with SIGSEGV #130211

Open

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1487780
Build error leg or test failing: coreclr Pri1 Runtime Tests Run GCStandAlone linux x64 checked - GC/API/GC/Collect_Aggressive_LargePages

Pipeline: runtime-coreclr gc-standalone (definition 146), branch main. The failure reproduces across the GCStandAlone linux legs and persists into follow-up build 1491722.

Error Details

The GC/API/GC/Collect_Aggressive_LargePages test crashes with a native segmentation fault (signal 11). The test harness records exit code 139 (128 + SIGSEGV) against an expected 100:

Running test: GC/API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.cmd
.../API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.sh: line 248: <pid> Segmentation fault      (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"
Expected: 100
Actual: 139
Failed test: GC/API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.cmd

Error Message

{
  "ErrorMessage": [
    "Collect_Aggressive_LargePages.sh: line 248:",
    "Failed test: GC/API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.cmd"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

First build it occurred

Earliest occurrence in the scanned window is build 1470804 (2026-06-18); the segfault then recurs continuously through source build 1487780 and follow-up build 1491722. Persistent across the entire scanned window; true origin may predate 2026-06-18.

Duplicate search

Searched open and closed Known Build Error issues for Collect_Aggressive_LargePages and the segfault signature: no existing KBE. Related: previously tracked as #127668 (closed 2026-06-17 as completed, but this segfault has continued to recur since that close).


Filed by the CI outer-loop failure scanner (detection only). Mitigation — a fix PR or owner hand-off — is handled by the companion ci-failure-fix workflow, which walks open [ci-scan] KBEs.

Note

This issue was generated with the assistance of GitHub Copilot (AI). Signatures and build references were verified against public AzDO / Helix logs.

Note

🔒 Integrity filter blocked 5 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #114222 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #127541 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #117370 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #50848 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #19341 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 12.9M · ◷

Report

Summary

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

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Jul 5, 2026
  2. added
    untriaged
    on Jul 5, 2026
  3. github-actions commented on Jul 6, 2026

    @github-actions
    ContributorAuthor

    Workflow artifact: ci-fix
    Artifact kind: handoff
    Linked KBE: #130211

    Root-cause analysis (read-only hand-off)

    GC/API/GC/Collect_Aggressive_LargePages crashes with a native segmentation fault under runtime-coreclr gc-standalone (AzDO definition 146) on linux x64:

    Collect_Aggressive_LargePages.sh: line 248: <pid> Segmentation fault (core dumped) $LAUNCHER $ExePath ...
    Expected: 100
    Actual: 139
    

    Exit code 139 is 128 + SIGSEGV. The test drives an aggressive GC.Collect while large pages are in use, and the crash is inside native GC — a GC product defect, not a test issue. GC codegen/product fixes are out of bounds for an automated PR (and there is no correct test-side change), so this is a hand-off.

    Evidence

    Suggested reviewers / area contacts

    • area-GC-coreclr: @anicka-net, @dotnet/gc

    Note

    This root-cause hand-off was generated by an AI/Copilot agent (ci-failure-fix). No code change was produced because the failure is a native GC crash that must not be worked around in test code. Please verify before acting.

    Note

    🔒 Integrity filter blocked 6 items

    The following items were blocked because they don't meet the GitHub integrity level.

    To allow these resources, lower min-integrity in your GitHub frontmatter:

    tools:
      github:
        min-integrity: approved  # merged | approved | unapproved | none

    Generated by CI Outer-Loop Failure Fixer · ● 9.2M · ◷

  4. dotnet-policy-service commented on Jul 6, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @anicka-net, @dotnet/gc
    See info in area-owners.md if you want to be subscribed.

  5. added this to the Future milestone on Jul 7, 2026
  6. removed
    untriaged
    on Jul 8, 2026
  7. VincentBu commented on Jul 28, 2026

    @VincentBu
    Contributor

    Failed in: gc-standalone 20260726.1

    Failed tests:

    coreclr linux x64 Checked gcstandaloneserver @ AzureLinux.3.Amd64.Open
    - GC/API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.cmd
    coreclr linux arm64 Checked gcstandaloneserver @ AzureLinux.3.Arm64.Open
    - GC/API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.cmd
    
    

    Error message:

    waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
    /datadisks/disk1/work/A19C090B/w/B06D09FB/e/GC/GC/../API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.sh: line 248: 10703 Segmentation fault      (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"
    
    Return code:      1
    Raw output file:      /datadisks/disk1/work/A19C090B/w/B06D09FB/uploads/API/GC/Collect_Aggressive_LargePages/output.txt
    Raw output:
    BEGIN EXECUTION
    /datadisks/disk1/work/A19C090B/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true Collect_Aggressive_LargePages.dll ''
    [createdump] Gathering state for process 10703 corerun
    [createdump] Crashing thread 29cf signal 11 (000b)
    [createdump] Writing crash report to file /datadisks/disk1/dumps/coredump.10703.dmp.crashreport.json
    [createdump] Crash report successfully written
    [createdump] Writing minidump with heap to file /datadisks/disk1/dumps/coredump.10703.dmp
    [createdump] Written 43945984 bytes (10729 pages) to core file
    [createdump] Target process is alive
    [createdump] Dump successfully written in 250ms
    Expected: 100
    Actual: 139
    END EXECUTION - FAILED
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > /datadisks/disk1/work/A19C090B/w/B06D09FB/e/GC/GC/../API/GC/Collect_Aggressive_LargePages/Collect_Aggressive_LargePages.sh
    

    Stack trace:

       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 135
       at Program.<<Main>$>g__TestExecutor24|0_25(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build Erroragentic-workflowsarea-GC-coreclrblocking-clean-ci

    Type

    No type

    Projects

    • Status
      No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions