runtime
runtime copied to clipboard
[RyuJIT/armel] Assertion failed 'argValue->TypeGet() == TYP_STRUCT'
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
@hseok-oh Is this a known issue? or related to other tail call issues?
/cc: @dotnet/arm32-contrib
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.
armel == ARM_SOFTFP, and only exists on Linux. We do have armelnonjit.dll, as a cross-compiler altjit, even on Windows.