Skip to content

[9.0] System.Security.Cryptography.Tests native crash in RSAOpenSsl: !newKey.IsInvalid assert failure #107929

@carlossanlop

Description

@carlossanlop

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=810262
Build error leg or test failing: linux-x64 Debug Mono_Interpreter_LibrariesTests - System.Security.Cryptography.Tests

Error Message

{
  "ErrorMessage" : ["!newKey.IsInvalid", "RSAOpenSsl.cs:line 657"],
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
Process terminated. Assertion failed.
!newKey.IsInvalid
   at System.Diagnostics.DebugProvider.Fail(String message, String detailMessage) in /_/src/libraries/System.Private.CoreLib/src/System/Diagnostics/DebugProvider.cs:line 22
   at System.Diagnostics.Debug.Fail(String message, String detailMessage) in /_/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Debug.cs:line 134
   at System.Security.Cryptography.RSAOpenSsl.SetKey(SafeEvpPKeyHandle newKey) in /_/src/libraries/Common/src/System/Security/Cryptography/RSAOpenSsl.cs:line 657
   at System.Security.Cryptography.RSAOpenSsl..ctor(SafeEvpPKeyHandle pkeyHandle) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/RSAOpenSsl.cs:line 83
   at System.Security.Cryptography.X509Certificates.OpenSslX509CertificateReader.GetRSAPrivateKey() in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/OpenSslX509CertificateReader.cs:line 558
   at System.Security.Cryptography.X509Certificates.CertificateExtensionsCommon.GetPrivateKey[RSA](X509Certificate2 certificate, Predicate`1 matchesConstraints) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/CertificateExtensionsCommon.cs:line 61
   at System.Security.Cryptography.X509Certificates.RSACertificateExtensions.GetRSAPrivateKey(X509Certificate2 certificate) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/RSACertificateExtensions.cs:line 27
   at System.Security.Cryptography.X509Certificates.Tests.CertTests.<>c.<RaceDisposeAndKeyAccess>b__12_1(Object cert) in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/CertTests.cs:line 307

=================================================================
	Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Unhandled Exception:
System.Diagnostics.DebugProvider+DebugAssertException: !newKey.IsInvalid
   at System.Diagnostics.DebugProvider.Fail(String message, String detailMessage) in /_/src/libraries/System.Private.CoreLib/src/System/Diagnostics/DebugProvider.cs:line 22
   at System.Diagnostics.Debug.Fail(String message, String detailMessage) in /_/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Debug.cs:line 134
   at System.Security.Cryptography.RSAOpenSsl.SetKey(SafeEvpPKeyHandle newKey) in /_/src/libraries/Common/src/System/Security/Cryptography/RSAOpenSsl.cs:line 657
   at System.Security.Cryptography.RSAOpenSsl..ctor(SafeEvpPKeyHandle pkeyHandle) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/RSAOpenSsl.cs:line 83
   at System.Security.Cryptography.X509Certificates.OpenSslX509CertificateReader.GetRSAPrivateKey() in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/OpenSslX509CertificateReader.cs:line 558
   at System.Security.Cryptography.X509Certificates.CertificateExtensionsCommon.GetPrivateKey[RSA](X509Certificate2 certificate, Predicate`1 matchesConstraints) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/CertificateExtensionsCommon.cs:line 61
   at System.Security.Cryptography.X509Certificates.RSACertificateExtensions.GetRSAPrivateKey(X509Certificate2 certificate) in /_/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/RSACertificateExtensions.cs:line 27
   at System.Security.Cryptography.X509Certificates.Tests.CertTests.<>c.<RaceDisposeAndKeyAccess>b__12_1(Object cert) in /_/src/libraries/System.Security.Cryptography/tests/X509Certificates/CertTests.cs:line 307

=================================================================
	Native stacktrace:
=================================================================
	0x75b1b89fa8ff - Unknown
	0x75b1b899ff6e - Unknown
	0x75b1b89fa1b1 - Unknown
	0x75b1b93a6140 - Unknown
	0x75b1b8eccd51 - Unknown
	0x75b1b8eb6537 - Unknown
	0x75b1b8af5290 - Unknown
	0x75b1b8af7709 - Unknown
	0x75b1b8a0dfe2 - Unknown
	0x75b1b8a0c725 - Unknown
	0x75b1b89fe4b9 - Unknown
	0x75b1b89fc046 - Unknown
	0x75b1b8b31aa7 - Unknown
	0x75b1b8b49c19 - Unknown
	0x75b1b939aea7 - Unknown
	0x75b1b8f8facf - Unknown

=================================================================
	External Debugger Dump:
=================================================================
[New LWP 22]
[New LWP 23]
[New LWP 24]
[New LWP 25]
[New LWP 28]
[New LWP 29]
[New LWP 30]
[New LWP 31]
[New LWP 32]
[New LWP 33]
[New LWP 35]
[New LWP 175]
[New LWP 197]
[New LWP 445]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
DW_FORM_rnglistx index pointing outside of .debug_rnglists offset array [in module /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libhostpolicy.so.dbg]
DW_FORM_rnglistx index pointing outside of .debug_rnglists offset array [in module /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so.dbg]
DW_FORM_rnglistx index pointing outside of .debug_rnglists offset array [in module /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libSystem.Native.so.dbg]
futex_wait_cancelable (private=0, expected=0, futex_word=0x5dec1a58d524) at ../sysdeps/nptl/futex-internal.h:186
186	../sysdeps/nptl/futex-internal.h: No such file or directory.
  Id   Target Id                                        Frame 
* 1    Thread 0x75b1b8e8f740 (LWP 21) "dotnet"          futex_wait_cancelable (private=0, expected=0, futex_word=0x5dec1a58d524) at ../sysdeps/nptl/futex-internal.h:186
  2    Thread 0x75b1b7fff700 (LWP 22) "SGen worker"     futex_wait_cancelable (private=0, expected=0, futex_word=0x75b1b8c0a3a8 <work_cond+40>) at ../sysdeps/nptl/futex-internal.h:186
  3    Thread 0x75b1b6010700 (LWP 23) ".NET EventPipe"  0x000075b1b8f83a0f in __GI___poll (fds=0x75b1b0002890, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  4    Thread 0x75b1b5e0f700 (LWP 24) "Finalizer"       futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x75b1b8bfb8f0 <finalizer_sem>) at ../sysdeps/nptl/futex-internal.h:323
  5    Thread 0x75b1b47fb700 (LWP 25) ".NET SigHandler" __libc_read (nbytes=1, buf=0x75b1b47faee7, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
  6    Thread 0x75b1ad6b4700 (LWP 28) ".NET Timer"      futex_wait_cancelable (private=0, expected=0, futex_word=0x75b194005ca4) at ../sysdeps/nptl/futex-internal.h:186
  7    Thread 0x75b1ad35e700 (LWP 29) ".NET TP Worker"  0x000075b1addcea25 in ERR_clear_error () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
  8    Thread 0x75b1ad05c700 (LWP 30) ".NET TP Gate"    futex_abstimed_wait_cancelable (private=0, abstime=0x75b1ad05b768, clockid=-1392134448, expected=0, futex_word=0x75b18c00ecc4) at ../sysdeps/nptl/futex-internal.h:323
  9    Thread 0x75b1aceb7700 (LWP 31) ".NET Sockets"    0x000075b1b8f8fdf6 in epoll_wait (epfd=9, events=0x75b198082490, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
  10   Thread 0x75b1acba1700 (LWP 32) ".NET TP Worker"  futex_abstimed_wait_cancelable (private=0, abstime=0x75b1acb9f808, clockid=-1397098640, expected=0, futex_word=0x75b1840967e0) at ../sysdeps/nptl/futex-internal.h:323
  11   Thread 0x75b1ae4e6700 (LWP 33) ".NET Long Runni" futex_wait_cancelable (private=0, expected=0, futex_word=0x75b19ccbd384) at ../sysdeps/nptl/futex-internal.h:186
  12   Thread 0x75b18bcff700 (LWP 35) ".NET TP Worker"  futex_abstimed_wait_cancelable (private=0, abstime=0x75b18bcfd048, clockid=-1949315136, expected=0, futex_word=0x75b18bcfd0c8) at ../sysdeps/nptl/futex-internal.h:323
  13   Thread 0x75b18b9fd700 (LWP 175) ".NET TP Worker" futex_abstimed_wait_cancelable (private=0, abstime=0x75b18b9fb168, clockid=-1952468768, expected=0, futex_word=0x75b18b9fb1e8) at ../sysdeps/nptl/futex-internal.h:323
  14   Thread 0x75b18b376700 (LWP 197) ".NET TP Worker" futex_wait_cancelable (private=0, expected=0, futex_word=0x75b18b373600) at ../sysdeps/nptl/futex-internal.h:186
  15   Thread 0x75b1ae2e5700 (LWP 445) ".NET TP Worker" 0x000075b1b8f5b7e7 in __GI___wait4 (pid=446, stat_loc=0x75b1ae2e2f40, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27

Thread 15 (Thread 0x75b1ae2e5700 (LWP 445) ".NET TP Worker"):
#0  0x000075b1b8f5b7e7 in __GI___wait4 (pid=446, stat_loc=0x75b1ae2e2f40, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
#1  0x000075b1b89faa30 in mono_dump_native_crash_info () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#2  0x000075b1b899ff6e in mono_handle_native_crash () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#3  0x000075b1b89fa1b1 in sigabrt_signal_handler () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#4  <signal handler called>
#5  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#6  0x000075b1b8eb6537 in __GI_abort () at abort.c:79
#7  0x000075b1b8af5290 in ves_icall_System_Environment_FailFast () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#8  0x000075b1b8af7709 in ves_icall_System_Environment_FailFast_raw () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#9  0x000075b1b8a0dfe2 in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#10 0x000075b1b8a0c725 in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#11 0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#12 0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#13 0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#14 0x000075b1b8b49c19 in start_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#15 0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#16 0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x75b18b376700 (LWP 197) ".NET TP Worker"):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x75b18b373600) at ../sysdeps/nptl/futex-internal.h:186
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x75b1b8bf5840 <signal_mutex>, cond=0x75b18b3735d8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x75b18b3735d8, mutex=0x75b1b8bf5840 <signal_mutex>) at pthread_cond_wait.c:638
#3  0x000075b1b8aa8842 in mono_os_event_wait_multiple () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#4  0x000075b1b8aa864c in mono_os_event_wait_one () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b8aba38a in mono_thread_info_wait_one_handle () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#6  0x000075b1b8b45e1e in ves_icall_System_Threading_Thread_Join_internal () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#7  0x000075b1b8affc34 in ves_icall_System_Threading_Thread_Join_internal_raw () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#8  0x000075b1b8a0df9f in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#9  0x000075b1b8a0c725 in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#10 0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#11 0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#12 0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#13 0x000075b1b8b3a551 in mono_runtime_try_invoke_byrefs () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#14 0x000075b1b8aef77b in ves_icall_InternalInvoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#15 0x000075b1b8af9adb in ves_icall_InternalInvoke_raw () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#16 0x000075b1b8a0df2b in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#17 0x000075b1b8a0c725 in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#18 0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#19 0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#20 0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#21 0x000075b1b8b49c19 in start_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#22 0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#23 0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x75b18b9fd700 (LWP 175) ".NET TP Worker"):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x75b18b9fb168, clockid=-1952468768, expected=0, futex_word=0x75b18b9fb1e8) at ../sysdeps/nptl/futex-internal.h:323
#1  __pthread_cond_wait_common (abstime=0x75b18b9fb168, clockid=-1952468768, mutex=0x75b19c820ad0, cond=0x75b18b9fb1c0) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x75b18b9fb1c0, mutex=0x75b19c820ad0, abstime=0x75b18b9fb168) at pthread_cond_wait.c:656
#3  0x000075b1b8ab0c53 in mono_os_cond_timedwait () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#4  0x000075b1b8ab5399 in mono_lifo_semaphore_timed_wait () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b8a0df9f in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#6  0x000075b1b8a0c725 in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#7  0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#8  0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#9  0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#10 0x000075b1b8b49c19 in start_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#11 0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x75b18bcff700 (LWP 35) ".NET TP Worker"):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x75b18bcfd048, clockid=-1949315136, expected=0, futex_word=0x75b18bcfd0c8) at ../sysdeps/nptl/futex-internal.h:323
#1  __pthread_cond_wait_common (abstime=0x75b18bcfd048, clockid=-1949315136, mutex=0x75b19c820ad0, cond=0x75b18bcfd0a0) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x75b18bcfd0a0, mutex=0x75b19c820ad0, abstime=0x75b18bcfd048) at pthread_cond_wait.c:656
#3  0x000075b1b8ab0c53 in mono_os_cond_timedwait () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#4  0x000075b1b8ab5399 in mono_lifo_semaphore_timed_wait () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b8a0df9f in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#6  0x000075b1b8a0c725 in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#7  0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#8  0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#9  0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#10 0x000075b1b8b49c19 in start_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#11 0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x75b1ae4e6700 (LWP 33) ".NET Long Runni"):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x75b19ccbd384) at ../sysdeps/nptl/futex-internal.h:186
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x75b19ccbd330, cond=0x75b19ccbd358) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x75b19ccbd358, mutex=0x75b19ccbd330) at pthread_cond_wait.c:638
#3  0x000075b1b8c81b97 in SystemNative_LowLevelMonitor_Wait () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0//libSystem.Native.so
#4  0x000075b1b8a0df42 in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b8a0c6df in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#6  0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#7  0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#8  0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#9  0x000075b1b8b49c19 in start_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#10 0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x75b1acba1700 (LWP 32) ".NET TP Worker"):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x75b1acb9f808, clockid=-1397098640, expected=0, futex_word=0x75b1840967e0) at ../sysdeps/nptl/futex-internal.h:323
#1  __pthread_cond_wait_common (abstime=0x75b1acb9f808, clockid=-1397098640, mutex=0x75b184096790, cond=0x75b1840967b8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x75b1840967b8, mutex=0x75b184096790, abstime=0x75b1acb9f808) at pthread_cond_wait.c:656
#3  0x000075b1b8c81ccb in SystemNative_LowLevelMonitor_TimedWait () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0//libSystem.Native.so
#4  0x000075b1b8a0df9f in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b8a0c6df in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#6  0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#7  0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#8  0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#9  0x000075b1b8b49c19 in start_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#10 0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x75b1aceb7700 (LWP 31) ".NET Sockets"):
#0  0x000075b1b8f8fdf6 in epoll_wait (epfd=9, events=0x75b198082490, maxevents=32, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1  0x000075b1b8c7d7be in WaitForSocketEventsInner () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0//libSystem.Native.so
#2  0x000075b1b8c7d6df in SystemNative_WaitForSocketEvents () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0//libSystem.Native.so
#3  0x000075b1b8a0df77 in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#4  0x000075b1b8a0c6df in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#6  0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#7  0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#8  0x000075b1b8b49c19 in start_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#9  0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x75b1ad05c700 (LWP 30) ".NET TP Gate"):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x75b1ad05b768, clockid=-1392134448, expected=0, futex_word=0x75b18c00ecc4) at ../sysdeps/nptl/futex-internal.h:323
#1  __pthread_cond_wait_common (abstime=0x75b1ad05b768, clockid=-1392134448, mutex=0x75b18c00ec70, cond=0x75b18c00ec98) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x75b18c00ec98, mutex=0x75b18c00ec70, abstime=0x75b1ad05b768) at pthread_cond_wait.c:656
#3  0x000075b1b8c81ccb in SystemNative_LowLevelMonitor_TimedWait () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0//libSystem.Native.so
#4  0x000075b1b8a0df9f in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b8a0c6df in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#6  0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#7  0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#8  0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#9  0x000075b1b8b49c19 in start_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#10 0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x75b1ad35e700 (LWP 29) ".NET TP Worker"):
#0  0x000075b1addcea25 in ERR_clear_error () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
#1  0x000075b1b4049215 in CryptoNative_HmacFinal (ctx=0x75b199819ab0, md=0x75b198002718 "\203\205\006\261\361u\257\223\257\273\325S^\251\336[\315\v\354m\260ѫ\216ӂ\317z|\274\247' l^\231C\371\247\024\213Hg}\331\332X\201LEn\331JUI\370\230ZZ\352!o\037.", len=0x75b1ad0605b0) at /__w/1/s/src/native/libs/System.Security.Cryptography.Native/pal_hmac.c:86
#2  0x000075b1b8a0df77 in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#3  0x000075b1b8a0c6df in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#4  0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#6  0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#7  0x000075b1b8b49c19 in start_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#8  0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x75b1ad6b4700 (LWP 28) ".NET Timer"):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x75b194005ca4) at ../sysdeps/nptl/futex-internal.h:186
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x75b194005c50, cond=0x75b194005c78) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x75b194005c78, mutex=0x75b194005c50) at pthread_cond_wait.c:638
#3  0x000075b1b8c81b97 in SystemNative_LowLevelMonitor_Wait () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0//libSystem.Native.so
#4  0x000075b1b8a0df42 in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b8a0c6df in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#6  0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#7  0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#8  0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#9  0x000075b1b8b49c19 in start_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#10 0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#11 0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x75b1b47fb700 (LWP 25) ".NET SigHandler"):
#0  __libc_read (nbytes=1, buf=0x75b1b47faee7, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __libc_read (fd=7, buf=0x75b1b47faee7, nbytes=1) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x000075b1b8c8133a in SignalHandlerLoop () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0//libSystem.Native.so
#3  0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#4  0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x75b1b5e0f700 (LWP 24) "Finalizer"):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x75b1b8bfb8f0 <finalizer_sem>) at ../sysdeps/nptl/futex-internal.h:323
#1  do_futex_wait (sem=sem@entry=0x75b1b8bfb8f0 <finalizer_sem>, abstime=0x0, clockid=0) at sem_waitcommon.c:112
#2  0x000075b1b93a4278 in __new_sem_wait_slow (sem=0x75b1b8bfb8f0 <finalizer_sem>, abstime=0x0, clockid=0) at sem_waitcommon.c:184
#3  0x000075b1b8b71178 in finalizer_thread () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#4  0x000075b1b8b49b6e in start_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x75b1b6010700 (LWP 23) ".NET EventPipe"):
#0  0x000075b1b8f83a0f in __GI___poll (fds=0x75b1b0002890, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000075b1b8a85d3d in ds_ipc_poll () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#2  0x000075b1b8a859f8 in ds_ipc_stream_factory_get_next_available_stream () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#3  0x000075b1b8a898eb in server_thread () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#4  0x000075b1b8a8bf71 in ep_rt_thread_mono_start_func () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x75b1b7fff700 (LWP 22) "SGen worker"):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x75b1b8c0a3a8 <work_cond+40>) at ../sysdeps/nptl/futex-internal.h:186
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x75b1b8c0a358 <lock>, cond=0x75b1b8c0a380 <work_cond>) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x75b1b8c0a380 <work_cond>, mutex=0x75b1b8c0a358 <lock>) at pthread_cond_wait.c:638
#3  0x000075b1b8bdf3a3 in thread_func () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#4  0x000075b1b939aea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5  0x000075b1b8f8facf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x75b1b8e8f740 (LWP 21) "dotnet"):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x5dec1a58d524) at ../sysdeps/nptl/futex-internal.h:186
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5dec1a58d4d0, cond=0x5dec1a58d4f8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5dec1a58d4f8, mutex=0x5dec1a58d4d0) at pthread_cond_wait.c:638
#3  0x000075b1b8c81b97 in SystemNative_LowLevelMonitor_Wait () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0//libSystem.Native.so
#4  0x000075b1b8a0df42 in do_icall () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#5  0x000075b1b8a0c6df in do_icall_wrapper () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#6  0x000075b1b89fe4b9 in mono_interp_exec_method () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#7  0x000075b1b89fc046 in interp_runtime_invoke () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#8  0x000075b1b8b31aa7 in mono_runtime_invoke_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#9  0x000075b1b8b38878 in mono_runtime_exec_main_checked () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#10 0x000075b1b895e74f in mono_jit_exec () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#11 0x000075b1b8961098 in mono_main () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#12 0x000075b1b89d7757 in monovm_execute_assembly () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libcoreclr.so
#13 0x000075b1b8daa7d8 in coreclr_t::execute_assembly(int, char const**, char const*, unsigned int*) () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libhostpolicy.so
#14 0x000075b1b8dd810e in run_app_for_context(hostpolicy_context_t const&, int, char const**) () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libhostpolicy.so
#15 0x000075b1b8dd840f in run_app(int, char const**) () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libhostpolicy.so
#16 0x000075b1b8dd935c in corehost_main () from /root/helix/work/correlation/shared/Microsoft.NETCore.App/9.0.0/libhostpolicy.so
#17 0x000075b1b8e56c26 in ?? () from /root/helix/work/correlation/host/fxr/9.0.0/libhostfxr.so
#18 0x000075b1b8e54b23 in ?? () from /root/helix/work/correlation/host/fxr/9.0.0/libhostfxr.so
#19 0x000075b1b8e5102c in ?? () from /root/helix/work/correlation/host/fxr/9.0.0/libhostfxr.so
#20 0x000075b1b8e50127 in ?? () from /root/helix/work/correlation/host/fxr/9.0.0/libhostfxr.so
#21 0x000075b1b8e43f75 in hostfxr_main_startupinfo () from /root/helix/work/correlation/host/fxr/9.0.0/libhostfxr.so
#22 0x00005dec17edae0d in ?? ()
#23 0x00005dec17edb355 in ?? ()
#24 0x000075b1b8eb7d7a in __libc_start_main (main=0x5dec17edb270, argc=18, argv=0x7fff24969d78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff24969d68) at ../csu/libc-start.c:308
#25 0x00005dec17ed9cd9 in ?? ()
[Inferior 1 (process 21) detached]

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=810262
Error message validated: [!newKey.IsInvalid RSAOpenSsl.cs:line 657]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/17/2024 5:12:54 PM UTC

Report

Build Definition Test Pull Request
810262 dotnet/runtime System.Security.Cryptography.Tests.WorkItemExecution #107474

Summary

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions