Skip to content

dotnet exits with exit code 139 on linux, with a core file dumped #68393

Closed

Description

@mangod9

Build: https://dev.azure.com/dnceng/public/_build/results?buildId=1732324&view=logs&j=6f051c1a-c3e7-5cde-411e-64125624a208&t=961bb5d4-39cc-55d0-23ed-82f28319785b

Configuration: Build Browser wasm Linux Release WasmBuildTests

Build process exited with non-zero exit code: 139

output:
        Binlog path: /datadisks/disk1/work/B324093F/w/AB500975/uploads/xharness-output/logs/zr4xcvzb.3zt/rebuild_noop_Release.binlog
        Running /datadisks/disk1/work/B324093F/p/sdk-no-workload/dotnet publish -p:WasmBuildOnlyAfterPublish=true  /p:WasmBuildSupportDir=/datadisks/disk1/work/B324093F/p/build /p:EMSDK_PATH=/datadisks/disk1/work/B324093F/p/build/emsdk  /p:Configuration=Release /bl:"/datadisks/disk1/work/B324093F/w/AB500975/uploads/xharness-output/logs/zr4xcvzb.3zt/rebuild_noop_Release.binlog" /nologo /fl /flp:"v:diag,LogFile=/datadisks/disk1/work/B324093F/w/AB500975/uploads/xharness-output/logs/zr4xcvzb.3zt/rebuild_noop_Release.binlog.log" /v:minimal  
        WorkingDirectory: /datadisks/disk1/work/B324093F/w/AB500975/e/zr4xcvzb.3zt
        Setting environment variables for execution:
        	EMSDK_PATH = /datadisks/disk1/work/B324093F/p/build/emsdk
        	DOTNET_INSTALL_DIR = /datadisks/disk1/work/B324093F/p/sdk-no-workload
        	DOTNET_MULTILEVEL_LOOKUP = 0
        	DOTNET_SKIP_FIRST_TIME_EXPERIENCE = 1
        	_WasmStrictVersionMatch = true
        	MSBuildSDKsPath = 
        	PATH = /datadisks/disk1/work/B324093F/p/sdk-no-workload:/datadisks/disk1/work/B324093F/p/sdk-no-workload:/datadisks/disk1/work/B324093F/p/xharness-cli:/datadisks/disk1/work/B324093F/p/dotnet-cli:/datadisks/disk1/work/B324093F/p/build/emsdk/node/14.18.2_64bit/bin:/datadisks/disk1/work/B324093F/p/chrome-linux:/datadisks/disk1/work/B324093F/p/chromedriver_linux64:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
        	WasmNativeStrip = false
        [zr4xcvzb.3zt] /datadisks/disk1/work/B324093F/p/sdk-no-workload/sdk/7.0.100-preview.5.22220.23/MSBuild.dll /fl /nologo -maxcpucount -property:WasmBuildSupportDir=/datadisks/disk1/work/B324093F/p/build -property:EMSDK_PATH=/datadisks/disk1/work/B324093F/p/build/emsdk -property:Configuration=Release -p:WasmBuildOnlyAfterPublish=true -restore -target:Publish -verbosity:m /v:minimal /bl:/datadisks/disk1/work/B324093F/w/AB500975/uploads/xharness-output/logs/zr4xcvzb.3zt/rebuild_noop_Release.binlog /flp:v:diag,LogFile=/datadisks/disk1/work/B324093F/w/AB500975/uploads/xharness-output/logs/zr4xcvzb.3zt/rebuild_noop_Release.binlog.log ./rebuild_noop_Release.csproj
        [zr4xcvzb.3zt]   Determining projects to restore...
        [zr4xcvzb.3zt]   Restored /datadisks/disk1/work/B324093F/w/AB500975/e/zr4xcvzb.3zt/rebuild_noop_Release.csproj (in 99 ms).
        [zr4xcvzb.3zt] /datadisks/disk1/work/B324093F/p/sdk-no-workload/sdk/7.0.100-preview.5.22220.23/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(216,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [/datadisks/disk1/work/B324093F/w/AB500975/e/zr4xcvzb.3zt/rebuild_noop_Release.csproj]
Build Kind Start Time
1731369 Rolling 2022-21-04
1732324 Rolling 2022-22-04

Activity

  1. ghost added
    untriaged
    on Apr 22, 2022
  2. added
    wasm-aot-test
    on Apr 22, 2022
  3. added
    blocking-clean-ci
    on Apr 25, 2022
  4. added
    arch-wasm
    and removed
    untriaged
    wasm-aot-test
    on Apr 25, 2022
  5. radical commented on Apr 25, 2022

    @radical
    Member

    We have been seeing dotnet restore exiting with 139 frequently in the last few weeks, in runtime*, and perf pipelines.
    @rainersigwald Any idea if something broke recently?

  6. rainersigwald commented on Apr 25, 2022

    @rainersigwald
    Member

    Nothing I know of . . .

  7. added
    tracking-external-issue
    on May 5, 2022
  8. 14 remaining items

  9. mangod9 commented on Jul 6, 2022

    @mangod9
    MemberAuthor

    @mangod9 can we confirm that it is the same issue?

    will need to defer to @bartonjs and @wfurt for this.

  10. bartonjs commented on Jul 6, 2022

    @bartonjs
    Member

    If it's only happening on Ubuntu 18.04, then it's almost certainly that known problem.

  11. wfurt commented on Jul 7, 2022

    @wfurt
    Member

    The question is what we are in middle of SSL when the process is shutting down. Disposing SslStream properly before shutdown should fix it, right @bartonjs ?

  12. radical commented on Jul 21, 2022

    @radical
    Member

    @DrewScoggins can you we update to a newer version, from Ubuntu 18.04?

    We are seeing this issue on jobs for main too, for example - https://github.com/dotnet/runtime/pull/72275/checks?check_run_id=7451991854 . cc @akoeplinger @radekdoulik Can we update the image there?

    cc @lewing

  13. radical commented on Jul 25, 2022

    @radical
    Member

    This is hit frequently, especially on the dotnet-runtime-perf pipeline.

  14. radical commented on Aug 4, 2022

    @radical
    Member

    This looks to be an OpenSSL shutdown issue. Adding @bartonjs @wfurt since we have seen something similar a few weeks ago, and it was mentioned that this was a wont fix on Ubuntu 18.04. Perhaps we should update the OS for helix?

    @DrewScoggins this is for the perf pipeline. We hit this issue a few times a day, with dotnet restore, or dotnet build just exiting with exit code 139. Can we update the OS as suggested here?

    ping @DrewScoggins

  15. modified the milestones: 7.0.0, 8.0.0 on Aug 4, 2022
  16. ghost added
    untriaged
    on Aug 4, 2022
  17. removed
    untriaged
    on Aug 4, 2022
  18. bartonjs commented on Aug 4, 2022

    @bartonjs
    Member

    FWIW, there's now a bug on Ubuntu's side (https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1983100). Per the comments there, a fix has been built; hopefully it flows out to general distribution and we can stop having the position of "yeah, we get crashes on Ubuntu 18.04..."

  19. radical commented on Aug 17, 2022

    @radical
    Member

    FWIW, there's now a bug on Ubuntu's side (bugs.launchpad.net/ubuntu/+source/openssl/+bug/1983100). Per the comments there, a fix has been built; hopefully it flows out to general distribution and we can stop having the position of "yeah, we get crashes on Ubuntu 18.04..."

    🤞 We hit this pretty regularly on the dotnet-runtime-perf pipeline.

  20. ghost locked as resolved and limited conversation to collaborators on Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Infrastructure-monoblockedtracking-external-issue

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions