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

gc/logging/TestUnifiedLoggingSwitchStress.java, Crash: SIGSEGV

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • tbd
    • 11.0.16-oracle, 17.0.4-oracle
    • hotspot
    • aarch64
    • os_x

      Test: gc/logging/TestUnifiedLoggingSwitchStress.java
      VM options: -Xcomp -XX:+CreateCoredumpOnCrash -XX:TieredStopAtLevel=1
      Product tested: jdk-17.0.4+7 (ATR run)
      OS/architecture: macosx-aarch64
      Reproducible: no, Seen only once during ATR.
      tried running 250 repeats, but still could not reproduce the issue.
      Is it a Regression: No, Intermittent seen only once in ATR.
      Is it a platform-specific issue: Not sure, Ran the test on different platforms 100 times with no luck.

      Exception/Error:

      ----------System.out:(20/1217)----------
      For random generator using seed: 6389636299798602744
      To re-run test with same seed value please add "-Djdk.test.lib.random.seed=6389636299798602744" to command line.
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000000105ea1b90, pid=64315, tid=39427
      #
      # JRE version: Java(TM) SE Runtime Environment (17.0.4+7) (build 17.0.4+7-LTS-174)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.4+7-LTS-174, compiled mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
      # Problematic frame:
      # V [libjvm.dylib+0x689b90] _ZN9LogTagSet6vwriteEN8LogLevel4typeEPKcPc+0xb8
      #
      # Core dump will be written. Default location: core.64315

      =================

      Current thread (0x000000012e223000): JavaThread "Thread-3" [_thread_in_vm, id=39427, stack(0x000000016e1ec000,0x000000016e3ef000)]

      Stack: [0x000000016e1ec000,0x000000016e3ef000], sp=0x000000016e3ee200, free space=2056k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x689b90] _ZN9LogTagSet6vwriteEN8LogLevel4typeEPKcPc+0xb8
      V [libjvm.dylib+0x3a7cfc] _ZN7LogImplILN6LogTag4typeE43ELS1_115ELS1_0ELS1_0ELS1_0ELS1_0EE5writeILN8LogLevel4typeE1EEEvPKcz+0x2c
      V [libjvm.dylib+0x367894] _ZN15G1CollectedHeap41humongous_obj_allocate_initialize_regionsEP10HeapRegionjm+0x1f4
      V [libjvm.dylib+0x36799c] _ZN15G1CollectedHeap22humongous_obj_allocateEm+0xb8
      V [libjvm.dylib+0x367bec] _ZN15G1CollectedHeap28attempt_allocation_humongousEm+0xf0
      V [libjvm.dylib+0x72f17c] _ZNK12MemAllocator8allocateEv+0xbc
      V [libjvm.dylib+0x3dfd40] _ZN13CollectedHeap14array_allocateEP5KlassiibP10JavaThread+0x38
      V [libjvm.dylib+0x1e4b60] _ZN8Runtime114new_type_arrayEP10JavaThreadP5Klassi+0x58
      v ~RuntimeStub::new_type_array Runtime1 stub
      C 0x000000080001ce48

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      v ~RuntimeStub::new_type_array Runtime1 stub
      J 4853 c1 gc.logging.MemoryStresser.lambda$new$0()V (57 bytes) @ 0x000000010e6f10d8 [0x000000010e6f0f00+0x00000000000001d8]
      J 4929 c1 gc.logging.MemoryStresser$$Lambda$63+0x0000000800c09438.run()V (8 bytes) @ 0x000000010e6d6224 [0x000000010e6d61c0+0x0000000000000064]
      J 4933% c1 gc.logging.MemoryStresser.run()V (43 bytes) @ 0x000000010e6d1cac [0x000000010e6d1c00+0x00000000000000ac]
      J 2227 c1 java.lang.Thread.run()V java.base@17.0.4 (17 bytes) @ 0x000000010e3d1a38 [0x000000010e3d19c0+0x0000000000000078]
      v ~StubRoutines::call_stub

            jsjolen Johan Sjölen
            aharadigopal Adithya Haradi Gopal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: