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

SE80_GIT cmdLineTester_jvmtitests testReflectMethodIDRedefineExtended Type=Illegal instruction vmState=0x00040000 #9817

Closed
JasonFengJ9 opened this issue Jun 8, 2020 · 5 comments
Labels
arch:z comp:jit segfault Issues that describe segfaults / JVM crashes test failure

Comments

@JasonFengJ9
Copy link
Member

Failure link

From an internal build ibuild 448591

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 20200607_448591 (JIT enabled, AOT enabled)
OpenJ9   - 31dd6df
OMR      - a29414f
IBM      - 49b6835)
JCL - 20200528_01 based on Oracle jdk8u261-b76

Optional info

  • intermittent failure (yes): not reproduced in a 100x grinder

Failure output (captured from console output)

Testing: rc016
Test start time: 2020/06/07 16:50:38 Pacific Standard Time
Running command: "/j9vm/ascii/builds/bld_448591/sdk/xz3180/bin/java"  -Xgcpolicy:optthruput -Xdebug -Xrunjdwp:transport=dt_socket,address=8888,server=y,onthrow=no.pkg.foo,launch=echo -Xjit:enableOSR,count=0  -Xdump    -agentlib:jvmtitest=test:rc016 -cp /j9vm/ascii/builds/bld_448591/jvmtest/test/SE80/functional/cmdLineTests/jvmtitests/jvmtitest.jar:/j9vm/ascii/builds/bld_448591/jvmtest/test/SE80/TKG/lib/asm-all.jar com.ibm.jvmti.tests.util.TestRunner
Time spent starting: 163 milliseconds
Time spent executing: 13917 milliseconds
Test result: FAILED
Output from test:
 [OUT] *** Testing [1/1]:	testReflectMethodIDRedefineExtended
 [ERR] Unhandled exception
 [ERR] Type=Illegal instruction vmState=0x00040000
 [ERR] J9Generic_Signal_Number=00000048 Signal_Number=00000004 Error_Value=00000000 Signal_Code=00000001
 [ERR] Handler1=7C518D00 Handler2=7C7594B8
 [ERR] gpr0=00000016 gpr1=10105680 gpr2=00000000 gpr3=77EEBA54
 [ERR] gpr4=7A07E8CA gpr5=77568780 gpr6=10105698 gpr7=00000000
 [ERR] gpr8=00000000 gpr9=00000001 gpr10=00000001 gpr11=00000000
 [ERR] gpr12=7B23A000 gpr13=7C65FE00 gpr14=FB213D02 gpr15=7D1DC2A0
 [ERR] hgpr0=00000000 hgpr1=77568780 hgpr2=77EEBA44 hgpr3=00000000
 [ERR] hgpr4=00000000 hgpr5=00000000 hgpr6=77F62020 hgpr7=77F62020
 [ERR] hgpr8=D809772C hgpr9=3B454368 hgpr10=7C13E000 hgpr11=7BEB143C
 [ERR] hgpr12=FC11D2EA hgpr13=00000000 hgpr14=00000000 hgpr15=00000000
 [ERR] psw=FA07E8EE mask=070DD000 fpc=00080000 bea=77568780
 [ERR] fpr0 fc500b247c5d86ac (f: 2086504064.000000, d: -6.253968e+290)
 [ERR] fpr1 3e4ea63000000000 (f: 0.000000, d: 1.427213e-08)
 [ERR] fpr2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr3 be3b4e8000000000 (f: 0.000000, d: -6.357823e-09)
 [ERR] fpr4 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr5 38d7596b7c5d86ac (f: 2086504064.000000, d: 7.026423e-35)
 [ERR] fpr6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr7 bdce297000000000 (f: 0.000000, d: -5.486411e-11)
 [ERR] fpr8 3c2606b700000000 (f: 0.000000, d: 5.970222e-19)
 [ERR] fpr9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr10 3c07528400000000 (f: 0.000000, d: 1.580382e-19)
 [ERR] fpr11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr12 388f3d0900000000 (f: 0.000000, d: 2.937647e-36)
 [ERR] fpr13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr14 3e17cee700000000 (f: 0.000000, d: 1.385820e-09)
 [ERR] fpr15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] 
 [ERR] Compiled_method=sun/reflect/NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
 [ERR] Target=2_90_20200607_448591 (Linux 2.6.32-754.23.1.el6.s390x)
 [ERR] CPU=s390 (4 logical CPUs) (0xf34e0000 RAM)
 [ERR] ----------- Stack Backtrace -----------
 [ERR] (0x7C777278 [libj9prt29.so+0x37278])
 [ERR] (0x7C75A7E6 [libj9prt29.so+0x1a7e6])
 [ERR] (0x7C77730C [libj9prt29.so+0x3730c])
 [ERR] (0x7C777402 [libj9prt29.so+0x37402])
 [ERR] (0x7C7770CA [libj9prt29.so+0x370ca])
 [ERR] (0x7C75A7E6 [libj9prt29.so+0x1a7e6])
 [ERR] (0x7C777162 [libj9prt29.so+0x37162])
 [ERR] (0x7C518C60 [libj9vm29.so+0x91c60])
 [ERR] (0x7C75A7E6 [libj9prt29.so+0x1a7e6])
 [ERR] (0x7C518E1C [libj9vm29.so+0x91e1c])
 [ERR] (0x7C759712 [libj9prt29.so+0x19712])
 [ERR] (0x7D1DC0A8 [<unknown>+0x0])
 [ERR] (0x7A07E8EE [<unknown>+0x0])
 [ERR] ---------------------------------------
 [ERR] JVMDUMP039I Processing dump event "gpf", detail "" at 2020/06/07 16:50:51 - please wait.
 [ERR] JVMDUMP032I JVM requested System dump using '/tmp/bld_448591/cmdLineTester_jvmtitests_extended_nongold_10/core.20200607.165051.18977.0001.dmp' in response to an event
 [ERR] JVMPORT030W /proc/sys/kernel/core_pattern setting "|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e" specifies that the core dump is to be piped to an external program.  Attempting to rename either core or core.19000.
 [ERR] 
 [ERR] JVMDUMP010I System dump written to /tmp/bld_448591/cmdLineTester_jvmtitests_extended_nongold_10/core.20200607.165051.18977.0001.dmp
 [ERR] JVMDUMP032I JVM requested Java dump using '/tmp/bld_448591/cmdLineTester_jvmtitests_extended_nongold_10/javacore.20200607.165051.18977.0002.txt' in response to an event
 [ERR] 
 [ERR] 
 [ERR] *** Invalid JIT return address 1BB01CC2 in 7D1D7598
 [ERR] 
 [ERR] JVMDUMP010I Java dump written to /tmp/bld_448591/cmdLineTester_jvmtitests_extended_nongold_10/javacore.20200607.165051.18977.0002.txt
 [ERR] JVMDUMP032I JVM requested Snap dump using '/tmp/bld_448591/cmdLineTester_jvmtitests_extended_nongold_10/Snap.20200607.165051.18977.0003.trc' in response to an event
 [ERR] JVMDUMP010I Snap dump written to /tmp/bld_448591/cmdLineTester_jvmtitests_extended_nongold_10/Snap.20200607.165051.18977.0003.trc
 [ERR] JVMDUMP032I JVM requested JIT dump using '/tmp/bld_448591/cmdLineTester_jvmtitests_extended_nongold_10/jitdump.20200607.165051.18977.0004.dmp' in response to an event
 [ERR] JVMDUMP013I Processed dump event "gpf", detail "".
>> Success condition was not found: [Return code: 0]
@DanHeidinga
Copy link
Member

Crashing in compiled method:

Compiled_method=sun/reflect/NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

with vmState=0x00040000 (JNI?)
and also:

 [ERR] *** Invalid JIT return address 1BB01CC2 in 7D1D7598

@DanHeidinga DanHeidinga added comp:jit segfault Issues that describe segfaults / JVM crashes labels Jun 8, 2020
@fjeremic fjeremic added the arch:z label Jun 8, 2020
@fjeremic
Copy link
Contributor

fjeremic commented Jun 8, 2020

These are 31-bit Linux builds. I thought we stopped building these more than a year ago? Seems reproduction rate is too low to be able to do much. Let's see if this starts occurring more often. I'll monitor.

@JasonFengJ9
Copy link
Member Author

IBM Java SDK8 last update (8.0.6.10 – 05 May 2020) still has Linux on z Systems 31-bit though [1].

[1] https://developer.ibm.com/javasdk/downloads/sdk8/

@r30shah
Copy link
Contributor

r30shah commented Jun 16, 2020

Looked into the core-dump of the job for Illegal instruction error is same as #9876 which @PushkarBettadpur is looking into.

@pshipton
Copy link
Member

Closing as a dup of #9876

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch:z comp:jit segfault Issues that describe segfaults / JVM crashes test failure
Projects
None yet
Development

No branches or pull requests

5 participants