From owner-freebsd-java@FreeBSD.ORG Sun May 1 11:28:11 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23DBA16A4CE for ; Sun, 1 May 2005 11:28:11 +0000 (GMT) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9402C43D1F for ; Sun, 1 May 2005 11:28:10 +0000 (GMT) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 74A1DA92B; Sun, 1 May 2005 04:28:10 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 705B5A920 for ; Sun, 1 May 2005 04:28:10 -0700 (PDT) Date: Sun, 1 May 2005 04:28:10 -0700 (PDT) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: freebsd-java@freebsd.org Message-ID: <20050501041231.L4015@turing.morons.org> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula Precedence: special-delivery MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: VM crash X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2005 11:28:11 -0000 This is the first VM crash I've had in ages, but the last four times were also caused during a System.arraycopy at the same PC. I've munged the proprietary information a bit; I don't think the crash had to do with that code. The line it was executing at the time was this: data.append(String.valueOf(System.currentTimeMillis())); ("data" is a poorly-name StringBuffer) java version "1.4.2-p6" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p6-spatula_21_apr_2004_14_05) Java HotSpot(TM) Client VM (build 1.4.2-p6-spatula_21_apr_2004_14_05, mixed mode) Running with this command line: /usr/local/jdk14/bin/java -server -Djava.net.preferIPv4Stack=true -Xmx384m -Xms384m -verbosegc -XX:+PrintGCDetails -XX:NewSize=192m -XX:PermSize=16m -showversion -XX:+UseConcMarkSweepGC Following are the error log and the stack trace. Unexpected Signal : 11 occurred at PC=0x2864972E Function=_ZN14typeArrayKlass10copy_arrayEP12arrayOopDesciS1_iiP6Thread+0x1E Library=/web/contrib/java-p6/control/build/bsd-i586/lib/i386/server/libjvm.so Current Java thread: at java.lang.System.arraycopy(Native Method) at java.lang.String.(String.java:201) at java.lang.Long.toString(Long.java:237) at java.lang.Long.toString(Long.java:93) at java.lang.String.valueOf(String.java:2250) at net.spatula.news.x.x(x.java:73) at net.spatula.news.x.x(x.java:60) at _errors._errmsg__jsp._jspService(_errmsg__jsp.java:38) at com.caucho.jsp.JavaPage.service(JavaPage.java:75) at com.caucho.jsp.Page.subservice(Page.java:506) at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182) at com.oreilly.javaxslt.util.StylesheetFilter.doFilter(Unknown Source) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at net.spatula.news.x.x(x.java:41) at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:88) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:346) at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:274) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:534) Dynamic libraries: 0x8048000 /usr/local/jdk14/bin/java 0x2806c000 /usr/lib/libc_r.so.4 0x28123000 /web/contrib/java-p6/control/build/bsd-i586/lib/i386/server/libjvm.so 0x28787000 /usr/lib/libm.so.2 0x287a2000 /web/contrib/java-p6/control/build/bsd-i586/lib/i386/native_threads/libhpi.so 0x287b0000 /web/contrib/java-p6/control/build/bsd-i586/lib/i386/libverify.so 0x287c2000 /web/contrib/java-p6/control/build/bsd-i586/lib/i386/libjava.so 0x287e1000 /web/contrib/java-p6/control/build/bsd-i586/lib/i386/libzip.so 0x4d489000 /web/resin-2.1.13/libexec/libresin.so 0x4d48e000 /usr/lib/libssl.so.3 0x4d4bd000 /usr/lib/libcrypto.so.3 0x4d5b4000 /web/contrib/java-p6/control/build/bsd-i586/lib/i386/libnet.so 0x2804e000 /usr/libexec/ld-elf.so.1 Heap at VM Abort: Heap def new generation total 196480K, used 78509K [0x2c580000, 0x38580000, 0x38580000) eden space 196352K, 39% used [0x2c580000, 0x3122b6e0, 0x38540000) from space 128K, 0% used [0x38560000, 0x38560000, 0x38580000) to space 128K, 0% used [0x38540000, 0x38540000, 0x38560000) concurrent mark-sweep generation total 196608K, used 77800K [0x38580000, 0x44580000, 0x44580000) concurrent-mark-sweep perm gen total 16384K, used 12972K [0x44580000, 0x45580000, 0x48580000) Local Time = Sat Apr 30 23:10:44 2005 Elapsed Time = 84298 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002F1 # Please report this error to # freebsd-java@FreeBSD.org mailing list # Here's the stack dump from gdb (ignoring the part that handled the signal) #7 0x280bd586 in _thread_sig_handler () from /usr/lib/libc_r.so.4 #8 0xbfbfffac in ?? () #9 0x28502516 in JVM_ArrayCopy () from /web/contrib/java-p6/control/build/bsd-i586/lib/i386/server/libjvm.so #10 0x2a52f7a8 in ?? () #11 0x00000014 in ?? () #12 0x4458e5e0 in ?? () Cannot access memory at address 0x1 Nick -- "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.1 http://web.morons.org/