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

JVM crash in ResolvedMethodTable::add_method

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      ADDITIONAL SYSTEM INFORMATION :
      # JRE version: OpenJDK Runtime Environment (11.0) (build 11-icubic+0-adhoc.rhelbing.jdk-11-shenandoah)
      # Java VM: OpenJDK 64-Bit Server VM (11-icubic+0-adhoc.rhelbing.jdk-11-shenandoah, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)

      A DESCRIPTION OF THE PROBLEM :
      # Problematic frame:
      # V [jvm.dll+0x649e1b] ResolvedMethodTable::add_method+0x6b

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

      Current thread (0x0000000053ccb000): JavaThread "Log4j2-TF-1-AsyncLogger[AsyncContext@77556fd]-1" daemon [_thread_in_vm, id=4244, stack(0x0000000056c50000,0x0000000056e50000)]

      Stack: [0x0000000056c50000,0x0000000056e50000], sp=0x0000000056e4b860, free space=2030k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0x649e1b] ResolvedMethodTable::add_method+0x6b (resolvedmethodtable.cpp:138)
      V [jvm.dll+0x372603] java_lang_invoke_ResolvedMethodName::find_resolved_method+0xc3 (javaclasses.cpp:3790)
      V [jvm.dll+0x4e6490] CallInfo::CallInfo+0x1d0 (linkresolver.cpp:190)
      V [jvm.dll+0x375fe6] java_lang_StackFrameInfo::set_method_and_bci+0xd6 (javaclasses.cpp:2618)
      V [jvm.dll+0x6d4650] StackWalk::fill_in_frames+0x360 (stackwalk.cpp:157)
      V [jvm.dll+0x6d3ff3] StackWalk::fetchNextBatch+0x133 (stackwalk.cpp:480)
      V [jvm.dll+0x3f0208] JVM_MoreStackWalk+0x248 (jvm.cpp:588)
      C 0x00000000131c974b

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      J 28852 java.lang.StackStreamFactory$AbstractStackWalker.fetchStackFrames(JJII[Ljava/lang/Object;)I java.base@11-icubic (0 bytes) @ 0x00000000131c96ae [0x00000000131c9640+0x000000000000006e]
      J 25972 c2 java.lang.StackStreamFactory$AbstractStackWalker.fetchStackFrames(I)I java.base@11-icubic (121 bytes) @ 0x0000000013146124 [0x00000000131460a0+0x0000000000000084]
      j java.lang.StackStreamFactory$AbstractStackWalker.getNextBatch()I+61 java.base@11-icubic
      J 25255 c1 java.lang.StackStreamFactory$AbstractStackWalker.peekFrame()Ljava/lang/Class; java.base@11-icubic (132 bytes) @ 0x000000000bb216c4 [0x000000000bb214c0+0x0000000000000204]
      J 25268 c1 java.lang.StackStreamFactory$StackFrameTraverser.nextStackFrame()Ljava/lang/StackWalker$StackFrame; java.base@11-icubic (32 bytes) @ 0x000000000bb1dc44 [0x000000000bb1dbe0+0x0000000000000064]
      j java.lang.StackStreamFactory$StackFrameTraverser.forEachRemaining(Ljava/util/function/Consumer;)V+18 java.base@11-icubic
      J 23918 c2 java.util.stream.AbstractPipeline.wrapAndCopyInto(Ljava/util/stream/Sink;Ljava/util/Spliterator;)Ljava/util/stream/Sink; java.base@11-icubic (18 bytes) @ 0x0000000012d92090 [0x0000000012d91e60+0x0000000000000230]
      J 23962 c2 java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Ljava/util/stream/PipelineHelper;Ljava/util/Spliterator;)Ljava/lang/Object; java.base@11-icubic (18 bytes) @ 0x0000000012db3754 [0x0000000012db33a0+0x00000000000003b4]
      J 23608 c2 java.util.stream.ReferencePipeline.collect(Ljava/util/stream/Collector;)Ljava/lang/Object; java.base@11-icubic (124 bytes) @ 0x00000000145f6578 [0x00000000145f6360+0x0000000000000218]
      j org.apache.logging.log4j.util.StackLocator.lambda$getCurrentStackTrace$9(Ljava/util/stream/Stream;)Ljava/util/List;+14
      j org.apache.logging.log4j.util.StackLocator$$Lambda$544.apply(Ljava/lang/Object;)Ljava/lang/Object;+4
      J 27921 c2 java.lang.StackStreamFactory$AbstractStackWalker.doStackWalk(JIIII)Ljava/lang/Object; java.base@11-icubic (82 bytes) @ 0x000000001352eeac [0x000000001352e7e0+0x00000000000006cc]
      v ~StubRoutines::call_stub
      J 28849 java.lang.StackStreamFactory$AbstractStackWalker.callStackWalk(JIII[Ljava/lang/Object;)Ljava/lang/Object; java.base@11-icubic (0 bytes) @ 0x00000000131a902e [0x00000000131a8fc0+0x000000000000006e]
      J 28961 c2 java.lang.StackStreamFactory$AbstractStackWalker.beginStackWalk()Ljava/lang/Object; java.base@11-icubic (35 bytes) @ 0x000000001375d124 [0x000000001375d0c0+0x0000000000000064]
      J 25982 c1 java.lang.StackWalker.walk(Ljava/util/function/Function;)Ljava/lang/Object; java.base@11-icubic (14 bytes) @ 0x000000000ba9e9f4 [0x000000000ba9e820+0x00000000000001d4]
      j org.apache.logging.log4j.util.StackLocator.getCurrentStackTrace()Ljava/util/Stack;+16
      j org.apache.logging.log4j.util.StackLocatorUtil.getCurrentStackTrace()Ljava/util/Stack;+3
      j org.apache.logging.log4j.core.impl.ThrowableProxy.<init>(Ljava/lang/Throwable;Ljava/util/Set;)V+44
      j org.apache.logging.log4j.core.impl.ThrowableProxy.<init>(Ljava/lang/Throwable;)V+3
      j org.apache.logging.log4j.core.async.RingBufferLogEvent.getThrownProxy()Lorg/apache/logging/log4j/core/impl/ThrowableProxy;+23
      j org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter.format(Lorg/apache/logging/log4j/core/LogEvent;Ljava/lang/StringBuilder;)V+1
      J 22123 c2 org.apache.logging.log4j.core.layout.PatternLayout$PatternSerializer.toSerializable(Lorg/apache/logging/log4j/core/LogEvent;Ljava/lang/StringBuilder;)Ljava/lang/StringBuilder; (71 bytes) @ 0x00000000140f7b3c [0x00000000140f7aa0+0x000000000000009c]
      J 23392 c2 org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.append(Lorg/apache/logging/log4j/core/LogEvent;)V (29 bytes) @ 0x00000000145581a8 [0x0000000014557e60+0x0000000000000348]
      J 22477 c2 org.apache.logging.log4j.core.async.RingBufferLogEventHandler.onEvent(Lorg/apache/logging/log4j/core/async/RingBufferLogEvent;JZ)V (40 bytes) @ 0x0000000014385534 [0x0000000014385220+0x0000000000000314]
      J 23408% c2 com.lmax.disruptor.BatchEventProcessor.run()V (274 bytes) @ 0x0000000014546b18 [0x00000000145468c0+0x0000000000000258]
      j java.lang.Thread.run()V+11 java.base@11-icubic
      v ~StubRoutines::call_stub

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


      Register to memory mapping:

      RIP=0x000007feeabf9e1b jvm.dll::ResolvedMethodTable::add_method + 0x6b
      RAX=0x0 is NULL
      RBX=0x000000008d947100 points into unknown readable memory
      RCX=
      [error occurred during error reporting (printing register info), id 0xc0000005, EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007feea73f1b1]

      Registers:
      RAX=0x0000000000000000, RBX=0x000000008d947100, RCX=0x00000006d63361a8, RDX=0x0000000000000010
      RSP=0x0000000056e4b860, RBP=0x00000006d63361a8, RSI=0x0000000000000000, RDI=0x00000000001f3520
      R8 =0x0000000000000000, R9 =0x00000000664da980, R10=0x0000000000000055, R11=0x0000000000000049
      R12=0x0000000800006b08, R13=0x0000000053ccb000, R14=0x0000000056e4b950, R15=0x00000000500ca5b0
      RIP=0x000007feeabf9e1b, EFLAGS=0x0000000000010206

      Top of Stack: (sp=0x0000000056e4b860)
      0x0000000056e4b860: 0000056e889f4c03 000000008d947100
      0x0000000056e4b870: 0000000053ccb000 0000000056e4b8e0
      0x0000000056e4b880: 0000000053ccb000 000007feea922603
      0x0000000056e4b890: 00000006d63361a8 0000000056e4b8f0
      0x0000000056e4b8a0: 0000000056e4b8e0 000007feea8e313a
      0x0000000056e4b8b0: 0000000000000005 000007feeaa96490
      0x0000000056e4b8c0: 000000008d947100 0000000000000000
      0x0000000056e4b8d0: 0000000053ee1318 000007feeab5c818
      0x0000000056e4b8e0: 00000000500ca5b0 0000000053ccb000
      0x0000000056e4b8f0: 0000000056e4ba30 0000000053ccb000
      0x0000000056e4b900: 000000000000000a 000000000000000b
      0x0000000056e4b910: 000000008d9470f0 0000000053ccb000
      0x0000000056e4b920: 00000006d6335c78 000007feea925fe6
      0x0000000056e4b930: 00000000500ca5b0 00000000500ca5b0
      0x0000000056e4b940: 0000000800006b08 000000008d9470f8
      0x0000000056e4b950: 0000000800006b08 0000000800006b08

      Instructions: (pc=0x000007feeabf9e1b)
      0x000007feeabf9dfb: 2e 48 8b 48 18 e8 8b c4 d0 ff 48 8b f0 48 85 db
      0x000007feeabf9e0b: 74 03 48 8b 2b 48 8b d0 48 8b cd e8 25 c7 d2 ff
      0x000007feeabf9e1b: 48 8b 46 08 4c 8b c3 48 8b d6 48 8b 48 08 48 8b
      0x000007feeabf9e2b: 41 18 b9 00 80 00 00 66 09 88 3a 01 00 00 48 8b




      REGRESSION : Last worked in version 11.0.1

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      run our inhouse software

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      no crash
      ACTUAL -
      crash

      FREQUENCY : rarely


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fmatte Fairoz Matte
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: