GC Assert failure: committed_by_oh[oh] == compute_committed_bytes_per_heap (oh, committed_bookkeeping)
Hit by GC\Scenarios\DoublinkList\dlbigleakthd test
Assert failure(PID 1420 [0x0000058c], Thread: 4524 [0x11ac]): committed_by_oh[oh] == compute_committed_bytes_per_heap (oh, committed_bookkeeping)
CORECLR! WKS::gc_heap::verify_committed_bytes_per_heap + 0x1F8 (0x00007ffa`417f9d60)
CORECLR! WKS::gc_heap::thread_final_regions + 0x63C (0x00007ffa`417f8084)
CORECLR! WKS::gc_heap::make_free_lists + 0x440 (0x00007ffa`417e4370)
CORECLR! WKS::gc_heap::plan_phase + 0x488C (0x00007ffa`417eed4c)
CORECLR! WKS::gc_heap::gc1 + 0x250 (0x00007ffa`417dcb20)
CORECLR! WKS::gc_heap::garbage_collect + 0x6EC (0x00007ffa`417dc88c)
CORECLR! WKS::GCHeap::GarbageCollectGeneration + 0x4B0 (0x00007ffa`417c2e78)
CORECLR! WKS::GCHeap::GarbageCollect + 0x1BC (0x00007ffa`417c295c)
CORECLR! GCInterface_Collect + 0x128 (0x00007ffa`415e9848)
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=723751 Build error leg or test failing: GC\Scenarios\DoublinkList\dlbigleakthd\dlbigleakthd.cmd Pull request: https://github.com/dotnet/runtime/pull/104125
Error Message
Fill the error message using step by step known issues guidance.
{
"ErrorMessage": "committed_by_oh[oh] == compute_committed_bytes_per_heap",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=723751
Error message validated: [committed_by_oh[oh] == compute_committed_bytes_per_heap]
Result validation: :white_check_mark: Known issue matched with the provided build.
Validation performed at: 6/28/2024 8:21:48 PM UTC
Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Tagging subscribers to this area: @dotnet/gc See info in area-owners.md if you want to be subscribed.
removing blocking-clean-ci as it has not failed in 30 days
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 0 | 0 |
Failed in: runtime-coreclr outerloop 20240924.3
Failed tests:
coreclr linux arm64 Checked @ (Alpine.317.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:alpine-3.17-helix-arm64v8
- GC/Scenarios/DoublinkList/dlbigleakthd/dlbigleakthd.cmd
Error message:
Assert failure(PID 188 [0x000000bc], Thread: 197 [0x00c5]): committed_by_oh[oh] == compute_committed_bytes_per_heap (oh, committed_bookkeeping)
File: /__w/1/s/src/coreclr/gc/gc.cpp:47986
Image: /root/helix/work/correlation/corerun
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/root/helix/work/workitem/e/GC/Scenarios/GC-scenarios1/../DoublinkList/dlbigleakthd/dlbigleakthd.sh: line 440: 188 Aborted (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"
Return code: 1
Raw output file: /root/helix/work/workitem/uploads/DoublinkList/dlbigleakthd/output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true dlbigleakthd.dll ''
Test should return with ExitCode 100 ...
[createdump] Gathering state for process 188 corerun
[createdump] Crashing thread 00c5 signal 6 (0006)
[createdump] Writing crash report to file /home/helixbot/dotnetbuild/dumps/coredump.188.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.188.dmp
[createdump] Written 141832192 bytes (34627 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 273ms
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 9/24/2024 7:44:55 PM
Processing /home/helixbot/dotnetbuild/dumps/coredump.188.dmp.crashreport.json
Printing stacktrace from '/home/helixbot/dotnetbuild/dumps/coredump.188.dmp.crashreport.json'
Invoking llvm-symbolizer --pretty-print
Stack trace:
----------------------------------
Thread Id: 0xbc
Child SP IP Call Site
0xffffc879c120 0xffffa2d1e210 ld-musl-aarch64.so.1!
0xffffc879c120 0xffffa2d1ecfc ld-musl-aarch64.so.1!
0xffffc879c6b0 0xffff63af854c DoubLinkList.dll!DoubLink.DLinkNode..ctor(Int32, DoubLink.DLinkNode, DoubLink.DLinkNode)
0xffffc879c6e0 0xffff63af831c DoubLinkList.dll!DoubLink.DoubLink..ctor(Int32, Boolean)
0xffffc879c7f0 0xffff63af7dd8 dlbigleakthd.dll!DoubLink.DLBigLeakThd.SetLink(Int32, Int32)
0xffffc879c830 0xffff63af7738 dlbigleakthd.dll!DoubLink.DLBigLeakThd.CreateDLinkListsWithLeak(Int32, Int32, Int32, Int32)
0xffffc879c890 0xffff63af742c dlbigleakthd.dll!DoubLink.DLBigLeakThd.runTest(Int32, Int32, Int32)
0xffffc879c8d0 0xffff63af2bd4 dlbigleakthd.dll!DoubLink.DLBigLeakThd.Main(System.String[])
----------------------------------
Thread Id: 0xbd
Child SP IP Call Site
0xffff62050700 0xffffa2d1e210 ld-musl-aarch64.so.1!
0xffff62050700 0xffffa2d1ecfc ld-musl-aarch64.so.1!
----------------------------------
Thread Id: 0xbe
Child SP IP Call Site
0xffff61ea45b0 0xffffa2d1e210 ld-musl-aarch64.so.1!
0xffff61ea45b0 0xffffa2d1ecfc ld-musl-aarch64.so.1!
----------------------------------
Thread Id: 0xbf
Child SP IP Call Site
0xffff61ccb100 0xffffa2d1e210 ld-musl-aarch64.so.1!
0xffff61ccb100 0xffffa2d1ecfc ld-musl-aarch64.so.1!
----------------------------------
Thread Id: 0xc0
Child SP IP Call Site
0xffff61b43270 0xffffa2d1e210 ld-musl-aarch64.so.1!
0xffff61b43270 0xffffa2d1ecfc ld-musl-aarch64.so.1!
----------------------------------
Thread Id: 0xc1
Child SP IP Call Site
0xffbeccda8e30 0xffffa2d1e210 ld-musl-aarch64.so.1!
0xffbeccda8e30 0xffffa2d1ecfc ld-musl-aarch64.so.1!
----------------------------------
Thread Id: 0xc2
Child SP IP Call Site
0xffbecb0eff70 0xffffa2d1e210 ld-musl-aarch64.so.1!
0xffbecb0eff70 0xffffa2d1ecfc ld-musl-aarch64.so.1!
----------------------------------
Thread Id: 0xc3
Child SP IP Call Site
0xffbec84ed7b0 0xffffa2d1e210 ld-musl-aarch64.so.1!
0xffbec84ed7b0 0xffffa2d1ecfc ld-musl-aarch6
Stack trace:
at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
at Program.<<Main>$>g__TestExecutor16|0_17(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
Failed in: runtime-coreclr r2r 20250526.1
Failed tests:
R2R-CG2 osx arm64 Checked no_tiered_compilation @ OSX.13.Arm64.Open
- GC/Scenarios/DoublinkList/dlbigleakthd/dlbigleakthd.cmd
Error message:
DOTNET_DbgEnableMiniDump is set and the createdump binary does not exist: /private/tmp/helix/working/A6F608F6/p/crossgen2/createdump
/private/tmp/helix/working/A6F608F6/w/AD8409A4/e/GC/Scenarios/GC-scenarios1/../DoublinkList/dlbigleakthd/dlbigleakthd.sh: line 265: 89314 Segmentation fault: 11 $__Command
Return code: 1
Raw output file: /tmp/helix/working/A6F608F6/w/AD8409A4/uploads/DoublinkList/dlbigleakthd/output.txt
Raw output:
BEGIN EXECUTION
in takeLock
/private/tmp/helix/working/A6F608F6/w/AD8409A4/e/GC/Scenarios/DoublinkList/dlbigleakthd/IL-CG2/DoubLinkList.dll
02:26:58
Response file: /private/tmp/helix/working/A6F608F6/w/AD8409A4/e/GC/Scenarios/DoublinkList/dlbigleakthd/DoubLinkList.dll.rsp
/private/tmp/helix/working/A6F608F6/w/AD8409A4/e/GC/Scenarios/DoublinkList/dlbigleakthd/IL-CG2/DoubLinkList.dll
-o:/private/tmp/helix/working/A6F608F6/w/AD8409A4/e/GC/Scenarios/DoublinkList/dlbigleakthd/DoubLinkList.dll
--targetarch:arm64
--targetos:osx
--verify-type-and-field-layout
--method-layout:random
-r:/tmp/helix/working/A6F608F6/p/System.*.dll
-r:/tmp/helix/working/A6F608F6/p/Microsoft.*.dll
-r:/tmp/helix/working/A6F608F6/p/xunit.*.dll
-r:/tmp/helix/working/A6F608F6/p/mscorlib.dll
-r:/tmp/helix/working/A6F608F6/p/netstandard.dll
Running CrossGen2: /tmp/helix/working/A6F608F6/p/crossgen2/crossgen2 @/private/tmp/helix/working/A6F608F6/w/AD8409A4/e/GC/Scenarios/DoublinkList/dlbigleakthd/DoubLinkList.dll.rsp -r:/private/tmp/helix/working/A6F608F6/w/AD8409A4/e/GC/Scenarios/DoublinkList/dlbigleakthd/IL-CG2/*.dll
Running R2RDump: dotnet /tmp/helix/working/A6F608F6/p/R2RDump/R2RDump.dll --header --sc --in /private/tmp/helix/working/A6F608F6/w/AD8409A4/e/GC/Scenarios/DoublinkList/dlbigleakthd/DoubLinkList.dll --out /private/tmp/helix/working/A6F608F6/w/AD8409A4/e/GC/Scenarios/DoublinkList/dlbigleakthd/DoubLinkList.dll.r2rdump --val
Error: System.BadImageFormatException: The file is not a ReadyToRun image
at ILCompiler.Reflection.ReadyToRun.ReadyToRunReader.Initialize(IAssemblyMetadata metadata) in /_/src/coreclr/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunReader.cs:line 508
at R2RDump.Program.Run() in /_/src/coreclr/tools/r2rdump/Program.cs:line 449
02:26:59
Crossgen2 failed with exitcode: 139
in ReleaseLock
Test failed. Trying to see if dump file was created in /cores since 5/27/2025 2:26:58 AM
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /private/tmp/helix/working/A6F608F6/w/AD8409A4/e/GC/Scenarios/GC-scenarios1/../DoublinkList/dlbigleakthd/dlbigleakthd.sh
Stack trace:
at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
at Program.<<Main>$>g__TestExecutor16|0_17(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)