eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 721 forks source link

zlinux gc_glue_java/ScavengerDelegate.cpp:381 Assertion `0' failed during gptest #8537

Open pshipton opened 4 years ago

pshipton commented 4 years ago

https://ci.eclipse.org/openj9/job/Test_openjdk14_j9_sanity.functional_s390x_linux_xl_Nightly/2 cmdLineTest_gpTest_0

00:05:22  Testing: softwareRead thread
00:05:22  Test start time: 2020/02/10 05:05:20 Coordinated Universal Time
00:05:22  Running command: "/home/jenkins/workspace/Test_openjdk14_j9_sanity.functional_s390x_linux_xl_Nightly/openjdkbinary/j2sdk-image/bin/java" -Xnocompressedrefs  -Xdump:system:none -cp "/home/jenkins/workspace/Test_openjdk14_j9_sanity.functional_s390x_linux_xl_Nightly/openjdk-tests/TKG/../../jvmtest/functional/cmdline_options_testresources/cmdlinetestresources.jar" VMBench.GPTests.GPTest thread softwareRead
00:05:22  Time spent starting: 3 milliseconds
00:10:33  ***[TEST INFO 2020/02/10 05:10:20] ProcessKiller detected a timeout after 300000 milliseconds!***
00:10:33  INFO: getUnixPID() has failed indicating this is not a UNIX System.'Debug on timeout' is currently only supported on Linux.
00:10:33  Output from test:
00:10:33   [ERR] Unhandled exception
00:10:33   [ERR] Type=Segmentation error vmState=0x00040000
00:10:33   [ERR] J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=fffffffa
00:10:33   [ERR] Handler1=000003FFB49387C0 Handler2=000003FFB4727F88
00:10:33   [ERR] gpr0=0000000000000000 gpr1=000003FFB46FF910 gpr2=0000000000000000 gpr3=0000000000003DB3
00:10:33   [ERR] gpr4=000000000000000B gpr5=000003FFB0307D00 gpr6=0000000000000000 gpr7=000003FF14080EB0
00:10:33   [ERR] gpr8=000003FFB0307E18 gpr9=0000000000000000 gpr10=000003FFB5443648 gpr11=000003FFB46FDE88
00:10:33   [ERR] gpr12=0000000000000000 gpr13=000003FFB49F49E4 gpr14=000003FFB49F49E4 gpr15=000003FFB46FDDE8
00:10:33   [ERR] psw=000003FFB570EC16 mask=0705100180000000 fpc=00080000 bea=000003FFB489D564
00:10:33   [ERR] fpr0 000003ffb491b380 (f: 3029447680.000000, d: 2.172298e-311)
00:10:33   [ERR] fpr1 402f1a9f8585da3b (f: 2240141824.000000, d: 1.555200e+01)
00:10:33   [ERR] fpr2 000003ffb46fde48 (f: 3027230208.000000, d: 2.172297e-311)
00:10:33   [ERR] fpr3 3fd3606256aa494d (f: 1454000512.000000, d: 3.027578e-01)
00:10:33   [ERR] fpr4 000003ffb46fdf78 (f: 3027230464.000000, d: 2.172297e-311)
00:10:33   [ERR] fpr5 3d754a90114c71b7 (f: 290222528.000000, d: 1.210268e-12)
00:10:33   [ERR] fpr6 00bf3248c26cdeec (f: 3261914880.000000, d: 4.442518e-305)
00:10:33   [ERR] fpr7 3c5d000000000000 (f: 0.000000, d: 6.288373e-18)
00:10:33   [ERR] fpr8 0000000000040000 (f: 262144.000000, d: 1.295163e-318)
00:10:33   [ERR] fpr9 000003ffb00b0fb0 (f: 2953515008.000000, d: 2.172261e-311)
00:10:33   [ERR] fpr10 000003ffb46c0000 (f: 3026976768.000000, d: 2.172297e-311)
00:10:33   [ERR] fpr11 000003ff881bc0b8 (f: 2283520256.000000, d: 2.171930e-311)
00:10:33   [ERR] fpr12 000003ffb01fdac8 (f: 2954877696.000000, d: 2.172262e-311)
00:10:33   [ERR] fpr13 000003ff881bc098 (f: 2283520256.000000, d: 2.171930e-311)
00:10:33   [ERR] fpr14 0000000000000016 (f: 22.000000, d: 1.086944e-322)
00:10:33   [ERR] fpr15 000003ff8d17db70 (f: 2367150848.000000, d: 2.171971e-311)
00:10:33   [ERR] Module=/lib/s390x-linux-gnu/libpthread.so.0
00:10:33   [ERR] Module_base_address=000003FFB5700000 Symbol=pthread_kill
00:10:33   [ERR] Symbol_address=000003FFB570EBE0
00:10:33   [ERR] Target=2_90_20200210_4 (Linux 4.4.0-170-generic)
00:10:33   [ERR] CPU=s390x (4 logical CPUs) (0x1f723a000 RAM)
00:10:33   [ERR] ----------- Stack Backtrace -----------
00:10:33   [ERR] pthread_kill+0x36 (0x000003FFB570EC16 [libpthread.so.0+0xec16])
00:10:33   [ERR] (0x000003FFB49F49E4 [libj9vm29.so+0x1749e4])
00:10:33   [ERR] (0x000003FFB49F285E [libj9vm29.so+0x17285e])
00:10:33   [ERR] (0x000003FFB48A89F6 [libj9vm29.so+0x289f6])
00:10:33   [ERR] (0x000003FFB48945C0 [libj9vm29.so+0x145c0])
00:10:33   [ERR] (0x000003FFB497A604 [libj9vm29.so+0xfa604])
00:10:33   [ERR] ---------------------------------------
00:10:33   [ERR] JVMDUMP039I Processing dump event "gpf", detail "" at 2020/02/10 05:05:20 - please wait.
00:10:33   [ERR] JVMDUMP032I JVM requested Java dump using '/home/jenkins/workspace/Test_openjdk14_j9_sanity.functional_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15813085732368/cmdLineTest_gpTest_0/javacore.20200210.050520.15771.0001.txt' in response to an event
00:10:33   [ERR] Bad scan type for object pointer 000003FFAE5EBF60
00:10:33   [ERR] java: ../../gc_glue_java/ScavengerDelegate.cpp:381: GC_ObjectScanner* MM_ScavengerDelegate::getObjectScanner(MM_EnvironmentStandard*, omrobjectptr_t, void*, uintptr_t): Assertion `0' failed.
00:10:33   [ERR] JVMDUMP039I Processing dump event "abort", detail "" at 2020/02/10 05:05:20 - please wait.
00:10:33   [ERR] JVMDUMP032I JVM requested Java dump using '/home/jenkins/workspace/Test_openjdk14_j9_sanity.functional_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15813085732368/cmdLineTest_gpTest_0/javacore.20200210.050520.15771.0002.txt' in response to an event
00:10:33   [ERR] JVMDUMP012E Error in Java dump: /home/jenkins/workspace/Test_openjdk14_j9_sanity.functional_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15813085732368/cmdLineTest_gpTest_0/javacore.20200210.050520.15771.0001.txt
00:10:33   [ERR] JVMDUMP032I JVM requested Snap dump using '/home/jenkins/workspace/Test_openjdk14_j9_sanity.functional_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15813085732368/cmdLineTest_gpTest_0/Snap.20200210.050520.15771.0003.trc' in response to an event
pshipton commented 4 years ago

@dmitripivkine anything you can tell about this assert?

The initial gp is caused by the test and expected. There are no system dumps because the test disables it.

pshipton commented 4 years ago

Trying a 20x grinder https://ci.eclipse.org/openj9/job/Grinder/639/, which passed.

dmitripivkine commented 4 years ago

@dmitripivkine anything you can tell about this assert?

The initial gp is caused by the test and expected. There are no system dumps because the test disables it.

GC can not recognize object type based on class flags. Most likely pointer to mid object or garbage

pshipton commented 1 year ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk20_j9_sanity.functional_ppc64_aix_Release_testList_1/6 cmdLineTest_gpTest_0

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk20_j9_sanity.functional_ppc64_aix_Release_testList_1/6/functional_test_output.tar.gz

Testing: softwareRead thread
Test start time: 2023/07/02 20:41:29 Coordinated Universal Time
Running command: "/home/jenkins/workspace/Test_openjdk20_j9_sanity.functional_ppc64_aix_Release_testList_1/openjdkbinary/j2sdk-image/bin/java"   -Xdump:system:none -cp "/home/jenkins/workspace/Test_openjdk20_j9_sanity.functional_ppc64_aix_Release_testList_1/aqa-tests/TKG/../../jvmtest/functional/cmdline_options_testresources/cmdlinetestresources.jar" VMBench.GPTests.GPTest thread softwareRead
Time spent starting: 6 milliseconds
Time spent executing: 273 milliseconds
Test result: FAILED
Output from test:
 [ERR] Unhandled exception
 [ERR] Type=Segmentation error vmState=0x00040000
 [ERR] J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000009
 [ERR] Handler1=09001000A1384BD8 Handler2=09001000A11D6428
 [ERR] R0=FFFFFFFFFFFFFFFF R1=0000010023E69ED0 R2=FFFFFFFFFFFFFFFF R3=0000000000000000
 [ERR] R4=FFFFFFFFFFFFFFFF R5=FFFFFFFFFFFFFFFF R6=FFFFFFFFFFFFFFFF R7=FFFFFFFFFFFFFFFF
 [ERR] R8=FFFFFFFFFFFFFFFF R9=FFFFFFFFFFFFFFFF R10=FFFFFFFFFFFFFFFF R11=FFFFFFFFFFFFFFFF
 [ERR] R12=FFFFFFFFFFFFFFFF R13=0000010023E75800 R14=000000003020EBD0 R15=0000010023E6A470
 [ERR] R16=0000000000000001 R17=09001000A113F978 R18=0000000000000000 R19=0000010023DA5E72
 [ERR] R20=0000000000000000 R21=0000010023E6DA78 R22=0000000000000001 R23=000000003020ED18
 [ERR] R24=09001000A0FB3E00 R25=0000000000000000 R26=0000000000000000 R27=0000000000000000
 [ERR] R28=000000000000000B R29=000000000000000B R30=0000000000000000 R31=0000000000002021
 [ERR] IAR=0900000000538034 LR=FFFFFFFFFFFFFFFF MSR=A00000000200D032 CTR=FFFFFFFF000C2200
 [ERR] CR=00000000FFFFFFFF FPSCR=8202000000000000 XER=FFFFFFFF82020000
 [ERR] FPR0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR1 c3e0000000000000 (f: 0.000000, d: -9.223372e+18)
 [ERR] FPR2 3fc6e0b1b6fdc77b (f: 3070084864.000000, d: 1.787321e-01)
 [ERR] FPR3 3fa1d91520000000 (f: 536870912.000000, d: 3.485933e-02)
 [ERR] FPR4 bf90ecf58ddc7f4a (f: 2380037888.000000, d: -1.652893e-02)
 [ERR] FPR5 40a70a0000000000 (f: 0.000000, d: 2.949000e+03)
 [ERR] FPR6 4070b20b94c376a9 (f: 2495837952.000000, d: 2.671278e+02)
 [ERR] FPR7 bfb62e42fefa4000 (f: 4277813248.000000, d: -8.664340e-02)
 [ERR] FPR8 3f6069c0ff9e20ca (f: 4288553216.000000, d: 2.003552e-03)
 [ERR] FPR9 40273b9f11fd4ea0 (f: 301813408.000000, d: 1.161645e+01)
 [ERR] FPR10 412e848000000000 (f: 0.000000, d: 1.000000e+06)
 [ERR] FPR11 43300000000f4240 (f: 1000000.000000, d: 4.503600e+15)
 [ERR] FPR12 4530000000000000 (f: 0.000000, d: 1.934281e+25)
 [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] FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] Module=/usr/lib/libpthreads.a
 [ERR] Module_base_address=090000000051C000
 [ERR] Target=2_90_20230702_6 (AIX 7.1)
 [ERR] CPU=ppc64 (16 logical CPUs) (0x780000000 RAM)
 [ERR] ----------- Stack Backtrace -----------
 [ERR] Java_VMBench_GPTests_GPTest_gpSoftwareRead+0x18 (0x09000000035DA75C [libgptest.so+0x75c])
 [ERR] (0x090000001CBC05BC [libj9vm29.so+0xe05bc])
 [ERR] ffi_call+0x110 (0x090000001CBBFEF4 [libj9vm29.so+0xdfef4])
 [ERR] (0x090000001CD310C0 [libj9vm29.so+0x2510c0])
 [ERR] (0x090000001CB6D068 [libj9vm29.so+0x8d068])
 [ERR] runJavaThread+0x28c (0x090000001CB54750 [libj9vm29.so+0x74750])
 [ERR] _ZL23javaProtectedThreadProcP13J9PortLibraryPv+0xf0 (0x090000001CAE2FF4 [libj9vm29.so+0x2ff4])
 [ERR] omrsig_protect+0x4fc (0x090000001CED21E0 [libj9prt29.so+0x5f1e0])
 [ERR] javaThreadProc+0x70 (0x090000001CAE2E94 [libj9vm29.so+0x2e94])
 [ERR] thread_wrapper+0x14c (0x090000001CF3B590 [libj9thr29.so+0x5590])
 [ERR] _pthread_body+0xf0 (0x090000000051FE14 [libpthreads.a+0x3e14])
 [ERR] ---------------------------------------
 [ERR] JVMDUMP039I Processing dump event "gpf", detail "" at 2023/07/02 20:41:29 - please wait.
 [ERR] JVMDUMP032I JVM requested Java dump using '/home/jenkins/workspace/Test_openjdk20_j9_sanity.functional_ppc64_aix_Release_testList_1/aqa-tests/TKG/output_16883267283887/cmdLineTest_gpTest_0/javacore.20230702.204129.17956950.0001.txt' in response to an event
 [ERR] 
 [ERR] 
 [ERR] *** Invalid JIT return address 00000000301BB2F8 in 0000010023E5D760