Skip to content

Assert failure: pRD->_pThread->IsExecutingOnAltStack() || PTR_VOID(pRD->SP) >= pRD->_pThread->GetCachedStackLimit() #124839

@VincentBu

Description

@VincentBu

Failed in: runtime-coreclr jitstress 20260223.1

Failed tests:

coreclr linux arm64 Checked jitminopts @ AzureLinux.3.Arm64.Open
- JIT/Performance/CodeQuality/BenchmarksGame/binarytrees/binarytrees-2/binarytrees-2.cmd

Error message:

ASSERT FAILED
	Expression: pRD->_pThread->IsExecutingOnAltStack() || PTR_VOID(pRD->SP) >= pRD->_pThread->GetCachedStackLimit()
	Location:   /__w/1/s/src/coreclr/vm/threads.cpp:5685
	Function:   CheckRegDisplaySP
	Process:    5260
waitpid() returned successfully (wstatus 00000085) WEXITSTATUS 0 WTERMSIG 5
/datadisks/disk1/work/C04109CF/w/B589097F/e/JIT/Performance/JIT.performance/../CodeQuality/BenchmarksGame/binarytrees/binarytrees-2/binarytrees-2.sh: line 432:  5248 Segmentation fault      (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /datadisks/disk1/work/C04109CF/w/B589097F/uploads/CodeQuality/BenchmarksGame/binarytrees/binarytrees-2/output.txt
Raw output:
BEGIN EXECUTION
/datadisks/disk1/work/C04109CF/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true binarytrees-2.dll ''
stretch tree of depth 7	 check: 255
64	 trees of depth 4	 check: 1984
16	 trees of depth 6	 check: 2032
long lived tree of depth 6	 check: 127
[createdump] Gathering state for process 5248 corerun
[createdump] Crashing thread 1480 signal 11 (000b)
Expected: 100
Actual: 139
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> /datadisks/disk1/work/C04109CF/w/B589097F/e/JIT/Performance/JIT.performance/../CodeQuality/BenchmarksGame/binarytrees/binarytrees-2/binarytrees-2.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 Xunit.Assert.True(Boolean condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 123
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor96|0_97(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
<style> </style>
Queued Pipeline Pipeline_Configuration OS Arch Test Outcome Properties BuildReason
11/3/2025, 4:48:05.651 PM runtime-interpreter Checked-interpmode1 azurelinux.3.amd64.open.rt x64 JIT/Performance/CodeQuality/BenchmarksGame/binarytrees/binarytrees-2/binarytrees-2.cmd Failed {"System.PhaseAttempt":"1","DefinitionName":"runtime-interpreter","DefinitionId":"316","System.PhaseName":"run_test_p1__linux_x64_checked","System.JobAttempt":"1","System.JobName":"__default","Reason":"Schedule","configuration":"Checked-interpmode1","System.JobId":"6dfec640-5b96-5d95-2a5b-7c236ea2d5c5","BuildNumber":"20251103.1","AzurePipelinesTestRunId":"32980058","operatingSystem":"AzureLinux.3.Amd64.Open","System.StageName":"Build","System.StageAttempt":"1","BuildId":"1191892","architecture":"x64","Project":"public","CollectionUri":"https://dev.azure.com/dnceng-public/"} Schedule

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions