random JVM crashes

Kees Jan Koster kjkoster at gmail.com
Tue Feb 28 11:39:23 UTC 2012


Dear All,

I have been getting random JVM crashes that I cannot resolve on my own.

Concrete question is: what can I do from here? What information can I give you guys about this?

Biggest change is that we recently started using NIO memory mapped files. Seeing the randomness of the crashes makes me think that someone is scribbling over someone else's memory inside the JVM.

Below are some sample crash files. As you can see there is no pattern in the "problematic frame" section.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000008035de1e9, pid=27106, tid=37161082880
#
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# J  java.util.TreeMap.getFirstEntry()Ljava/util/TreeMap$Entry;
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000008035c6eb4, pid=44643, tid=37712167936
#
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# J  com.mysql.jdbc.StringUtils.toString([BIILjava/lang/String;)Ljava/lang/String;
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000802fef2ea, pid=52877, tid=37868618752
#
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# J  com.mysql.jdbc.StringUtils.findCharset(Ljava/lang/String;)Ljava/nio/charset/Charset;
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000802fc4f34, pid=54950, tid=37217918976
#
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# J  com.mysql.jdbc.StringUtils.toString([BIILjava/lang/String;)Ljava/lang/String;
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#



--
Kees Jan

http://java-monitor.com/
kjkoster at kjkoster.org
+31651838192

Change is good. Granted, it is good in retrospect, but change is good.



More information about the freebsd-java mailing list