java/72151: JVM crash on 5.2.1-R
Andrzej Bialecki
ab at getopt.org
Tue Sep 28 12:20:26 PDT 2004
>Number: 72151
>Category: java
>Synopsis: JVM crash on 5.2.1-R
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-java
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 28 19:20:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Andrzej Bialecki
>Release: 5.2.1-RELEASE
>Organization:
GetOpt.org
>Environment:
FreeBSD web01.kage.se 5.2.1-RELEASE-p10 FreeBSD 5.2.1-RELEASE-p10 #2: Thu Sep 23 15:41:18 CEST 2004 root at web01.kage.se:/usr/src/sys/i386/compile/TUNE i386
>Description:
Running an application for Internet search engine (www.nutch.org). JDK built from ports:
# java -version
java version "1.4.2-p6"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p6-root_21_sep_2004_22_20)
Java HotSpot(TM) Client VM (build 1.4.2-p6-root_21_sep_2004_22_20, mixed mode)
When executing a multi-threaded crawl (~50 threads), and running it for a couple of hours, JVM crashes with the following error log:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x28151624
Function=flockfile+0x24
Library=/lib/libc.so.5
Current Java thread:
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:770)
at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1059)
at java.net.InetAddress.getAllByName0(InetAddress.java:1009)
at java.net.InetAddress.getAllByName0(InetAddress.java:981)
at java.net.InetAddress.getAllByName(InetAddress.java:975)
at java.net.InetAddress.getByName(InetAddress.java:889)
at java.net.InetSocketAddress.<init>(InetSocketAddress.java:114)
at net.nutch.protocol.http.HttpResponse.<init>(HttpResponse.java:94)
at net.nutch.protocol.http.HttpResponse.<init>(HttpResponse.java:53)
at net.nutch.protocol.http.RobotRulesParser.isAllowed(RobotRulesParser.java:364)
at net.nutch.protocol.http.Http.getContent(Http.java:145)
at net.nutch.fetcher.Fetcher$FetcherThread.run(Fetcher.java:94)
Dynamic libraries:
0x8048000 /usr/local/jdk1.4.2/bin/java
0x28078000 /usr/lib/libc_r.so.5
0x2809c000 /lib/libc.so.5
0x28177000 /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
0x285b7000 /usr/lib/libstdc++.so.4
0x28673000 /lib/libm.so.2
0x2868c000 /usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so
0x2869a000 /usr/local/jdk1.4.2/jre/lib/i386/libverify.so
0x286b0000 /usr/local/jdk1.4.2/jre/lib/i386/libjava.so
0x286ce000 /usr/local/jdk1.4.2/jre/lib/i386/libzip.so
0x8e94d000 /usr/local/jdk1.4.2/jre/lib/i386/libnet.so
0x2804e000 /libexec/ld-elf.so.1
Heap at VM Abort:
Heap
def new generation total 28800K, used 19206K [0x2c470000, 0x2e3b0000, 0x337d0000)
eden space 25600K, 69% used [0x2c470000, 0x2d5b8d48, 0x2dd70000)
from space 3200K, 47% used [0x2dd70000, 0x2dee8ae8, 0x2e090000)
to space 3200K, 0% used [0x2e090000, 0x2e090000, 0x2e3b0000)
tenured generation total 381840K, used 283107K [0x337d0000, 0x4acb4000, 0x8a070000)
the space 381840K, 74% used [0x337d0000, 0x44c48c48, 0x44c48e00, 0x4acb4000)
compacting perm gen total 6912K, used 6815K [0x8a070000, 0x8a730000, 0x8e070000)
the space 6912K, 98% used [0x8a070000, 0x8a717c40, 0x8a717e00, 0x8a730000)
Local Time = Tue Sep 28 14:28:02 2004
Elapsed Time = 38319
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_21_sep_2004_22_20 mixed mode)
#
>How-To-Repeat:
it happens from time to time, after running for several hours.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-java
mailing list