Crash in javac: SIGSEGV in ObjectSynchronizer::enter

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P3
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • aarch64
    • linux

      Test: vmTestbase/nsk/monitoring/stress/classload/unload001/TestDescription.java


      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000ffff9550f24c, pid=1490339, tid=1490342
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+25) (build 26-ea+25-2475)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (26-ea+25-2475, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0xe5c24c] ObjectSynchronizer::enter(Handle, BasicLock*, JavaThread*)+0x4c
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/526fbd26-20de-495c-9a19-a04adc16f7d1-S26968/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e6353eaa-0436-4b3a-99bd-8e3ea8ca8651/runs/c024929a-53f2-4ea0-bc92-f6534af8ab03/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_monitoring/scratch/5/core.1490339)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      Host: AArch64, 16 cores, 31G, Oracle Linux Server release 8.10
      Time: Fri Nov 14 15:59:53 2025 UTC elapsed time: 0.805430 seconds (0d 0h 0m 0s)

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

      Current thread (0x0000ffff9003e2b0): JavaThread "main" [_thread_in_vm, id=1490342, stack(0x0000ffff943d3000,0x0000ffff945d1000) (2040K)]

      Stack: [0x0000ffff943d3000,0x0000ffff945d1000], sp=0x0000ffff945ce5d0, free space=2029k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xe5c24c] ObjectSynchronizer::enter(Handle, BasicLock*, JavaThread*)+0x4c (compressedKlass.inline.hpp:36)
      V [libjvm.so+0xe5c940] ObjectLocker::ObjectLocker(Handle, JavaThread*)+0x58 (synchronizer.cpp:476)
      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j sun.nio.fs.UnixPath.toUri()Ljava/net/URI;+1 java.base@26-ea
      j com.sun.tools.javac.file.PathFileObject$SimpleFileObject.toUri()Ljava/net/URI;+4 jdk.compiler@26-ea
      j com.sun.tools.javac.file.PathFileObject.getSimpleName(Ljavax/tools/FileObject;)Ljava/lang/String;+1 jdk.compiler@26-ea
      j com.sun.tools.javac.jvm.ClassWriter.writeClassFile(Ljava/io/OutputStream;Lcom/sun/tools/javac/code/Symbol$ClassSymbol;)V+782 jdk.compiler@26-ea
      j com.sun.tools.javac.jvm.ClassWriter.writeClass(Lcom/sun/tools/javac/code/Symbol$ClassSymbol;)Ljavax/tools/JavaFileObject;+128 jdk.compiler@26-ea
      j com.sun.tools.javac.main.JavaCompiler.genCode(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/tree/JCTree$JCClassDecl;)Ljavax/tools/JavaFileObject;+27 jdk.compiler@26-ea
      j com.sun.tools.javac.main.JavaCompiler.generate(Ljava/util/Queue;Ljava/util/Queue;)V+278 jdk.compiler@26-ea
      j com.sun.tools.javac.main.JavaCompiler.generate(Ljava/util/Queue;)V+3 jdk.compiler@26-ea
      j com.sun.tools.javac.main.JavaCompiler.compile(Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Iterable;Ljava/util/Collection;)V+417 jdk.compiler@26-ea
      j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+622 jdk.compiler@26-ea
      j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15 jdk.compiler@26-ea
      j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 jdk.compiler@26-ea
      j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1 jdk.compiler@26-ea
      v ~StubRoutines::Stub Generator call_stub_stub 0x0000ffff7f825454

      siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0061667265746e71

            Assignee:
            Fredrik Bredberg
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: