runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[RyuJIT/armel] Assertion failed 'argValue->TypeGet() == TYP_STRUCT'

Open hqueue opened this issue 9 years ago • 3 comments

JIT/Methodical/tailcall/_il_dbgtest_3b/ fails in armel with RyuJIT.

In Checked, following tests failed with an assertion as follows.

FAILED   - [   0s]JIT/Methodical/tailcall/_il_dbgtest_3b/_il_dbgtest_3b.sh
               BEGIN EXECUTION
               /opt/usr/coreclr-tc/Windows_NT.x86.Release/Tests/coreoverlay/corerun _il_dbgtest_3b.exe
               
               Assert failure(PID 26011 [0x0000659b], Thread: 26011 [0x659b]): Assertion failed 'argValue->TypeGet() == TYP_STRUCT' in 'JitTest.TestClass:TestFunc1():int' (IL size 28)
               
                   File: /var/jenkins/workspace/netcore/github_master/cross_checked/build/build_coreclr_checked/repo/code/src/jit/morph.cpp Line: 4993
                   Image: /opt/usr/coreclr-tc/Windows_NT.x86.Release/Tests/coreoverlay/corerun
               
               ./_il_dbgtest_3b.sh: line 243: 26011 Aborted                 $_DebuggerFullPath "$CORE_ROOT/corerun" $ExePath $CLRTestExecutionArguments
               Expected: 100
               Actual: 134
               END EXECUTION - FAILED

In Release, the test fails with segmentation fault as follows.

FAILED   - [   1s]JIT/Methodical/tailcall/_il_dbgtest_3b/_il_dbgtest_3b.sh
               BEGIN EXECUTION
               /opt/usr/coreclr-tc/Windows_NT.x86.Release/Tests/coreoverlay/corerun _il_dbgtest_3b.exe
               ./_il_dbgtest_3b.sh: line 243:  6557 Segmentation fault      $_DebuggerFullPath "$CORE_ROOT/corerun" $ExePath $CLRTestExecutionArguments
               Expected: 100
               Actual: 139
               END EXECUTION - FAILED

hqueue avatar Nov 09 '17 07:11 hqueue

@hseok-oh Is this a known issue? or related to other tail call issues?

/cc: @dotnet/arm32-contrib

hqueue avatar Nov 09 '17 07:11 hqueue

Could you please clarify what environment has been used to get such failure? I mean Windows or Linux because it is not clear from the description.

rartemev avatar Nov 10 '17 21:11 rartemev

armel == ARM_SOFTFP, and only exists on Linux. We do have armelnonjit.dll, as a cross-compiler altjit, even on Windows.

BruceForstall avatar Nov 10 '17 23:11 BruceForstall