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

JSR 292: VM crash in JavaThread::last_frame

XMLWordPrintable

    • b11
    • generic
    • generic
    • Not verified

        VM crashes with:

        # SIGSEGV (0xb) at pc=0xb6ec6ef7, pid=12007, tid=3065453424
        #
        # JRE version: 7.0-b123
        # Java VM: Java HotSpot(TM) Server VM (20.0-b04 mixed mode linux-x86 )
        # Problematic frame:
        # V [libjvm.so+0x32eef7] JavaThread::last_frame()+0xa7

        Stack: [0xb6b21000,0xb6b72000], sp=0xb6b70e34, free space=319k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x32eef7] JavaThread::last_frame()+0xa7
        V [libjvm.so+0x3c8eaf] java_lang_Throwable::fill_in_stack_trace(Handle, Thread*)+0x25f
        V [libjvm.so+0x3c95bb] java_lang_Throwable::fill_in_stack_trace(Handle)+0x5b
        V [libjvm.so+0x3235f8] Exceptions::throw_stack_overflow_exception(Thread*, char const*, int)+0xb8
        V [libjvm.so+0x3c129b] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x1cb
        V [libjvm.so+0x557239] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19
        V [libjvm.so+0x3c02df] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f
        V [libjvm.so+0x3cb63a] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x21a
        V [libjvm.so+0x3d1a1a] jni_CallStaticVoidMethod+0xba
        C [libjli.so+0x25f0] JavaMain+0x560
        C [libpthread.so.0+0x667f] start_thread+0xbf

        The class file is attached. Please run it with -XX:+UnlockExperimentalVMOptions -XX:+EnableInvokeDynamic.

        Note that every method in this class has max_stack == max_locals == 65535.

        The bug does not reproduce with JDK7 b121.

        The crash was reported by Remi Forax in ###@###.### mailing list. See
        http://mail.openjdk.java.net/pipermail/mlvm-dev/2011-January/002268.html.

              coleenp Coleen Phillimore
              kshiroko Kirill Shirokov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: