Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2012 20:52:13 -0800
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Kees Jan Koster <kjkoster@gmail.com>
Cc:        freebsd-java@FreeBSD.org
Subject:   Re: random JVM crashes
Message-ID:  <20120229045213.GA48921@misty.eyesbeyond.com>
In-Reply-To: <0B129B1A-69AF-42CA-9C9D-EBFB8929EF7C@gmail.com>
References:  <0B129B1A-69AF-42CA-9C9D-EBFB8929EF7C@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
G'day Kees Jan,

On Tue, Feb 28, 2012 at 12:17:33PM +0100, Kees Jan Koster wrote:
> 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?

The biggest problem is finding someone with time to look at it.  Anything
you can do to lower the barrier to entry for that is going to help.
Getting together reproduction steps and making them as easy as possible
would be a great first step.  I can't guarantee it will get results, but
it should increase the likelihood dramatically.

> 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@kjkoster.org
> +31651838192
> 
> Change is good. Granted, it is good in retrospect, but change is good.
> 
> _______________________________________________
> freebsd-java@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120229045213.GA48921>