runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[RyuJIT/arm32][JitStressRegs=1] Assertion failed '(assignedInterval->registerType != TYP_DOUBLE) || genIsValidDoubleReg(physRegRecord->regNum)'

Open BruceForstall opened this issue 9 years ago • 8 comments

From a Windows RyuJIT/arm32 run with COMPlus_JitStressRegs=1:

Assert failure(PID 8200 [0x00002008], Thread: 2120 [0x0848]): Assertion failed '(assignedInterval->registerType != TYP_DOUBLE) || genIsValidDoubleReg(physRegRecord->regNum)' in 'testout1:Func_0_5_4_6_1():double' (IL size 255)

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

Tests:

JIT\Methodical\fp\exgen\10w5d_cs_ro\10w5d_cs_ro.cmd (TEST_IDENTIFIER = Tests.lst=10w5d_cs_ro.cmd_6864)
JIT\Methodical\fp\exgen\10w250d_cs_do\10w250d_cs_do.cmd (TEST_IDENTIFIER = Tests.lst=10w250d_cs_do.cmd_1766)

BruceForstall avatar Sep 01 '17 18:09 BruceForstall

@dotnet/arm32-contrib

BruceForstall avatar Sep 01 '17 18:09 BruceForstall

@BruceForstall Let me check this.

sjsinju avatar Sep 04 '17 01:09 sjsinju

@sjsinju Any progress with this one? I see this a lot with COMPlus_JitStressRegs=4.

BruceForstall avatar Sep 26 '17 21:09 BruceForstall

@sjsinju Because there was something else, this was not progressing. I will start about two weeks after the our long vacation.

sjsinju avatar Sep 28 '17 01:09 sjsinju

In current x86_arm_altjit runs, I see this fail with the following tests and stress combinations:

COMPlus_JitStressRegs=1

JIT\Methodical\fp\exgen\10w5d_cs_ro\10w5d_cs_ro.cmd


COMPlus_JitStressRegs=4

JIT\Directed\coverage\oldtests\cse2_cs_do\cse2_cs_do.cmd
JIT\Directed\coverage\oldtests\cse2_cs_ro\cse2_cs_ro.cmd
JIT\Directed\perffix\primitivevt\mixed1_cs_do\mixed1_cs_do.cmd
JIT\Directed\perffix\primitivevt\mixed1_cs_ro\mixed1_cs_ro.cmd
JIT\Performance\CodeQuality\BenchF\DMath\DMath\DMath.cmd
JIT\Performance\CodeQuality\SciMark\SciMark\SciMark.cmd
JIT\Performance\CodeQuality\Bytemark\Bytemark\Bytemark.cmd
JIT\Performance\CodeQuality\FractalPerf\FractalPerf\FractalPerf.cmd
JIT\Regression\JitBlue\DevDiv_461649\DevDiv_461649\DevDiv_461649.cmd
JIT\Methodical\NaN\r4nanconv_il_r\r4nanconv_il_r.cmd
JIT\Methodical\NaN\r8nanconv_il_r\r8nanconv_il_r.cmd
JIT\Methodical\fp\exgen\10w5d_cs_ro\10w5d_cs_ro.cmd
JIT\Methodical\fp\exgen\10w5d_cs_do\10w5d_cs_do.cmd
JIT\Methodical\Boxing\morph\sin3double\sin3double.cmd
JIT\Methodical\Invoke\deep\_il_reldeep1\_il_reldeep1.cmd
JIT\Methodical\Invoke\deep\_il_reldeep2\_il_reldeep2.cmd


COMPlus_JitStressRegs=8

JIT\Methodical\fp\exgen\10w5d_cs_ro\10w5d_cs_ro.cmd
JIT\Methodical\fp\exgen\10w5d_cs_do\10w5d_cs_do.cmd

BruceForstall avatar Oct 06 '17 22:10 BruceForstall

Also seen 36 times in "Windows_NT x86_arm_altjit Checked corefx_jitstressregs4" CI test leg.

BruceForstall avatar Oct 17 '17 21:10 BruceForstall

@sjsinju Are you still looking at this?

BruceForstall avatar Oct 20 '17 20:10 BruceForstall

@BruceForstall Sorry, I'm late to this thread. @sjsinju was out-of-office for about 2 weeks and will be available from next week.

And for failed tests, I've ran above failed tests with recent coreclr and they all passed. I think various recent PRs related to LSRA also fixed this bug.

Environment: Raspberry Pi (Ubuntu 16.04) and coreclr (fe8ce77cf9d) Checked build.

COMPlus_JitStressRegs=1
         - [   7s]JIT/Methodical/fp/exgen/10w250d_cs_do/10w250d_cs_do.sh
         - [  30s]JIT/Methodical/fp/exgen/10w5d_cs_ro/10w5d_cs_ro.sh

=======================
     Test Results
=======================
# CoreCLR Bin Dir  : 
# Tests Discovered : 2
# Passed           : 2
# Failed           : 0
# Skipped          : 0
=======================


COMPlus_JitStressRegs=4
         - [  10s]JIT/Directed/coverage/oldtests/cse2_cs_do/cse2_cs_do.sh
The tests have been prepared
         - [  10s]JIT/Directed/coverage/oldtests/cse2_cs_ro/cse2_cs_ro.sh
The tests have been prepared
         - [  11s]JIT/Directed/perffix/primitivevt/mixed1_cs_do/mixed1_cs_do.sh
The tests have been prepared
         - [  12s]JIT/Directed/perffix/primitivevt/mixed1_cs_ro/mixed1_cs_ro.sh
The tests have been prepared
         - [   9s]JIT/Methodical/NaN/r4nanconv_il_r/r4nanconv_il_r.sh
The tests have been prepared
         - [  13s]JIT/Performance/CodeQuality/FractalPerf/FractalPerf/FractalPerf.sh
The tests have been prepared
         - [   9s]JIT/Methodical/NaN/r8nanconv_il_r/r8nanconv_il_r.sh
The tests have been prepared
         - [  31s]JIT/Performance/CodeQuality/BenchF/DMath/DMath/DMath.sh
The tests have been prepared
         - [  33s]JIT/Performance/CodeQuality/SciMark/SciMark/SciMark.sh
The tests have been prepared
         - [   9s]JIT/Methodical/Boxing/morph/sin3double/sin3double.sh
         - [  12s]JIT/Methodical/Invoke/deep/_il_reldeep1/_il_reldeep1.sh
         - [  12s]JIT/Methodical/Invoke/deep/_il_reldeep2/_il_reldeep2.sh
         - [  44s]JIT/Regression/JitBlue/DevDiv_461649/DevDiv_461649/DevDiv_461649.sh
         - [  39s]JIT/Methodical/fp/exgen/10w5d_cs_ro/10w5d_cs_ro.sh
         - [  40s]JIT/Methodical/fp/exgen/10w5d_cs_do/10w5d_cs_do.sh
         - [ 152s]JIT/Performance/CodeQuality/Bytemark/Bytemark/Bytemark.sh

=======================
     Test Results
=======================
# CoreCLR Bin Dir  :
# Tests Discovered : 16
# Passed           : 16
# Failed           : 0
# Skipped          : 0
=======================

COMPlus_JitStressRegs=8
         - [  30s]JIT/Methodical/fp/exgen/10w5d_cs_ro/10w5d_cs_ro.sh
         - [  31s]JIT/Methodical/fp/exgen/10w5d_cs_do/10w5d_cs_do.sh
=======================
     Test Results
=======================
# CoreCLR Bin Dir  : 
# Tests Discovered : 2
# Passed           : 2
# Failed           : 0
# Skipped          : 0
=======================

Can you cross check on this ?

hqueue avatar Nov 02 '17 12:11 hqueue