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

JVM Crashes in compute_tree_cost, nims.mddb.gsmmodel.MultiVMDSourceTable::GetValueArray

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux_redhat_6.0

      Description

      ADDITIONAL SYSTEM INFORMATION :
      $ uname -a
      Linux myc-far-as01 3.10.0-693.2.2.el7.x86_64 #1 SMP Sat Sep 9 03:55:24 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux

      $ ./java -version
      openjdk version "12.0.1" 2019-04-16
      OpenJDK Runtime Environment (build 12.0.1+12)
      OpenJDK 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)


      A DESCRIPTION OF THE PROBLEM :
      openjdk-12.0.1 was running for 2 months and for the first time, a C2 JVM crash happened.
      hs_err + replay were automatically generated and are available at

      Here are the interesting JVM flags : -Xms143360m -Xmx143360m -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:ConcGCThreads=8 -XX:ParallelGCThreads=8 -XX:-TieredCompilation


      Here is an extract from hs_err :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fb84fc3893c, pid=11351, tid=15012
      #
      # JRE version: OpenJDK Runtime Environment (12.0.1+12) (build 12.0.1+12)
      # Java VM: OpenJDK 64-Bit Server VM (12.0.1+12, mixed mode, z gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xc3393c] compute_tree_cost(SwitchRange*, SwitchRange*, float)+0x21c
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e %P %I %h" (or dumping to /opt/shell/core.11351)
      #
      # If you would like to submit a bug report, please visit:
      #
      #

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

      Command Line: -Djdk.serialFilter=* -Dsun.rmi.registry.registryFilter=* -Dsun.rmi.server.disableIncomingHttp=false -Dsun.rmi.dgc.checkInterval=2000 -Djava.awt.headless=true -Dservernumber= -Dsqlport= -Drmiserviceport=1100 -Djava.io.tmpdir=/opt/data/tmp -Xms143360m -Xmx143360m -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:ConcGCThreads=8 -XX:ParallelGCThreads=8 -DLogLevel=INFO -DDebugLevel=OFF -Duser.home=/opt/data/users -Duser.name=xxxxx -XX:+CMSParallelRemarkEnabled -XX:+PrintSafepointStatistics -XX:+PrintCommandLineFlags -XX:+ParallelRefProcEnabled -XX:ParallelGCThreads=4 -XX:-ReduceInitialCardMarks -Xlog:gc*,gc+heap=debug,gc+age=trace,safepoint:file=/opt/logs/mdds_gc_201909032035.log:time,level,tags -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/data/heapdump -XX:+PrintCommandLineFlags -Dfile.encoding=UTF8 -XX:-TieredCompilation nims.mddb.clispro.MDDBServer Server.HomeDir=/opt/config

      Host: Intel(R) Xeon(R) CPU E7-8870 v3 @ 2.10GHz, 72 cores, 521G, Red Hat Enterprise Linux Server release 7.4 (Maipo)
      Time: Wed Sep 4 11:34:04 2019 BST elapsed time: 53912 seconds (0d 14h 58m 32s)

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

      Current thread (0x00007fb848120250): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=15012, stack(0x00007fb5ffa7a000,0x00007fb5ffb7b000)]


      Current CompileTask:
      C2:53912173 28375 % ! nims.mddb.gsmmodel.MultiVMDSourceTable::GetValueArray @ 93 (649 bytes)

      Stack: [0x00007fb5ffa7a000,0x00007fb5ffb7b000], sp=0x00007fb5ffb77c80, free space=1015k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xc3393c] compute_tree_cost(SwitchRange*, SwitchRange*, float)+0x21c
      V [libjvm.so+0xc34dfb] Parse::linear_search_switch_ranges(Node*, SwitchRange*&, SwitchRange*&)+0x7b
      V [libjvm.so+0xc37560] Parse::jump_switch_ranges(Node*, SwitchRange*, SwitchRange*, int)+0x260
      V [libjvm.so+0xc38951] Parse::do_lookupswitch()+0x4e1
      V [libjvm.so+0xc3ea1f] Parse::do_one_bytecode()+0x3eaf
      V [libjvm.so+0xc2e208] Parse::do_one_block()+0x218
      V [libjvm.so+0xc2e3e3] Parse::do_all_blocks()+0xc3
      V [libjvm.so+0xc31a4d] Parse::Parse(JVMState*, ciMethod*, float)+0x84d
      V [libjvm.so+0x51f6b8] ParseGenerator::generate(JVMState*)+0x78
      V [libjvm.so+0x5ffd08] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xae8
      V [libjvm.so+0x51ee71] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0xb1
      V [libjvm.so+0x609b69] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x3f9
      V [libjvm.so+0x60b4b8] CompileBroker::compiler_thread_loop()+0x538
      V [libjvm.so+0xdd4b7f] JavaThread::thread_main_inner()+0x22f
      V [libjvm.so+0xdd19ff] Thread::call_run()+0x16f
      V [libjvm.so+0xbfe18e] thread_native_entry(Thread*)+0xee


      siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x00007fb5dfffb004
      [...]
      container (cgroup) information:
      container_type: cgroupv1
      cpu_cpuset_cpus: 0-71
      cpu_memory_nodes: 0-3
      active_processor_count: 72
      cpu_quota: -1
      cpu_period: 100000
      cpu_shares: -1
      memory_limit_in_bytes: -1
      memory_and_swap_limit_in_bytes: -1
      memory_soft_limit_in_bytes: -1
      memory_usage_in_bytes: 516821057536
      memory_max_usage_in_bytes: 0


      CPU:total 72 (initial active 72) (18 cores per cpu, 1 threads per core) family 6 model 63 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, lzcnt, tsc, tscinvbit, bmi1, bmi2, fma
      CPU Model and flags from /proc/cpuinfo:
      model name : Intel(R) Xeon(R) CPU E7-8870 v3 @ 2.10GHz
      flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm epb fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 invpcid rtm xsaveopt dtherm ida arat pln pts

      Memory: 4k page, physical 546770908k(12038152k free), swap 69206008k(56942340k free)

      vm_info: OpenJDK 64-Bit Server VM (12.0.1+12) for linux-amd64 JRE (12.0.1+12), built on Apr 1 2019 23:46:56 by "mach5one" with gcc 7.3.0
      END.



      FREQUENCY : rarely

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pnarayanaswa Praveen Narayanaswamy
                Reporter:
                pardesha Pardeep Sharma
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: