Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GC Assert failure: committed_by_oh[oh] == compute_committed_bytes_per_heap (oh, committed_bookkeeping) #104178

Open
jkotas opened this issue Jun 28, 2024 · 3 comments
Assignees
Labels
area-GC-coreclr Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@jkotas
Copy link
Member

jkotas commented Jun 28, 2024

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: #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: 🔎 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: ✅ 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
@jkotas jkotas added area-GC-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Jun 28, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jun 28, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/gc
See info in area-owners.md if you want to be subscribed.

@mangod9 mangod9 removed the untriaged New issue has not been triaged by the area owner label Jul 3, 2024
@mangod9 mangod9 added this to the 9.0.0 milestone Jul 3, 2024
@mangod9 mangod9 assigned cshung and unassigned markples Aug 15, 2024
@jeffschwMSFT jeffschwMSFT removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Aug 22, 2024
@jeffschwMSFT
Copy link
Member

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

@mrsharm mrsharm modified the milestones: 9.0.0, 10.0.0 Aug 22, 2024
@v-wenyuxu
Copy link

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&)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-GC-coreclr Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

7 participants