Skip to content

NativeAOT tests crashing with infinite recursion in Lock #94227

@jkotas

Description

@jkotas

log and dump for System.Runtime.Extensions.Tests: https://dev.azure.com/dnceng-public/public/_build/results?buildId=456483&view=ms.vss-test-web.build-test-results-tab&runId=10276056&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab&resultId=150703

0:000> k 100
 # Child-SP          RetAddr               Call Site
00 0000fef0`13800010 0000aadc`1c64bcf8     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner_Cctor::GetCctor [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 286] 
01 0000fef0`13800010 0000aadc`1c64bcb0     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner::EnsureClassConstructorRun+0x38 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 62] 
02 0000fef0`13800070 0000aadc`1c5f1d2c     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner::CheckStaticClassConstructionReturnThreadStaticBase+0x30 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 49] 
03 0000fef0`13800090 0000aadc`1c5f15fc     System_Runtime_Extensions!S_P_CoreLib_System_Threading_Lock::TryEnterSlow+0x54c [/_/src/libraries/System.Private.CoreLib/src/System/Threading/Lock.cs @ 455] 
04 0000fef0`13800160 0000aadc`1c6a6e98     System_Runtime_Extensions!S_P_CoreLib_System_Threading_Lock::EnterAndGetCurrentThreadId+0x6c [/_/src/libraries/System.Private.CoreLib/src/System/Threading/Lock.cs @ 69] 
05 0000fef0`13800180 0000aadc`1c64bcf8     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner_Cctor::GetCctor+0x38 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 286] 
06 0000fef0`138001e0 0000aadc`1c64bcb0     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner::EnsureClassConstructorRun+0x38 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 62] 
07 0000fef0`13800240 0000aadc`1c5f1d2c     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner::CheckStaticClassConstructionReturnThreadStaticBase+0x30 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 49] 
08 0000fef0`13800260 0000aadc`1c5f15fc     System_Runtime_Extensions!S_P_CoreLib_System_Threading_Lock::TryEnterSlow+0x54c [/_/src/libraries/System.Private.CoreLib/src/System/Threading/Lock.cs @ 455] 
09 0000fef0`13800330 0000aadc`1c6a6e98     System_Runtime_Extensions!S_P_CoreLib_System_Threading_Lock::EnterAndGetCurrentThreadId+0x6c [/_/src/libraries/System.Private.CoreLib/src/System/Threading/Lock.cs @ 69] 
0a 0000fef0`13800350 0000aadc`1c64bcf8     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner_Cctor::GetCctor+0x38 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 286] 
0b 0000fef0`138003b0 0000aadc`1c64bcb0     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner::EnsureClassConstructorRun+0x38 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 62] 
0c 0000fef0`13800410 0000aadc`1c5f1d2c     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner::CheckStaticClassConstructionReturnThreadStaticBase+0x30 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 49] 
0d 0000fef0`13800430 0000aadc`1c5f15fc     System_Runtime_Extensions!S_P_CoreLib_System_Threading_Lock::TryEnterSlow+0x54c [/_/src/libraries/System.Private.CoreLib/src/System/Threading/Lock.cs @ 455] 
0e 0000fef0`13800500 0000aadc`1c6a6e98     System_Runtime_Extensions!S_P_CoreLib_System_Threading_Lock::EnterAndGetCurrentThreadId+0x6c [/_/src/libraries/System.Private.CoreLib/src/System/Threading/Lock.cs @ 69] 
0f 0000fef0`13800520 0000aadc`1c64bcf8     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner_Cctor::GetCctor+0x38 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 286] 
10 0000fef0`13800580 0000aadc`1c64bcb0     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner::EnsureClassConstructorRun+0x38 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 62] 
11 0000fef0`138005e0 0000aadc`1c5f1d2c     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner::CheckStaticClassConstructionReturnThreadStaticBase+0x30 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 49] 
12 0000fef0`13800600 0000aadc`1c5f15fc     System_Runtime_Extensions!S_P_CoreLib_System_Threading_Lock::TryEnterSlow+0x54c [/_/src/libraries/System.Private.CoreLib/src/System/Threading/Lock.cs @ 455] 
13 0000fef0`138006d0 0000aadc`1c6a6e98     System_Runtime_Extensions!S_P_CoreLib_System_Threading_Lock::EnterAndGetCurrentThreadId+0x6c [/_/src/libraries/System.Private.CoreLib/src/System/Threading/Lock.cs @ 69] 
14 0000fef0`138006f0 0000aadc`1c64bcf8     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner_Cctor::GetCctor+0x38 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 286] 
15 0000fef0`13800750 0000aadc`1c64bcb0     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner::EnsureClassConstructorRun+0x38 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 62] 
16 0000fef0`138007b0 0000aadc`1c5f1d2c     System_Runtime_Extensions!S_P_CoreLib_System_Runtime_CompilerServices_ClassConstructorRunner::CheckStaticClassConstructionReturnThreadStaticBase+0x30 [/_/src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/CompilerServices/ClassConstructorRunner.cs @ 49] 
17 0000fef0`138007d0 0000aadc`1c5f15fc     System_Runtime_Extensions!S_P_CoreLib_System_Threading_Lock::TryEnterSlow+0x54c [/_/src/libraries/System.Private.CoreLib/src/System/Threading/Lock.cs @ 455] 
18 0000fef0`138008a0 0000aadc`1c6a6e98     System_Runtime_Extensions!S_P_CoreLib_System_Threading_Lock::EnterAndGetCurrentThreadId+0x6c [/_/src/libraries/System.Private.CoreLib/src/System/Threading/Lock.cs @ 69] 
...

Known Issue Error Message

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

{
  "ErrorMessage": "",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Summary

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions