Skip to content

[6.0, 7.0] Assert failed in coreclr linux arm: GCHeapUtilities::GetGCHeap()->IsInFrozenSegment(obj) #84393

Closed

Description

@carlossanlop

Error Blob

{
  "ErrorMessage": "GCHeapUtilities::GetGCHeap()->IsInFrozenSegment(obj)",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Reproduction Steps

===========================================================================================================
/root/helix/work/workitem/e /root/helix/work/workitem/e
  Discovering: System.Text.Json.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Text.Json.Tests (found 2792 of 2854 test cases)
  Starting:    System.Text.Json.Tests (parallel test collections = on, max threads = 2)

Assert failure(PID 25 [0x00000019], Thread: 35 [0x0023]): GCHeapUtilities::GetGCHeap()->IsInFrozenSegment(obj)
    File: /__w/1/s/src/coreclr/vm/syncblk.cpp Line: 2059
    Image: /root/helix/work/correlation/dotnet

./RunTests.sh: line 162:    25 Aborted                 (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Text.Json.Tests.runtimeconfig.json --depsfile System.Text.Json.Tests.deps.json xunit.console.dll System.Text.Json.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/root/helix/work/workitem/e
----- end Wed Apr 5 18:34:11 UTC 2023 ----- exit code 134 ----------------------------------------------------------

Report

Build Definition Test Pull Request
1034966 dotnet/runtime Microsoft.Extensions.Configuration.Ini.Tests.WorkItemExecution #115339

Summary

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

Known issue validation

Build: 🔎
Result validation: ⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.
Validation performed at: 8/1/2023 10:02:52 PM UTC

Activity

  1. added
    os-linuxLinux OS (any supported distro)
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    runtime-coreclrspecific to the CoreCLR runtime
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Apr 6, 2023
  2. added this to the 6.0.x milestone on Apr 6, 2023
  3. added
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    and removed
    Known Build ErrorUse this to report build issues in the .NET Helix tab
    on Apr 6, 2023
  4. trylek commented on Apr 10, 2023

    @trylek
    Member

    According to offline confirmation from @carlossanlop, this is not a new bug, the staging branch has just been populated with the content of the .NET 6 release branch. It would be great if someone on the @dotnet/gc team could share their thoughts regarding severity of this bug and / or its impact on .NET 7 / 8 in the sense of whether it's something that has since been fixed but not backported or whether it's a previously unseen rare failure we just hit for the first time.

  5. Maoni0 commented on Apr 10, 2023

    @Maoni0
    Member

    could be #82414 which I made a fix for in 8.0 (it has existed since forever). it does not affect running normally, only affects object validation which is only for debug builds.

  6. Maoni0 commented on May 15, 2023

    @Maoni0
    Member

    do we want to do something about this? would blocking ci be a reason to backport?

  7. mangod9 commented on May 15, 2023

    @mangod9
    Member

    probably make sense to port if its now failing more consistently. But looks like it has only a couple of hits so far. @carlossanlop is this causing any issues with 6.0 servicing release?

  8. changed the title [-][6.0] Assert failed in coreclr linux arm: GCHeapUtilities::GetGCHeap()->IsInFrozenSegment(obj)[/-] [+][6.0, 7.0] Assert failed in coreclr linux arm: GCHeapUtilities::GetGCHeap()->IsInFrozenSegment(obj)[/+] on Aug 1, 2023
  9. carlossanlop commented on Aug 1, 2023

    @carlossanlop
    ContributorAuthor

    Just hit it in a 7.0 PR, so I changed the title:

    Assert failure(PID 23 [0x00000017], Thread: 44 [0x002c]): GCHeapUtilities::GetGCHeap()->IsInFrozenSegment(obj)
    
  10. removed this from the 6.0.x milestone on Nov 15, 2023
  11. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Nov 15, 2023
  12. added this to the 6.0.x milestone on Nov 24, 2023
  13. ghost removed
    untriagedNew issue has not been triaged by the area owner
    on Nov 24, 2023
  14. removed
    blocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
    on Aug 1, 2024
  15. jeffschwMSFT commented on Aug 1, 2024

    @jeffschwMSFT
    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
  16. akoeplinger commented on May 16, 2025

    @akoeplinger
    Member

    Closing old 6.0 known issue, no recent hits.

  17. locked and limited conversation to collaborators on Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions