Core dump when using
Homer Yau
homer_yau at hotmail.com
Tue May 16 05:40:01 UTC 2006
Hi Greg,
After adding this -XX:+UseMembar, it still si_signo=11 and crash the vm.
-Homer
>From: Greg Lewis <glewis at eyesbeyond.com>
>To: Homer Yau <homer_yau at hotmail.com>
>CC: freebsd-java at freebsd.org
>Subject: Re: Core dump when using
>Date: Wed, 3 May 2006 09:35:03 -0700
>
>On Tue, May 02, 2006 at 05:34:14PM -0700, Homer Yau wrote:
> > Core dump when using JDK diablo-1.5.0_06 b00 build? Any idea?
> > By the way, when using the keytool it also crash vm.
>
>If this is an MP machine, please make sure you invoke java with
>-XX:+UseMembar
>
>--
>Greg Lewis Email : glewis at eyesbeyond.com
>Eyes Beyond Web : http://www.eyesbeyond.com
>Information Technology FreeBSD : glewis at FreeBSD.org
# more hs_err_pid16150.log
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x284ec324, pid=16150, tid=0x80e8400
#
# Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00 mixed mode)
# Problematic frame:
# V [libjvm.so+0x362324]
#
--------------- T H R E A D ---------------
Current thread (0x080e7600): VMThread [id=135169024]
siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0x72657476
Registers:
EAX=0x7265746e, EBX=0x2860c7e4, ECX=0x72657476, EDX=0x4e68ac08
ESP=0xbf8fd628, EBP=0xbf8fd638, ESI=0x28620138, EDI=0x28601690
EIP=0x284ec324, EFLAGS=0x00010296
Top of Stack: (sp=0xbf8fd628)
0xbf8fd628: bf8fd648 284ec2fa 2860c7e4 4d5d02f0
0xbf8fd638: bf8fd648 284ec676 2860c7e4 286249f8
0xbf8fd648: bf8fd668 284ec9dc 286249f8 bf8fd790
0xbf8fd658: bf8fd7d8 2860c7e4 bf8fd6a0 2860c7e4
0xbf8fd668: bf8fd698 2858c654 286200fc 286249f8
0xbf8fd678: 00000001 00000001 286248a8 080e8400
0xbf8fd688: 285bb801 2860c7e4 00000001 0806e400
0xbf8fd698: bf8fd6d8 283c555c 286200fc 00000000
Instructions: (pc=0x284ec324)
0x284ec314: 41 08 89 11 83 ec 08 8b 14 90 8b 42 04 8d 48 08
0x284ec324: 8b 40 08 52 51 ff 50 58 83 c4 10 8b 0e 8b 01 85
Stack: [0xbf8be000,0xbf8fe000), sp=0xbf8fd628, free space=253k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
V [libjvm.so+0x362324]
V [libjvm.so+0x362676]
V [libjvm.so+0x3629dc]
V [libjvm.so+0x402654]
V [libjvm.so+0x23b55c]
V [libjvm.so+0x23d2e2]
V [libjvm.so+0x23d7d5]
V [libjvm.so+0x2439e0]
V [libjvm.so+0x3ef379]
V [libjvm.so+0x23ae95]
V [libjvm.so+0x23bee1]
V [libjvm.so+0x42d658]
V [libjvm.so+0x42d253]
V [libjvm.so+0x42c6f0]
V [libjvm.so+0x42ca05]
V [libjvm.so+0x42cc00]
V [libjvm.so+0x3843b9]
C [libpthread.so.2+0x8ab1] _pthread_create+0x6d1
VM_Operation (0xbf6738c0): full generation collection, mode: safepoint,
requeste
d by thread 0x0825a000
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x08062600 JavaThread "DestroyJavaVM" [_thread_blocked, id=134594560]
0x08862c00 JavaThread "Timer-5" daemon [_thread_blocked, id=136749568]
0x08862a00 JavaThread "Timer-4" [_thread_blocked, id=136750592]
0x08862000 JavaThread
"ContainerBackgroundProcessor[StandardEngine[com.sun.app
serv].StandardHost[server].StandardContext[/rmi-iiop-simple]]" daemon
[_thread_b
locked, id=138876928]
0x086faa00 JavaThread "Thread-25" [_thread_blocked, id=136482304]
0x086fa800 JavaThread "p: thread-pool-1; w: 1" daemon [_thread_in_native,
id=1
36481280]
0x086fa600 JavaThread "p: thread-pool-1; w: 0" daemon [_thread_in_native,
id=1
38228736]
0x086fa400 JavaThread "SelectorThread" daemon [_thread_in_native,
id=138229760
]
0x08875200 JavaThread
"ContainerBackgroundProcessor[StandardEngine[com.sun.app
serv].StandardHost[server].StandardContext[/__JWSappclients]]" daemon
[_thread_b
locked, id=138877952]
0x08731e00 JavaThread "httpWorkerThread-4848-1" daemon [_thread_blocked,
id=14
2020608]
0x08731a00 JavaThread "httpWorkerThread-4848-0" daemon [_thread_blocked,
id=14
1761536]
0x088c4600 JavaThread "SelectorThread-4848" [_thread_in_native,
id=141760512]
0x08731000 JavaThread "httpWorkerThread-8181-1" daemon [_thread_blocked,
id=14
1758976]
0x086d0c00 JavaThread "httpWorkerThread-8181-0" daemon [_thread_blocked,
id=14
1364736]
0x086d0800 JavaThread "SelectorThread-8181" [_thread_in_native,
id=141363712]
0x086f4c00 JavaThread "httpWorkerThread-8080-1" daemon [_thread_blocked,
id=14
1512192]
0x086f4800 JavaThread "httpWorkerThread-8080-0" daemon [_thread_blocked,
id=14
1511168]
0x086f4000 JavaThread "SelectorThread-8080" [_thread_in_native,
id=141509120]
0x08393800 JavaThread
"ContainerBackgroundProcessor[StandardEngine[com.sun.app
serv]]" daemon [_thread_blocked, id=137968128]
0x08393400 JavaThread "AccessLogWriter" daemon [_thread_blocked,
id=137967104]
0x08393000 JavaThread "SingleSignOnExpiration" daemon [_thread_blocked,
id=137
966080]
0x082f5e00 JavaThread
"ContainerBackgroundProcessor[StandardEngine[com.sun.app
serv].StandardHost[server].StandardContext[]]" daemon [_thread_blocked,
id=14341
2224]
0x083d3600 JavaThread
"ContainerBackgroundProcessor[StandardEngine[com.sun.app
serv].StandardHost[server].StandardContext[/hello]]" daemon
[_thread_blocked, id
=143411712]
0x08803800 JavaThread
"ContainerBackgroundProcessor[StandardEngine[com.sun.app
serv].StandardHost[server].StandardContext[/webapps-simple]]" daemon
[_thread_bl
ocked, id=138228224]
0x087aae00 JavaThread "AccessLogWriter" daemon [_thread_blocked,
id=141445632]
0x0868d600 JavaThread "SingleSignOnExpiration" daemon [_thread_blocked,
id=142
257152]
0x0868da00 JavaThread
"ContainerBackgroundProcessor[StandardEngine[com.sun.app
serv].StandardHost[__asadmin].StandardContext[]]" daemon [_thread_blocked,
id=14
1089792]
0x08803000 JavaThread
"ContainerBackgroundProcessor[StandardEngine[com.sun.app
serv].StandardHost[__asadmin].StandardContext[/web1]]" daemon
[_thread_blocked,
id=142619136]
0x086e4e00 JavaThread
"ContainerBackgroundProcessor[StandardEngine[com.sun.app
serv].StandardHost[__asadmin].StandardContext[/asadmin]]" daemon
[_thread_blocke
d, id=142622208]
0x086a3a00 JavaThread "Timer-3" [_thread_blocked, id=141179904]
0x08228400 JavaThread "RMI RenewClean-[70.232.150.217:53831]" daemon
[_thread_
blocked, id=138332672]
0x08228000 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native,
id=1370654
72]
0x0827b400 JavaThread "RMI TCP Accept-8686" daemon [_thread_in_native,
id=1369
18528]
0x083ec400 JavaThread "Thread-15" [_thread_blocked, id=138331648]
0x083ec000 JavaThread "Thread-14" [_thread_blocked, id=138330624]
0x083d3a00 JavaThread "Thread-13" [_thread_blocked, id=138230784]
0x08389e00 JavaThread "RMI
RenewClean-[70.232.150.217:53247,com.sun.enterprise
.admin.server.core.channel.LocalRMIClientSocketFactory at 1ff0a34]" daemon
[_thread
_blocked, id=138227712]
0x083fe400 JavaThread "Timer-2" daemon [_thread_blocked, id=138405376]
0x083fe000 JavaThread "Timer-1" [_thread_blocked, id=138404352]
0x08293c00 JavaThread "RMI LeaseChecker" daemon [_thread_blocked,
id=136920576
]
0x0827b800 JavaThread "Thread-10" [_thread_in_native, id=136821248]
0x0825a000 JavaThread "GC Daemon" daemon [_thread_blocked, id=136684032]
0x081e5c00 JavaThread "RMI Reaper" [_thread_blocked, id=136207872]
0x081e5800 JavaThread "Timer-0" daemon [_thread_blocked, id=136206848]
0x081e5200 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native,
id=1362053
12]
0x08156600 JavaThread "Low Memory Detector" daemon [_thread_blocked,
id=135620
608]
0x08156200 JavaThread "CompilerThread0" daemon [_thread_blocked,
id=135619584]
0x080e8e00 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
id=13561856
0]
0x080e8a00 JavaThread "Finalizer" daemon [_thread_blocked, id=135171072]
0x080e8600 JavaThread "Reference Handler" daemon [_thread_blocked,
id=13517004
8]
Other Threads:
=>0x080e7600 VMThread [id=135169024]
0x080e7100 WatcherThread [id=135621632]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x08065f80/0x08065fc0] Threads_lock - owner thread: 0x080e7600
[0x08053d60/0x08067580] Heap_lock - owner thread: 0x0825a000
Heap
def new generation total 11008K, used 7857K [0x2d5d0000, 0x2e1c0000,
0x380700
00)
eden space 9792K, 76% used [0x2d5d0000, 0x2dd22c78, 0x2df60000)
from space 1216K, 29% used [0x2df60000, 0x2dfb97f8, 0x2e090000)
to space 1216K, 0% used [0x2e090000, 0x2e090000, 0x2e1c0000)
tenured generation total 24216K, used 17032K [0x38070000, 0x39816000,
0x4d5d0
000)
the space 24216K, 70% used [0x38070000, 0x39112138, 0x39112200,
0x39816000)
compacting perm gen total 35840K, used 35616K [0x4d5d0000, 0x4f8d0000,
0x515d0
000)
the space 35840K, 99% used [0x4d5d0000, 0x4f898130, 0x4f898200,
0x4f8d0000)
No shared spaces configured.
Dynamic libraries:
0x08048000 /usr/local/diablo-jdk1.5.0/jre/../bin/java
0x2807d000 /lib/libz.so.3
0x2808d000 /usr/lib/libpthread.so.2
0x280b2000 /lib/libc.so.6
0x2818a000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so
0x2862b000 /lib/libm.so.4
0x28642000
/usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads/libhpi.so
0x28653000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libverify.so
0x28660000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libjava.so
0x2867f000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libzip.so
0x51ed2000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnet.so
0x54e12000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnio.so
0x54e19000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/librmi.so
0x54e1b000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libmanagement.so
0x28052000 /libexec/ld-elf.so.1
VM Arguments:
jvm_args: -Xmx512m -XX:NewRatio=2 -XX:+UseMembar
-Dcom.sun.aas.defaultLogFile=/e
xport/as9_ws/publish/glassfish/domains/domain1/logs/server.log
-Dderby.storage.f
ileSyncTransactionLog=true
-Djava.endorsed.dirs=/export/as9_ws/publish/glassfish
/lib/endorsed
-Djava.security.policy=/export/as9_ws/publish/glassfish/domains/do
main1/config/server.policy
-Djava.security.auth.login.config=/export/as9_ws/publ
ish/glassfish/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=
3600000 -Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=/export
/as9_ws/publish/glassfish/domains/domain1/config/keystore.jks
-Djavax.net.ssl.tr
ustStore=/export/as9_ws/publish/glassfish/domains/domain1/config/cacerts.jks
-Dj
ava.ext.dirs=/usr/local/diablo-jdk1.5.0/jre/../lib/ext:/export/as9_ws/publish/gl
assfish/domains/domain1/lib/ext:/export/as9_ws/publish/glassfish/javadb/lib
-Djd
bc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.management.builder.initial
=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.
enterprise.config.config_environment_factory_class=com.sun.enterprise.config.ser
verbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-
jstl.jar,jsf-impl.jar -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.a
as.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,comm
ons-launcher.jar
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admi
n-cli-ee.jar,dbschema.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.serverClassPath
.ee=%HADB_HOME%/lib/hadbjdbc4.jar,/export/as9_ws/publish/glassfish/lib/SUNWjdmk/
5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_H
OME%/lib/hadbmgt.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.configNam
e=server-config -Ddomain.name=domain1 -Djmx.invoke.getters=true
-Dcom.sun.aas.pr
omptForIdentity=true -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dc
om.sun.aas.instanceRoot=/export/as9_ws/publish/glassfish/domains/domain1
-Dcom
java_command: com.sun.enterprise.server.PELaunch start
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=/usr/local/diablo-jdk1.5.0/jre/..
PATH=/usr/local/diablo-jdk1.5.0/bin:/usr/local/ant/bin:/usr/local/share/java/mav
en/bin:/usr/local/diablo-jdk1.5.0/bin:/usr/local/ant/bin:/usr/local/share/java/m
aven/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin
:/usr/X11R6/bin:/root/bin
LD_LIBRARY_PATH=/usr/local/diablo-jdk1.5.0/jre/lib/i386/client:/usr/local/diablo
-jdk1.5.0/jre/lib/i386:/usr/local/diablo-jdk1.5.0/jre/../lib/i386:/export/as9_ws
/publish/glassfish/lib:/usr/lib/lwp:/usr/local/diablo-jdk1.5.0/jre/lib/i386/clie
nt:/usr/local/diablo-jdk1.5.0/jre/lib/i386:/usr/local/diablo-jdk1.5.0/jre/../lib
/i386:/export/as9_ws/publish/glassfish/lib:/export/as9_ws/publish/glassfish/lib:
/export/as9_ws/publish/glassfish/lib:
SHELL=/bin/csh
HOSTTYPE=FreeBSD
OSTYPE=FreeBSD
MACHTYPE=i386
Signal Handlers:
SIGSEGV: [libjvm.so+0x426680], sa_mask[0]=0xffffffff, sa_flags=0x00000002
SIGBUS: [libjvm.so+0x426680], sa_mask[0]=0xffffffff, sa_flags=0x00000002
SIGFPE: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042
SIGPIPE: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042
SIGILL: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042
SIGUSR1: [libjvm.so+0x3872e0], sa_mask[0]=0x00000000, sa_flags=0x00000040
SIGUSR2: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042
SIGHUP: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002
SIGINT: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002
SIGQUIT: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002
SIGTERM: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002
--------------- S Y S T E M ---------------
OS:FreeBSD
uname:FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC
2005
root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386
rlimit: STACK 65536k, CORE infinity, NOFILE 7264
CPU:total 1 family 6, cmov, cx8, fxsr, mmx
Memory: 4k page, physical 413120k
vm_info: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00) for freebsd-x86,
built
on Feb 17 2006 00:12:58 by truk with gcc 3.4.4 [FreeBSD] 20050518
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
More information about the freebsd-java
mailing list