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

[Graal] assert(type() == T_INT) failed: type check

XMLWordPrintable

    • b21
    • Verified

      com/sun/jdi/redefineMethod/RedefineTest.java test crashes when running with AOTed Graal in Graal as JIT mode:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (open/src/hotspot/share/runtime/stackValue.hpp:82), pid=9361, tid=9371
      # assert(type() == T_INT) failed: type check
      #
      # JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-2019-05-06-1953595.katya.null)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-2019-05-06-1953595.katya.null, compiled mode, sharing, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x157fa1c] StackValueCollection::int_at(int) const+0x4c
      #


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

      Command Line: -ea -esa -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler -Djvmci.Compiler=graal -XX:+TieredCompilation -Xcomp -XX:AOTLibrary=/home/katya/work/JavaSE/Hotspot/ws/jdk.jdk/results/aot/libjdk.internal.vm.compiler.so -XX:AOTLibrary=/home/katya/work/JavaSE/Hotspot/ws/jdk.jdk/results/aot/libjdk.internal.vm.ci.so -XX:AOTLibrary=/home/katya/work/JavaSE/Hotspot/ws/jdk.jdk/results/aot/libjava.base.so -Xdebug -Xrunjdwp:transport=dt_socket,address=olegbox:43869,suspend=y RedefineTarg

      Host: olegbox, Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz, 24 cores, 15G, Ubuntu 16.04.3 LTS
      Time: Tue May 7 14:39:14 2019 PDT elapsed time: 21 seconds (0d 0h 0m 21s)

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

      Current thread (0x00007f841830e800): VMThread "VM Thread" [stack: 0x00007f83f0207000,0x00007f83f0307000] [id=9371]

      Stack: [0x00007f83f0207000,0x00007f83f0307000], sp=0x00007f83f0305910, free space=1018k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x157fa1c] StackValueCollection::int_at(int) const+0x4c
      V [libjvm.so+0x10d43bc] VM_GetOrSetLocal::doit()+0x39c
      V [libjvm.so+0x1750713] VM_Operation::evaluate()+0x143
      V [libjvm.so+0x177fd55] VMThread::evaluate_operation(VM_Operation*) [clone .constprop.67]+0x145
      V [libjvm.so+0x17807de] VMThread::loop()+0x74e
      V [libjvm.so+0x1780b5a] VMThread::run()+0xca
      V [libjvm.so+0x1699076] Thread::call_run()+0xf6
      V [libjvm.so+0x13b42be] thread_native_entry(Thread*)+0x10e


      The failure observed on linux, macos and windows.

            kvn Vladimir Kozlov
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: