From owner-freebsd-java@FreeBSD.ORG Wed Jun 20 17:27:40 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 A585E106566B for ; Wed, 20 Jun 2012 17:27:40 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 6F0718FC16 for ; Wed, 20 Jun 2012 17:27:40 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.5/8.14.5) with ESMTP id q5KHRiVU063083; Wed, 20 Jun 2012 10:27:44 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.5/8.14.5/Submit) id q5KHRhuP063082; Wed, 20 Jun 2012 10:27:43 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 20 Jun 2012 10:27:43 -0700 From: Greg Lewis To: Ronald Klop Message-ID: <20120620172743.GB62998@misty.eyesbeyond.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-java@freebsd.org Subject: Re: JVM crash in [libnet.so+0x9243] Java_java_net_SocketInputStream_socketRead0+0xb3 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: Wed, 20 Jun 2012 17:27:40 -0000 On Wed, Jun 20, 2012 at 10:21:26AM +0200, Ronald Klop wrote: > First upgrade Tomcat. Your version is from Jan 2010 [1] or earlier. There > are a lot of bugfixes in Tomcat about NIO since then. And also for > security reasons [2]. Still, the JVM crashing shouldn't be something even an older version of Tomcat can provoke. > Tomcat 6.0.35 is also in ports. > Second, can you reproduce this with openjdk 6? Agreed. That is a worthwhile data point and may provide a workaround. > Do you write hundreds of files per second or per day? > > Ronald. > > [1] http://tomcat.apache.org/tomcat-6.0-doc/changelog.html > [2] http://tomcat.apache.org/security-6.html > > On Tue, 19 Jun 2012 23:13:15 +0200, Kees Jan Koster > wrote: > > > Dear all, > > > > I have a reproducible JVM crash > > > > The system is Tomcat 6.0.23 with NIO connectors for HTTP and also > > relying heavily on NIO to write hundreds of files. I am running with the > > G1 garbage collector (-XX:+UseG1GC). More details below. > > > > My question: what to do now? What information do I need to provide for > > someone to fix this problem? How do I get this information? > > > > Also: should I file a bug report? > > > > I will re-run using the regular GC to see if this is perhaps G1 related. > > > > > > > > [kjkoster@dill ~]$ uname -a > > FreeBSD dill.beta-monitor.com 9.0-STABLE FreeBSD 9.0-STABLE #0: Tue Jun > > 19 11:46:32 UTC 2012 > > root@dill.beta-monitor.com:/usr/obj/usr/src/sys/DILL amd64 > > [kjkoster@dill ~]$ /usr/local/openjdk7/bin/java -version > > openjdk version "1.7.0_04" > > OpenJDK Runtime Environment (build 1.7.0_04-b22) > > OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode) > > > > # > > # A fatal error has been detected by the Java Runtime Environment: > > # > > # SIGSEGV (0xb) at pc=0x00000008a6218243, pid=1832, tid=34455804928 > > # > > # JRE version: 7.0-b22 > > # Java VM: OpenJDK 64-Bit Server VM (23.0-b21 mixed mode bsd-amd64 > > compressed oops) > > # Problematic frame: > > # C [libnet.so+0x9243] Java_java_net_SocketInputStream_socketRead0+0xb3 > > # > > # Failed to write core dump. Core dumps have been disabled. To enable > > core dumping, try "ulimit -c unlimited" before starting Java again > > # > > # An error report file with more information is saved as: > > # /lemongrass/lemongrass/lemongrass/hs_err_pid1832.log > > # > > # If you would like to submit a bug report, please visit: > > # http://bugreport.sun.com/bugreport/crash.jsp > > # The crash happened outside the Java Virtual Machine in native code. > > # See problematic frame for where to report the bug. > > # > > > > > > -- > > 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" > _______________________________________________ > 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