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

Crash in PerfDataList::find_by_name

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc

      Description

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffaf049dfc8, pid=9940, tid=5272
      #
      # JRE version: Java(TM) SE Runtime Environment (15.0+27) (fastdebug build 15-ea+27-1372)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 15-ea+27-1372, mixed mode, sharing, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, windows-amd64)
      # Problematic frame:
      # V [jvm.dll+0xa7dfc8] PerfDataList::find_by_name+0x48
      #
      # Core dump will be written. Default location: T:\testoutput\test-support\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdb\scratch\0\hs_err_pid9940.mdmp
      #
      # 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 ------------

      Command Line: -XX:MaxRAMPercentage=6 -XX:+CreateCoredumpOnCrash -ea -esa -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler -Djvmci.Compiler=graal -XX:+TieredCompilation -XX:CompileThresholdScaling=0.1 -Xdebug -Xrunjdwp:transport=dt_shmem,address=javadebug34399,suspend=y nsk.jdb.step.step002.step002a

      Host: Intel(R) Xeon(R) Platinum 8167M CPU @ 2.00GHz, 8 cores, 59G, Windows 10 , 64 bit Build 18362 (10.0.18362.1)
      Time: Mon Jun 22 12:31:53 2020 /GM elapsed time: 16.072971 seconds (0d 0h 0m 16s)

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

      Current thread (0x000001e455a0c920): JavaThread "JVMCI CompilerThread0" daemon [_thread_in_vm, id=5272, stack(0x0000005072b00000,0x0000005072c00000)]


      Current CompileTask:
      JVMCI: 16073 448 4 java.util.concurrent.ConcurrentHashMap::tabAt (22 bytes)

      Stack: [0x0000005072b00000,0x0000005072c00000], sp=0x0000005072bfc060, free space=1008k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xa7dfc8] PerfDataList::find_by_name+0x48 (perfData.cpp:592)
      V [jvm.dll+0xa7b480] Perf_CreateLong+0x360 (perf.cpp:145)
      C 0x000001e435ff3b11

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j jdk.internal.perf.Perf.createLong(Ljava/lang/String;IIJ)Ljava/nio/ByteBuffer;+0 java.base@15-ea
      j jdk.internal.perf.PerfCounter.<init>(Ljava/lang/String;I)V+16 java.base@15-ea
      j jdk.internal.perf.PerfCounter.newPerfCounter(Ljava/lang/String;)Ljdk/internal/perf/PerfCounter;+6 java.base@15-ea
      j jdk.internal.perf.PerfCounter$CoreCounters.<clinit>()V+34 java.base@15-ea
      v ~StubRoutines::call_stub
      j jdk.internal.perf.PerfCounter.getZipFileOpenTime()Ljdk/internal/perf/PerfCounter;+0 java.base@15-ea
      j java.util.zip.ZipFile.<init>(Ljava/io/File;ILjava/nio/charset/Charset;)V+119 java.base@15-ea
      j java.util.zip.ZipFile.<init>(Ljava/io/File;I)V+6 java.base@15-ea
      j java.util.jar.JarFile.<init>(Ljava/io/File;ZILjava/lang/Runtime$Version;)V+3 java.base@15-ea
      j jdk.internal.loader.URLClassPath$JarLoader.getJarFile(Ljava/net/URL;)Ljava/util/jar/JarFile;+56 java.base@15-ea
      j jdk.internal.loader.URLClassPath$JarLoader$1.run()Ljava/lang/Void;+55 java.base@15-ea
      j jdk.internal.loader.URLClassPath$JarLoader$1.run()Ljava/lang/Object;+1 java.base@15-ea
      j java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object;+29 java.base@15-ea
      j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+13 java.base@15-ea
      j jdk.internal.loader.URLClassPath$JarLoader.ensureOpen()V+19 java.base@15-ea
      j jdk.internal.loader.URLClassPath$JarLoader.<init>(Ljava/net/URL;Ljava/net/URLStreamHandler;Ljava/util/HashMap;Ljava/security/AccessControlContext;)V+63 java.base@15-ea
      j jdk.internal.loader.URLClassPath$3.run()Ljdk/internal/loader/URLClassPath$Loader;+168 java.base@15-ea
      j jdk.internal.loader.URLClassPath$3.run()Ljava/lang/Object;+1 java.base@15-ea
      j java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object;+29 java.base@15-ea
      j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+13 java.base@15-ea
      j jdk.internal.loader.URLClassPath.getLoader(Ljava/net/URL;)Ljdk/internal/loader/URLClassPath$Loader;+13 java.base@15-ea
      j jdk.internal.loader.URLClassPath.getLoader(I)Ljdk/internal/loader/URLClassPath$Loader;+81 java.base@15-ea
      j jdk.internal.loader.URLClassPath$1.next()Z+24 java.base@15-ea
      j jdk.internal.loader.URLClassPath$1.hasMoreElements()Z+1 java.base@15-ea
      j jdk.internal.loader.BuiltinClassLoader$1.hasNext()Z+43 java.base@15-ea
      j jdk.internal.loader.BuiltinClassLoader$1.hasMoreElements()Z+1 java.base@15-ea
      j java.lang.CompoundEnumeration.next()Z+33 java.base@15-ea
      j java.lang.CompoundEnumeration.hasMoreElements()Z+1 java.base@15-ea
      j java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass()Ljava/lang/Class;+152 java.base@15-ea
      j java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService()Z+15 java.base@15-ea
      j java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext()Z+11 java.base@15-ea
      j java.util.ServiceLoader$2.hasNext()Z+16 java.base@15-ea
      j java.util.ServiceLoader$3.hasNext()Z+32 java.base@15-ea
      j jdk.vm.ci.services.JVMCIServiceLocator.getProviders(Ljava/lang/Class;)Ljava/util/List;+40 jdk.internal.vm.ci@15-ea
      j jdk.vm.ci.hotspot.HotSpotJVMCICompilerConfig.getJVMCICompilerFactories()Ljava/util/List;+2 jdk.internal.vm.ci@15-ea
      j jdk.vm.ci.hotspot.HotSpotJVMCICompilerConfig.getCompilerFactory()Ljdk/vm/ci/runtime/JVMCICompilerFactory;+61 jdk.internal.vm.ci@15-ea
      j jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.<init>()V+277 jdk.internal.vm.ci@15-ea
      j jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;+31 jdk.internal.vm.ci@15-ea
      v ~StubRoutines::call_stub
      j jdk.vm.ci.runtime.JVMCI.initializeRuntime()Ljdk/vm/ci/runtime/JVMCIRuntime;+0 jdk.internal.vm.ci@15-ea
      j jdk.vm.ci.runtime.JVMCI.getRuntime()Ljdk/vm/ci/runtime/JVMCIRuntime;+35 jdk.internal.vm.ci@15-ea
      v ~StubRoutines::call_stub

      siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0xffffffffffffffff


      Register to memory mapping:

      RIP=0x00007ffaf049dfc8 jvm.dll::PerfDataList::find_by_name + 0x48
      RAX=0x00000000000000bf is an unknown value
      RBX=0x000001e425c808c0 points into unknown readable memory: 0x00007ffaf091d988 | 88 d9 91 f0 fa 7f 00 00
      RCX=0x000001e424eb5ab0 points into unknown readable memory: 0x00007ffaf091d958 | 58 d9 91 f0 fa 7f 00 00
      RDX=0x000001e455a0cf10 points into unknown readable memory: 0x2e70697a2e6e7573 | 73 75 6e 2e 7a 69 70 2e
      RSP=0x0000005072bfc060 is pointing into the stack for thread: 0x000001e455a0c920
      RBP=0x0000005072bfc129 is pointing into the stack for thread: 0x000001e455a0c920
      RSI=0x000001e455a0cf10 points into unknown readable memory: 0x2e70697a2e6e7573 | 73 75 6e 2e 7a 69 70 2e
      RDI=0x00000000000000bf is an unknown value
      R8 =0xbabababababababa is an unknown value
      R9 =0x0 is NULL
      R10=0x000001e425c83820 points into unknown readable memory: 0x0000049600005e6d | 6d 5e 00 00 96 04 00 00
      R11=0x0 is NULL
      R12=0x000001e455a0cca8 points into unknown readable memory: 0x00007ffaf0aeb130 | 30 b1 ae f0 fa 7f 00 00
      R13=0x0000000800962010 is pointing into metadata
      R14=0x0000000000000001 is an unknown value
      R15=0x000001e455a0cf10 points into unknown readable memory: 0x2e70697a2e6e7573 | 73 75 6e 2e 7a 69 70 2e


      Registers:
      RAX=0x00000000000000bf, RBX=0x000001e425c808c0, RCX=0x000001e424eb5ab0, RDX=0x000001e455a0cf10
      RSP=0x0000005072bfc060, RBP=0x0000005072bfc129, RSI=0x000001e455a0cf10, RDI=0x00000000000000bf
      R8 =0xbabababababababa, R9 =0x0000000000000000, R10=0x000001e425c83820, R11=0x0000000000000000
      R12=0x000001e455a0cca8, R13=0x0000000800962010, R14=0x0000000000000001, R15=0x000001e455a0cf10
      RIP=0x00007ffaf049dfc8, EFLAGS=0x0000000000010282

      Top of Stack: (sp=0x0000005072bfc060)
      0x0000005072bfc060: 000001e455a0cf10 000001e400000004
      0x0000005072bfc070: 000001e455a0c920 0000000000000000
      0x0000005072bfc080: 000001e455a0c920 00007ffaf049b480
      0x0000005072bfc090: 000001e424eb5ab0 000001e455a0cf10
      0x0000005072bfc0a0: 000001e455a0c920 0000000000000000
      0x0000005072bfc0b0: 0000000000000002 00007ffaefdf6b9a
      0x0000005072bfc0c0: 000001e435fe8b10 00007ffaf07ef508
      0x0000005072bfc0d0: 000001e455a0c920 00000008002bf288
      0x0000005072bfc0e0: 0000005072bfc301 00007ffaf07a99d8
      0x0000005072bfc0f0: 000001e455a0c920 00007ffaeff041f7
      0x0000005072bfc100: 00007ffaf07027f8 000001e4559ebb80
      0x0000005072bfc110: 000001e455a0cef0 000001e455a0cf10
      0x0000005072bfc120: 000001e455a0d2e8 00000000000003d8
      0x0000005072bfc130: 000001e455a0c920 0000005072bfef80
      0x0000005072bfc140: 000001e455a0c920 0000005072bfc268
      0x0000005072bfc150: 0000000000000000 00000008002bee88

      Instructions: (pc=0x00007ffaf049dfc8)
      0x00007ffaf049dec8: 44 39 73 1c 48 8b cb e8 3c 07 b3 ff 4c 89 73 30
      0x00007ffaf049ded8: 48 8b cb e8 b0 48 73 ff 48 8b cb e8 48 4d 73 ff
      0x00007ffaf049dee8: 48 8b cf e8 00 51 73 ff 48 8b 3d a1 d1 74 00 48
      0x00007ffaf049def8: 85 ff 74 4b 48 8b 5f 08 4c 89 3f 48 85 db 74 37
      0x00007ffaf049df08: 48 83 7b 20 01 48 89 2b 75 1d 48 8b 53 30 44 89
      0x00007ffaf049df18: 73 18 48 85 d2 74 10 44 39 73 1c 48 8b cb e8 e5
      0x00007ffaf049df28: 06 b3 ff 4c 89 73 30 48 8b cb e8 59 48 73 ff 48
      0x00007ffaf049df38: 8b cb e8 f1 4c 73 ff 48 8b cf e8 a9 50 73 ff 4c
      0x00007ffaf049df48: 8b 7c 24 20 48 8b 7c 24 30 48 8b 6c 24 48 48 8b
      0x00007ffaf049df58: 5c 24 40 4c 89 35 26 d1 74 00 4c 89 35 27 d1 74
      0x00007ffaf049df68: 00 4c 89 35 28 d1 74 00 4c 8b 74 24 28 48 83 c4
      0x00007ffaf049df78: 38 c3 cc cc cc cc cc cc 48 89 5c 24 18 48 89 74
      0x00007ffaf049df88: 24 20 48 89 54 24 10 48 89 4c 24 08 57 48 83 ec
      0x00007ffaf049df98: 20 48 8b 44 24 30 45 33 db 48 8b 58 08 48 63 43
      0x00007ffaf049dfa8: 18 85 c0 7e 4b 4c 8b 53 30 48 8b f8 48 8b 74 24
      0x00007ffaf049dfb8: 38 45 8b cb 0f 1f 40 00 4d 8b 02 4d 85 c0 74 21
      0x00007ffaf049dfc8: 4d 8b 40 08 48 8b c6 4c 2b c6 0f b6 10 42 0f b6
      0x00007ffaf049dfd8: 0c 00 2b d1 75 07 48 ff c0 85 c9 75 ed 85 d2 74
      0x00007ffaf049dfe8: 21 41 ff c3 49 ff c1 49 83 c2 08 4c 3b cf 7c c8
      0x00007ffaf049dff8: 33 c0 48 8b 5c 24 40 48 8b 74 24 48 48 83 c4 20
      0x00007ffaf049e008: 5f c3 44 3b 5b 18 77 e8 41 8b d3 48 8b cb e8 d5
      0x00007ffaf049e018: 48 7d ff 48 8b 5c 24 40 48 8b 74 24 48 48 8b 00
      0x00007ffaf049e028: 48 83 c4 20 5f c3 cc cc 44 89 44 24 18 48 89 54
      0x00007ffaf049e038: 24 10 48 89 4c 24 08 48 83 ec 28 48 8b 44 24 30
      0x00007ffaf049e048: 4c 8d 05 39 99 31 00 48 63 54 24 40 48 8b 4c 24
      0x00007ffaf049e058: 38 4c 8b 48 28 4d 8b 09 48 83 c4 28 e9 87 bd ca
      0x00007ffaf049e068: ff cc cc cc cc cc cc cc 44 89 44 24 18 48 89 54
      0x00007ffaf049e078: 24 10 48 89 4c 24 08 48 83 ec 28 4c 8b 4c 24 30
      0x00007ffaf049e088: 4c 8d 05 11 5d 26 00 48 63 54 24 40 48 8b 4c 24
      0x00007ffaf049e098: 38 4d 8b 49 28 48 83 c4 28 e9 4a bd ca ff cc cc
      0x00007ffaf049e0a8: cc cc cc cc cc cc cc cc 4c 8b dc 49 89 5b 20 45
      0x00007ffaf049e0b8: 89 43 18 49 89 53 10 49 89 4b 08 55 56 57 48 83


      Stack slot to memory mapping:
      stack at sp + 0 slots: 0x000001e455a0cf10 points into unknown readable memory: 0x2e70697a2e6e7573 | 73 75 6e 2e 7a 69 70 2e
      stack at sp + 1 slots: 0x000001e400000004 is an unknown value
      stack at sp + 2 slots: 0x000001e455a0c920 is a thread
      stack at sp + 3 slots: 0x0 is NULL
      stack at sp + 4 slots: 0x000001e455a0c920 is a thread
      stack at sp + 5 slots: 0x00007ffaf049b480 jvm.dll::Perf_CreateLong + 0x360
      stack at sp + 6 slots: 0x000001e424eb5ab0 points into unknown readable memory: 0x00007ffaf091d958 | 58 d9 91 f0 fa 7f 00 00
      stack at sp + 7 slots: 0x000001e455a0cf10 points into unknown readable memory: 0x2e70697a2e6e7573 | 73 75 6e 2e 7a 69 70 2e


        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lmesnik Leonid Mesnik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: