Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8205147

Intermittent crash in runtime/exceptionMsgs/ArrayStoreException/ArrayStoreExceptionTest.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 11
    • hotspot
    • None
    • 11
    • x86
    • linux

      The new test:

      runtime/exceptionMsgs/ArrayStoreException/ArrayStoreExceptionTest.java

      is sometimes crashing:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/scratch/mesos/slaves/5af44a71-976a-41b7-81de-5773b84ec572-S38409/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/50ec1e0f-b148-451e-9e34-1c7ccb44b09e/runs/df25e7ee-a503-4431-b18d-76f54d30475b/workspace/open/src/hotspot/share/oops/objArrayKlass.hpp:108), pid=88037, tid=29959
      # assert(k->is_objArray_klass()) failed: cast to ObjArrayKlass
      #
      # JRE version: Java(TM) SE Runtime Environment (11.0) (fastdebug build 11-internal+0-jdk11-jdk.850)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-internal+0-jdk11-jdk.850, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
      # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -XX:MaxRAMPercentage=4 -Djava.library.path=/scratch/mesos/jib-master/install/jdk11-jdk.850/macosx-x64-debug.test/hotspot/jtreg/native --patch-module=java.base=/scratch/mesos/slaves/555f5737-a945-4eb0-8d30-afb1fc816afd-S25/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/984924cd-15d1-43e8-8d31-9cd2be5ebc3b/runs/a2569d20-cbd6-4f5e-8187-383def0ee99a/testoutput/jtreg/JTwork/patches/java.base -Djava.security.policy=file:/scratch/mesos/slaves/555f5737-a945-4eb0-8d30-afb1fc816afd-S25/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/984924cd-15d1-43e8-8d31-9cd2be5ebc3b/runs/a2569d20-cbd6-4f5e-8187-383def0ee99a/testoutput/jtreg/JTwork/jtreg.policy com.sun.javatest.regtest.agent.AgentServer -allowSetSecurityManager -port 64943

      Host: scaab207.us.oracle.com, MacPro6,1 x86_64 3500 MHz, 12 cores, 16G, Darwin 14.5.0
      Time: Mon Jun 18 04:05:17 2018 GMT elapsed time: 150 seconds (0d 0h 2m 30s)

      --------------- T H R E A D ---------------

      Current thread (0x00007fbd4f10c800): JavaThread "SameVMThread" [_thread_in_vm, id=29959, stack(0x0000000197316000,0x0000000197416000)]

      Stack: [0x0000000197316000,0x0000000197416000], sp=0x0000000197414940, free space=1018k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0xde4416] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x552
      V [libjvm.dylib+0xde4be4] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x4a
      V [libjvm.dylib+0x4ea68d] report_vm_error(char const*, int, char const*, char const*, ...)+0xd3
      V [libjvm.dylib+0x355e82] ObjArrayKlass::cast(Klass const*)+0x66
      V [libjvm.dylib+0x7c6e7e] jni_SetObjectArrayElement+0x51d
      j ArrayStoreExceptionTest.doNativeArrayStore2(Ljava/lang/Object;Ljava/lang/Object;I)V+0
      j ArrayStoreExceptionTest.testNativeASMessages2(Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/String;)V+3
      j ArrayStoreExceptionTest.main([Ljava/lang/String;)V+711
      v ~StubRoutines::call_stub

            goetz Goetz Lindenmaier
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: