From owner-freebsd-java@FreeBSD.ORG Tue Feb 28 11:39:23 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39069106566B for ; Tue, 28 Feb 2012 11:39:23 +0000 (UTC) (envelope-from kjkoster@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id BD1AF8FC12 for ; Tue, 28 Feb 2012 11:39:22 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so1793906wgb.31 for ; Tue, 28 Feb 2012 03:39:21 -0800 (PST) Received-SPF: pass (google.com: domain of kjkoster@gmail.com designates 10.180.92.73 as permitted sender) client-ip=10.180.92.73; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kjkoster@gmail.com designates 10.180.92.73 as permitted sender) smtp.mail=kjkoster@gmail.com; dkim=pass header.i=kjkoster@gmail.com Received: from mr.google.com ([10.180.92.73]) by 10.180.92.73 with SMTP id ck9mr37848739wib.2.1330429161766 (num_hops = 1); Tue, 28 Feb 2012 03:39:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=wKrZkJohz81ZyJ1uBSFR6POWkzxQq+r8zWoydlSPlvo=; b=fH55jIJBR52QS4n0DgQEinZojDqfE2mzInXaHHo5Tt9cvearo6ss+bIbltJThydVoT X8XsC697mfCP928beTEXmZaUmvMrZ/nLeTlLuTNdxfmERyjFURKtqJtyhQBx+ardQdrV 6WeH469E7w6++lU5wnIm2e6I/knYQR3dq2NYI= Received: by 10.180.92.73 with SMTP id ck9mr29773877wib.2.1330427855673; Tue, 28 Feb 2012 03:17:35 -0800 (PST) Received: from macbookpro.fritz.box (kjkoster.org. [83.163.197.206]) by mx.google.com with ESMTPS id s4sm61841978wiy.5.2012.02.28.03.17.34 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 28 Feb 2012 03:17:35 -0800 (PST) From: Kees Jan Koster Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 28 Feb 2012 12:17:33 +0100 Message-Id: <0B129B1A-69AF-42CA-9C9D-EBFB8929EF7C@gmail.com> To: freebsd-java@freebsd.org Mime-Version: 1.0 (Apple Message framework v1257) X-Mailer: Apple Mail (2.1257) Subject: random JVM crashes X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 11:39:23 -0000 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=3D0x00000008035de1e9, pid=3D27106, = tid=3D37161082880 # # 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=3D0x00000008035c6eb4, pid=3D44643, = tid=3D37712167936 # # 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/Stri= ng; # # 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=3D0x0000000802fef2ea, pid=3D52877, = tid=3D37868618752 # # 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/charse= t/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=3D0x0000000802fc4f34, pid=3D54950, = tid=3D37217918976 # # 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/Stri= ng; # # 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.