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

JSR 292: VM crashing in frame::sender_for_compiled_frame

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      Test that crashed VM was for JSR292 features, the failure below looks more like a runtime one.

      JDK7 b112 crashed on linux-i586:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xf6f53c99, pid=18750, tid=4141263776
      #
      # JRE version: 7.0
      # Java VM: Java HotSpot(TM) Client VM (20.0-b01 compiled mode, sharing linux-x86 )
      # Problematic frame:
      # V [libjvm.so+0x1c3c99]
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #


      Stack trace:

      Instructions: (pc=0xf6f53c99)
      0xf6f53c89: 74 0b 39 45 e8 0f 83 a4 00 00 00 31 f6 83 ec 0c
      0xf6f53c99: 8b 06 56 ff 50 04 83 c4 10 84 c0 74 2f 89 f0 8b
      ;; f6f53c89 74 0b je 0xf6f53c96
      ;; f6f53c8b 39 45 e8 cmp %eax,0xffffffe8(%ebp)
      ;; f6f53c8e 0f 83 a4 00 00 00 jae 0xf6f53d38
      ;; f6f53c94 31 f6 xor %esi,%esi
      ;; f6f53c96 83 ec 0c sub $0xc,%esp
      ;; ---------------
      ;; f6f53c99 8b 06 mov (%esi),%eax
      ;; f6f53c9b 56 push %esi
      ;; f6f53c9c ff 50 04 call *0x4(%eax)
      ;; f6f53c9f 83 c4 10 add $0x10,%esp
      ;; f6f53ca2 84 c0 test %al,%al
      ;; f6f53ca4 74 2f je 0xf6f53cd5
      ;; f6f53ca6 89 f0 mov %esi,%eax
      ;; f6f53ca8 8b ff mov %edi,%edi
      ;;
      Stack: [0xf6d1a000,0xf6d6b000], sp=0xf6d69874, free space=318k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1c3c99];; frame::sender_for_compiled_frame(RegisterMap*) const+0x59
      V [libjvm.so+0x1c409c];; frame::sender(RegisterMap*) const+0x5c
      V [libjvm.so+0x23e3ac];; java_lang_Throwable::fill_in_stack_trace(Handle, Thread*)+0x56c
      V [libjvm.so+0x23e7ab];; java_lang_Throwable::fill_in_stack_trace(Handle)+0x5b
      V [libjvm.so+0x27d084];; JVM_FillInStackTrace+0xb4
      C [libjava.so+0x11cf9] Java_java_lang_Throwable_fillInStackTrace+0x29;; Java_java_lang_Throwable_fillInStackTrace+0x29
      J java.lang.Throwable.fillInStackTrace()Ljava/lang/Throwable;
      J java.lang.Throwable.<init>()V
      V [libjvm.so+0x2365ac];; .L184+0xc4
      V [libjvm.so+0x333a49];; os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19
      V [libjvm.so+0x23554f];; JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f
      V [libjvm.so+0x2355d2];; JavaCalls::call_static(JavaValue*, KlassHandle, symbolHandle, symbolHandle, JavaCallArguments*, Thread*)+0x72
      V [libjvm.so+0x3b6e48];; SystemDictionary::make_dynamic_call_site(Handle, symbolHandle, methodHandle, Handle, methodHandle, int, Thread*)+0x2a8
      V [libjvm.so+0x22fe2a];; InterpreterRuntime::resolve_invokedynamic(JavaThread*)+0x4ca
      j vm.mlvm.indy.func.java.verifyStackTrace.Test.runFunky()Z+11
      J vm.mlvm.indy.func.java.verifyStackTrace.Test.run()Z
      V [libjvm.so+0x2365ac];; .L184+0xc4
      V [libjvm.so+0x333a49];; os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19
      V [libjvm.so+0x23554f];; JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f
      V [libjvm.so+0x2408aa];; _ZL17jni_invoke_staticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP6Thread+0x21a
      V [libjvm.so+0x2567da];; jni_CallStaticVoidMethod+0xca
      C [libjli.so+0x2856] vfprintf+0x2856;; JavaMain+0x436
      C [libpthread.so.0+0x52ab]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      J java.lang.Throwable.fillInStackTrace()Ljava/lang/Throwable;
      J java.lang.Throwable.<init>()V
      J <...>.Test.bootstrap(Ljava/lang/Class;Ljava/lang/String;Ljava/dyn/MethodType;)Ljava/dyn/CallSite;
      J sun.dyn.CallSiteImpl.makeSite(Ljava/dyn/MethodHandle;Ljava/lang/String;Ljava/dyn/MethodType;Ljava/lang/Object;Lsun/dyn/MemberName;I)Ljava/dyn/CallSite;

      [error occurred during error reporting (printing Java stack), id 0xb]

      Please see comments for details.

        Attachments

          Activity

            People

            • Assignee:
              twisti Christian Thalinger
              Reporter:
              kshiroko Kirill Shirokov (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: