runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[RyuJIT/ARM32] Regression: Assertion failed 'objChild->isContained()'

Open hqueue opened this issue 9 years ago • 2 comments

With recent commit 367d9b1dd1b, following regression is observed in Checked build. And also failed in Release build.

FAILED   - [   1][   4s]JIT/CodeGenBringUpTests/struct16args/struct16args.sh
               BEGIN EXECUTION
               /mnt/albireo/mywork/device/rpi3/unittests/coreoverlays/coreoverlay.test20170818-2-Regression.Checked/corerun struct16args.exe
               
               Assert failure(PID 17875 [0x000045d3], Thread: 17875 [0x45d3]): Assertion failed 'objChild->isContained()' in 'BringUpTest:Main():int' (IL size 410)
               
                   File: /opt/code/github/hqueue/coreclr/src/jit/lsraarmarch.cpp Line: 664
                   Image: /mnt/albireo/mywork/device/rpi3/unittests/coreoverlays/coreoverlay.test20170818-2-Regression.Checked/corerun
               
               ./struct16args.sh: line 243: 17875 Aborted                 (core dumped) $_DebuggerFullPath "$CORE_ROOT/corerun" $ExePath $CLRTestExecutionArguments
               Expected: 100
               Actual: 134
               END EXECUTION - FAILED

hqueue avatar Aug 18 '17 09:08 hqueue

@CarolEidt I'm afraid this is also related to dotnet/coreclr#13198. With 5dada64d4bc9eddb63579650e1fce4f5ffda0294 (#13198), above test start to fail with another assertion (same as https://github.com/dotnet/coreclr/issues/13453#issuecomment-323644708) as below. And I hope fix dotnet/coreclr#13470 can address this issue too.

FAILED   - [   1][   4s]JIT/CodeGenBringUpTests/struct16args/struct16args.sh
               BEGIN EXECUTION
               /mnt/albireo/mywork/device/rpi3/unittests/coreoverlays/coreoverlay.test20170816.Checked.debugging/corerun struct16args.exe
               
               Assert failure(PID 20167 [0x00004ec7], Thread: 20167 [0x4ec7]): Assertion failed 'reg1 != reg2' in 'System.RuntimeType:MakeGenericType(ref):ref:this' (IL size 236)
               
                   File: /opt/code/github/hqueue/coreclr/src/jit/emitarm.cpp Line: 2018
                   Image: /mnt/albireo/mywork/device/rpi3/unittests/coreoverlays/coreoverlay.test20170816.Checked.debugging/corerun
               
               ./struct16args.sh: line 243: 20167 Aborted                 (core dumped) $_DebuggerFullPath "$CORE_ROOT/corerun" $ExePath $CLRTestExecutionArguments
               Expected: 100
               Actual: 134
               END EXECUTION - FAILED

About 22 tests are failing with above assertion in pri0 test from the latest master.

hqueue avatar Aug 21 '17 04:08 hqueue

The original assertion is fixed by dotnet/coreclr#13470

hqueue avatar Aug 25 '17 05:08 hqueue