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

[Graal] crash in Klass::layout_helper()

    Details

      Description

      java/lang/StackWalker/LocalsAndOperands.java#id0 executed in Graal as JIT mode crashed on macos with

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGBUS (0xa) at pc=0x000000011235e954, pid=22499, tid=27395
      #
      # JRE version: Java(TM) SE Runtime Environment (15.0) (fastdebug build 15-internal+0-2020-02-18-2131059.ekaterina.pavlova.jdk.jdk)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 15-internal+0-2020-02-18-2131059.ekaterina.pavlova.jdk.jdk, compiled mode, sharing, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, bsd-amd64)
      # Problematic frame:
      # V [libjvm.dylib+0xaf4954] Klass::layout_helper() const+0x4




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

      Current thread (0x00007f9822268800): GCTaskThread "GC Thread#11" [stack: 0x0000700004a3a000,0x0000700004b3a000] [id=27395]

      Stack: [0x0000700004a3a000,0x0000700004b3a000], sp=0x0000700004b39980, free space=1022k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0xaf4954] Klass::layout_helper() const+0x4
      V [libjvm.dylib+0xaf473f] oopDesc::size_given_klass(Klass*)+0x1f
      V [libjvm.dylib+0x457390] G1ParScanThreadState::copy_to_survivor_space(G1HeapRegionAttr, oop, markWord)+0xbc
      V [libjvm.dylib+0x4546f9] void G1ParScanThreadState::do_oop_evac<unsigned int>(unsigned int*)+0x1d1
      V [libjvm.dylib+0x456e4e] G1ParScanThreadState::trim_queue_to_threshold(unsigned int)+0x236
      V [libjvm.dylib+0x456bf0] G1ParScanThreadState::trim_queue()+0x1a
      V [libjvm.dylib+0x40118c] G1ParEvacuateFollowersClosure::do_void()+0x38
      V [libjvm.dylib+0x4083a0] G1EvacuateRegionsBaseTask::evacuate_live_objects(G1ParScanThreadState*, unsigned int, G1GCPhaseTimes::GCParPhases, G1GCPhaseTimes::GCParPhases)+0x86
      V [libjvm.dylib+0x4081db] G1EvacuateRegionsBaseTask::work(unsigned int)+0xaf
      V [libjvm.dylib+0xba3136] GangWorker::run_task(WorkData)+0x60
      V [libjvm.dylib+0xba31df] GangWorker::loop()+0x25
      V [libjvm.dylib+0xabb881] Thread::call_run()+0x11b
      V [libjvm.dylib+0x93523c] thread_native_entry(Thread*)+0xe0
      C [libsystem_pthread.dylib+0x3661] _pthread_body+0x154
      C [libsystem_pthread.dylib+0x350d] _pthread_body+0x0
      C [libsystem_pthread.dylib+0x2bf9] thread_start+0xd


      Flags use to run the test are:
       XX:+CreateCoredumpOnCrash -ea -esa -server -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler -Djvmci.Compiler=graal -XX:+TieredCompilation



      Perhaps this is G1 related crash rather compiler one.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dlong Dean Long
                Reporter:
                epavlova Ekaterina Pavlova
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: