Skip to content

Assert failure: !IsGCThread() && !IsStackWalkerThread() #136814

Closed

Description

@VincentBu

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1658127
Build error leg or test failing: OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "Failed test: OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1658127
Error message validated: [Failed test: OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 11/2/2026 1:40:06 AM UTC

Report

Summary

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

Activity

  1. added
    blocking-clean-ci-optional
    Known Build Error
    on Nov 2, 2026
  2. added
    untriaged
    on Nov 2, 2026
  3. dotnet-policy-service commented on Nov 2, 2026

    @dotnet-policy-service
    Contributor

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

  4. jkotas commented on Nov 2, 2026

    @jkotas
    Member

    Regression likely caused by #135806 cc @davidwrighton

  5. dotnet-policy-service commented on Nov 2, 2026

    @dotnet-policy-service
    Contributor

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

  6. ViktorHofer commented on Nov 4, 2026

    @ViktorHofer
    Member

    Also firing in the VMR (dotnet-unified-build, main) without GCStress, in a plain Release source-build:

    https://dev.azure.com/dnceng-public/public/_build/results?buildId=1663235

    Same clsload.cpp:3001, across several legs: SB_CentOSStream10_Online_MsftSdk_x64 (crossgen2), csc, aspnetcore win-arm64 crossgen2, maccatalyst-x64 R2R.

    Since the assert is _ASSERTE_ALL_BUILDS it is live in Release, so GCStress only makes it deterministic -- csc/crossgen2 allocate enough to land a natural GC at the same spot. It reached the VMR via dotnet/dotnet#10546 (runtime codeflow, Oct 29); first red unified build was Nov 3 (1661207), green on Oct 30/31, i.e. intermittent.

    Could the known-issue ErrorMessage be widened to !IsGCThread() && !IsStackWalkerThread()? The current CallbackTests.cmd string matches none of these.

  7. akoeplinger commented on Nov 4, 2026

    @akoeplinger
    Member

    I think the VMR issue should be fixed by #136667 but it needs to flow to VMR (now done via dotnet/dotnet#10605) and then we need to do another rebootstrap

  8. VincentBu commented on Nov 9, 2026

    @VincentBu
    ContributorAuthor

    Failed in: runtime-coreclr gcstress0x3-gcstress0xc 20261108.1

    Failed tests:

    coreclr linux arm64 Checked gcstress0x3 @ AzureLinux.3.Arm64.Open
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackStressTest_TargetUnix/CallbackStressTest_TargetUnix.cmd
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd
    - OutOfProcessTest.Interop/NativeLibrary/MainProgramHandle/MainProgramHandleTests/MainProgramHandleTests.cmd
    coreclr linux arm64 Checked gcstress0xc @ AzureLinux.3.Arm64.Open
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackStressTest_TargetUnix/CallbackStressTest_TargetUnix.cmd
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd
    - OutOfProcessTest.Interop/NativeLibrary/MainProgramHandle/MainProgramHandleTests/MainProgramHandleTests.cmd
    coreclr linux arm Checked gcstress0x3 @ (Debian.13.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-13-helix-arm32v7@sha256:b1220e64d4b94596deb9d861aacd2ad3d40c41b175d2bffd0c9d06ffeee6ba1d
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackStressTest_TargetUnix/CallbackStressTest_TargetUnix.cmd
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd
    - OutOfProcessTest.Interop/NativeLibrary/MainProgramHandle/MainProgramHandleTests/MainProgramHandleTests.cmd
    coreclr linux x64 Checked gcstress0x3 @ AzureLinux.3.Amd64.Open
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackStressTest_TargetUnix/CallbackStressTest_TargetUnix.cmd
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd
    - OutOfProcessTest.Interop/NativeLibrary/MainProgramHandle/MainProgramHandleTests/MainProgramHandleTests.cmd
    coreclr linux x64 Checked gcstress0xc @ AzureLinux.3.Amd64.Open
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackStressTest_TargetUnix/CallbackStressTest_TargetUnix.cmd
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd
    - OutOfProcessTest.Interop/NativeLibrary/MainProgramHandle/MainProgramHandleTests/MainProgramHandleTests.cmd
    coreclr osx arm64 Checked gcstress0xc @ OSX.26.Arm64.Open
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackStressTest_TargetUnix/CallbackStressTest_TargetUnix.cmd
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd
    - OutOfProcessTest.Interop/NativeLibrary/MainProgramHandle/MainProgramHandleTests/MainProgramHandleTests.cmd
    coreclr osx arm64 Checked gcstress0x3 @ OSX.26.Arm64.Open
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackStressTest_TargetUnix/CallbackStressTest_TargetUnix.cmd
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd
    - OutOfProcessTest.Interop/NativeLibrary/MainProgramHandle/MainProgramHandleTests/MainProgramHandleTests.cmd
    coreclr linux arm Checked gcstress0xc @ (Debian.13.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-13-helix-arm32v7@sha256:b1220e64d4b94596deb9d861aacd2ad3d40c41b175d2bffd0c9d06ffeee6ba1d
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackStressTest_TargetUnix/CallbackStressTest_TargetUnix.cmd
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd
    - OutOfProcessTest.Interop/NativeLibrary/MainProgramHandle/MainProgramHandleTests/MainProgramHandleTests.cmd
    coreclr windows arm64 Checked gcstress0xc @ Windows.11.Arm64.Open
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackStressTest_TargetWindows/CallbackStressTest_TargetWindows.cmd
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd
    coreclr windows arm64 Checked gcstress0x3 @ Windows.11.Arm64.Open
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackStressTest_TargetWindows/CallbackStressTest_TargetWindows.cmd
    - OutOfProcessTest.Interop/NativeLibrary/Callback/CallbackTests/CallbackTests.cmd
    
    
  9. removed
    untriaged
    on Nov 12, 2026
  10. added a commit that references this issue on Nov 12, 2026
    833da09
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

    Known Build Errorarea-VM-coreclrblocking-clean-ci-optional

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions