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 722 forks source link

SharedClasses.SCM23.MultiThread_0 libj9shr29.so crash vmState=0x00000000 #10157

Open pshipton opened 4 years ago

pshipton commented 4 years ago

https://ci.eclipse.org/openj9/job/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/226 SharedClasses.SCM23.MultiThread_0

MT1 03:22:44 >> --> Threads 17100 to 17400 <--
MT2 03:22:44 >> --> Threads 16800 to 17100 <--
MT5 03:22:45 >> Loaded 17000 classes...
MT2 03:22:46 >> Loaded 17000 classes...
MT3 03:22:47 >> --> Threads 16500 to 16800 <--
MT5 03:22:56 >> --> Threads 17100 to 17400 <--
MT2 03:22:58 >> --> Threads 17100 to 17400 <--
MT4 03:22:59 >> --> Threads 16200 to 16500 <--
MT4 03:23:04 >> --> Threads 16500 to 16800 <--
MT3 03:23:08 >> Loaded 17000 classes...
MT3 03:23:12 >> Test duration expired - Ran a 10m load. Not Starting any more threads
MT5 03:23:14 >> Test duration expired - Ran a 10m load. Not Starting any more threads
MT1 03:23:14 >> Test duration expired - Ran a 10m load. Not Starting any more threads
MT2 03:23:16 >> Test duration expired - Ran a 10m load. Not Starting any more threads
MT5 stdout of command: ps v 4491
MT5   PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
MT5  4491 ?        SLl    3:29      1     2 4635925 254652  3.0 /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdkbinary/j2sdk-image/bin/java -Xshareclasses:name=SCC_SysTest_Workload_Cache,cacheDir=/home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15946924486674/SharedClasses.SCM23.MultiThread_0/20200714-030120-SharedClasses/results/caches -Xaot:forceAoT,count=1 -classpath /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/jvmtest/system/openj9-systemtest/openj9.test.sharedClasses/bin net.openj9.test.sc.LoaderSlaveMultiThread /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15946924486674/SharedClasses.SCM23.MultiThread_0/20200714-030120-SharedClasses/tmp/classes.jar 300
MT5 stderr of command: ps v 4491
MT4 03:23:24 >> Test duration expired - Ran a 10m load. Not Starting any more threads
MT1 stdout of command: ps v 4483
MT1   PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
MT1  4483 ?        SLl    3:50      4     2 4646317 290516  3.5 /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdkbinary/j2sdk-image/bin/java -Xshareclasses:name=SCC_SysTest_Workload_Cache,cacheDir=/home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15946924486674/SharedClasses.SCM23.MultiThread_0/20200714-030120-SharedClasses/results/caches -Xaot:forceAoT,count=1 -classpath /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/jvmtest/system/openj9-systemtest/openj9.test.sharedClasses/bin net.openj9.test.sc.LoaderSlaveMultiThread /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15946924486674/SharedClasses.SCM23.MultiThread_0/20200714-030120-SharedClasses/tmp/classes.jar 300
MT1 stderr of command: ps v 4483
MT2 stdout of command: ps v 4484
MT2   PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
MT2  4484 ?        SLl    3:35      0     2 4636205 256128  3.1 /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdkbinary/j2sdk-image/bin/java -Xshareclasses:name=SCC_SysTest_Workload_Cache,cacheDir=/home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15946924486674/SharedClasses.SCM23.MultiThread_0/20200714-030120-SharedClasses/results/caches -Xaot:forceAoT,count=1 -classpath /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/jvmtest/system/openj9-systemtest/openj9.test.sharedClasses/bin net.openj9.test.sc.LoaderSlaveMultiThread /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15946924486674/SharedClasses.SCM23.MultiThread_0/20200714-030120-SharedClasses/tmp/classes.jar 300
MT2 stderr of command: ps v 4484
MT3 stdout of command: ps v 4488
MT3   PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
MT3  4488 ?        SLl    3:54     10     2 4688789 336908  4.0 /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdkbinary/j2sdk-image/bin/java -Xshareclasses:name=SCC_SysTest_Workload_Cache,cacheDir=/home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15946924486674/SharedClasses.SCM23.MultiThread_0/20200714-030120-SharedClasses/results/caches -Xaot:forceAoT,count=1 -classpath /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/jvmtest/system/openj9-systemtest/openj9.test.sharedClasses/bin net.openj9.test.sc.LoaderSlaveMultiThread /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15946924486674/SharedClasses.SCM23.MultiThread_0/20200714-030120-SharedClasses/tmp/classes.jar 300
MT3 stderr of command: ps v 4488
MT4 stdout of command: ps v 4490
MT4   PID TTY      STAT   TIME  MAJFL   TRS   DRS   RSS %MEM COMMAND
MT4  4490 ?        SLl    3:52    109     2 4688481 317744  3.8 /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdkbinary/j2sdk-image/bin/java -Xshareclasses:name=SCC_SysTest_Workload_Cache,cacheDir=/home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15946924486674/SharedClasses.SCM23.MultiThread_0/20200714-030120-SharedClasses/results/caches -Xaot:forceAoT,count=1 -classpath /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/jvmtest/system/openj9-systemtest/openj9.test.sharedClasses/bin net.openj9.test.sc.LoaderSlaveMultiThread /home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdk-tests/TKG/test_output_15946924486674/SharedClasses.SCM23.MultiThread_0/20200714-030120-SharedClasses/tmp/classes.jar 300
MT4 stderr of command: ps v 4490
MT1 stderr Unhandled exception
MT1 stderr Type=Segmentation error vmState=0x00000000
MT1 stderr J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
MT1 stderr Handler1=000003FF8D73B968 Handler2=000003FF8D5215C0 InaccessibleAddress=0000000000000000
MT1 stderr gpr0=000003FF880CACA0 gpr1=0000000000000042 gpr2=0000000000000028 gpr3=0000000000000008
MT1 stderr gpr4=000003FF880CABC0 gpr5=000003FEF01FF3D0 gpr6=0000000000000001 gpr7=000003FF8C42AEE0
MT1 stderr gpr8=000003FF889C1E00 gpr9=0000000000000008 gpr10=000003FF8C4697A0 gpr11=000003FF8E0FDAF8
MT1 stderr gpr12=000003FF8E6A6000 gpr13=000003FF8E0FE9F0 gpr14=000003FF8C47B404 gpr15=000003FF8E0FD998
MT1 stderr psw=000003FF8C47B09A mask=0705200180000000 fpc=00080000 bea=000003FF8C47AF20
MT1 stderr fpr0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
MT1 stderr fpr1 0000000000000015 (f: 21.000000, d: 1.037538e-322)
MT1 stderr fpr2 000003ff8e41e1e0 (f: 2386682368.000000, d: 2.171981e-311)
MT1 stderr fpr3 3f80000000000000 (f: 0.000000, d: 7.812500e-03)
MT1 stderr fpr4 0000000000000007 (f: 7.000000, d: 3.458460e-323)
MT1 stderr fpr5 a000c000a000c000 (f: 2684403712.000000, d: -1.561591e-154)
MT1 stderr fpr6 000003ff880008f0 (f: 2281703680.000000, d: 2.171929e-311)
MT1 stderr fpr7 2000200000000000 (f: 0.000000, d: 1.503322e-154)
MT1 stderr fpr8 0000000000801000 (f: 8392704.000000, d: 4.146547e-317)
MT1 stderr fpr9 000003fff9b7d1d0 (f: 4189573632.000000, d: 2.172872e-311)
MT1 stderr fpr10 000003ff8d8ff000 (f: 2375020544.000000, d: 2.171975e-311)
MT1 stderr fpr11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
MT1 stderr fpr12 000002aa212f4bf0 (f: 556747776.000000, d: 1.447476e-311)
MT1 stderr fpr13 000002aa0924a890 (f: 153397392.000000, d: 1.447277e-311)
MT1 stderr fpr14 000003fffa4fc73c (f: 4199532288.000000, d: 2.172877e-311)
MT1 stderr fpr15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
MT1 stderr Module=/home/jenkins/workspace/Test_openjdk8_j9_extended.system_s390x_linux_xl_Nightly/openjdkbinary/j2sdk-image/jre/lib/s390x/default/libj9shr29.so
MT1 stderr Module_base_address=000003FF8C400000
MT1 stderr Target=2_90_20200713_231 (Linux 4.15.0-96-generic)
MT1 stderr CPU=s390x (4 logical CPUs) (0x1f7115000 RAM)
MT1 stderr ----------- Stack Backtrace -----------
MT1 stderr (0x000003FF8C47B09A [libj9shr29.so+0x7b09a])
MT1 stderr (0x000003FF8C47B404 [libj9shr29.so+0x7b404])
MT1 stderr (0x000003FF8C42B8FC [libj9shr29.so+0x2b8fc])
MT1 stderr J9VMDllMain+0xa0a (0x000003FF8C4079F2 [libj9shr29.so+0x79f2])
MT1 stderr (0x000003FF8D756AAC [libj9vm29.so+0xd6aac])
MT1 stderr (0x000003FF8D74984A [libj9vm29.so+0xc984a])
MT1 stderr (0x000003FF8D522C38 [libj9prt29.so+0x22c38])
MT1 stderr (0x000003FF8D748676 [libj9vm29.so+0xc8676])
MT1 stderr (0x000003FF8E212C0E [libjvm.so+0x12c0e])
MT1 stderr (0x000003FF8E509096 [libjli.so+0x9096])
MT1 stderr (0x000003FF8E587AA8 [libpthread.so.0+0x7aa8])
MT1 stderr (0x000003FF8E37A896 [libc.so.6+0xfa896])
MT1 stderr (0x0000000000000000 [<unknown>+0x0])
MT1 stderr ---------------------------------------
pshipton commented 4 years ago

@hangshao0 can you pls take a look.

hangshao0 commented 4 years ago

It is crashed inside SH_CacheMap::runExitCode(). Looks like a null check is missing somewhere inside SH_ByteDataManagerImpl::htReleasePrivateEntry()