-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarch-arm64area-GC-coreclrblocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runsos-mac-os-xmacOS aka OSXmacOS aka OSX
Milestone
Description
Failed in: runtime-coreclr jitstress-isas-arm 20240810.1
Failed tests:
coreclr osx arm64 Checked jitstress_isas_incompletehwintrinsic @ OSX.1200.ARM64.Open
- GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.sh
Error message:
Assert failure(PID 40598 [0x00009e96], Thread: 2901095 [0x2c4467]): (g_fEEShutDown&ShutDown_Finalize1) && GetThread() == FinalizerThread::GetFinalizerThread()
File: /Users/runner/work/1/s/src/coreclr/vm/appdomain.cpp:3670
Image: /private/tmp/helix/working/A8B4092F/p/corerun
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/private/tmp/helix/working/A8B4092F/w/A7A2096B/e/GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.sh: line 439: 40598 Abort trap: 6 (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"
Return code: 1
Raw output file: /tmp/helix/working/A8B4092F/w/A7A2096B/uploads/Reports/GC.API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.output.txt
Raw output:
BEGIN EXECUTION
/tmp/helix/working/A8B4092F/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true GetTotalAllocatedBytes.dll ''
[createdump] Gathering state for process 40598
[createdump] Crashing thread 2c4467 signal 6 (0006)
[createdump] Writing crash report to file /cores/coredump.40598.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /cores/coredump.40598.dmp
[createdump] Written 489799848 bytes (29895 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 1319ms
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /cores since 8/10/2024 1:23:56 PM
Processing /cores/coredump.40598.dmp.crashreport.json
Printing stacktrace from '/cores/coredump.40598.dmp.crashreport.json'
Invoking llvm-symbolizer --pretty-print
Errors while running llvm-symbolizer --pretty-print
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'llvm-symbolizer' with working directory '/private/tmp/helix/working/A8B4092F/w/A7A2096B/e'. No such file or directory
at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at CoreclrTestLib.CoreclrTestWrapperLib.TryPrintStackTraceFromCrashReport(String crashReportJsonFile, TextWriter outputWriter)
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/tmp/helix/working/A8B4092F/p
> /private/tmp/helix/working/A8B4092F/w/A7A2096B/e/GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.sh
Stack trace:
at GC_API._GC_GetTotalAllocatedBytes_GetTotalAllocatedBytes_._GC_GetTotalAllocatedBytes_GetTotalAllocatedBytes_sh()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Known Issue Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "(g_fEEShutDown&ShutDown_Finalize1) && GetThread() == FinalizerThread::GetFinalizerThread()",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=907494&view=results
Result validation:
Validation performed at: 1/7/2025 2:15:36 PM UTC
Known issue validation
Build: 🔎
Result validation:
Validation performed at: 1/7/2025 2:17:27 PM UTC
Report
Build | Definition | Test | Pull Request |
---|---|---|---|
1073102 | dotnet/runtime | tracing/runtimeeventsource/nativeruntimeeventsource/nativeruntimeeventsource.cmd | #116834 |
1050720 | dotnet/runtime | tracing/runtimeeventsource/nativeruntimeeventsource/nativeruntimeeventsource.cmd | #115977 |
Summary
24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
---|---|---|
0 | 1 | 2 |
Metadata
Metadata
Assignees
Labels
Known Build ErrorUse this to report build issues in the .NET Helix tabUse this to report build issues in the .NET Helix tabarch-arm64area-GC-coreclrblocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runsos-mac-os-xmacOS aka OSXmacOS aka OSX
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
dotnet-policy-service commentedon Aug 12, 2024
Tagging subscribers to this area: @dotnet/gc
See info in area-owners.md if you want to be subscribed.
v-wenyuxu commentedon Aug 19, 2024
Failed in: runtime-coreclr jitstressregs 20240818.1
Failed tests:
Error message:
Stack trace:
AndyAyersMS commentedon Aug 23, 2024
@VSadov this looks like some kind of assert during finalization, can you take a look?
VSadov commentedon Aug 23, 2024
Seems like something with
RaiseShutdownEvents
sequence.I wonder what part of this assert did not actually hold. Only finalizer thread ever calls this function and the quit flag is set after setting up global
ShutDown_Finalize1
.Perhaps due to some race the
GetThread() == FinalizerThread::GetFinalizerThread()
is not holding - i.e. something with identity of the finalizer thread was not right.VSadov commentedon Aug 23, 2024
the failures that were reported are in completely different tests, but both times on osx-arm64.
jakobbotsch commentedon Jan 7, 2025
Also happened in https://dev.azure.com/dnceng-public/public/_build/results?buildId=907494&view=results in tracing/runtimeeventsource/nativeruntimeeventsource/nativeruntimeeventsource.cmd, also on osx-arm64. Does not seem jitstress related.
[-]Test failure: GC/API/GC/GetTotalAllocatedBytes/GetTotalAllocatedBytes.sh[/-][+]Assert failure: `(g_fEEShutDown&ShutDown_Finalize1) && GetThread() == FinalizerThread::GetFinalizerThread()`[/+]Change g_fEEShutDown to Volatile
Change g_fEEShutDown to be Volatile (dotnet#116885)