Skip to content

Segmentation fault in System.Net.Http.Functional.Tests on macOS on 8.0 #129439

@svick

Description

@svick

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1464640
Build error leg or test failing: System.Net.Http.Functional.Tests.WorkItemExecution
Pull request: #129250

Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

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

{
  "ErrorMessage": "./RunTests.sh: line 168: 13031 Segmentation fault: 11  \"$RUNTIME_PATH/dotnet\" exec --runtimeconfig System.Net.Http.Functional.Tests.runtimeconfig.json",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Console log: 'System.Net.Http.Functional.Tests' from job 86eb7e91-4939-49e8-ad16-247414e70c29 workitem 2e6e1a93-254f-4a10-876e-35287be907f1 (osx.15.amd64.open) executed on machine dci-mac-build-379 running macOS-15.2
+ ./RunTests.sh --runtime-path /tmp/helix/working/A5F908CF/p
----- start Mon Jun 15 14:25:29 EDT 2026 =============== To repro directly: =====================================================
pushd .
/tmp/helix/working/A5F908CF/p/dotnet exec --runtimeconfig System.Net.Http.Functional.Tests.runtimeconfig.json --depsfile System.Net.Http.Functional.Tests.deps.json xunit.console.dll System.Net.Http.Functional.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
popd
===========================================================================================================
/private/tmp/helix/working/A5F908CF/w/A5B908ED/e /private/tmp/helix/working/A5F908CF/w/A5B908ED/e
  Discovering: System.Net.Http.Functional.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Net.Http.Functional.Tests (found 1347 of 1791 test cases)
  Starting:    System.Net.Http.Functional.Tests (parallel test collections = on, max threads = 6)
    System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientEKUTest.HttpClient_ClientEKUServerAuth_Fails [SKIP]
      Condition(s) not met: "CanTestCertificates"
    System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientEKUTest.HttpClient_NoEKUServerAuth_Ok [SKIP]
      Condition(s) not met: "CanTestCertificates"
    System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientEKUTest.HttpClient_NoEKUClientAuth_Ok [SKIP]
      Condition(s) not met: "CanTestCertificates"
    System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientEKUTest.HttpClient_ServerEKUClientAuth_Fails [SKIP]
      Condition(s) not met: "CanTestCertificates"
    System.Net.Http.Functional.Tests.SyncHttpHandler_HttpClientHandler_Authentication_Test.Credentials_ServerUsesWindowsAuthentication_Success [SKIP]
      Condition(s) not met: "IsWindowsServerAvailable"
    System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClient_SelectedSites_Test.RetrieveSite_Succeeds [SKIP]
      Condition(s) not met: "IsSelectedSitesTestEnabled"
    System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClient_SelectedSites_Test.RetrieveSite_Debug_Helper [SKIP]
      Condition(s) not met: "IsSelectedSitesTestEnabled"
./RunTests.sh: line 168: 13031 Segmentation fault: 11  "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Net.Http.Functional.Tests.runtimeconfig.json --depsfile System.Net.Http.Functional.Tests.deps.json xunit.console.dll System.Net.Http.Functional.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/private/tmp/helix/working/A5F908CF/w/A5B908ED/e
----- end Mon Jun 15 14:25:37 EDT 2026 ----- exit code 139 ----------------------------------------------------------
exit code 139 means SIGSEGV Illegal memory access. Deref invalid pointer, overrunning buffer, stack overflow etc. Core dumped.
ulimit -c value: 0
+ export _commandExitCode=139
+ _commandExitCode=139
+ /usr/local/bin/python3.13 /tmp/helix/working/A5F908CF/p/reporter/run.py https://dev.azure.com/dnceng-public/ public 40500660 

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1464640
Error message validated: [./RunTests.sh: line 168: 13031 Segmentation fault: 11 "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Net.Http.Functional.Tests.runtimeconfig.json]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/15/2026 8:35:43 PM UTC

Report

Build Repository Test Pull Request
1464640 dotnet/runtime System.Net.Http.Functional.Tests.WorkItemExecution #129250

Summary

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Net.Httpblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions