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

ZGC: SEGV in MetaspaceShared::link_shared_classes

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b19
    • CPU:
      aarch64
    • OS:
      os_x

      Backports

        Description

        Test: runtime/cds/appcds/javaldr/GCDuringDump.java

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x0000000109c92fd8, pid=49600, tid=6147
        #
        # JRE version: Java(TM) SE Runtime Environment (18.0+18) (fastdebug build 18-ea+18-1045)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-ea+18-1045, interpreted mode, tiered, compressed class ptrs, z gc, bsd-aarch64)
        # Problematic frame:
        # V [libjvm.dylib+0xc92fd8] MetaspaceShared::link_shared_classes(JavaThread*)+0x1a4

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

        Current thread (0x0000000113008a20): JavaThread "main" [_thread_in_vm, id=6147, stack(0x000000016b688000,0x000000016b88b000)]

        Stack: [0x000000016b688000,0x000000016b88b000], sp=0x000000016b88a930, free space=2058k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.dylib+0xc92fd8] MetaspaceShared::link_shared_classes(JavaThread*)+0x1a4
        V [libjvm.dylib+0xc93630] MetaspaceShared::preload_and_dump_impl(JavaThread*)+0x9c
        V [libjvm.dylib+0xc931d4] MetaspaceShared::preload_and_dump()+0x50
        V [libjvm.dylib+0xf7bd44] Threads::create_vm(JavaVMInitArgs*, bool*)+0xc08
        V [libjvm.dylib+0x9062f4] JNI_CreateJavaVM+0xa8
        C [libjli.dylib+0x49a4] JavaMain+0x104
        C [libjli.dylib+0x7570] ThreadJavaMain+0xc
        C [libsystem_pthread.dylib+0x706c] _pthread_start+0x140


        siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0xbababababababac6

        Looks very similar to the crash in JDK-8273505

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                coleenp Coleen Phillimore
                Reporter:
                dholmes David Holmes
                Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: