Crash: SIGSEGV in LightweightSynchronizer::exit

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P3
    • 27
    • Affects Version/s: 27
    • Component/s: hotspot

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000ffffb2412ed0, pid=858572, tid=858573
      #
      # JRE version: Java(TM) SE Runtime Environment (25.0+37) (build 25+37-LTS-3491)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25+37-LTS-3491, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0xb02ed0] LightweightSynchronizer::exit(oopDesc*, BasicLock*, JavaThread*)+0x3e8
      #
      # 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/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11763/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7f6a27b5-578f-46b4-9965-4f0efc4e256d/runs/4bd6060c-2117-4d01-a286-e870124fa35b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_javafuzzer_JF_5000Tests_java/scratch/0/core.858572)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      --------------- S U M M A R Y ------------

      Host: AArch64, 16 cores, 31G, Oracle Linux Server release 8.10
      Time: Mon Dec 22 04:01:53 2025 UTC elapsed time: 5.871585 seconds (0d 0h 0m 5s)

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

      Current thread (0x0000ffffac02d030): JavaThread "main" [_thread_in_Java, id=858573, stack(0x0000ffffb1630000,0x0000ffffb182e000) (2040K)]

      Stack: [0x0000ffffb1630000,0x0000ffffb182e000], sp=0x0000ffffb1826260, free space=2008k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xb02ed0] LightweightSynchronizer::exit(oopDesc*, BasicLock*, JavaThread*)+0x3e8
      V [libjvm.so+0x882f4c] InterpreterRuntime::monitorexit(BasicObjectLock*)+0xa8
      j jdk.internal.classfile.impl.UnboundAttribute.writeTo(Ljdk/internal/classfile/impl/DirectClassBuilder;)V+2 java.base@25
      J 2175 c1 jdk.internal.classfile.impl.DirectClassBuilder.with(Ljava/lang/classfile/ClassFileElement;)Ljava/lang/classfile/ClassFileBuilder; java.base@25 (9 bytes) @ 0x0000ffff94a6c590 [0x0000ffff94a6c100+0x0000000000000490]

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


      Registers:
      R0=0x0000000000000000
      R1=0x0000ffffb1826360
      R2=0x0000ffffac02d030
      R3=0x0000000000000002
      R4=0xffffffffffffffff
      R5=0x0000ffffac110ab0
      R6=0x0000000000000007
      R7=0x0000ffffac02d030
      R8=0x0000ffffb2192ea4
      R9=0x0000ffffb1825dd0
      R10=0x0000000000000000
      R11=0x00000800004c6960
      R12=0x0000080000286600
      R13=0x0000000000000000
      R14=0x0000000000000001
      R15=0x00000800001a4798
      R16=0x0000000000000001
      R17=0x0000ffffb2e62be8
      R18=0x0000080000765708
      R19=0xf280b11fd503201d
      R20=0x0000ffff94a6c590
      R21=0x0000000000000003
      R22=0x0000ffffac02d030
      R23=0x0000ffffb1826360
      R24=0x0000ffffb1826378
      R25=0x000000000000000e
      R26=0x000008000046ef90
      R27=0x0000000000000000
      R28=0x0000ffffac02d030
      R29=0x0000ffffb1826260
      R30=0x0000ffffb2192f4c


      Register to memory mapping:

      R0 =0x0 is null
      R1 =0x0000ffffb1826360 is pointing into the stack for thread: 0x0000ffffac02d030
      R2 =0x0000ffffac02d030 is a thread
      R3 =0x0000000000000002 is an unknown value
      R4 =0xffffffffffffffff is an unknown value
      R5 =0x0000ffffac110ab0 points into unknown readable memory: 0x0000ffff60402858 | 58 28 40 60 ff ff 00 00
      R6 =0x0000000000000007 is an unknown value
      R7 =0x0000ffffac02d030 is a thread
      R8 =0x0000ffffb2192ea4: <offset 0x0000000000882ea4> in /opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25/lib/server/libjvm.so at 0x0000ffffb1910000
      R9 =0x0000ffffb1825dd0 is pointing into the stack for thread: 0x0000ffffac02d030
      R10=0x0 is null
      R11=0x00000800004c6960 is pointing into metadata
      R12={method} {0x0000080000286600} 'writeTo' '(Ljdk/internal/classfile/impl/DirectClassBuilder;)V' in 'jdk/internal/classfile/impl/UnboundAttribute'
      R13=0x0 is null
      R14=0x0000000000000001 is an unknown value
      R15={method} {0x00000800001a4798} 'fillInStackTrace' '()Ljava/lang/Throwable;' in 'java/lang/Throwable'
      R16=0x0000000000000001 is an unknown value
      R17=0x0000ffffb2e62be8: pthread_mutex_unlock+0x0000000000000000 in /lib64/libc.so.6 at 0x0000ffffb2de9000
      R18=0x0000080000765708 is pointing into metadata
      R19=0xf280b11fd503201d is an unknown value
      R20=0x0000ffff94a6c590 is at entry_point+1124 in (nmethod*)0x0000ffff94a6c008
      Compiled method (c1) 11034 2175 3 jdk.internal.classfile.impl.DirectClassBuilder::with (9 bytes)
       total in heap [0x0000ffff94a6c008,0x0000ffff94a6ca78] = 2672
       main code [0x0000ffff94a6c100,0x0000ffff94a6c998] = 2200
       stub code [0x0000ffff94a6c998,0x0000ffff94a6ca78] = 224
       mutable data [0x0000ffff4c16c930,0x0000ffff4c16caa8] = 376
       relocation [0x0000ffff4c16c930,0x0000ffff4c16ca28] = 248
       metadata [0x0000ffff4c16ca28,0x0000ffff4c16caa8] = 128
       immutable data [0x0000ffff4c16c750,0x0000ffff4c16c928] = 472
       dependencies [0x0000ffff4c16c750,0x0000ffff4c16c760] = 16
       nul chk table [0x0000ffff4c16c760,0x0000ffff4c16c778] = 24
       scopes pcs [0x0000ffff4c16c778,0x0000ffff4c16c888] = 272
       scopes data [0x0000ffff4c16c888,0x0000ffff4c16c928] = 160
      R21=0x0000000000000003 is an unknown value
      R22=0x0000ffffac02d030 is a thread
      R23=0x0000ffffb1826360 is pointing into the stack for thread: 0x0000ffffac02d030
      R24=0x0000ffffb1826378 is pointing into the stack for thread: 0x0000ffffac02d030
      R25=0x000000000000000e is an unknown value
      R26=0x000008000046ef90 is pointing into metadata
      R27=0x0 is null
      R28=0x0000ffffac02d030 is a thread
      R29=0x0000ffffb1826260 is pointing into the stack for thread: 0x0000ffffac02d030
      R30=0x0000ffffb2192f4c: <offset 0x0000000000882f4c> in /opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25/lib/server/libjvm.so at 0x0000ffffb1910000

      Top of Stack: (sp=0x0000ffffb1826260)
      0x0000ffffb1826260: 0000ffffb18262a0 0000ffffb2192f4c .b......L/......
      0x0000ffffb1826270: 0000ffffb1826360 0000ffff94a6c590 `c..............
      0x0000ffffb1826280: 0000ffffac02d030 0000080000c88f3a 0.......:.......
      0x0000ffffb1826290: 00000007ffc40090 0000ffffb1826378 ........xc......
      0x0000ffffb18262a0: 0000ffffb1826360 0000ffff9bb9e188 `c..............
      0x0000ffffb18262b0: 0000ffffb1826310 0000ffffb1826360 .c......`c......
      0x0000ffffb18262c0: 0000ffffb2d4ef50 0000ffffac02d030 P.......0.......
      0x0000ffffb18262d0: 0000ffff94a6c590 0000080000286600 .........f(.....
      0x0000ffffb18262e0: 0000000000000002 0000080000354098 .........@5.....
      0x0000ffffb18262f0: 0000000000000007 00000007ffc40100 ................
      0x0000ffffb1826300: 0000080000283658 0000000000000001 X6(.............
      0x0000ffffb1826310: 0000000000000000 0000080000c88f3a ........:.......
      0x0000ffffb1826320: 0000000000000003 000008000046ef90 ..........F.....
      0x0000ffffb1826330: 000000060fed7428 fffffffffffffff0 (t..............
      0x0000ffffb1826340: 0000000000000000 0000080000286600 .........f(.....
      0x0000ffffb1826350: 0000000000000000 00000007ffc40158 ........X.......
      0x0000ffffb1826360: 00000007ffc3ffb8 0000ffff94a6c590 ................
      0x0000ffffb1826370: 0000000000000001 0000080000283658 ........X6(.....
      0x0000ffffb1826380: 0000000000000000 0000ffffb1826390 .........c......
      0x0000ffffb1826390: 0000ffffb1826410 0000ffff9bb9ba90 .d..............
      0x0000ffffb18263a0: 0000ffffb1826410 00000007ffc40100 .d..............
      0x0000ffffb18263b0: 00000007ffc40140 00000007ffc40140 @.......@.......
      0x0000ffffb18263c0: fffffffffffffff6 0000080000a6913d ........=.......
      0x0000ffffb18263d0: 0000000000000002 0000080000352440 ........@$5.....
      0x0000ffffb18263e0: 0000ffffb1826480 0000ffff9bb9bdc0 .d..............
      0x0000ffffb18263f0: 0000000000000000 0000080000352890 .........(5.....
      0x0000ffffb1826400: 0000000000000000 0000ffffb18263f0 .........c......
      0x0000ffffb1826410: 0000ffffb1826480 0000ffff9bb9b820 .d...... .......
      0x0000ffffb1826420: 00000007ffc40140 00000007ffc3ffb8 @...............
      0x0000ffffb1826430: fffffffffffffff6 0000080000a4684f ........Oh......
      0x0000ffffb1826440: 0000000000000003 000008000033cc88 ..........3.....
      0x0000ffffb1826450: 000000060fed6ab0 ffffffffffffffee .j..............

      Instructions: (pc=0x0000ffffb2412ed0)
        0x0000ffffb2412dd0: f3 02 40 f9 f3 07 00 b5 c1 1e 44 f9 c0 e2 20 91
        0x0000ffffb2412de0: 9f 02 01 eb a0 39 00 54 01 08 40 f9 9f 02 01 eb
        0x0000ffffb2412df0: 20 36 00 54 01 10 40 f9 9f 02 01 eb c0 33 00 54
        0x0000ffffb2412e00: 01 18 40 f9 9f 02 01 eb a0 36 00 54 01 20 40 f9
        0x0000ffffb2412e10: 9f 02 01 eb a0 35 00 54 01 28 40 f9 9f 02 01 eb
        0x0000ffffb2412e20: 80 36 00 54 01 30 40 f9 9f 02 01 eb c0 36 00 54
        0x0000ffffb2412e30: 01 38 40 f9 9f 02 01 eb 00 38 00 54 d5 de 40 f9
        0x0000ffffb2412e40: c0 48 00 d0 e1 03 15 aa 02 b4 42 f9 95 21 00 36
        0x0000ffffb2412e50: d7 e2 06 91 e1 fe 9f c8 bf 3b 03 d5 40 40 01 91
        0x0000ffffb2412e60: 01 fc df c8 e1 2e 00 b5 81 02 40 f9 40 40 00 91
        0x0000ffffb2412e70: 21 a4 4b d3 03 fc df c8 60 0c 40 f9 63 00 40 f9
        0x0000ffffb2412e80: 20 00 00 8a 60 0c 00 8b 03 fc df c8 c3 2c 08 37
        0x0000ffffb2412e90: 00 fc df c8 98 44 00 d0 13 f4 7e 92 1f 0c 00 f1
        0x0000ffffb2412ea0: 49 01 00 54 60 06 40 f9 00 04 40 f9 a0 00 00 b4
        0x0000ffffb2412eb0: 01 2f 40 f9 20 00 3f d6 9f 02 00 eb 40 26 00 54
        0x0000ffffb2412ec0: 73 fe df c8 13 ff ff b5 13 00 80 d2 f5 fe 9f c8
      =>0x0000ffffb2412ed0: 62 22 40 f9 5f 04 00 f1 00 0a 00 54 f7 63 43 a9
        0x0000ffffb2412ee0: e1 03 16 aa e0 03 13 aa 22 00 80 52 f3 53 41 a9
        0x0000ffffb2412ef0: f5 5b 42 a9 fd 7b c4 a8 62 0d 05 14 3f 00 14 eb
        0x0000ffffb2412f00: a1 e7 ff 54 20 44 00 f0 00 d0 42 f9 e3 03 16 aa
        0x0000ffffb2412f10: e2 03 16 aa 01 00 80 52 00 00 40 39 a0 18 00 37
        0x0000ffffb2412f20: e0 03 14 aa 22 f1 ff 97 52 ff ff 17 20 00 80 52
        0x0000ffffb2412f30: 3f 08 00 71 49 f3 ff 54 c2 10 40 f9 9f 02 02 eb
        0x0000ffffb2412f40: e0 13 00 54 c3 cc 20 8b 00 04 00 11 62 08 00 f9
        0x0000ffffb2412f50: 3f 0c 00 71 49 f2 ff 54 c2 14 40 f9 9f 02 02 eb
        0x0000ffffb2412f60: 00 15 00 54 c3 cc 20 8b 00 04 00 11 62 08 00 f9
        0x0000ffffb2412f70: 3f 10 00 71 49 f1 ff 54 c2 18 40 f9 9f 02 02 eb
        0x0000ffffb2412f80: a0 14 00 54 c3 cc 20 8b 00 04 00 11 62 08 00 f9
        0x0000ffffb2412f90: 3f 14 00 71 49 f0 ff 54 c2 1c 40 f9 9f 02 02 eb
        0x0000ffffb2412fa0: 60 15 00 54 c3 cc 20 8b 00 04 00 11 62 08 00 f9
        0x0000ffffb2412fb0: 3f 18 00 71 49 ef ff 54 c2 20 40 f9 9f 02 02 eb
        0x0000ffffb2412fc0: 60 15 00 54 c3 cc 20 8b 00 04 00 11 62 08 00 f9


      Stack slot to memory mapping:

      stack at sp + 0 slots: 0x0000ffffb18262a0 is pointing into the stack for thread: 0x0000ffffac02d030
      stack at sp + 1 slots: 0x0000ffffb2192f4c: <offset 0x0000000000882f4c> in /opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-aarch64/jdk-25_linux-aarch64_bin.tar.gz/jdk-25/lib/server/libjvm.so at 0x0000ffffb1910000
      stack at sp + 2 slots: 0x0000ffffb1826360 is pointing into the stack for thread: 0x0000ffffac02d030
      stack at sp + 3 slots: 0x0000ffff94a6c590 is at entry_point+1124 in (nmethod*)0x0000ffff94a6c008
      Compiled method (c1) 11035 2175 3 jdk.internal.classfile.impl.DirectClassBuilder::with (9 bytes)
       total in heap [0x0000ffff94a6c008,0x0000ffff94a6ca78] = 2672
       main code [0x0000ffff94a6c100,0x0000ffff94a6c998] = 2200
       stub code [0x0000ffff94a6c998,0x0000ffff94a6ca78] = 224
       mutable data [0x0000ffff4c16c930,0x0000ffff4c16caa8] = 376
       relocation [0x0000ffff4c16c930,0x0000ffff4c16ca28] = 248
       metadata [0x0000ffff4c16ca28,0x0000ffff4c16caa8] = 128
       immutable data [0x0000ffff4c16c750,0x0000ffff4c16c928] = 472
       dependencies [0x0000ffff4c16c750,0x0000ffff4c16c760] = 16
       nul chk table [0x0000ffff4c16c760,0x0000ffff4c16c778] = 24
       scopes pcs [0x0000ffff4c16c778,0x0000ffff4c16c888] = 272
       scopes data [0x0000ffff4c16c888,0x0000ffff4c16c928] = 160
      stack at sp + 4 slots: 0x0000ffffac02d030 is a thread
      stack at sp + 5 slots: 0x0000080000c88f3a is pointing into metadata
      stack at sp + 6 slots: 0x00000007ffc40090 is an oop: java.lang.StringBuilder
      {0x00000007ffc40090} - klass: 'java/lang/StringBuilder' - flags:

       - ---- fields (total size 3 words):
       - 'count' 'I' @12 14 (0x0000000e)
       - 'coder' 'B' @16 0 (0x00)
       - 'maybeLatin1' 'Z' @17 false (0x00)
       - 'value' '[B' @20 [B{0x00000007ffc400a8} (0xfff88015)
      stack at sp + 7 slots: 0x0000ffffb1826378 is pointing into the stack for thread: 0x0000ffffac02d030

      Lock stack of current Java thread (top to bottom):


      Compiled method (c1) 11036 2175 3 jdk.internal.classfile.impl.DirectClassBuilder::with (9 bytes)
       total in heap [0x0000ffff94a6c008,0x0000ffff94a6ca78] = 2672
       main code [0x0000ffff94a6c100,0x0000ffff94a6c998] = 2200
       stub code [0x0000ffff94a6c998,0x0000ffff94a6ca78] = 224
       mutable data [0x0000ffff4c16c930,0x0000ffff4c16caa8] = 376
       relocation [0x0000ffff4c16c930,0x0000ffff4c16ca28] = 248
       metadata [0x0000ffff4c16ca28,0x0000ffff4c16caa8] = 128
       immutable data [0x0000ffff4c16c750,0x0000ffff4c16c928] = 472
       dependencies [0x0000ffff4c16c750,0x0000ffff4c16c760] = 16
       nul chk table [0x0000ffff4c16c760,0x0000ffff4c16c778] = 24
       scopes pcs [0x0000ffff4c16c778,0x0000ffff4c16c888] = 272
       scopes data [0x0000ffff4c16c888,0x0000ffff4c16c928] = 160

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

              Created:
              Updated: