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

ZGC: SIGSEGV in java.lang.String.equals()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2
    • 12
    • 12, 13
    • hotspot

    Description

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f54dc8afcc2, pid=26540, tid=26573
      #
      # JRE version: Java(TM) SE Runtime Environment (12.0) (build 12-internal+0-jdk12-jdk.1184)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (12-internal+0-jdk12-jdk.1184, mixed mode, tiered, z gc, linux-amd64)
      # Problematic frame:
      # J 6663 c2 java.lang.String.equals(Ljava/lang/Object;)Z java.base@12-internal (65 bytes) @ 0x00007f54dc8afcc2 [0x00007f54dc8afc20+0x00000000000000a2]
      #
      # Core dump will be written. Default location: /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1206/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/242bb970-4e93-4959-988e-89cf70b8c1f7/runs/abb75568-32f6-4c1f-8960-eedc1fb5a7bc/testOutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/core.26540
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -XX:MaxRAMPercentage=6 -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+CreateCoredumpOnCrash -XX:-UseCompressedOops --add-opens=java.base/java.net=ALL-UNNAMED -Dseed=6116429391456993 -XX:MaxRAMPercentage=50 applications.runthese.Runner -duration 30 -runlist /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1206/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/242bb970-4e93-4959-988e-89cf70b8c1f7/runs/abb75568-32f6-4c1f-8960-eedc1fb5a7bc/testOutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/./RunTheseTestList.dat

      Host: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 8 cores, 59G, Oracle Linux Server release 7.1
      Time: Mon Jan 7 07:50:11 2019 PST elapsed time: 9 seconds (0d 0h 0m 9s)

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

      Current thread (0x00007f54ec3e7a60): JavaThread "RunThese-TestRunner-Thread-2" daemon [_thread_in_Java, id=26573, stack(0x00007f52779e5000,0x00007f5277ae6000)]

      Stack: [0x00007f52779e5000,0x00007f5277ae6000], sp=0x00007f5277ae4290, free space=1020k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      J 6663 c2 java.lang.String.equals(Ljava/lang/Object;)Z java.base@12-internal (65 bytes) @ 0x00007f54dc8afcc2 [0x00007f54dc8afc20+0x00000000000000a2]
      J 4833 c1 java.lang.Class.searchMethods([Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; java.base@12-internal (104 bytes) @ 0x00007f54d58527d4 [0x00007f54d5852640+0x0000000000000194]
      J 5610 c1 java.lang.Class.getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; java.base@12-internal (63 bytes) @ 0x00007f54d599cdf4 [0x00007f54d599cce0+0x0000000000000114]
      J 8417 c1 applications.runthese.Runner$TestRunner.runTest(Ljava/lang/String;J)V (471 bytes) @ 0x00007f54d5cd88cc [0x00007f54d5cd7f60+0x000000000000096c]
      j applications.runthese.Runner$TestRunner.run()V+104
      j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+92 java.base@12-internal
      j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 java.base@12-internal
      j java.lang.Thread.run()V+11 java.base@12-internal
      v ~StubRoutines::call_stub
      V [libjvm.so+0x86c9a9] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x3c9
      V [libjvm.so+0x86aadd] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0x1cd
      V [libjvm.so+0x9178fc] thread_entry(JavaThread*, Thread*)+0x6c
      V [libjvm.so+0xdce78f] JavaThread::thread_main_inner()+0x22f
      V [libjvm.so+0xdcb62f] Thread::call_run()+0x16f
      V [libjvm.so+0xbf929e] thread_native_entry(Thread*)+0xee


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

      Register to memory mapping:

      RAX=0x0 is NULL
      RBX=0x000000000000000a is an unknown value
      RCX=0x0 is NULL
      RDX=0x000008001b403210 is an oop: java.lang.String
      {0x000008001b403210} - klass: 'java/lang/String'
      RSP=0x00007f5277ae4290 is pointing into the stack for thread: 0x00007f54ec3e7a60
      RBP=0x0 is NULL
      RSI=0x000008001b403230 is an oop: [B
      {0x000008001b403230} - klass: {type array byte}
       - length: 4
      RDI=0x0 is NULL
      R8 =0x000008000e436d98 is an oop: java.lang.String
      {0x000008000e436d98} - klass: 'java/lang/String'
      R9 =0x000008000e436d98 is an oop: java.lang.String
      {0x000008000e436d98} - klass: 'java/lang/String'
      R10=0x0000000000000004 is an unknown value
      R11=0x0 is NULL
      R12=0x00000800bf86fa80 is an oop: java.lang.reflect.Method
      {0x00000800bf86fa80} - klass: 'java/lang/reflect/Method'
      R13=0x000008001b403210 is an oop: java.lang.String
      {0x000008001b403210} - klass: 'java/lang/String'
      R14=0x00007f5277ae4160 is pointing into the stack for thread: 0x00007f54ec3e7a60
      R15=0x00007f54ec3e7a60 is a thread


      Registers:
      RAX=0x0000000000000000, RBX=0x000000000000000a, RCX=0x0000000000000000, RDX=0x000008001b403210
      RSP=0x00007f5277ae4290, RBP=0x0000000000000000, RSI=0x000008001b403230, RDI=0x0000000000000000
      R8 =0x000008000e436d98, R9 =0x000008000e436d98, R10=0x0000000000000004, R11=0x0000000000000000
      R12=0x00000800bf86fa80, R13=0x000008001b403210, R14=0x00007f5277ae4160, R15=0x00007f54ec3e7a60
      RIP=0x00007f54dc8afcc2, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
        TRAPNO=0x000000000000000e

      Top of Stack: (sp=0x00007f5277ae4290)
      0x00007f5277ae4290: 00007f5277ae4b00 00007f54ec3e5060
      0x00007f5277ae42a0: 00007f5260000a80 00007f54ec3e7a60
      0x00007f5277ae42b0: 00007f5277ae42e0 00007f54f49a2d02
      0x00007f5277ae42c0: 00007f5277ae48d0 00007f54d58527d4

      Instructions: (pc=0x00007f54dc8afcc2)
      0x00007f54dc8afca2: 85 f3 00 00 00 49 8b 78 10 49 85 7f 20 0f 85 f3
      0x00007f54dc8afcb2: 00 00 00 45 85 db 0f 85 f8 00 00 00 44 8b 56 10
      0x00007f54dc8afcc2: 8b 4f 10 41 3b ca 0f 85 bc 00 00 00 48 83 c7 18
      0x00007f54dc8afcd2: 48 83 c6 18 85 c9 0f 84 a3 00 00 00 8b c1 83 e0

      Stack slot to memory mapping:
      stack at sp + 0 slots: 0x00007f5277ae4b00 is pointing into the stack for thread: 0x00007f54ec3e7a60
      stack at sp + 1 slots: 0x00007f54ec3e5060 points into unknown readable memory: 02 00 00 00 54 7f 00 00
      stack at sp + 2 slots: 0x00007f5260000a80 points into unknown readable memory: 78 c4 89 bf 00 08 00 00
      stack at sp + 3 slots: 0x00007f54ec3e7a60 is a thread
      stack at sp + 4 slots: 0x00007f5277ae42e0 is pointing into the stack for thread: 0x00007f54ec3e7a60
      stack at sp + 5 slots: 0x00007f54f49a2d02: JVM_GetClassDeclaredMethods+0x00000000000000c2 in /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk12-jdk.1184/linux-x64.jdk/jdk-12/lib/server/libjvm.so at 0x00007f54f407d000
      stack at sp + 6 slots: 0x00007f5277ae48d0 is pointing into the stack for thread: 0x00007f54ec3e7a60
      stack at sp + 7 slots: 0x00007f54d58527d4 is at entry_point+404 in (nmethod*)0x00007f54d5852410

      Attachments

        Issue Links

          Activity

            People

              neliasso Nils Eliasson (Inactive)
              pliden Per Liden (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: