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

Fatal error in java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      This has been observed once in 10 b32.

      Please check following output and parts of hs_err log
      ----------System.out:(22/1087)----------
      -Dseed=-4408758517643425453
      -DtestLimit=2000
      Number of iterations according to -DtestLimit is 117 (1989 cases)
      Number of iterations is set to 117 (1989 cases)
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007ff16557711d, pid=7699, tid=7739
      #
      # JRE version: Java(TM) SE Runtime Environment (10.0+32) (build 10-ea+32)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (10-ea+32, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xa0011d] Klass::is_loader_alive(BoolObjectClosure*)+0xd
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e" (or dumping to /scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/scratch/14/core.7699)
      #
      # An error report file with more information is saved as:
      # /scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/scratch/14/hs_err_pid7699.log
      #
      # 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: -Dtest.class.path.prefix=/scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/classes/13/java/lang/invoke/LFCaching/LFMultiThreadCachingTest.d:/scratch/aurora/sandbox_keepme/testbase/open/test/jdk/java/lang/invoke/LFCaching:/scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/classes/13/lib/testlibrary:/scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/classes/13/java/lang/invoke/common:/scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/classes/13/test/lib -Dtest.src=/scratch/aurora/sandbox_keepme/testbase/open/test/jdk/java/lang/invoke/LFCaching -Dtest.src.path=/scratch/aurora/sandbox_keepme/testbase/open/test/jdk/java/lang/invoke/LFCaching:/scratch/aurora/sandbox_keepme/testbase/open/test/jdk/lib/testlibrary:/scratch/aurora/sandbox_keepme/testbase/open/test/jdk/java/lang/invoke/common:/scratch/aurora/sandbox_keepme/testbase/open/test/lib -Dtest.classes=/scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/classes/13/java/lang/invoke/LFCaching/LFMultiThreadCachingTest.d -Dtest.class.path=/scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/classes/13/java/lang/invoke/LFCaching/LFMultiThreadCachingTest.d:/scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/classes/13/lib/testlibrary:/scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/classes/13/java/lang/invoke/common:/scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/classes/13/test/lib -Dtest.vm.opts=-ea -esa -Xmx512m -XX:-TransmitErrorReport -Dtest.tool.vm.opts=-J-ea -J-esa -J-Xmx512m -J-XX:-TransmitErrorReport -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=/scratch/aurora/sandbox_keepme/jdk -Dcompile.jdk=/scratch/aurora/sandbox_keepme/jdk -Dtest.timeout.factor=8.0 -Dtest.modules=java.base/java.lang.invoke:open java.base/java.lang.ref:open java.management -Dtest.nativepath=/scratch/aurora/sandbox_keepme/testBundle/jdk/jtreg/native --add-modules=java.base,java.management --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.ref=ALL-UNNAMED -ea -esa -Xmx512m -XX:-TransmitErrorReport -Djava.library.path=/scratch/aurora/sandbox_keepme/testBundle/jdk/jtreg/native com.sun.javatest.regtest.agent.MainWrapper /scratch/aurora/sandbox_keepme/results/run_4/tier1/JTwork/test_jdk_0/java/lang/invoke/LFCaching/LFMultiThreadCachingTest.d/main.0.jta

      Host: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 32 cores, 251G, Oracle Linux Server release 6.7
      Time: Fri Nov 17 10:33:43 2017 PST elapsed time: 34 seconds (0d 0h 0m 34s)

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

      Current thread (0x00007ff160051000): GCTaskThread "GC Thread#22" [stack: 0x00007ff1445ac000,0x00007ff1446ac000] [id=7739]

      Stack: [0x00007ff1445ac000,0x00007ff1446ac000], sp=0x00007ff1446aabf0, free space=1018k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xa0011d] Klass::is_loader_alive(BoolObjectClosure*)+0xd
      V [libjvm.so+0xb48213] TypeStackSlotEntries::clean_weak_klass_links(BoolObjectClosure*)+0x53
      V [libjvm.so+0x5af9fd] VirtualCallTypeData::clean_weak_klass_links(BoolObjectClosure*)+0x4d
      V [libjvm.so+0xb4e9a1] MethodData::clean_method_data(BoolObjectClosure*)+0xa1
      V [libjvm.so+0x852719] InstanceKlass::clean_weak_instanceklass_links(BoolObjectClosure*)+0x49
      V [libjvm.so+0x76d3f3] G1ParallelCleaningTask::work(unsigned int)+0x473
      V [libjvm.so+0xdbf48d] GangWorker::loop()+0x4d
      V [libjvm.so+0xbacac2] thread_native_entry(Thread*)+0xf2


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

      Register to memory mapping:

      RAX=0x00007ff0c43e24b0 is an unknown value
      RBX=0x000000000005bfc0 is an unknown value
      RCX=0x00007ff1652e6c40: <offset 0x000000000076fc40> in /scratch/aurora/sandbox_keepme/jdk/lib/server/libjvm.so at 0x00007ff164b77000
      RDX=0x00007ff165df8bc0: <offset 0x0000000001281bc0> in /scratch/aurora/sandbox_keepme/jdk/lib/server/libjvm.so at 0x00007ff164b77000
      RSP=0x00007ff1446aabf0 is an unknown value
      RBP=0x00007ff1446aabf0 is an unknown value
      RSI=0x00007ff0c43e24b0 is an unknown value
      RDI=0x000000000005bfc0 is an unknown value
      R8 =0x00007ff16006fe40 is an unknown value
      R9 =0x0000000000000200 is an unknown value
      R10=0x0000000000000001 is an unknown value
      R11=0x0000000000000206 is an unknown value
      R12=0x00007ff0c43e24b0 is an unknown value
      R13=0x0000000000000001 is an unknown value
      R14=0x00007ff160051990 is an unknown value
      R15=0x0000000000000003 is an unknown value


      Registers:
      RAX=0x00007ff0c43e24b0, RBX=0x000000000005bfc0, RCX=0x00007ff1652e6c40, RDX=0x00007ff165df8bc0
      RSP=0x00007ff1446aabf0, RBP=0x00007ff1446aabf0, RSI=0x00007ff0c43e24b0, RDI=0x000000000005bfc0
      R8 =0x00007ff16006fe40, R9 =0x0000000000000200, R10=0x0000000000000001, R11=0x0000000000000206
      R12=0x00007ff0c43e24b0, R13=0x0000000000000001, R14=0x00007ff160051990, R15=0x0000000000000003
      RIP=0x00007ff16557711d, EFLAGS=0x0000000000010206, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
        TRAPNO=0x000000000000000e

      Top of Stack: (sp=0x00007ff1446aabf0)
      0x00007ff1446aabf0: 00007ff1446aac30 00007ff1656bf213
      0x00007ff1446aac00: 00007ff1446aac40 00007ff160051980
      0x00007ff1446aac10: 00007ff0c43e24b0 00007ff165ecc470
      0x00007ff1446aac20: 00007ff165f1d038 00007ff1659c4014

      Instructions: (pc=0x00007ff16557711d)
      0x00007ff1655770fd: 48 89 78 78 5d c3 90 66 66 66 2e 0f 1f 84 00 00
      0x00007ff16557710d: 00 00 00 55 48 8b 16 48 89 f0 48 89 e5 48 8b 0a
      0x00007ff16557711d: 48 8b 57 68 48 85 d2 74 0a 5d 48 8b 32 48 89 c7
      0x00007ff16557712d: ff e1 90 5d 31 f6 48 89 c7 ff e1 0f 1f 84 00 00

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            xiaofeya Xiaofeng Yang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: