You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Anderson <ra...@gmail.com> on 2013/01/31 13:25:10 UTC

JVM Crashes

Hi,

Sometimes the Tomcat's JVM is crashing:


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x00002aaab7a8ad50, pid=21850, tid=1075628352
#
# JRE version: 6.0_38-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.13-b02 mixed mode
linux-amd64 compressed oops)
# Problematic frame:
# C  [libnio.so+0x4d50]  Java_java_nio_MappedByteBuffer_load0+0x40
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

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

*Current thread (0x00002aaabcb6d000):  JavaThread "ajp-8009-55 ^ 31/01/2013
- 09:03:28 - Proj:pxpto,Page:queries/virtual/filePDF" daemon
[_thread_in_native, id=25067, stack(0x000000004018c000,0x00000000401cd000)]*

siginfo:si_signo=SIGBUS: si_errno=0, si_code=2 (BUS_ADRERR),
si_addr=0x00002aaad9ba3000

Registers:
RAX=0x0000000000000001, RBX=0x00002aaad9ba3000, RCX=0x0000000000000061,
RDX=0x0000000000001e6a
RSP=0x00000000401cace0, RBP=0x0000000000001000, RSI=0x0000000007a0c35b,
RDI=0x00002aaad4000000
R8 =0x0000000000001000, R9 =0x00002aaaaacf6000, R10=0x00002aaaab032c7f,
R11=0x0000000000000246
R12=0x0000000000030e4f, R13=0x0000000000007a0d, R14=0x00002aaabcb6d1d0,
R15=0x00002aaabcb6d000
RIP=0x00002aaab7a8ad50, EFLAGS=0x0000000000010206,
CSGSFS=0x0000000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00000000401cace0)
0x00000000401cace0:   00000007e06c3708 00000000401cad80
0x00000000401cacf0:   0000000000000000 00000007e06c3708
0x00000000401cad00:   00000000401cadc8 00002aaaab032cac
0x00000000401cad10:   0000000000001000 00000000401cad18
0x00000000401cad20:   00000007e015e1d0 00000000401cad60
0x00000000401cad30:   00000007e015f408 0000000000000000
0x00000000401cad40:   00000000401cad40 0000000000000000
0x00000000401cad50:   00000000401cadc8 00000007e06c43b0
0x00000000401cad60:   0000000000000000 00000007e06c3708
0x00000000401cad70:   0000000000000000 00000000401cada0
0x00000000401cad80:   00000000401cae10 00002aaaab02696e
0x00000000401cad90:   0000000000000000 00002aaaab02f8d6
0x00000000401cada0:   0000000000001000 0000000007a0c35b
0x00000000401cadb0:   000000072f220e30 00002aaad4000000
0x00000000401cadc0:   0000000000001000 000000072f220e30
0x00000000401cadd0:   00000000401cadd0 00000007e06c3436
0x00000000401cade0:   00000000401cae28 00000007e06c43b0
0x00000000401cadf0:   0000000000000000 00000007e06c3448
0x00000000401cae00:   00000000401cada0 00000000401cae30
0x00000000401cae10:   00000000f45c4407 00002aaaac832ed8
0x00000000401cae20:   0000000000000000 000000072f220e30
0x00000000401cae30:   000000072f220d30 000000072f2202f8
0x00000000401cae40:   000000072f2204e0 000000072f220440
0x00000000401cae50:   0000000700000001 0000000000000088
0x00000000401cae60:   000000072f220530 000000072f220690
0x00000000401cae70:   000000072f2205b8 000000072f220820
0x00000000401cae80:   0000003c00000004 000000072f220848
0x00000000401cae90:   000000072f220670 000000072f220ac0
0x00000000401caea0:   000000072f220670 000000072f220b00
0x00000000401caeb0:   0000003cf431c3a6 0000003800000000
0x00000000401caec0:   0000000000000000 0000000000000000
0x00000000401caed0:   00000001e007f468 00000007e4088720

Instructions: (pc=0x00002aaab7a8ad50)
0x00002aaab7a8ad30:   99 48 f7 fd ba 03 00 00 00 41 89 c5 e8 bf e4 ff
0x00002aaab7a8ad40:   ff ff c0 74 24 45 39 ec 7d 13 44 89 ea 66 66 90
0x00002aaab7a8ad50:   0f be 0b 48 01 eb 41 01 cc ff ca 75 f3 44 89 e0
0x00002aaab7a8ad60:   5b 5d 41 5c 41 5d 41 5e c3 48 8d 35 07 17 00 00

Register to memory mapping:

RAX=0x0000000000000001 is an unknown value
RBX=0x00002aaad9ba3000 is an unknown value
RCX=0x0000000000000061 is an unknown value


This page (queries/virtual/filePDF) is accessed often, but occasionally it
happens.  Any idea?

Thanks in advance.

Robert

Re: JVM Crashes

Posted by Robert Anderson <ra...@gmail.com>.
"A dynamically generated PDF?"

Yes.

"What is your exact version of Java and of Tomcat? "

[root@tomcat tomcat]# java -version
java version "1.6.0_38"
Java(TM) SE Runtime Environment (build 1.6.0_38-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.13-b02, mixed mode)
[root@tomcat tomcat]# /usr/java/tomcat/bin/version.sh
Using CATALINA_BASE:   /usr/java/tomcat
Using CATALINA_HOME:   /usr/java/tomcat
Using CATALINA_TMPDIR: /usr/java/tomcat/temp
Using JRE_HOME:        /usr/java/jdk
Using CLASSPATH:       /usr/java/tomcat/bin/bootstrap.jar
Server version: Apache Tomcat/6.0.36
Server built:   Oct 16 2012 09:59:09
Server number:  6.0.36.0
OS Name:        Linux
OS Version:     2.6.18-194.17.1.el5
Architecture:   amd64
JVM Version:    1.6.0_38-b05
JVM Vendor:     Sun Microsystems Inc.

"What Connector implementation are you using in Tomcat?"

APR (accessed by Apache Httpd via mod_jk).


"I wonder whether you are stumbling upon unexpected closing of
outputstream, a known issue with ImageIO and some other libraries, see

http://wiki.apache.org/tomcat/FAQ/KnownIssues"

Thanks, I'll analyze this issue.

"The library where the crash occurs ("libnio.so") belongs to Java
Runtime, not Tomcat."

I know, but I decided to post here because the level of users is very good.
:)


Thanks,

Robert

On Thu, Jan 31, 2013 at 9:35 AM, Konstantin Kolinko
<kn...@gmail.com>wrote:

> 2013/1/31 Robert Anderson <ra...@gmail.com>:
> > Hi,
> >
> > Sometimes the Tomcat's JVM is crashing:
> >
> >
> > #
> > # A fatal error has been detected by the Java Runtime Environment:
> > #
> > #  SIGBUS (0x7) at pc=0x00002aaab7a8ad50, pid=21850, tid=1075628352
> > #
> > # JRE version: 6.0_38-b05
> > # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.13-b02 mixed mode
> > linux-amd64 compressed oops)
> > # Problematic frame:
> > # C  [libnio.so+0x4d50]  Java_java_nio_MappedByteBuffer_load0+0x40
> > #
> > # If you would like to submit a bug report, please visit:
> > #   http://java.sun.com/webapps/bugreport/crash.jsp
> > # The crash happened outside the Java Virtual Machine in native code.
> > # See problematic frame for where to report the bug.
> > #
> >
> > ---------------  T H R E A D  ---------------
> >
> > *Current thread (0x00002aaabcb6d000):  JavaThread "ajp-8009-55 ^
> 31/01/2013
> > - 09:03:28 - Proj:pxpto,Page:queries/virtual/filePDF" daemon
>
> A dynamically generated PDF?
>
> I wonder whether you are stumbling upon unexpected closing of
> outputstream, a known issue with ImageIO and some other libraries, see
>
> http://wiki.apache.org/tomcat/FAQ/KnownIssues
>
> The library where the crash occurs ("libnio.so") belongs to Java
> Runtime, not Tomcat.
>
> What is your exact version of Java and of Tomcat? What Connector
> implementation are you using in Tomcat?
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: JVM Crashes

Posted by Konstantin Kolinko <kn...@gmail.com>.
2013/1/31 Robert Anderson <ra...@gmail.com>:
> Hi,
>
> Sometimes the Tomcat's JVM is crashing:
>
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGBUS (0x7) at pc=0x00002aaab7a8ad50, pid=21850, tid=1075628352
> #
> # JRE version: 6.0_38-b05
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.13-b02 mixed mode
> linux-amd64 compressed oops)
> # Problematic frame:
> # C  [libnio.so+0x4d50]  Java_java_nio_MappedByteBuffer_load0+0x40
> #
> # If you would like to submit a bug report, please visit:
> #   http://java.sun.com/webapps/bugreport/crash.jsp
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> #
>
> ---------------  T H R E A D  ---------------
>
> *Current thread (0x00002aaabcb6d000):  JavaThread "ajp-8009-55 ^ 31/01/2013
> - 09:03:28 - Proj:pxpto,Page:queries/virtual/filePDF" daemon

A dynamically generated PDF?

I wonder whether you are stumbling upon unexpected closing of
outputstream, a known issue with ImageIO and some other libraries, see

http://wiki.apache.org/tomcat/FAQ/KnownIssues

The library where the crash occurs ("libnio.so") belongs to Java
Runtime, not Tomcat.

What is your exact version of Java and of Tomcat? What Connector
implementation are you using in Tomcat?

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org