SIGSEGV in java 1.4.2-p6

Wade Klaver archeron at wavefire.com
Wed Apr 7 15:43:41 PDT 2004


Hello,
  Running a freenet node I manage to get a segfault from javavm.  It appears 
to happen at random intervals.  Attached is the java error log and system CV.  
Please let me know if I can provide more information.


-- 
Wade Klaver
Wavefire Technologies Corporation
GPG Public Key at http://archeron.wavefire.com

/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
-------------- next part --------------
Script started on Wed Apr  7 13:41:44 2004
bash-2.05b$ uname -a
FreeBSD ***.***.com 5.2-CURRENT FreeBSD 5.2-CURRENT #26: Thu Mar 11 08:25:16 PST 2004     root@***.***.com:/usr/obj/usr/src/sys/WORKSTATION-5.0-SMP  i386

bash-2.05b$ javavm -version
java version "1.4.2-p6"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p6-root_12_mar_2004_07_21)
Java HotSpot(TM) Client VM (build 1.4.2-p6-root_12_mar_2004_07_21, mixed mode)

bash-2.05b$ cat hs_err_pid50222.log

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x2814A927
Function=flockfile+0x1F
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 freenet.transport.tcpAddress.doDeferredLookup(tcpAddress.java:119)
	at freenet.transport.tcpAddress.connect(tcpAddress.java:130)
	at freenet.OpenConnectionManager$ConnectionJob.run(OpenConnectionManager.java:969)
	at freenet.OpenConnectionManager.createConnection(OpenConnectionManager.java:451)
	- locked <0x2c5eb158> (a freenet.OpenConnectionManager$ConnectionJob)
	at freenet.node.ConnectionOpener.checkpoint(ConnectionOpener.java:95)
	at freenet.node.states.maintenance.Checkpoint.checkpoint(Checkpoint.java:54)
	at freenet.node.states.maintenance.Checkpoint.received(Checkpoint.java:47)
	at freenet.node.StateChain.received(StateChain.java:177)
	at freenet.node.StateChain.received(StateChain.java:61)
	- locked <0x2c5eafc0> (a freenet.node.StateChain)
	at freenet.node.StateChainManagingMessageHandler$ChainContainer.run(StateChainManagingMessageHandler.java:332)
	- locked <0x2c5eafc0> (a freenet.node.StateChain)
	at freenet.node.StateChainManagingMessageHandler$ChainContainer.received(StateChainManagingMessageHandler.java:285)
	at freenet.node.StateChainManagingMessageHandler$ChainContainer.access$100(StateChainManagingMessageHandler.java:204)
	at freenet.node.StateChainManagingMessageHandler.handle(StateChainManagingMessageHandler.java:96)
	at freenet.Ticker$Event.run(Ticker.java:323)
	at freenet.thread.YThreadFactory$YThread.run(YThreadFactory.java:250)

Dynamic libraries:
0x8048000 	/usr/local/jdk1.4.2/bin/java
0x28080000 	/usr/lib/libpthread.so.1
0x280a3000 	/lib/libc.so.5
0x2816f000 	/usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
0x28589000 	/usr/lib/libstdc++.so.4
0x2863b000 	/lib/libm.so.2
0x28653000 	/usr/local/jdk1.4.2/jre/lib/i386/native_threads/libhpi.so
0x28661000 	/usr/local/jdk1.4.2/jre/lib/i386/libverify.so
0x28676000 	/usr/local/jdk1.4.2/jre/lib/i386/libjava.so
0x28695000 	/usr/local/jdk1.4.2/jre/lib/i386/libzip.so
0x40a66000 	/usr/local/jdk1.4.2/jre/lib/i386/libnet.so
0x40a99000 	/usr/local/jdk1.4.2/jre/lib/i386/libnio.so
0x2804e000 	/libexec/ld-elf.so.1

Heap at VM Abort:
Heap
 def new generation   total 4288K, used 1920K [0x2c430000, 0x2c8d0000, 0x2d7e0000)
  eden space 3840K,  48% used [0x2c430000, 0x2c5fd4b8, 0x2c7f0000)
  from space 448K,  16% used [0x2c860000, 0x2c872e60, 0x2c8d0000)
  to   space 448K,   0% used [0x2c7f0000, 0x2c7f0000, 0x2c860000)
 tenured generation   total 54720K, used 34048K [0x2d7e0000, 0x30d50000, 0x3c430000)
   the space 54720K,  62% used [0x2d7e0000, 0x2f9202d0, 0x2f920400, 0x30d50000)
 compacting perm gen  total 6400K, used 6241K [0x3c430000, 0x3ca70000, 0x40430000)
   the space 6400K,  97% used [0x3c430000, 0x3ca48568, 0x3ca48600, 0x3ca70000)

Local Time = Wed Apr  7 13:18:48 2004
Elapsed Time = 2786
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-p6-root_12_mar_2004_07_21 mixed mode)
#
bash-2.05b$ exit

Script done on Wed Apr  7 13:42:24 2004

Loaded symbols for /libexec/ld-elf.so.1
#0  0x2809a42f in pthread_testcancel () from /usr/lib/libpthread.so.1
(gdb) bt
#0  0x2809a42f in pthread_testcancel () from /usr/lib/libpthread.so.1
#1  0x2808c8c1 in sigaction () from /usr/lib/libpthread.so.1
#2  0x28086cf5 in pthread_kill () from /usr/lib/libpthread.so.1
#3  0x280866e0 in raise () from /usr/lib/libpthread.so.1
#4  0x28148b07 in abort () from /lib/libc.so.5
#5  0x2845eae2 in os::abort(int) ()
   from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
#6  0x2845c9e4 in os::handle_unexpected_exception(Thread*, int, unsigned char*, void*) () from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
#7  0x28460ff5 in JVM_handle_bsd_signal ()
   from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
#8  0x2845fa7d in signalHandler ()
   from /usr/local/jdk1.4.2/jre/lib/i386/client/libjvm.so
#9  0x2808b513 in sigaction () from /usr/lib/libpthread.so.1
#10 0x2808b3ba in sigaction () from /usr/lib/libpthread.so.1
#11 0x2808be89 in sigaction () from /usr/lib/libpthread.so.1
#12 0x28093767 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
#13 0x280936b2 in pthread_mutexattr_init () from /usr/lib/libpthread.so.1
#14 0x28135363 in _ctx_start () from /lib/libc.so.5
#15 0x2816cd84 in __isthreaded () from /lib/libc.so.5



More information about the freebsd-java mailing list