runtime: Exit code 139 on 'dotnet new'

Looks like the same issue as https://github.com/dotnet/runtime/issues/28932 which was fixed in 2.1 and 2.2?

Core dump: https://dev.azure.com/dnceng/internal/_build/results?buildId=574320&view=ms.vss-test-web.build-test-results-tab&runId=18013826&resultId=120463&paneView=attachments and https://dev.azure.com/dnceng/internal/_build/results?buildId=564240&view=ms.vss-test-web.build-test-results-tab&runId=17753940&resultId=120476&paneView=attachments

I took a look at the first core dump: dotnet dump analyze shows:

00007FB47A9A46A0                  [InlinedCallFrame: 00007fb47a9a46a0] System.Net.Security.dll!Interop+Crypto.ErrReasonErrorString(UInt64)
00007FB47A9A46A0                  [InlinedCallFrame: 00007fb47a9a46a0] System.Net.Security.dll!Interop+Crypto.ErrReasonErrorString(UInt64)
00007FB47A9A4690 00007FB40C94DB9A System.IO.FileSystem.dll!ILStubClass.IL_STUB_PInvoke(UInt64) + 106
00007FB47A9A4720 00007FB409FBB487 System.Net.Security.dll!Interop+OpenSsl.CreateSslException(System.String) + 39 [/_/src/libraries/Common/src/Interop/Unix/System.Security.Cryptography.Native/Interop.OpenSsl.cs @ 625]
00007FB47A9A4750 00007FB409FB4D69 System.Net.Security.dll!Interop+OpenSsl.AllocateSslContext(System.Security.Authentication.SslProtocols, Microsoft.Win32.SafeHandles.SafeX509Handle, System.Security.Cryptography.SafeEvpPKeyHandle, System.Net.Security.EncryptionPolicy, System.Net.Security.SslAuthenticationOptions) + 185 [/_/src/libraries/Common/src/Interop/Unix/System.Security.Cryptography.Native/Interop.OpenSsl.cs @ 69]
00007FB47A9A47D0 00007FB409FB4C5D System.Net.Security.dll!System.Net.Security.SafeDeleteSslContext..ctor(System.Net.Security.SafeFreeSslCredentials, System.Net.Security.SslAuthenticationOptions) + 141 [/_/src/libraries/Common/src/System/Net/Security/Unix/SafeDeleteSslContext.cs @ 30]
00007FB47A9A4810 00007FB409FD7C5B System.Net.Security.dll!System.Net.Security.SslStreamPal.HandshakeInternal(System.Net.Security.SafeFreeCredentials, System.Net.Security.SafeDeleteSslContext ByRef, System.ReadOnlySpan`1<Byte>, Byte[] ByRef, System.Net.Security.SslAuthenticationOptions) + 155 [/_/src/libraries/System.Net.Security/src/System/Net/Security/SslStreamPal.Unix.cs @ 112]

gdb shows: #0 0x00007fb482f382c2 in __pthread_mutex_trylock (mutex=0x0) at ../nptl/pthread_mutex_trylock.c:172 for the first frame

Runtime version 5.0.0-preview.2.20119.9

@bartonjs @janvorli

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 32 (32 by maintainers)

Most upvoted comments

When it rains, it pours, eh? 😄 When Jan said he didn’t have time I pushed this up to my current task. Hopefully I’ll have a PR soon (though I don’t know how to test to see that it covered everything we cared about).