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

SEGV at read_string_field(oopDesc*, char const*, JavaThread*)+0x54

    XMLWordPrintable

    Details

    • Subcomponent:
      jfr
    • Introduced In Build:
      b28
    • Resolved In Build:
      b33
    • CPU:
      x86_64
    • OS:
      linux

      Backports

        Description

        Happened in a test app using Spring Boot. Happens from 17-b28, not with earlier versions.


        Stack: [0x00007faea9947000,0x00007faea9a48000], sp=0x00007faea9a449c0, free space=1014k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x819634] read_string_field(oopDesc*, char const*, JavaThread*)+0x54
        V [libjvm.so+0x81b0ea] JfrDCmd::argument_info_array() const+0x18a
        V [libjvm.so+0xb225f5] jmm_GetDiagnosticCommandArgumentsInfo+0x2a5
        C [libmanagement_ext.so+0x1fd4] getDiagnosticCommandArgumentInfoArray+0x54
        C [libmanagement_ext.so+0x23cf] Java_com_sun_management_internal_DiagnosticCommandImpl_getDiagnosticCommandInfo+0x15f
        j com.sun.management.internal.DiagnosticCommandImpl.getDiagnosticCommandInfo([Ljava/lang/String;)[Lcom/sun/management/internal/DiagnosticCommandInfo;+0 jdk.management@17-ea
        j com.sun.management.internal.DiagnosticCommandImpl.getMBeanInfo()Ljavax/management/MBeanInfo;+36 jdk.management@17-ea
        j com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getNewMBeanClassName(Ljava/lang/Object;)Ljava/lang/String;+13 java.management@17-ea
        j com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;+10 java.management@17-ea
        j com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance;+10 java.management@17-ea
        j java.lang.management.ManagementFactory.lambda$addMXBean$7(Ljava/lang/Object;Ljavax/management/MBeanServer;Ljavax/management/ObjectName;)Ljava/lang/Void;+60 java.management@17-ea
        j java.lang.management.ManagementFactory$$Lambda$211+0x8000000f4.run()Ljava/lang/Object;+12 java.management@17-ea
        j java.security.AccessController.executePrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;Ljava/lang/Class;)Ljava/lang/Object;+29 java.base@17-ea
        j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;+9 java.base@17-ea
        j java.lang.management.ManagementFactory.addMXBean(Ljavax/management/MBeanServer;Ljava/lang/String;Ljava/lang/Object;)V+13 java.management@17-ea
        j java.lang.management.ManagementFactory.lambda$getPlatformMBeanServer$1(Ljava/util/Map$Entry;)V+18 java.management@17-ea
        j java.lang.management.ManagementFactory$$Lambda$210+0x8000000f3.accept(Ljava/lang/Object;)V+4 java.management@17-ea
        j java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Ljava/lang/Object;)V+5 java.base@17-ea
        j java.util.Collections$2.tryAdvance(Ljava/util/function/Consumer;)Z+29 java.base@17-ea
        j java.util.Collections$2.forEachRemaining(Ljava/util/function/Consumer;)V+2 java.base@17-ea
        j java.util.stream.ReferencePipeline$Head.forEach(Ljava/util/function/Consumer;)V+12 java.base@17-ea
        j java.util.stream.ReferencePipeline$7$1.accept(Ljava/lang/Object;)V+41 java.base@17-ea
        j java.util.stream.ReferencePipeline$2$1.accept(Ljava/lang/Object;)V+21 java.base@17-ea
        j java.util.HashMap$ValueSpliterator.forEachRemaining(Ljava/util/function/Consumer;)V+145 java.base@17-ea
        j java.util.stream.AbstractPipeline.copyInto(Ljava/util/stream/Sink;Ljava/util/Spliterator;)V+32 java.base@17-ea
        j java.util.stream.AbstractPipeline.wrapAndCopyInto(Ljava/util/stream/Sink;Ljava/util/Spliterator;)Ljava/util/stream/Sink;+13 java.base@17-ea
        j java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Ljava/util/stream/PipelineHelper;Ljava/util/Spliterator;)Ljava/lang/Void;+3 java.base@17-ea
        j java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Ljava/util/stream/PipelineHelper;Ljava/util/Spliterator;)Ljava/lang/Object;+3 java.base@17-ea

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mgronlun Markus Grönlund
                Reporter:
                ecaspole Eric Caspole
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: