-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
GCStressarch-arm32area-System.Threadingblocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)
Description
Failed in: runtime-coreclr gcstress-extra 20251207.1
Failed tests:
coreclr linux arm Checked gcstress0xc_disabler2r_heapverify1 @ (Debian.13.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-13-helix-arm32v7
- Loader/classloader/TypeInitialization/CircularCctors/CircularCctorFourThreads/CircularCctorFourThreads.cmd
Error message:
Unhandled exception. System.TypeInitializationException: The type initializer for 'E' threw an exception.
---> System.Threading.SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code.
at System.Threading.Monitor.SynchronizedMethodExit(Object obj, Boolean& lockTaken)
at System.IO.TextWriter.SyncTextWriter.WriteLine(String format, Object arg0, Object arg1)
at System.Console.WriteLine(String format, Object arg0, Object arg1) in /_/src/libraries/System.Console/src/System/Console.cs:line 835
at E..cctor()
--- End of inner exception stack trace ---
at E.SomeMethod()
at System.Threading.Thread.StartCallback()
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/root/helix/work/workitem/e/Loader/Loader/../classloader/TypeInitialization/CircularCctors/CircularCctorFourThreads/CircularCctorFourThreads.sh: line 499: 568 Aborted (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"
Return code: 1
Raw output file: /root/helix/work/workitem/uploads/classloader/TypeInitialization/CircularCctors/CircularCctorFourThreads/output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true CircularCctorFourThreads.dll ''
In D.cctor: thread T3: E.i 0
In C.cctor: thread T2: D.i 8
In B.cctor: thread T1: C.i 7
In A.cctor: thread T1: B.i 6
In MyClass.SomeMethod(): thread T1
In MyClass.SomeMethod(): thread T3
In MyClass.SomeMethod(): thread T2
In E.cctor: thread T4: A.i 5
[createdump] Gathering state for process 568 corerun
[createdump] Crashing thread 0241 signal 6 (0006)
[createdump] Writing crash report to file /datadisks/disk1/dumps/coredump.568.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /datadisks/disk1/dumps/coredump.568.dmp
[createdump] Written 107286528 bytes (26193 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 88ms
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /datadisks/disk1/dumps since 12/7/2025 10:36:26 PM
Processing /datadisks/disk1/dumps/coredump.568.dmp.crashreport.json
Printing stacktrace from '/datadisks/disk1/dumps/coredump.568.dmp.crashreport.json'
Invoking llvm-symbolizer --pretty-print
Stack trace:
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
CorUnix::CPalSynchronizationManager::ThreadNativeWait(CorUnix::_ThreadNativeWaitData*, unsigned int, CorUnix::ThreadWakeupReason*, unsigned int*) at /__w/1/s/src/coreclr/pal/src/synchmgr/synchmanager.cpp:474:27
?? at ??:0:0
CorUnix::CPalSynchronizationManager::BlockThread(CorUnix::CPalThread*, unsigned int, bool, bool, CorUnix::ThreadWakeupReason*, unsigned int*) at /__w/1/s/src/coreclr/pal/src/synchmgr/synchmanager.cpp:0:0
?? at ??:0:0
CorUnix::InternalWaitForMultipleObjectsEx(CorUnix::CPalThread*, unsigned int, void* const*, int, unsigned int, int, int) at /__w/1/s/src/coreclr/pal/src/synchmgr/wait.cpp:646:22
?? at ??:0:0
WaitForMultipleObjectsEx at /__w/1/s/src/coreclr/pal/src/synchmgr/wait.cpp:204:5
?? at ??:0:0
Thread::DoAppropriateWait(int, void**, int, unsigned int, WaitMode) at /__w/1/s/src/coreclr/vm/threads.cpp:0:12
?? at ??:0:0
Thread::JoinEx(unsigned int, WaitMode) at /__w/1/s/src/coreclr/vm/threads.cpp:421:13
?? at ??:0:0
DoJoin(REF<ThreadBaseObject>, int) at /__w/1/s/src/coreclr/vm/comsynchronizable.cpp:562:5
(inlined by) ThreadNative_Join at /__w/1/s/src/coreclr/vm/comsynchronizable.cpp:592:14
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
?? at ??:0:0
CorUnix::CPalSynchronizationManager::ThreadPrepareForShutdown() at /__w/1/s/src/coreclr/pal/sr
Stack trace:
at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
at Program.<<Main>$>g__TestExecutor279|0_280(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
GCStressarch-arm32area-System.Threadingblocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runsos-linuxLinux OS (any supported distro)Linux OS (any supported distro)
Type
Projects
Status
No status