Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5410

(7.1.0) Fatal JVM error during server start with standalone-full-ha.xml configuration on Solaris sparc and HPUX

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 7.1.0.DR4
    • 7.1.0.DR1, 7.1.0.DR2, 7.1.0.DR3
    • ActiveMQ
    • None
    • Regression, Blocks Testing
    • Hide

      Start EAP7.1.0.DR1 on Solaris sparc or HPUX with standalone-full-ha.xml configuration

      Show
      Start EAP7.1.0.DR1 on Solaris sparc or HPUX with standalone-full-ha.xml configuration

    Description

      There is fatal JVM crash on EAP server start with standalone-full(-ha).xml configuration. This error is present on Solaris Sparc and HPUX operating system.

      Solaris error log

      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  SIGSEGV (0xb) at pc=0xffffffff7dd6bf18, pid=18502, tid=341
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_91-b14) (build 1.8.0_91-b14)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.91-b14 mixed mode solaris-sparc compressed oops)
      # Problematic frame:
      # V  [libjvm.so+0xd6bf18]  Unsafe_GetNativeByte+0x178
      

      HPUX error log

      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  SIGSEGV (11) at pc=c8bf7051, pid=2416, tid=214
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_04-b02) (build 1.8.0.04-hp-ux-b2)
      # Java VM: Java HotSpot(TM) Server VM (25.04-b2 mixed mode hp-ux-ia64 )
      # Problematic frame:
      # V  [libjvm.so+0x49f03ed9]  JVM_StartCompiler+0x49f33ee1
      

      Error messages are different, but they both point to ActiveMQ-client-netty-threads-* thread and their stack trace is very similar

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j  sun.misc.Unsafe.getByte(J)B+0
      j  io.netty.util.internal.PlatformDependent0.getByte(J)B+4
      j  io.netty.util.internal.PlatformDependent.getByte(J)B+1
      j  io.netty.buffer.UnsafeByteBufUtil.getShort([BI)S+29
      j  io.netty.buffer.UnpooledUnsafeHeapByteBuf._getShort(I)S+5
      j  io.netty.buffer.AbstractByteBuf.readShort()S+10
      j  io.netty.buffer.AbstractByteBuf.readUnsignedShort()I+1
      j  io.netty.buffer.WrappedByteBuf.readUnsignedShort()I+4
      j  org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readUnsignedShort()I+4
      j  org.apache.activemq.artemis.utils.UTF8Util.readUTF(Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;)Ljava/lang/String;+5
      j  org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readUTF()Ljava/lang/String;+1
      j  org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readStringInternal()Ljava/lang/String;+59
      j  org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readString()Ljava/lang/String;+1
      j  org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ClusterTopologyChangeMessage_V2.decodeRest(Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;)V+12
      j  org.apache.activemq.artemis.core.protocol.core.impl.wireformat.ClusterTopologyChangeMessage_V3.decodeRest(Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;)V+2
      j  org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl.decode(Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;)V+12
      j  org.apache.activemq.artemis.core.protocol.ServerPacketDecoder.decode(Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;)Lorg/apache/activemq/artemis/core/protocol/core/Packet;+574
      j  org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.bufferReceived(Ljava/lang/Object;Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;)V+5
      j  org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl$DelegatingBufferHandler.bufferReceived(Ljava/lang/Object;Lorg/apache/activemq/artemis/api/core/ActiveMQBuffer;)V+28
      j  org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V+29
      j  io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Ljava/lang/Object;)V+9
      j  io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;+35
      j  io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/util/List;I)V+15
      j  io.netty.handler.codec.ByteToMessageDecoder.channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V+175
      j  io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(Ljava/lang/Object;)V+9
      j  io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;+35
      j  io.netty.channel.DefaultChannelPipeline.fireChannelRead(Ljava/lang/Object;)Lio/netty/channel/ChannelPipeline;+5
      j  io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read()V+175
      j  io.netty.channel.nio.NioEventLoop.processSelectedKey(Ljava/nio/channels/SelectionKey;Lio/netty/channel/nio/AbstractNioChannel;)V+42
      j  io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized([Ljava/nio/channels/SelectionKey;)V+37
      j  io.netty.channel.nio.NioEventLoop.processSelectedKeys()V+15
      j  io.netty.channel.nio.NioEventLoop.run()V+84
      j  io.netty.util.concurrent.SingleThreadEventExecutor$2.run()V+13
      j  java.lang.Thread.run()V+11
      v  ~StubRoutines::call_stub
      

      Attaching full JVM error logs for both platforms.

      Attachments

        Issue Links

          Activity

            People

              jmesnil1@redhat.com Jeff Mesnil
              mstyk_jira Martin Styk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: