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

Crash in oopDesc::obj_field_put

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:

      Description

      SIGSEGV (0xb) at pc=0x00007f4454fd0098, pid=20628, tid=20630

      Test: gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterFullGC.java

      Current thread (0x00007f445001a800): JavaThread "main" [_thread_in_vm, id=20630, stack(0x00007f445459c000,0x00007f445469d000)]

      Stack: [0x00007f445459c000,0x00007f445469d000], sp=0x00007f445469ada0, free space=1019k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x933098] oopDesc::obj_field_put(int, oop)+0x4a8;; oopDesc::obj_field_put(int, oop)+0x4a8
      V [libjvm.so+0xe99ca6] java_lang_Class::set_module(oop, oop)+0x46;; java_lang_Class::set_module(oop, oop)+0x46
      V [libjvm.so+0xe99d74] java_lang_Class::fixup_module_field(Klass*, Handle)+0x54;; java_lang_Class::fixup_module_field(Klass*, Handle)+0x54
      V [libjvm.so+0x135fc2f] ModuleEntryTable::patch_javabase_entries(Handle)+0x37f;; ModuleEntryTable::patch_javabase_entries(Handle)+0x37f
      V [libjvm.so+0x1368ab4] define_javabase_module(_jobject*, _jstring*, _jstring*, char const* const*, int, Thread*)+0x17f4;; define_javabase_module(_jobject*, _jstring*, _jstring*, char const* const*, int, Thread*)+0x17f4
      V [libjvm.so+0x1369740] Modules::define_module(_jobject*, unsigned char, _jstring*, _jstring*, char const* const*, int, Thread*)+0xa20;; Modules::define_module(_jobject*, unsigned char, _jstring*, _jstring*, char const* const*, int, Thread*)+0xa20
      V [libjvm.so+0xfb3cfd] JVM_DefineModule+0xed;; JVM_DefineModule+0xed
      C [libjava.so+0xe3c6] Java_java_lang_Module_defineModule0+0x126;; Java_java_lang_Module_defineModule0+0x126
      j java.lang.Module.defineModule0(Ljava/lang/Module;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V+0 java.base@10-internal
      j java.lang.Module.<init>(Ljava/lang/ModuleLayer;Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)V+104 java.base@10-internal
      j java.lang.System$2.defineModule(Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)Ljava/lang/Module;+8 java.base@10-internal
      j jdk.internal.module.Modules.defineModule(Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)Ljava/lang/Module;+6 java.base@10-internal
      j jdk.internal.module.ModuleBootstrap.boot()Ljava/lang/ModuleLayer;+93 java.base@10-internal
      j java.lang.System.initPhase2(ZZ)I+0 java.base@10-internal
      v ~StubRoutines::call_stub
      V [libjvm.so+0xe82ee5] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x875;; JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x875
      V [libjvm.so+0xe80f81] JavaCalls::call_static(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x1b1;; JavaCalls::call_static(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x1b1
      V [libjvm.so+0x16bef37] Threads::create_vm(JavaVMInitArgs*, bool*)+0x947;; Threads::create_vm(JavaVMInitArgs*, bool*)+0x947
      V [libjvm.so+0xf7360b] JNI_CreateJavaVM+0x9b;; JNI_CreateJavaVM+0x9b
      C [libjli.so+0x39c1] JavaMain+0x81;; JavaMain+0x81
      C [libpthread.so.0+0x7aa1]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j java.lang.Module.defineModule0(Ljava/lang/Module;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V+0 java.base@10-internal
      j java.lang.Module.<init>(Ljava/lang/ModuleLayer;Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)V+104 java.base@10-internal
      j java.lang.System$2.defineModule(Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)Ljava/lang/Module;+8 java.base@10-internal
      j jdk.internal.module.Modules.defineModule(Ljava/lang/ClassLoader;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)Ljava/lang/Module;+6 java.base@10-internal
      j jdk.internal.module.ModuleBootstrap.boot()Ljava/lang/ModuleLayer;+93 java.base@10-internal
      j java.lang.System.initPhase2(ZZ)I+0 java.base@10-internal
      v ~StubRoutines::call_stub

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lfoltan Lois Foltan
                Reporter:
                jwilhelm Jesper Wilhelmsson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: