Skip to content

Assertion failed: SanityCheck() #124163

@VincentBu

Description

@VincentBu

Failed in: runtime-coreclr gcstress-extra 20260208.1

Failed tests:

coreclr linux arm Checked gcstress0xc_disabler2r_heapverify1 @ (Debian.13.Arm32.Open)AzureLinux.3.Arm64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-arm32v7
- baseservices/exceptions/unittests/StrSwitchFinally/StrSwitchFinally.cmd
coreclr linux arm Checked gcstress0xc_disabler2r @ (Debian.13.Arm32.Open)AzureLinux.3.Arm64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-arm32v7
- baseservices/exceptions/unittests/StrSwitchFinally/StrSwitchFinally.cmd
coreclr linux x64 Checked gcstress0xc_disabler2r @ AzureLinux.3.Amd64.Open
- baseservices/exceptions/unittests/StrSwitchFinally/StrSwitchFinally.cmd
coreclr linux x64 Checked gcstress0xc_jitstress1 @ AzureLinux.3.Amd64.Open
- baseservices/exceptions/unittests/StrSwitchFinally/StrSwitchFinally.cmd
coreclr linux arm64 Checked gcstress0xc_tailcallstress @ AzureLinux.3.Arm64.Open
- baseservices/exceptions/regressions/V1/SEH/VJ/UserExceptionThread/UserExceptionThread.cmd
- baseservices/exceptions/unittests/InnerFinallyAndCatch/InnerFinallyAndCatch.cmd
- baseservices/exceptions/unittests/StrSwitchFinally/StrSwitchFinally.cmd
coreclr linux arm64 Checked gcstress0xc_disabler2r_heapverify1 @ AzureLinux.3.Arm64.Open
- baseservices/exceptions/regressions/V1/SEH/VJ/UserExceptionThread/UserExceptionThread.cmd
- baseservices/exceptions/unittests/InnerFinally/InnerFinally.cmd
- baseservices/exceptions/unittests/InnerFinallyAndCatch/InnerFinallyAndCatch.cmd
coreclr linux arm64 Checked gcstress0xc_disabler2r @ AzureLinux.3.Arm64.Open
- baseservices/exceptions/regressions/V1/SEH/VJ/UserExceptionThread/UserExceptionThread.cmd
coreclr linux arm64 Checked gcstress0xc_jitstress1 @ AzureLinux.3.Arm64.Open
- baseservices/exceptions/regressions/V1/SEH/VJ/UserExceptionThread/UserExceptionThread.cmd
- baseservices/exceptions/unittests/InnerFinally/InnerFinally.cmd
- baseservices/exceptions/unittests/InnerFinallyAndCatch/InnerFinallyAndCatch.cmd
coreclr linux arm64 Checked gcstress0xc_jitstress2 @ AzureLinux.3.Arm64.Open
- baseservices/exceptions/regressions/V1/SEH/VJ/UserExceptionThread/UserExceptionThread.cmd
coreclr linux arm64 Checked gcstress0xc_disabler2r_jitstress2 @ AzureLinux.3.Arm64.Open
- baseservices/exceptions/regressions/V1/SEH/VJ/UserExceptionThread/UserExceptionThread.cmd
- baseservices/exceptions/unittests/InnerFinallyAndCatch/InnerFinallyAndCatch.cmd
coreclr osx arm64 Checked gcstress0xc_disabler2r @ OSX.26.Arm64.Open
- baseservices/exceptions/unittests/InnerFinally/InnerFinally.cmd
coreclr osx arm64 Checked gcstress0xc_disabler2r_heapverify1 @ OSX.26.Arm64.Open
- baseservices/exceptions/unittests/StrSwitchFinally/StrSwitchFinally.cmd

Error message:

ASSERT FAILED
	Expression: SanityCheck()
	Location:   /__w/1/s/src/coreclr/vm/methodtable.cpp:8771
	Function:   Validate
	Process:    860
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/root/helix/work/workitem/e/baseservices/exceptions/baseservices-exceptions/../unittests/StrSwitchFinally/StrSwitchFinally.sh: line 426:   860 Aborted                 (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/unittests/StrSwitchFinally/output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true StrSwitchFinally.dll ''
-----------------------------
StrSwitchFinalTest
-----------------------------
[createdump] Gathering state for process 860 corerun
[createdump] Crashing thread 035c signal 5 (0005)
[createdump] Writing crash report to file /datadisks/disk1/dumps/coredump.860.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /datadisks/disk1/dumps/coredump.860.dmp
[createdump] Written 67641344 bytes (16514 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 167ms
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /root/helix/work/workitem/e/baseservices/exceptions/baseservices-exceptions/../unittests/StrSwitchFinally/StrSwitchFinally.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 Program.<<Main>$>g__TestExecutor166|0_167(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Metadata

Metadata

Assignees

No one assigned

    Labels

    GCStressarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions