Skip to content

stackoverflowtester Exit code: 0x0000008B, expected 0x00000086 #126502

Description

@MichalStrehovsky
Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/stackoverflow/stackoverflowtester/output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true stackoverflowtester.dll ''
Running stackoverflow test(smallframe main)
"Stack overflow."
"Repeated 174596 times:"
"--------------------------------"
"   at TestStackOverflow.Program.InfiniteRecursionC()"
"   at TestStackOverflow.Program.InfiniteRecursionB()"
"   at TestStackOverflow.Program.InfiniteRecursionA()"
"--------------------------------"
"   at TestStackOverflow.Program.Test(Boolean)"
"   at TestStackOverflow.Program.Main(System.String[])"
"@Exiting stack trace printing thread."
"@Stack trace printing helper thread exited."
"@Proceeding with exit."
"@Setting throwable."
"@Calling WatsonLastChance."
"@Terminating the process."
""
Running stackoverflow test(largeframe main)
"Stack overflow."
"Repeated 42 times:"
"--------------------------------"
"   at TestStackOverflow.Program.InfiniteRecursionB2()"
"   at TestStackOverflow.Program.InfiniteRecursionA2()"
"   at TestStackOverflow.Program.InfiniteRecursionC2()"
"--------------------------------"
"   at TestStackOverflow.Program.InfiniteRecursionB2()"
"   at TestStackOverflow.Program.InfiniteRecursionA2()"
"   at TestStackOverflow.Program.Test(Boolean)"
"   at TestStackOverflow.Program.Main(System.String[])"
"@Exiting stack trace printing thread."
""
System.Exception: Exit code: 0x0000008B, expected 0x00000086
   at TestStackOverflow.Program.TestStackOverflow(String testName, String testArgs, List`1& stderrLines)
   at TestStackOverflow.Program.TestStackOverflowLargeFrameMainThread()
   at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1365267
Build error leg or test failing: baseservices/exceptions/stackoverflow/stackoverflowtester/stackoverflowtester.cmd
Pull request: #126498

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["Running stackoverflow test(smallframe main)", "Exit code: 0x0000008B, expected 0x00000086"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1365267
Error message validated: [Running stackoverflow test(smallframe main) Exit code: 0x0000008B, expected 0x00000086]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 4/3/2026 1:07:40 PM UTC

Report

Build Definition Test Pull Request
1365664 dotnet/runtime baseservices/exceptions/stackoverflow/stackoverflowtester/stackoverflowtester.cmd
1365400 dotnet/runtime baseservices/exceptions/stackoverflow/stackoverflowtester/stackoverflowtester.cmd #126499
1365267 dotnet/runtime baseservices/exceptions/stackoverflow/stackoverflowtester/stackoverflowtester.cmd #126498

Summary

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

Activity

  1. dotnet-policy-service commented on Apr 3, 2026

    @dotnet-policy-service
    Contributor

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

  2. MichalStrehovsky commented on Apr 3, 2026

    @MichalStrehovsky
    MemberAuthor

    I'm a bot. Here are possible related and/or duplicate issues (I may be wrong):

    I thought it's that one too. But not a timeout.

  3. mangod9 commented on Apr 3, 2026

    @mangod9
    Member

    failure analysis:

    Issue #126502 — Complete Diagnosis
    
      Immediate Cause: Missing Architecture.Arm in test skip
    
      In stackoverflowtester.cs, the main thread largeframe test (line 126) skips for
      Arm64|X64|RiscV64|LoongArch64 on Unix but omits ARM32. The secondary thread version (line
      202) correctly includes Architecture.Arm.
    
      Why SIGSEGV instead of SIGABRT
    
       - Largeframe methods allocate 65,536 bytes per frame via nested LargeStruct65536
       - ARM32 JIT probes stack pages without moving SP
       - Guard page fault address is >8KB from SP → runtime's 2-page detection window in
      signal.cpp:679 misses it
       - SIGSEGV (exit 139) instead of expected SIGABRT (exit 134)
    
      Fix
    
      Add Architecture.Arm to line 126-127, matching the secondary thread version at line 201-202.
    
      Related
    
       - #110173 — Main tracker (assigned @janvorli), 8+ ARM32 hits in recent months
       - #107184 — ARM32 EHABI unwind limitations
       - #13519 — Stack probing doesn't move SP
       - Not a regression — pre-existing ARM32 limitation with inconsistent skip
    
  4. VincentBu commented on Apr 8, 2026

    @VincentBu
    Contributor

    Failed in: runtime-coreclr outerloop 20260407.4

    Failed tests:

    coreclr linux arm Checked no_tiered_compilation @ (Alpine.323.Arm32.Open)AzureLinux.3.Arm64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.23-helix-arm32v7
    - baseservices/exceptions/stackoverflow/stackoverflowtester/stackoverflowtester.cmd
    
    

    Error message:

    
    Return code:      1
    Raw output file:      /root/helix/work/workitem/uploads/stackoverflow/stackoverflowtester/output.txt
    Raw output:
    BEGIN EXECUTION
    /root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true stackoverflowtester.dll ''
    Running stackoverflow test(smallframe main)
    "Stack overflow."
    "Repeated 174556 times:"
    "--------------------------------"
    "   at TestStackOverflow.Program.InfiniteRecursionC()"
    "   at TestStackOverflow.Program.InfiniteRecursionB()"
    "   at TestStackOverflow.Program.InfiniteRecursionA()"
    "--------------------------------"
    "   at TestStackOverflow.Program.Test(Boolean)"
    "   at TestStackOverflow.Program.Main(System.String[])"
    "@Exiting stack trace printing thread."
    "@Stack trace printing helper thread exited."
    "@Proceeding with exit."
    "@Setting throwable."
    "@Calling WatsonLastChance."
    "@Terminating the process."
    ""
    Running stackoverflow test(largeframe main)
    "Stack overflow."
    "Repeated 42 times:"
    "--------------------------------"
    "   at TestStackOverflow.Program.InfiniteRecursionB2()"
    "   at TestStackOverflow.Program.InfiniteRecursionA2()"
    "   at TestStackOverflow.Program.InfiniteRecursionC2()"
    "--------------------------------"
    "   at TestStackOverflow.Program.InfiniteRecursionB2()"
    "   at TestStackOverflow.Program.InfiniteRecursionA2()"
    "   at TestStackOverflow.Program.Test(Boolean)"
    "   at TestStackOverflow.Program.Main(System.String[])"
    "@Exiting stack trace printing thread."
    ""
    System.Exception: Exit code: 0x0000008B, expected 0x00000086
       at TestStackOverflow.Program.TestStackOverflow(String testName, String testArgs, List`1& stderrLines)
       at TestStackOverflow.Program.TestStackOverflowLargeFrameMainThread()
       at __GeneratedMainWrapper.Main()
    Expected: 100
    Actual: 101
    END EXECUTION - FAILED
    Test Harness Exitcode is : 1
    To run the test:
    Set up CORE_ROOT and run.
    > /root/helix/work/workitem/e/baseservices/exceptions/baseservices-exceptions/../stackoverflow/stackoverflowtester/stackoverflowtester.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__TestExecutor158|0_159(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
    
  5. locked and limited conversation to collaborators on May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarch-arm32area-VM-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Type

No type

Projects

  • Status
    No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions