Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[linux_390] SE80_GIT decompileAtMethodResolve_0 Illegal instruction at Compiled_method=com/ibm/jvmti/tests/decompileAtMethodResolve/ResolveTest1Super.test()V #9876

Closed
JasonFengJ9 opened this issue Jun 14, 2020 · 26 comments

Comments

@JasonFengJ9
Copy link
Member

Failure link

From an internal build acceptance build 449148:

java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 8.0.7.0 - pxz3180sr7-20200528_02(SR7))
IBM J9 VM (build 2.9, JRE 1.8.0 Linux s390-31-Bit 20200614_449148 (JIT enabled, AOT enabled)
OpenJ9   - ca6b724
OMR      - 4e3a0f4
IBM      - 49b6835)
JCL - 20200528_01 based on Oracle jdk8u261-b76

Optional info

  • intermittent failure (yes):

Failure output (captured from console output)

===============================================
Running test decompileAtMethodResolve_0 ...
===============================================
decompileAtMethodResolve_0 Start Time: Sun Jun 14 09:59:37 2020 Epoch Time (ms): 1592153977324
"/j9vm/ascii/builds/bld_449148/sdk/xz3180/bin/java" -Xshareclasses:destroyAll; "/j9vm/ascii/builds/bld_449148/sdk/xz3180/bin/java" -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done";
JVMSHRC005I No shared class caches available
JVMSHRC005I No shared class caches available
cache cleanup done
variation: NoOptions
JVM_OPTIONS:  
{ itercnt=1; \
	mkdir -p "/tmp/bld_449148/decompileAtMethodResolve_0"; \
	cd "/tmp/bld_449148/decompileAtMethodResolve_0"; \
	"/j9vm/ascii/builds/bld_449148/sdk/xz3180/bin/java"   \
	-XXdecomp:forceDecompile "-Xjit:count=0,limit={*.test*},rtresolve" -Xrunjdwp:transport=dt_socket,address=8888,server=y,onthrow=no.pkg.foo,launch=echo \
	-cp "/j9vm/ascii/builds/bld_449148/jvmtest/test/SE80/functional/cmdLineTests/jvmtitests/jvmtitest.jar" com.ibm.jvmti.tests.decompileAtMethodResolve.ResolveTest; \
	if [ $? -eq 0 ] ; then echo ""; echo "decompileAtMethodResolve_0""_PASSED"; echo ""; cd /j9vm/ascii/builds/bld_449148/jvmtest/test/SE80;  else perl "-I/j9vm/ascii/builds/bld_449148/../../javatest/HEAD_382595/test/lib/perl" -mResultStore::Uploader -e "ResultStore::Uploader::upload('.',449148,646668515,'vmfarm.ottawa.ibm.com:31','results-646668515')"; echo ""; echo "decompileAtMethodResolve_0""_FAILED"; echo ""; fi; } 2>&1 | tee -a "/tmp/bld_449148/TestTargetResult";

Starting test: Mixed
Unhandled exception
Type=Illegal instruction vmState=0x00000000
J9Generic_Signal_Number=00000048 Signal_Number=00000004 Error_Value=00000000 Signal_Code=00000001
Handler1=7C518CD0 Handler2=7C7654B8
gpr0=00000016 gpr1=7D1E9EA4 gpr2=0000000E gpr3=7C66975C
gpr4=79DCD25A gpr5=77733568 gpr6=00000000 gpr7=2FFC63C8
gpr8=00000000 gpr9=10015B58 gpr10=00000028 gpr11=10015B80
gpr12=7C63F7A8 gpr13=7C669900 gpr14=7B5F1000 gpr15=7D1E9ED8
hgpr0=7D2B3000 hgpr1=77733568 hgpr2=7C66974C hgpr3=00000000
hgpr4=00000000 hgpr5=00000000 hgpr6=7D2B3640 hgpr7=0000010E
hgpr8=00000001 hgpr9=0000010E hgpr10=7C166000 hgpr11=7BECA18C
hgpr12=FC1452EA hgpr13=00000000 hgpr14=00000000 hgpr15=00000000
psw=F9DCD262 mask=070DD000 fpc=00080000 bea=77733568
fpr0 3ff0000000000000 (f: 0.000000, d: 1.000000e+00)
fpr1 4030000000000000 (f: 0.000000, d: 1.600000e+01)
fpr2 400000007c7eaaa0 (f: 2088675968.000000, d: 2.000001e+00)
fpr3 3eceb40024924925 (f: 613566784.000000, d: 3.660098e-06)
fpr4 4010000000000000 (f: 0.000000, d: 4.000000e+00)
fpr5 3c8c14b092492492 (f: 2454267136.000000, d: 4.871246e-17)
fpr6 4100000000000000 (f: 0.000000, d: 1.310720e+05)
fpr7 3e2bfc7a92492492 (f: 2454267136.000000, d: 3.258028e-09)
fpr8 3ce7168800000000 (f: 0.000000, d: 2.563284e-15)
fpr9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr10 3c07528400000000 (f: 0.000000, d: 1.580382e-19)
fpr11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr12 388f3d0900000000 (f: 0.000000, d: 2.937647e-36)
fpr13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr14 3e17cee700000000 (f: 0.000000, d: 1.385820e-09)
fpr15 0000000000000000 (f: 0.000000, d: 0.000000e+00)

Compiled_method=com/ibm/jvmti/tests/decompileAtMethodResolve/ResolveTest1Super.test()V
Target=2_90_20200614_449148 (Linux 2.6.32-754.23.1.el6.s390x)
CPU=s390 (4 logical CPUs) (0xf34e0000 RAM)
----------- Stack Backtrace -----------
(0x7C783278 [libj9prt29.so+0x37278])
(0x7C7667E6 [libj9prt29.so+0x1a7e6])
(0x7C78330C [libj9prt29.so+0x3730c])
(0x7C783402 [libj9prt29.so+0x37402])
(0x7C7830CA [libj9prt29.so+0x370ca])
(0x7C7667E6 [libj9prt29.so+0x1a7e6])
(0x7C783162 [libj9prt29.so+0x37162])
(0x7C518C30 [libj9vm29.so+0x91c30])
(0x7C7667E6 [libj9prt29.so+0x1a7e6])
(0x7C518DEC [libj9vm29.so+0x91dec])
(0x7C765712 [libj9prt29.so+0x19712])
(0x7D1E9CE0 [<unknown>+0x0])
(0x79DCD262 [<unknown>+0x0])
---------------------------------------

Only one occurrence in a 100x grinder.

@pshipton
Copy link
Member

@fjeremic

@fjeremic
Copy link
Contributor

@PushkarBettadpur could you please help take a look at this one? I suspect it is another instance of VICOM emulation not being properly represented in the JIT. We can check with Joe whether this machine was added recently. First step I'd say is to hop on and try and get a reproduction, or run a grinder.

@PushkarBettadpur
Copy link
Contributor

Tested this internally over the last few days. A grinder was unable to reproduce the issue, however, based on some of his previous work Rahil suspected that the ETND instruction might be causing issues on some of our systems. However, this instruction doesn't seem to be executed in most of our cases.

Added a JIT-Hack to unilaterally emit an ETND instruction for a recognized method (inlineStringHashCode) and was able to reproduce an illegal instruction failure on these machines.

@fjeremic
Copy link
Contributor

Can you print the contents of cat /proc/cpuinfo? Also can you confirm the same tests works on non-SVL machines?

@PushkarBettadpur
Copy link
Contributor

@fjeremic the output of cat /proc/cpuinfo is as follows

vendor_id       : IBM/S390
# processors    : 4
bogomips per cpu: 18115.00
features	: esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te 
facilities      : 0 1 2 3 4 6 7 8 9 10 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 40 41 42 43 44 45 46 47 48 49 50 51 52 57 73 74 75 76 77 81 82 131
processor 0: version = FF,  identification = 09E977,  machine = 2827
processor 1: version = FF,  identification = 09E977,  machine = 2827
processor 2: version = FF,  identification = 09E977,  machine = 2827
processor 3: version = FF,  identification = 09E977,  machine = 2827

Also can you confirm the same tests works on non-SVL machines?

Yes, I tried running the test on a non SVL machine and it passes.

@fjeremic
Copy link
Contributor

Ok so te is definitely there according to the OS. I see no reason why we would get a SIGILL on ETND instruction, which according to PoPs should only cause problems if the facility is not present. My suspicion is VICOM emulation still.

@pshipton
Copy link
Member

pshipton commented Oct 7, 2020

More internal illegal instruction failures running Java 8 testing, @VermaSh looked at these and associated them with this issue.
job_output.php?id=658370765 - fyrlx106 - cmdLineTester_decompilationTests_0
job_output.php?id=658370512 - fyrlx10u - decompileAtMethodResolve_0
job_output.php?id=658425672 - lnxec402 - decompileAtMethodResolve_0

@VermaSh
Copy link
Contributor

VermaSh commented Oct 8, 2020

Unfortunately, I was unable to reproduce the issue locally on those machines. I believe it's because they have been restarted since the failures were reported. We'll have to wait until the failure resurfaces.

For future reference, here is a unit test to reproduce the failure locally (Thanks to @r30shah):

diff --git a/compiler/z/codegen/OMRCodeGenerator.cpp b/compiler/z/codegen/OMRCodeGenerator.cpp
index c83477c6f..69ad5d256 100644
--- a/compiler/z/codegen/OMRCodeGenerator.cpp
+++ b/compiler/z/codegen/OMRCodeGenerator.cpp
@@ -2244,6 +2244,11 @@ OMR::Z::CodeGenerator::doBinaryEncoding()
       {
       TR::Node *node = self()->comp()->getStartTree()->getNode();
       cursor = generateS390EInstruction(self(), TR::InstOpCode::BREAK, node, cursor);
+      TR::Register *codeReg2 = self()->machine()->getRealRegister(TR::RealRegister::GPR6);
+      TR::Register *codeReg1 = self()->machine()->getRealRegister(TR::RealRegister::GPR0);
+      cursor = generateRRInstruction(self(), TR::InstOpCode::LGR, self()->comp()->getStartTree()->getNode(), codeReg1, codeReg2, cursor);
+      cursor = generateRREInstruction(self(), TR::InstOpCode::ETND, self()->comp()->getStartTree()->getNode(), codeReg2, codeReg2, cursor);
+      cursor = generateRRInstruction(self(), TR::InstOpCode::LGR, self()->comp()->getStartTree()->getNode(), codeReg2, codeReg1, cursor);
       }

    if (recomp != NULL)

cmd:
gdb --args java -Xjit:count=0,disableAsyncCompilation,"limit={*putVal*}(traceCG,log=methodLog,breakOnEntry)" -version

@pshipton
Copy link
Member

@joransiu fyi

Another internal failure on lnxec417.
[linux_390] SE80_GIT decompileAtMethodResolve_0

Starting test: Mixed
Unhandled exception
Type=Illegal instruction vmState=0x00000000
J9Generic_Signal_Number=00000048 Signal_Number=00000004 Error_Value=00000000 Signal_Code=00000001
Handler1=7C611DC8 Handler2=7C848B58
gpr0=00000016 gpr1=7D0ECEEC gpr2=0000000E gpr3=7C763BB4
gpr4=79E6223A gpr5=77C1B500 gpr6=00000000 gpr7=7D0ED028
gpr8=FB53A180 gpr9=7D0ED030 gpr10=7C72B590 gpr11=7C739B98
gpr12=7D0ED364 gpr13=7C763E00 gpr14=7B68D000 gpr15=7D0ECF28
psw=F9E62242 mask=070D1000 fpc=0008fe00 bea=7C648668
fpr0 3ff0000000000000 (f: 0.000000, d: 1.000000e+00)
fpr1 4030000000000000 (f: 0.000000, d: 1.600000e+01)
fpr2 4000000000000001 (f: 1.000000, d: 2.000000e+00)
fpr3 3c89cc2a00000000 (f: 0.000000, d: 4.475156e-17)
fpr4 4010000000000000 (f: 0.000000, d: 4.000000e+00)
fpr5 3e63ad7900000000 (f: 0.000000, d: 3.665244e-08)
fpr6 4100000000000000 (f: 0.000000, d: 1.310720e+05)
fpr7 3ce4cb0d92492492 (f: 2454267136.000000, d: 2.308506e-15)
fpr8 3e925bbfbb965170 (f: 3147190528.000000, d: 2.735614e-07)
fpr9 3e1cd04f00000000 (f: 0.000000, d: 1.677178e-09)
fpr10 3e3a516700000000 (f: 0.000000, d: 6.127632e-09)
fpr11 3e17889700000000 (f: 0.000000, d: 1.369833e-09)
fpr12 3e2b215100000000 (f: 0.000000, d: 3.158364e-09)
fpr13 3e6df2bd00000000 (f: 0.000000, d: 5.578286e-08)
fpr14 41b0000000000000 (f: 0.000000, d: 2.684355e+08)
fpr15 3f11999a00000000 (f: 0.000000, d: 6.713870e-05)

Compiled_method=com/ibm/jvmti/tests/decompileAtMethodResolve/ResolveTest1Super.test()V
Target=2_90_20220926_37322 (Linux 3.10.0-1160.76.1.el7.s390x)
CPU=s390 (2 logical CPUs) (0xfa8b9000 RAM)
----------- Stack Backtrace -----------
protectedBacktrace+0x20 (0x7C86D258 [libj9prt29.so+0x47258])
omrsig_protect+0x2be (0x7C849E86 [libj9prt29.so+0x23e86])
omrintrospect_backtrace_thread_raw+0x9e (0x7C86D6C6 [libj9prt29.so+0x476c6])
protectedIntrospectBacktraceThread+0x22 (0x7C86D042 [libj9prt29.so+0x47042])
omrsig_protect+0x2be (0x7C849E86 [libj9prt29.so+0x23e86])
omrintrospect_backtrace_thread+0x72 (0x7C86D0F2 [libj9prt29.so+0x470f2])
generateDiagnosticFiles+0x92 (0x7C611D22 [libj9vm29.so+0xb3d22])
omrsig_protect+0x2be (0x7C849E86 [libj9prt29.so+0x23e86])
structuredSignalHandler+0x11c (0x7C611EE4 [libj9vm29.so+0xb3ee4])
mainSynchSignalHandler+0x25a (0x7C848DB2 [libj9prt29.so+0x22db2])
 (0x7D0ECB38 [<unknown>+0x0])
 (0x79E62242 [<unknown>+0x0])
---------------------------------------

@r30shah
Copy link
Contributor

r30shah commented Sep 26, 2022

I launched a grinder and was able to reproduce this on lnxec417.svl.ibm.com and quickly grab core-dumps. It is generating ETND instruction. @VermaSh do you have the unit test you mentioned in #9876 (comment) available to try on?

@pshipton
Copy link
Member

Another one in the next build on the same machine. I'm disabling the machine for now.

@r30shah
Copy link
Contributor

r30shah commented Sep 26, 2022

I did try out the unit test we have written in C to reproduce failure, it fails 100%,

j9build@lnxec417 5 13:00:38 /team/rahil# cat test.c
#include <stdio.h>
#include <string.h>
int main()
{
    register unsigned long reg0 asm("0");
    asm volatile(
        ".insn s,0xb2ec0000,0(%1)"
        : "+d" (reg0));
    printf("GPR0 = %llx\n", reg0);
}
j9build@lnxec417 6 13:01:16 /team/rahil# ./a.out
Illegal instruction (core dumped)

@VermaSh
Copy link
Contributor

VermaSh commented Sep 27, 2022

Thanks Rahil for the unit test! My unit test was a JIT hack, unfortunately I don't have that build handy.

It seems to be a VICOM emulation issue. I know our previous VICOM emulation related failure for POPCNT z15 instruction couldn't be fixed because the host machine (z14) simply couldn't support the new mask added on z15. This looks different because Transactional-Execution Facility has been available since zEC12.

I'll try to get some context (a comparison with non-VICOM machine) into why this is failing on VICOM. Hopefully we can take it to the VICOM team for a fix.

@VermaSh
Copy link
Contributor

VermaSh commented Oct 18, 2022

Unfortunately the machine has disappeared. The infra team is looking into the disappearance. internal issue

@VermaSh
Copy link
Contributor

VermaSh commented Oct 19, 2022

The machine is back, but the c unit test no longer fails. We just might have to wait until it starts failing again. To be sure, I am going to get a build with unit test in #9876 (comment)

Personal build with JIT hack: /job/jvm.29.personal/31835/

@pshipton
Copy link
Member

pshipton commented Oct 24, 2022

Another one in an internal test - lnxec402

@pshipton
Copy link
Member

Another one on fyrlx10u

@pshipton
Copy link
Member

Another one on fyrlx107

@pshipton
Copy link
Member

Another one on lnxec403

@pshipton
Copy link
Member

Another Illegal instruction on lnxec383 which is a better match to #9514, but I'm assuming all the Illegal instruction failures are similar. If this isn't the case let me know.

[Linux S390] 80 VM_Sanity.TestRefreshGCSpecialClassesCache_BCI_EXTENDED_HCR.Mode107

Starting test_EXTENDED_HCR(com.ibm.javaagent.junit.RefreshGCCache_ExtendedHCR_Test)
Attempting BCI...
Instrumenting java/lang/ClassLoader by adding a new method.
Attempting to add call in method : getResource
Attempting to add call in method : getResources
Attempting to add call in method : getResourceAsStream
BCI complete
Attempting to redefine instrumented classs with new method added...
Unhandled exception
Type=Illegal instruction vmState=0x00040000
J9Generic_Signal_Number=00000048 Signal_Number=00000004 Error_Value=00000000 Signal_Code=00000001
Handler1=7CA11DD8 Handler2=7C90AC78
gpr0=00000016 gpr1=7D4BFD1C gpr2=0000000E gpr3=786D3DA8
gpr4=7A6BA9EE gpr5=77FBC3F0 gpr6=00000000 gpr7=7D4BFE58
gpr8=00000000 gpr9=7D4BFEBC gpr10=00000078 gpr11=00000063
gpr12=0000006F gpr13=7CB57600 gpr14=0000007C gpr15=7D4BFD58
psw=FA6BA9F6 mask=070D1000 fpc=0008fe00 bea=7CA489F8
fpr0 42a030b07cad7b5c (f: 2091744128.000000, d: 8.900653e+12)
fpr1 3d437e60ac782e4f (f: 2893557248.000000, d: 1.385108e-13)
fpr2 3e3ab2837d4c0a48 (f: 2102135424.000000, d: 6.215954e-09)
fpr3 3ecccccf7cad7b5c (f: 2091744128.000000, d: 3.433232e-06)
fpr4 0061007a00e000f6 (f: 14680310.000000, d: 7.566080e-307)
fpr5 3e638e2ca000c000 (f: 2684403712.000000, d: 3.642471e-08)
fpr6 00df00df00b500b5 (f: 11862197.000000, d: 1.766012e-304)
fpr7 3a108fb080008000 (f: 2147516416.000000, d: 5.225821e-29)
fpr8 3e924927268e9000 (f: 646877184.000000, d: 2.724790e-07)
fpr9 3e1cd04f00000000 (f: 0.000000, d: 1.677178e-09)
fpr10 3e3a332800000000 (f: 0.000000, d: 6.100123e-09)
fpr11 3e17889700000000 (f: 0.000000, d: 1.369833e-09)
fpr12 3cc05fb300000000 (f: 0.000000, d: 4.544649e-16)
fpr13 3e6df2bd00000000 (f: 0.000000, d: 5.578286e-08)
fpr14 41a8000000000000 (f: 0.000000, d: 2.013266e+08)
fpr15 3f11999a00000000 (f: 0.000000, d: 6.713870e-05)

Compiled_method=sun/instrument/InstrumentationImpl.redefineClasses([Ljava/lang/instrument/ClassDefinition;)V
Target=2_90_20221121_40697 (Linux 3.10.0-1160.76.1.el7.s390x)
CPU=s390 (1 logical CPUs) (0x7cbd7000 RAM)
----------- Stack Backtrace -----------
protectedBacktrace+0x20 (0x7C92F4B8 [libj9prt29.so+0x474b8])
omrsig_protect+0x2be (0x7C90BFA6 [libj9prt29.so+0x23fa6])
omrintrospect_backtrace_thread_raw+0x9e (0x7C92F926 [libj9prt29.so+0x47926])
protectedIntrospectBacktraceThread+0x22 (0x7C92F2A2 [libj9prt29.so+0x472a2])
omrsig_protect+0x2be (0x7C90BFA6 [libj9prt29.so+0x23fa6])
omrintrospect_backtrace_thread+0x72 (0x7C92F352 [libj9prt29.so+0x47352])
generateDiagnosticFiles+0x92 (0x7CA11D32 [libj9vm29.so+0xb3d32])
omrsig_protect+0x2be (0x7C90BFA6 [libj9prt29.so+0x23fa6])
structuredSignalHandler+0x11c (0x7CA11EF4 [libj9vm29.so+0xb3ef4])
mainSynchSignalHandler+0x25a (0x7C90AED2 [libj9prt29.so+0x22ed2])
 (0x7D4BF968 [<unknown>+0x0])
 (0x7A6BA9F6 [<unknown>+0x0])
---------------------------------------

@pshipton
Copy link
Member

pshipton commented Jan 9, 2023

Internal test 1
[linux_390-64_cmprssptrs] SE80_GIT decompileAtMethodResolve_0 - fyrlx107

Running test decompileAtMethodResolve_0 ...
===============================================
decompileAtMethodResolve_0 Start Time: Mon Jan  9 11:02:03 2023 Epoch Time (ms): 1673290923648
"/j9vm/ascii/builds/bld_43510/sdk/xz6480/bin/java" -Xshareclasses:destroyAll; "/j9vm/ascii/builds/bld_43510/sdk/xz6480/bin/java" -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done";
JVMSHRC005I No shared class caches available
JVMSHRC005I No shared class caches available
cache cleanup done
variation: NoOptions
JVM_OPTIONS:  
{ itercnt=1; \
mkdir -p "/tmp/bld_43510/decompileAtMethodResolve_0"; \
cd "/tmp/bld_43510/decompileAtMethodResolve_0"; \
"/j9vm/ascii/builds/bld_43510/sdk/xz6480/bin/java"   \
-XXdecomp:forceDecompile "-Xjit:count=0,limit={*.test*},rtresolve" -Xrunjdwp:transport=dt_socket,address=8888,server=y,onthrow=no.pkg.foo,launch=echo \
-cp "/j9vm/ascii/builds/bld_43510/jvmtest/test/SE80/functional/cmdLineTests/jvmtitests/jvmtitest.jar" com.ibm.jvmti.tests.decompileAtMethodResolve.ResolveTest; \
if [ $? -eq 0 ] ; then echo ""; echo "decompileAtMethodResolve_0""_PASSED"; echo ""; cd /j9vm/ascii/builds/bld_43510/jvmtest/test/SE80;  else perl "-I/j9vm/ascii/builds/bld_43510/../../javatest/HEAD_382595/test/lib/perl" -mResultStore::Uploader -e "ResultStore::Uploader::upload('.',43510,51067318,'vmfarm.rtp.raleigh.ibm.com:31','results-51067318')"; echo ""; echo "decompileAtMethodResolve_0""_FAILED"; echo ""; fi; } 2>&1 | tee -a "/tmp/bld_43510/TestTargetResult";

Starting test: Mixed
Unhandled exception
Type=Illegal instruction vmState=0x00000000
J9Generic_Signal_Number=00000048 Signal_Number=00000004 Error_Value=00000000 Signal_Code=00000001
Handler1=000003FFA9666E10 Handler2=000003FFA93ACD38
gpr0=0000000000000016 gpr1=000003FFAA07D1F8 gpr2=000000000000000E gpr3=000003FFA9739A88
gpr4=000003FF8C4FF250 gpr5=000003FFA44C0C30 gpr6=0000000000000000 gpr7=0000000000002502
gpr8=000003FFA8E8A620 gpr9=000003FFA40A1BF0 gpr10=000003FFA4006DF0 gpr11=000003FFA8C223B8
gpr12=000003FFA90140DC gpr13=0000000000067F00 gpr14=000003FF9D950AAE gpr15=000003FFAA07D280
psw=000003FF8C4FF258 mask=0705100180000000 fpc=0008fe00 bea=000003FFA96A9380
fpr0 3ff0000000000000 (f: 0.000000, d: 1.000000e+00)
fpr1 4030000000000000 (f: 0.000000, d: 1.600000e+01)
fpr2 40000000a4011520 (f: 2751534336.000000, d: 2.000001e+00)
fpr3 3ce2e35f00000000 (f: 0.000000, d: 2.097008e-15)
fpr4 4010000000000000 (f: 0.000000, d: 4.000000e+00)
fpr5 3e925b7000000000 (f: 0.000000, d: 2.735433e-07)
fpr6 41000000000f4900 (f: 1001728.000000, d: 1.310720e+05)
fpr7 3e3a50e700000000 (f: 0.000000, d: 6.127177e-09)
fpr8 00000000a4ce3950 (f: 2764978432.000000, d: 1.366081e-314)
fpr9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr15 0000000000000000 (f: 0.000000, d: 0.000000e+00)

Compiled_method=com/ibm/jvmti/tests/decompileAtMethodResolve/ResolveTest1Super.test()V
Target=2_90_20230109_43510 (Linux 3.10.0-1062.el7.s390x)
CPU=s390x (4 logical CPUs) (0xfa8cd000 RAM)
----------- Stack Backtrace -----------
 (0x000003FF8C4FF258 [<unknown>+0x0])

Internal test 2
[linux_390-64] SE80_GIT cmdLineTester_decompilationTests_0 - lnxec705

Testing: decomp002
Test start time: 2023/01/09 11:03:53 GMT-08:00
Running command: "/j9vm/ascii/builds/bld_43510/sdk/xz6480/bin/java"  -Xgcpolicy:gencon -Xjit:enableOSR,count=0  -Xdump -Xgcthreads1  -Xdump:system:events=abort  -agentlib:jvmtitest=test:decomp002 -cp "/j9vm/ascii/builds/bld_43510/jvmtest/test/SE80/functional/cmdLineTests/jvmtitests/jvmtitest.jar" com.ibm.jvmti.tests.util.TestRunner
Time spent starting: 178 milliseconds
...
 [ERR] Type=Illegal instruction vmState=0x00040000
 [ERR] J9Generic_Signal_Number=00000048 Signal_Number=00000004 Error_Value=00000000 Signal_Code=00000001
 [ERR] Handler1=000003FFFC70CE10 Handler2=000003FFFC59DD38
 [ERR] gpr0=0000000000000016 gpr1=0000000000000000 gpr2=000000000000000E gpr3=000003FFFC7DFA88
 [ERR] gpr4=000003FFE09C298C gpr5=000003FFF8553150 gpr6=000000003EBB03F0 gpr7=000000003EBB03F0
 [ERR] gpr8=000003FF00000008 gpr9=000000003EBB00C0 gpr10=0000000000000004 gpr11=000000003EBB0400
 [ERR] gpr12=000003FFFC3C80DC gpr13=0000000000065A00 gpr14=0000000000000007 gpr15=000003FFFD26B9B0
 [ERR] psw=000003FFE09C29B4 mask=0705D00180000000 fpc=00080000 bea=000003FFFC74F380
 [ERR] fpr0 0000000000000003 (f: 3.000000, d: 1.482197e-323)
 [ERR] fpr1 48499700f2104a60 (f: 4061153792.000000, d: 1.741556e+40)
 [ERR] fpr2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr3 3e2a1fa800000003 (f: 3.000000, d: 3.041194e-09)
 [ERR] fpr4 000003fff80122c0 (f: 4160824064.000000, d: 2.172857e-311)
 [ERR] fpr5 3ce21c1e00000000 (f: 0.000000, d: 2.010595e-15)
 [ERR] fpr6 000003ff00000001 (f: 1.000000, d: 2.170802e-311)
 [ERR] fpr7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] 
 [ERR] Compiled_method=com/ibm/jvmti/tests/decompResolveFrame/fThread.method9()V
 [ERR] Target=2_90_20230109_43510 (Linux 2.6.32-754.35.1.el6.s390x)
 [ERR] CPU=s390x (4 logical CPUs) (0xf3540000 RAM)
 [ERR] ----------- Stack Backtrace -----------
 [ERR]  (0x000003FFE09C29B4 [<unknown>+0x0])
 [ERR] ---------------------------------------

fulloutput.txt

@pshipton
Copy link
Member

internal build
[linux_390-64_cmprssptrs] SE80_GIT decompileAtMethodResolve_0
fyrlx107

Starting test: Mixed
Unhandled exception
Type=Illegal instruction vmState=0x00000000
J9Generic_Signal_Number=00000048 Signal_Number=00000004 Error_Value=00000000 Signal_Code=00000001
Handler1=000003FFBB364758 Handler2=000003FFBB0ACD38
gpr0=0000000000000016 gpr1=000003FFBBD7D1E8 gpr2=000000000000000E gpr3=000003FFBB436C18
gpr4=000003FF9DA80258 gpr5=000003FFB44C1F10 gpr6=0000000000000000 gpr7=0000000000002502
gpr8=000003FFBABA9FB8 gpr9=000003FFB40A24D0 gpr10=000003FFB4006DF0 gpr11=000003FFBA9392B8
gpr12=000003FFBAD14174 gpr13=0000000000068000 gpr14=000003FFB404A2E8 gpr15=000003FFBBD7D280
psw=000003FF9DA80260 mask=0705100180000000 fpc=0008fe00 bea=000003FFBB3A6408
fpr0 3ff0000000000000 (f: 0.000000, d: 1.000000e+00)
fpr1 4030000000000000 (f: 0.000000, d: 1.600000e+01)
fpr2 4000000000000000 (f: 0.000000, d: 2.000000e+00)
fpr3 3ce48b8800000000 (f: 0.000000, d: 2.280958e-15)
fpr4 4010000000000000 (f: 0.000000, d: 4.000000e+00)
fpr5 3e925bb500000000 (f: 0.000000, d: 2.735590e-07)
fpr6 4100000000000000 (f: 0.000000, d: 1.310720e+05)
fpr7 3e3a515700000000 (f: 0.000000, d: 6.127575e-09)
fpr8 0000000092b3e260 (f: 2461262336.000000, d: 1.216025e-314)
fpr9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
fpr15 0000000000000000 (f: 0.000000, d: 0.000000e+00)

Compiled_method=com/ibm/jvmti/tests/decompileAtMethodResolve/ResolveTest1Super.test()V
Target=2_90_20230828_57089 (Linux 3.10.0-1062.el7.s390x)
CPU=s390x (4 logical CPUs) (0xfa8cd000 RAM)
----------- Stack Backtrace -----------
 (0x000003FF9DA80260 [<unknown>+0x0])

@pshipton
Copy link
Member

Internal build
[linux_390-64_cmprssptrs] SE80_GIT cmdLineTester_decompilationTests - lnxec403

 [ERR] Type=Illegal instruction vmState=0x00040000
 [ERR] J9Generic_Signal_Number=00000048 Signal_Number=00000004 Error_Value=00000000 Signal_Code=00000001
 [ERR] Handler1=000003FF8F8648E0 Handler2=000003FF8F5ACD38
 [ERR] gpr0=0000000000000016 gpr1=0000000000000000 gpr2=000000000000000E gpr3=000003FF8F936E68
 [ERR] gpr4=000003FF7243CD20 gpr5=000003FF884EF7D0 gpr6=000000000B923540 gpr7=0000000000002502
 [ERR] gpr8=000003FF8F12B138 gpr9=000003FF88093A90 gpr10=0000000000000000 gpr11=000003FF8EEBA5D0
 [ERR] gpr12=000003FF8F294174 gpr13=000000000B922A00 gpr14=0000000000000009 gpr15=000003FF904FB990
 [ERR] psw=000003FF7243CD28 mask=0705D00180000000 fpc=00080000 bea=000003FF8F8275FC
 [ERR] fpr0 000000000007c418 (f: 508952.000000, d: 2.514557e-318)
 [ERR] fpr1 4843ee0000000000 (f: 0.000000, d: 1.356344e+40)
 [ERR] fpr2 0000000037fb3be8 (f: 939211776.000000, d: 4.640323e-315)
 [ERR] fpr3 bdab274700000000 (f: 0.000000, d: -1.234795e-11)
 [ERR] fpr4 000003ff8804a9a8 (f: 2282007040.000000, d: 2.171929e-311)
 [ERR] fpr5 3be4dafe00000000 (f: 0.000000, d: 3.533049e-20)
 [ERR] fpr6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] 
 [ERR] Compiled_method=com/ibm/jvmti/tests/decompResolveFrame/fThread.method7()V
 [ERR] Target=2_90_20231016_59238 (Linux 2.6.32-754.23.1.el6.s390x)
 [ERR] CPU=s390x (4 logical CPUs) (0xf34e0000 RAM)
 [ERR] ----------- Stack Backtrace -----------
 [ERR]  (0x000003FF7243CD28 [<unknown>+0x0])
 [ERR] ---------------------------------------

@JasonFengJ9
Copy link
Member Author

[linux_390] SE80_GIT decompileAtMethodResolve_0(fyrlx106)

Unhandled exception
Type=Illegal instruction vmState=0x00000000
J9Generic_Signal_Number=00000048 Signal_Number=00000004 Error_Value=00000000 Signal_Code=00000001
Handler1=7C712150 Handler2=7C5EEC78
gpr0=00000016 gpr1=7D144EE8 gpr2=0000000E gpr3=7C86D4BC
gpr4=79D82242 gpr5=7776F3F0 gpr6=00000000 gpr7=00000001
gpr8=FC65362A gpr9=7D145030 gpr10=7B6AA000 gpr11=00000001
gpr12=FB55873A gpr13=7C86D700 gpr14=7C65C000 gpr15=7D144F28
psw=F9D8224A mask=070D1000 fpc=0008fe00 bea=7C748490
fpr0 3ff0000000000000 (f: 0.000000, d: 1.000000e+00)
fpr1 4030000000000000 (f: 0.000000, d: 1.600000e+01)
fpr2 4000000000000000 (f: 0.000000, d: 2.000000e+00)
fpr3 3c89acea00000000 (f: 0.000000, d: 4.453980e-17)
fpr4 4010000000000000 (f: 0.000000, d: 4.000000e+00)
fpr5 3e63ad7100000000 (f: 0.000000, d: 3.665221e-08)
fpr6 4100000000000000 (f: 0.000000, d: 1.310720e+05)
fpr7 3ce4ab8692492492 (f: 2454267136.000000, d: 2.294833e-15)
fpr8 3e925bba806b2a00 (f: 2154506752.000000, d: 2.735602e-07)
fpr9 3e1cd04f00000000 (f: 0.000000, d: 1.677178e-09)
fpr10 3e3a515f00000000 (f: 0.000000, d: 6.127603e-09)
fpr11 3e17889700000000 (f: 0.000000, d: 1.369833e-09)
fpr12 3e2b158600000000 (f: 0.000000, d: 3.153001e-09)
fpr13 3e6df2bd00000000 (f: 0.000000, d: 5.578286e-08)
fpr14 41b0000000000000 (f: 0.000000, d: 2.684355e+08)
fpr15 3f11999a00000000 (f: 0.000000, d: 6.713870e-05)

Compiled_method=com/ibm/jvmti/tests/decompileAtMethodResolve/ResolveTest1Super.test()V
Target=2_90_20231020_59453 (Linux 3.10.0-1160.99.1.el7.s390x)
CPU=s390 (4 logical CPUs) (0xfa8b9000 RAM)
----------- Stack Backtrace -----------
protectedBacktrace+0x20 (0x7C6138B8 [libj9prt29.so+0x478b8])
omrsig_protect+0x2be (0x7C5EFFA6 [libj9prt29.so+0x23fa6])
omrintrospect_backtrace_thread_raw+0x9e (0x7C613D26 [libj9prt29.so+0x47d26])
protectedIntrospectBacktraceThread+0x22 (0x7C6136A2 [libj9prt29.so+0x476a2])
omrsig_protect+0x2be (0x7C5EFFA6 [libj9prt29.so+0x23fa6])
omrintrospect_backtrace_thread+0x72 (0x7C613752 [libj9prt29.so+0x47752])
generateDiagnosticFiles+0x92 (0x7C7120AA [libj9vm29.so+0xb50aa])
omrsig_protect+0x2be (0x7C5EFFA6 [libj9prt29.so+0x23fa6])
structuredSignalHandler+0x11c (0x7C71226C [libj9vm29.so+0xb526c])
mainSynchSignalHandler+0x25a (0x7C5EEED2 [libj9prt29.so+0x22ed2])
 (0x7D144B38 [<unknown>+0x0])
 (0x79D8224A [<unknown>+0x0])
---------------------------------------
JVMDUMP039I Processing dump event "gpf", detail "" at 2023/10/20 02:47:42 - please wait.

@r30shah
Copy link
Contributor

r30shah commented May 16, 2024

Based on the comment : #19495 (comment)
I think we can close this as resolved by #19495 - @JasonFengJ9 / @pshipton

@JasonFengJ9
Copy link
Member Author

Closing as per #9876 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants