Skip to content

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

Closed

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
0 0 1

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on Jun 15, 2026
  2. changed the title [-]Segmentation fault in System.Net.Http.Functional.Tests on macOS[/-] [+]Segmentation fault in System.Net.Http.Functional.Tests on macOS on 8.0[/+] on Jun 15, 2026
  3. added
    untriaged
    on Jun 15, 2026
  4. dotnet-policy-service commented on Jun 15, 2026

    @dotnet-policy-service
    Contributor

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

  5. MihaZupan commented on Jun 30, 2026

    @MihaZupan
    Member

    Just a single occurrence on the 8.0 branch, I don't think it's worth keeping around to track atm.

  6. removed
    untriaged
    on Jun 30, 2026
  7. locked and limited conversation to collaborators on Jul 30, 2026
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 Errorarea-System.Net.Httpblocking-clean-ci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions