runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[RyuJIT/arm32] Assertion failed 'otherReg != REG_NA'

Open BruceForstall opened this issue 9 years ago • 6 comments

Found in Windows RyuJIT/arm32 pri-1 test run.

For example:

Assert failure(PID 1952 [0x000007a0], Thread: 9148 [0x23bc]): Assertion failed 'otherReg != REG_NA' in 'MCCTest.MyClass:GetSum():struct:this' (IL size 190)

    File: e:\gh\coreclr2\src\jit\codegenarmarch.cpp Line: 1834
    Image: c:\brucefo\core_root\Windows_NT.arm.Checked.2017-08-23\CoreRun.exe

Tests:

JIT\jit64\mcc\interop\mcc_i66\mcc_i66.cmd (TEST_IDENTIFIER = Tests.lst=mcc_i66.cmd_4418)
JIT\jit64\mcc\interop\mcc_i76\mcc_i76.cmd (TEST_IDENTIFIER = Tests.lst=mcc_i76.cmd_7428)
JIT\jit64\mcc\interop\mcc_i86\mcc_i86.cmd (TEST_IDENTIFIER = Tests.lst=mcc_i86.cmd_8782)
JIT\jit64\mcc\interop\mcc_i56\mcc_i56.cmd (TEST_IDENTIFIER = Tests.lst=mcc_i56.cmd_10490)
JIT\jit64\mcc\interop\mcc_i36\mcc_i36.cmd (TEST_IDENTIFIER = Tests.lst=mcc_i36.cmd_10553)

BruceForstall avatar Sep 01 '17 00:09 BruceForstall

cc @dotnet/arm32-contrib

BruceForstall avatar Sep 01 '17 00:09 BruceForstall

Unfortunately I can't reproduce this on Linux, because these tests are excluded for non-Windows system at testsUnsupportedOutsideWindows.txt

Is there any reason or history why these tests are excluded for non-Windows ?

hqueue avatar Sep 18 '17 03:09 hqueue

Unfortunately, these .txt files don't have (or allow) any comments, such as GitHub issues. So I don't know why they are excluded from non-Windows.

Someone should probably check that all the excluded-from-non-Windows tests still fail, for some good reason (and document why)

BruceForstall avatar Sep 23 '17 00:09 BruceForstall

Now I'm seeing this:

Assertion failed '(candidates & allRegs(regType)) != RBM_NONE'

BruceForstall avatar Sep 26 '17 21:09 BruceForstall

This new assert shows up a LOT with COMPlus_TailcallStress=1

BruceForstall avatar Sep 26 '17 22:09 BruceForstall

I believe this was fixed by dotnet/coreclr#14353

BruceForstall avatar Oct 09 '17 20:10 BruceForstall