Crash of JVM 1.5.0_07(06)

We recently upgraded from 1.4.2 to 1.5.0_05/06/07 and we are running a Linux 2.4.21 on a multiprocessor plateform (x686) with 4Giga RAM. Till the upgrade we have frequently a JVM crash!
we use -Xmx1280m option and with the -XX:+PrintGCTimeStamps -XX:+PrintGCDetails options we obtain the following :
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0xb6f32468, pid=1568, tid=1552501680
# Java VM: Java HotSpot(TM) Server VM (1.5.0_07-b03 mixed mode)
# Problematic frame:
# V [libjvm.so+0x46a468]
--------------- T H R E A D ---------------
Current thread (0x08079030): GCTaskThread [id=1695]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x0000000c
Registers:
EAX=0x6188c9f0, EBX=0xb7077970, ECX=0x00000008, EDX=0x00000000
ESP=0x5c8948c0, EBP=0x5c8948d8, ESI=0x00001055, EDI=0x080eeca4
EIP=0xb6f32468, CR2=0x0000000c, EFLAGS=0x00010202
Top of Stack: (sp=0x5c8948c0)
0x5c8948c0: 616afff0 080eec48 6188c9f0 b7077970
0x5c8948d0: 616afff0 080eec48 5c894908 b6f34882
0x5c8948e0: 080eec48 00000000 080eec48 b6cf98f1
0x5c8948f0: 080eec48 a99d6f80 75ca6d82 b7077970
0x5c894900: 080a8af0 08079030 5c8949c8 b6cd21ff
0x5c894910: 080a8af0 08078310 00000001 00000000
0x5c894920: b7077970 5c894960 5c894948 b6ff3c40
0x5c894930: b6ff3b40 b7009968 00000000 00000000
Instructions: (pc=0xb6f32468)
0xb6f32458: 01 00 00 85 d2 74 2a 8b 45 f0 8b 50 04 8d 4a 08
0xb6f32468: 8b 41 04 83 c8 01 40 74 81 56 8b 75 f0 8b 42 08
Stack: [0x5c814000,0x5c895000), sp=0x5c8948c0, free space=514k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x46a468]
V [libjvm.so+0x46c882]
V [libjvm.so+0x20a1ff]
V [libjvm.so+0x4287d8]
C [libpthread.so.0+0x4dec]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x57418130 JavaThread "Timer-2" [_thread_blocked, id=1731]
0x5b53e100 JavaThread "DominoDispatcher - notifQueue - marketreflynxLowerTib0" daemon [_thread_in_native, id=1730]
0x0829f1c8 JavaThread "DominoDispatcherServiceRepositoryInstance.initHeartbeatDispatching" daemon [_thread_in_native, id=1727]
0x083f4e58 JavaThread "ThreadPool 8146001 Thread 1FaultTolerancePool" daemon [_thread_blocked, id=1726]
0x0829e8d8 JavaThread "DominoDispatcher - notifQueue - AlertRTLowerTib0" daemon [_thread_in_native, id=1725]
0x0829c238 JavaThread "ThreadPool 17671659 Thread 0 - notif - AlertRTLowerTib" daemon [_thread_blocked, id=1724]
0x59ef4a18 JavaThread "Timer-1" daemon [_thread_blocked, id=1723]
0x5c4f5ee8 JavaThread "DominoDispatcher - notifQueue - ConfigLowerTib0" daemon [_thread_in_native, id=1716]
0x5c4f4950 JavaThread "DominoDispatcher - SystemAdvisories" daemon [_thread_in_native, id=1715]
0x5c464060 JavaThread "Timer-0" daemon [_thread_blocked, id=1710]
0x08121d70 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1708]
0x08120978 JavaThread "CompilerThread1" daemon [_thread_blocked, id=1707]
0x0811f918 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1706]
0x0811e960 JavaThread "AdapterThread" daemon [_thread_blocked, id=1705]
0x0811db18 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1704]
0x08114a38 JavaThread "Finalizer" daemon [_thread_blocked, id=1703]
0x08113418 JavaThread "Reference Handler" daemon [_thread_blocked, id=1702]
0x0805d9b8 JavaThread "main" [_thread_blocked, id=1568]
Other Threads:
0x0810f848 VMThread [id=1701]
0x081231d8 WatcherThread [id=1709]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x0805ce50/0x0805ce78] Threads_lock - owner thread: 0x0810f848
[0x0805d2a0/0x0805d2b8] Heap_lock - owner thread: 0x0805d9b8
Heap
PSYoungGen total 28992K, used 28887K [0xa7fe0000, 0xaa620000, 0xb0e10000)
eden space 22144K, 100% used [0xa7fe0000,0xa9580000,0xa9580000)
from space 6848K, 98% used [0xa9d50000,0xaa3e5e08,0xaa400000)
to space 8000K, 34% used [0xa9580000,0xa982d990,0xa9d50000)
PSOldGen total 14976K, used 14653K [0x60e10000, 0x61cb0000, 0xa7fe0000)
object space 14976K, 97% used [0x60e10000,0x61c5f530,0x61cb0000)
PSPermGen total 16384K, used 7477K [0x5ce10000, 0x5de10000, 0x60e10000)
object space 16384K, 45% used [0x5ce10000,0x5d55d510,0x5de10000)

I see this coredump on 1.5.0_08 as well.
here are the hs_err files:
1.
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0xfd998240, pid=23794, tid=6
# Java VM: Java HotSpot(TM) Server VM (1.5.0_08-b03 mixed mode)
# Problematic frame:
# V [libjvm.so+0x198240]
--------------- T H R E A D ---------------
Current thread (0x001778f0): VMThread [id=6]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0xea68175c
Registers:
O0=0x0000ffff O1=0xfdfce000 O2=0x00008000 O3=0xf802dfc0
O4=0xf802dfc0 O5=0x0000fc00 O6=0xfaf81358 O7=0xfda7aa58
G1=0x00029000 G2=0x00000001 G3=0xf8004fc0 G4=0x000eca00
G5=0xea681758 G6=0x00000000 G7=0xfaf81d70 Y=0x00000000
PC=0xfd998240 nPC=0xfd998244
Top of Stack: (sp=0xfaf81358)
0xfaf81358: 00000014 00000005 fd9d2aac fe020de4
0xfaf81368: 01e005c8 f800c224 ea681758 ea681758
0xfaf81378: faf81428 faf81438 00000000 00000000
0xfaf81388: 00000000 00000000 faf813b8 fdb032a4
0xfaf81398: 00000000 00000000 00000000 0120b802
0xfaf813a8: ea681758 f800c224 00000000 00000000
0xfaf813b8: faf81428 00000001 fda7a8f8 000f80a8
0xfaf813c8: 00043d58 fe020eac 00000005 00000005
Instructions: (pc=0xfd998240)
0xfd998230: ca 02 20 00 1b 00 00 3f 84 10 20 01 90 03 63 ff
0xfd998240: d2 01 60 04 89 3a 60 00 80 a0 00 09 04 40 00 03
Stack: [0xfaf02000,0xfaf81d70), sp=0xfaf81358, free space=508k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x198240]
V [libjvm.so+0x3032ac]
V [libjvm.so+0x305ec8]
V [libjvm.so+0x2ae8c0]
V [libjvm.so+0x2af5dc]
V [libjvm.so+0x2af8f8]
V [libjvm.so+0x2a2c7c]
V [libjvm.so+0x3686e8]
V [libjvm.so+0x670740]
VM_Operation (0xc61ffb18): parallel gc failed allocation, mode: safepoint, requested by thread 0x003c7b78
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x01e00520 JavaThread "Thread-218" [_thread_blocked, id=457]
0x00144ad0 JavaThread "Thread-145" [_thread_blocked, id=384]
0x00146068 JavaThread "ST-1170788484737" daemon [_thread_blocked, id=383]
0x019c5240 JavaThread "BC-EDI:LongRunningPool:InterchangeSplitter7" [_thread_blocked, id=382]
0x019c44b8 JavaThread "BC-EDI:LongRunningPool:InterchangeSplitter6" [_thread_blocked, id=381]
0x019c3730 JavaThread "BC-EDI:LongRunningPool:InterchangeSplitter5" [_thread_blocked, id=380]
0x019c29a8 JavaThread "BC-EDI:LongRunningPool:InterchangeSplitter4" [_thread_blocked, id=379]
0x019c1c20 JavaThread "BC-EDI:LongRunningPool:InterchangeSplitter3" [_thread_blocked, id=378]
0x019c0e98 JavaThread "BC-EDI:LongRunningPool:InterchangeSplitter2" [_thread_blocked, id=377]
0x019c0110 JavaThread "BC-EDI:LongRunningPool:InterchangeSplitter1" [_thread_blocked, id=376]
0x019bf388 JavaThread "BC-EDI:LongRunningPool:InterchangeSplitter0" [_thread_blocked, id=375]
0x019be690 JavaThread "BC-EDI:LongRunningPool:BatchBuilder7" [_thread_blocked, id=374]
0x01771538 JavaThread "BC-EDI:LongRunningPool:BatchBuilder6" [_thread_blocked, id=373]
0x017707b0 JavaThread "BC-EDI:LongRunningPool:BatchBuilder5" [_thread_blocked, id=372]
0x0176fa28 JavaThread "BC-EDI:LongRunningPool:BatchBuilder4" [_thread_blocked, id=371]
0x0176eca0 JavaThread "BC-EDI:LongRunningPool:BatchBuilder3" [_thread_blocked, id=370]
0x0176df18 JavaThread "BC-EDI:LongRunningPool:BatchBuilder2" [_thread_blocked, id=369]
0x0176d190 JavaThread "BC-EDI:LongRunningPool:BatchBuilder1" [_thread_blocked, id=368]
0x0176c408 JavaThread "BC-EDI:LongRunningPool:BatchBuilder0" [_thread_blocked, id=367]
0x0176b680 JavaThread "BC-EDI:LongRunningPool:PassThrough7" [_thread_blocked, id=366]
0x0176a550 JavaThread "BC-EDI:LongRunningPool:PassThrough6" [_thread_blocked, id=365]
0x019d5908 JavaThread "BC-EDI:LongRunningPool:PassThrough5" [_thread_blocked, id=364]
0x019d4b80 JavaThread "BC-EDI:LongRunningPool:PassThrough4" [_thread_blocked, id=363]
0x019d3df8 JavaThread "BC-EDI:LongRunningPool:PassThrough3" [_thread_blocked, id=362]
0x019d3070 JavaThread "BC-EDI:LongRunningPool:PassThrough2" [_thread_blocked, id=361]
0x019d22e8 JavaThread "BC-EDI:LongRunningPool:PassThrough1" [_thread_blocked, id=360]
0x019d1560 JavaThread "BC-EDI:LongRunningPool:PassThrough0" [_thread_blocked, id=359]
0x019d07d8 JavaThread "BC-EDI:LongRunningPool:XMLToEDI7" [_thread_blocked, id=358]
0x019cfa50 JavaThread "BC-EDI:LongRunningPool:XMLToEDI6" [_thread_blocked, id=357]
0x019ced58 JavaThread "BC-EDI:LongRunningPool:XMLToEDI5" [_thread_blocked, id=356]
0x01433f20 JavaThread "BC-EDI:LongRunningPool:XMLToEDI4" [_thread_blocked, id=355]
0x01433198 JavaThread "BC-EDI:LongRunningPool:XMLToEDI3" [_thread_blocked, id=354]
0x01432410 JavaThread "BC-EDI:LongRunningPool:XMLToEDI2" [_thread_blocked, id=353]
0x01430e80 JavaThread "BC-EDI:LongRunningPool:XMLToEDI1" [_thread_blocked, id=352]
0x014300f8 JavaThread "BC-EDI:LongRunningPool:XMLToEDI0" [_thread_blocked, id=351]
0x0142f370 JavaThread "BC-EDI:LongRunningPool:EDIToXML.InMemory7" [_thread_blocked, id=350]
0x0142e5e8 JavaThread "BC-EDI:LongRunningPool:EDIToXML.InMemory6" [_thread_blocked, id=349]
0x0142d900 JavaThread "BC-EDI:LongRunningPool:EDIToXML.InMemory5" [_thread_blocked, id=348]
0x0142cdd0 JavaThread "BC-EDI:LongRunningPool:EDIToXML.InMemory4" [_thread_blocked, id=347]
0x00f62ee8 JavaThread "BC-EDI:LongRunningPool:EDIToXML.InMemory3" [_thread_blocked, id=346]
0x00f622a0 JavaThread "BC-EDI:LongRunningPool:EDIToXML.InMemory2" [_thread_blocked, id=345]
0x00f61658 JavaThread "BC-EDI:LongRunningPool:EDIToXML.InMemory1" [_thread_blocked, id=344]
0x00f819f8 JavaThread "BC-EDI:LongRunningPool:EDIToXML.InMemory0" [_thread_blocked, id=343]
0x00f60030 JavaThread "BC-EDI:LongRunningPool:EDIToXML.FileBased7" [_thread_blocked, id=342]
0x00f5f668 JavaThread "BC-EDI:LongRunningPool:EDIToXML.FileBased6" [_thread_blocked, id=341]
0x011476d8 JavaThread "BC-EDI:LongRunningPool:EDIToXML.FileBased5" [_thread_blocked, id=340]
0x0197a990 JavaThread "BC-EDI:LongRunningPool:EDIToXML.FileBased4" [_thread_blocked, id=339]
0x00f7f1e0 JavaThread "BC-EDI:LongRunningPool:EDIToXML.FileBased3" [_thread_blocked, id=338]
0x01146c98 JavaThread "BC-EDI:LongRunningPool:EDIToXML.FileBased2" [_thread_blocked, id=337]
0x02205ac8 JavaThread "BC-EDI:LongRunningPool:EDIToXML.FileBased1" [_thread_blocked, id=336]
0x01147110 JavaThread "BC-EDI:LongRunningPool:EDIToXML.FileBased0" [_thread_blocked, id=335]
0x013f7e00 JavaThread "MailPoller" [_thread_blocked, id=295]
0x01d27cf8 JavaThread "Thread-81" [_thread_blocked, id=271]
0x0020b020 JavaThread "Thread-80" [_thread_blocked, id=270]
0x0020adb0 JavaThread "Thread-79" [_thread_blocked, id=269]
0x02f755d8 JavaThread "Thread-78" [_thread_blocked, id=268]
0x01d28410 JavaThread "Thread-77" [_thread_blocked, id=267]
0x00e956d0 JavaThread "Thread-76" [_thread_blocked, id=266]
0x00bded30 JavaThread "Thread-75" [_thread_blocked, id=265]
0x019803b8 JavaThread "Thread-74" [_thread_blocked, id=264]
0x0197fdf0 JavaThread "Thread-73" [_thread_blocked, id=263]
0x02014378 JavaThread "Thread-72" [_thread_blocked, id=262]
0x026be3c8 JavaThread "Thread-71" [_thread_blocked, id=261]
0x01982610 JavaThread "Thread-70" [_thread_blocked, id=260]
0x002b9458 JavaThread "Thread-69" [_thread_blocked, id=259]
0x02012038 JavaThread "JobCourier.ReminderQ" [_thread_blocked, id=258]
0x022210f8 JavaThread "DocumentValidationTPOOL7" [_thread_in_native, id=257]
0x02220510 JavaThread "DocumentValidationTPOOL6" [_thread_in_native, id=256]
0x00e96c20 JavaThread "DocumentValidationTPOOL5" [_thread_in_native, id=255]
0x00e961b0 JavaThread "DocumentValidationTPOOL4" [_thread_in_native, id=254]
0x01765ce0 JavaThread "DocumentValidationTPOOL3" [_thread_in_native, id=253]
0x01564310 JavaThread "DocumentValidationTPOOL2" [_thread_in_native, id=252]
0x01980dc0 JavaThread "DocumentValidationTPOOL1" [_thread_in_native, id=251]
0x02112cf0 JavaThread "DocumentValidationTPOOL0" [_thread_in_native, id=250]
0x01177040 JavaThread "Thread-67" [_thread_in_native, id=248]
0x01176000 JavaThread "Thread-66" [_thread_in_native, id=247]
0x025491b0 JavaThread "PluginReminderQueue" [_thread_blocked, id=246]
0x025483a8 JavaThread "Thread-65" [_thread_in_native, id=245]
0x00df6a30 JavaThread "Thread-64" [_thread_in_native, id=244]
0x00df5328 JavaThread "Thread-63" [_thread_in_native, id=243]
0x00fd24b8 JavaThread "Thread-62" [_thread_in_native, id=242]
0x00fd1c38 JavaThread "Thread-61" [_thread_in_native, id=241]
0x021f6fb8 JavaThread "Thread-60" [_thread_in_native, id=240]
0x02040228 JavaThread "Thread-59" [_thread_in_native, id=239]
0x00e9ccb0 JavaThread "Thread-58" [_thread_in_native, id=226]
0x01161688 JavaThread "Thread-56" daemon [_thread_blocked, id=215]
0x00ecf340 JavaThread "Thread-55" daemon [_thread_blocked, id=214]
0x00db9478 JavaThread "Thread-53" daemon [_thread_blocked, id=213]
0x01152f08 JavaThread "Thread-51" daemon [_thread_blocked, id=212]
0x00db6e78 JavaThread "Thread-50" daemon [_thread_blocked, id=211]
0x01164358 JavaThread "HSQLDB Timer @1b88122" daemon [_thread_blocked, id=210]
0x0019bff0 JavaThread "Thread-47" daemon [_thread_in_native, id=209]
0x0014f1c8 JavaThread "DBLockMonitor" daemon [_thread_blocked, id=208]
0x0107c8d0 JavaThread "OutboundTransportTPOOL31" [_thread_blocked, id=207]
0x0107bb78 JavaThread "OutboundTransportTPOOL30" [_thread_blocked, id=206]
0x0107a618 JavaThread "OutboundTransportTPOOL29" [_thread_blocked, id=205]
0x010798c0 JavaThread "OutboundTransportTPOOL28" [_thread_blocked, id=204]
0x01078c80 JavaThread "OutboundTransportTPOOL27" [_thread_blocked, id=203]
0x00e5f240 JavaThread "OutboundTransportTPOOL26" [_thread_blocked, id=202]
0x00e5e4e8 JavaThread "OutboundTransportTPOOL25" [_thread_blocked, id=201]
0x00e5d790 JavaThread "OutboundTransportTPOOL24" [_thread_blocked, id=200]
0x00e5ca38 JavaThread "OutboundTransportTPOOL23" [_thread_blocked, id=199]
0x00e5bce0 JavaThread "OutboundTransportTPOOL22" [_thread_blocked, id=198]
0x010099d8 JavaThread "OutboundTransportTPOOL21" [_thread_blocked, id=197]
0x01008c80 JavaThread "OutboundTransportTPOOL20" [_thread_blocked, id=196]
0x01007f28 JavaThread "OutboundTransportTPOOL19" [_thread_blocked, id=195]
0x010071d0 JavaThread "OutboundTransportTPOOL18" [_thread_blocked, id=194]
0x01006478 JavaThread "OutboundTransportTPOOL17" [_thread_blocked, id=193]
0x019a2d20 JavaThread "OutboundTransportTPOOL16" [_thread_blocked, id=192]
0x019a1fc8 JavaThread "OutboundTransportTPOOL15" [_thread_blocked, id=191]
0x019a1270 JavaThread "OutboundTransportTPOOL14" [_thread_blocked, id=190]
0x019a0518 JavaThread "OutboundTransportTPOOL13" [_thread_blocked, id=189]
0x0199f850 JavaThread "OutboundTransportTPOOL12" [_thread_blocked, id=188]
0x00373668 JavaThread "OutboundTransportTPOOL11" [_thread_blocked, id=187]
0x00372910 JavaThread "OutboundTransportTPOOL10" [_thread_blocked, id=186]
0x00371bb8 JavaThread "OutboundTransportTPOOL9" [_thread_blocked, id=185]
0x00370e60 JavaThread "OutboundTransportTPOOL8" [_thread_blocked, id=184]
0x00f0bf30 JavaThread "OutboundTransportTPOOL7" [_thread_blocked, id=183]
0x00f0b350 JavaThread "OutboundTransportTPOOL6" [_thread_blocked, id=182]
0x0159ee58 JavaThread "OutboundTransportTPOOL5" [_thread_blocked, id=181]
0x001dddd8 JavaThread "OutboundTransportTPOOL4" [_thread_blocked, id=180]
0x015a02d8 JavaThread "OutboundTransportTPOOL3" [_thread_blocked, id=179]
0x0015c328 JavaThread "OutboundTransportTPOOL2" [_thread_blocked, id=178]
0x0015bf60 JavaThread "OutboundTransportTPOOL1" [_thread_blocked, id=177]
0x001ddad0 JavaThread "OutboundTransportTPOOL0" [_thread_blocked, id=176]
0x00f0e998 JavaThread "Thread-45" daemon [_thread_in_native, id=175]
0x00cd1580 JavaThread "WaitNotify Cleanup Sweep" daemon [_thread_blocked, id=174]
0x00d4abd0 JavaThread "JobCourier31" [_thread_blocked, id=173]
0x00d49e78 JavaThread "JobCourier30" [_thread_blocked, id=172]
0x00d49120 JavaThread "JobCourier29" [_thread_blocked, id=171]
0x00d483c8 JavaThread "JobCourier28" [_thread_blocked, id=170]
0x00d46e68 JavaThread "JobCourier27" [_thread_blocked, id=169]
0x00d46110 JavaThread "JobCourier26" [_thread_blocked, id=168]
0x00d453b8 JavaThread "JobCourier25" [_thread_blocked, id=167]
0x00d44660 JavaThread "JobCourier24" [_thread_blocked, id=166]
0x00d43938 JavaThread "JobCourier23" [_thread_blocked, id=165]
0x00c904c8 JavaThread "JobCourier22" [_thread_blocked, id=164]
0x00c8f770 JavaThread "JobCourier21" [_thread_blocked, id=163]
0x00c8ea18 JavaThread "JobCourier20" [_thread_blocked, id=162]
0x00c8dcc0 JavaThread "JobCourier19" [_thread_blocked, id=161]
0x00c8cf68 JavaThread "JobCourier18" [_thread_blocked, id=160]
0x00c8c210 JavaThread "JobCourier17" [_thread_blocked, id=159]
0x00c8b4b8 JavaThread "JobCourier16" [_thread_blocked, id=158]
0x00c8a760 JavaThread "JobCourier15" [_thread_blocked, id=157]
0x00c89a08 JavaThread "JobCourier14" [_thread_blocked, id=156]
0x00c88d10 JavaThread "JobCourier13" [_thread_blocked, id=155]
0x003cb0d8 JavaThread "JobCourier12" [_thread_blocked, id=154]
0x003ca380 JavaThread "JobCourier11" [_thread_blocked, id=153]
0x003c9628 JavaThread "JobCourier10" [_thread_blocked, id=152]
0x003c88d0 JavaThread "JobCourier9" [_thread_blocked, id=151]
0x003c7b78 JavaThread "JobCourier8" [_thread_blocked, id=150]
0x003c6e80 JavaThread "JobCourier7" [_thread_blocked, id=149]
0x01055050 JavaThread "JobCourier6" [_thread_blocked, id=148]
0x01054428 JavaThread "JobCourier5" [_thread_blocked, id=147]
0x010539c0 JavaThread "JobCourier4" [_thread_blocked, id=146]
0x003c56d0 JavaThread "JobCourier3" [_thread_blocked, id=145]
0x00f28840 JavaThread "JobCourier2" [_thread_blocked, id=144]
0x00f28678 JavaThread "JobCourier1" [_thread_blocked, id=143]
0x003c64b8 JavaThread "JobCourier0" [_thread_blocked, id=142]
0x002f2200 JavaThread "EngineReminderQueue" [_thread_blocked, id=141]
0x00f37038 JavaThread "AMI Worker 1" [_thread_blocked, id=132]
0x00f24f50 JavaThread "HawkEngineQueueHandler" [_thread_in_native, id=128]
0x00e02940 JavaThread "Mem" [_thread_in_native, id=126]
0x002227e0 JavaThread "Default" [_thread_in_native, id=125]
0x00c952d8 JavaThread "FtDefault" [_thread_in_native, id=123]
0x00f5ae20 JavaThread "SeedGenerator Thread" daemon [_thread_blocked, id=22]
0x00189070 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=13]
0x00187fc0 JavaThread "CompilerThread1" daemon [_thread_blocked, id=12]
0x00186748 JavaThread "CompilerThread0" daemon [_thread_blocked, id=11]
0x001858d8 JavaThread "AdapterThread" daemon [_thread_blocked, id=10]
0x00184b30 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9]
0x0017b120 JavaThread "Finalizer" daemon [_thread_blocked, id=8]
0x001799d0 JavaThread "Reference Handler" daemon [_thread_blocked, id=7]
0x0006adf8 JavaThread "main" [_thread_blocked, id=1]
Other Threads:
=>0x001778f0 VMThread [id=6]
0x0018a900 WatcherThread [id=14]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x0006a2e8/0x0006a318] Threads_lock - owner thread: 0x001778f0
[0x0004bb90/0x0006a768] Heap_lock - owner thread: 0x003c7b78
Heap
PSYoungGen total 145664K, used 72896K [0xea6b0000, 0xf7c00000, 0xf7c00000)
eden space 72896K, 100% used [0xea6b0000,0xeede0000,0xeede0000)
from space 72768K, 0% used [0xf34f0000,0xf34f0000,0xf7c00000)
to space 72768K, 0% used [0xeede0000,0xeede0000,0xf34f0000)
PSOldGen total 366528K, used 364055K [0xcfc00000, 0xe61f0000, 0xea6b0000)
object space 366528K, 99% used [0xcfc00000,0xe5f85dc0,0xe61f0000)
PSPermGen total 32384K, used 31370K [0xcbc00000, 0xcdba0000, 0xcfc00000)
object space 32384K, 96% used [0xcbc00000,0xcdaa2828,0xcdba0000)
Dynamic libraries:
0x00010000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/bin/bcengine
0xff370000      /usr/lib/libsocket.so.1
0xff350000      /usr/lib/libgen.so.1
0xff280000      /usr/lib/libnsl.so.1
0xff340000      /usr/lib/libdl.so.1
0xff260000      /usr/lib/libkstat.so.1
0xff240000      /usr/lib/libkvm.so.1
0xff1f0000      /usr/lib/libelf.so.1
0xff1c0000      /usr/lib/libm.so.1
0xff190000      /usr/lib/libCrun.so.1
0xff390000      /usr/lib/libw.so.1
0xff140000      /usr/lib/libthread.so.1
0xff000000      /usr/lib/libc.so.1
0xff120000      /usr/lib/libmp.so.2
0xff180000      /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
0xfd800000      /groupfiler/axtests/rabi/tibco/adbsol01/jre/1.5.0/lib/sparc/server/libjvm.so
0xfefe0000      /usr/lib/libsched.so.1
0xfefa0000      /groupfiler/axtests/rabi/tibco/adbsol01/jre/1.5.0/lib/sparc/native_threads/libhpi.so
0xfef40000      /groupfiler/axtests/rabi/tibco/adbsol01/jre/1.5.0/lib/sparc/libverify.so
0xfef00000      /groupfiler/axtests/rabi/tibco/adbsol01/jre/1.5.0/lib/sparc/libjava.so
0xfeee0000      /groupfiler/axtests/rabi/tibco/adbsol01/jre/1.5.0/lib/sparc/libzip.so
0xfeca0000      /groupfiler/axtests/rabi/tibco/adbsol01/jre/1.5.0/lib/sparc/libnet.so
0xc7820000      /groupfiler/axtests/rabi/tibco/adbsol01/tibrv/lib/libtibrvjsd.so
0xc7800000      /groupfiler/axtests/rabi/tibco/adbsol01/tibrv/lib/libtibrvcmq.so
0xc73d0000      /groupfiler/axtests/rabi/tibco/adbsol01/tibrv/lib/libtibrvcm.so
0xc73b0000      /groupfiler/axtests/rabi/tibco/adbsol01/tibrv/lib/libtibrvft.so
0xc7390000      /groupfiler/axtests/rabi/tibco/adbsol01/tibrv/lib/libtibrvsd.so
0xc7320000      /groupfiler/axtests/rabi/tibco/adbsol01/tibrv/lib/libtibrv.so
0xc72d0000      /groupfiler/axtests/rabi/tibco/adbsol01/tpcl/5.5/lib/libssl.so
0xc7180000      /groupfiler/axtests/rabi/tibco/adbsol01/tpcl/5.5/lib/libcrypto.so
0xc7150000      /groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/lib/libz.so
0xc7130000      /usr/lib/libpthread.so.1
0xc2580000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libxejni.so
0xc2280000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libace.so
0xc2000000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libec_xerces-c_1_6_0.so
0xc7010000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libStandardsRegSvr.so
0xc6f40000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libJniCommon.so
0xc6e30000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libXEResource.so
0xc1d00000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libXEngine.so
0xc1b80000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libXEKernel.so
0xc1800000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libSlnEDI.so
0xc1780000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libECXDataCreator.so
0xc1500000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libSlnHL7.so
0xc1300000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libSlnPFF.so
0xc1200000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libSlnTRADACOMS.so
0xc1080000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libSlnDFF.so
0xc0e80000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libSlnNCPDP.so
0xc0d80000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libXLinker.so
0xc0c80000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libEnvCrtLinker.so
0xc0a80000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libJSAction.so
0xc0980000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libJAction.so
0xc6d30000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libUPathProcessor.so
0xc6c10000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libEventDataExtender.so
0xc0780000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libDataSplitter.so
0xc0680000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libAckCreator.so
0xc0580000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libEventReporterXML.so
0xc0480000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libEventReporterHTML.so
0xc0380000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libSummaryReportCreator.so
0xc0180000      /usr/lib/libCstd.so.1
0xc6e10000      /usr/lib/libposix4.so.1
0xbff80000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libECRSSvr.so
0xc6b40000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libUPathSvr.so
0xbfe00000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libicuuc.so.34
0xc6a30000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libCharsetSupportSvr.so
0xc6b20000      /usr/lib/libaio.so.1
0xbf400000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libicudata.so.34
0xc6940000      /usr/lib/cpu/sparcv8plus/libCstd_isa.so.1
0xc6a10000      /groupfiler/axtests/rabi/tibco/adbsol01/jre/1.5.0/lib/sparc/libnio.so
0xc6920000      /usr/lib/libsendfile.so.1
0xb5d00000      /groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib/libedi2xmlschema.so
VM Arguments:
jvm_args: -Dbc.enable_lenient_versioncheck=true -Dbmh.process.outbound.threads=8 -Dgateway.runtime.extension.class.EZComm=com.tibco.ax.ezcomm.impl.EZRuntimeExtension -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Dbw.plugin.http.server.minProcessors=25 -DpalettePath=/groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/lib/palettes:/groupfiler/axtests/rabi/tibco/adbsol01/bc/plugins/lib/palettes:/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/lib/palettes -Dtibco_tra_version=5.5 -Dbw.plugin.https.server.deferClientAuthentication=true -Djava.protocol.handler.pkgs=com.tibco.ax.fw.runtime.util -DTIBCO_DOMAIN_NAME=adbsol01_rabi -Dmsh.process.response.threads=8 -Dbc.dblock.monitor.wait=30000 -DjavaCode=/groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/lib/palettes -Dbw.plugin.http.server.response.exposeHeaderString=true -Dtibco_home=/groupfiler/axtests/rabi/tibco/adbsol01 -Dbw.plugin.http.server.maxProcessors=200 -Dmsh.process.inbound.threads=8 -Dbmh.doc.validation.threads=8 -DTIBCO_TRA_HOME=/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5 -DTIBCO_DOMAIN_HOME=/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/../domain -Djavax.net.debug=ssl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Dbc.enginename=adbsol01.na.tibco.com-Interior-Server -Djava.library=/groupfiler/axtests/rabi/tibco/adbsol01/jre/1.5.0/lib/sparc/server/libjvm.so -Xmx640M -Xss512K -Dapplication.processid=23794 -Dwrapper.tra.file=/groupfiler/axtests/rabi/tibco/adbsol01/tra/domain/adbsol01_rabi/application/BusinessConnect/BusinessConnect-Interior_Server.tra
java_command: <unknown>
Launcher Type: generic
Environment Variables:
PATH=/groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/bin:/groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/hotfix/bin:/groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/bin:/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/hotfix/bin:/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/bin:/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/hotfix/icjava/6.2/lib:/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/icjava/6.2/lib:/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/hotfix/icjava/6.2/bin:/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/icjava/6.2/bin:/groupfiler/axtests/rabi/tibco/adbsol01/tpcl/5.5/bin:/groupfiler/axtests/rabi/tibco/adbsol01/tibrv/bin:/groupfiler/axtests/rabi/tibco/adbsol01/hawk/bin:/home/corp/rsahu/bin:/usr/openwin/bin:/bin:/usr/bin:/usr/local/bin:/usr/ucb:/usr/local/netscape:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/X11R6/bin:/usr/ucb:/usr/dt/bin:/usr/local/X11/bin:.
LD_LIBRARY_PATH=/groupfiler/axtests/rabi/tibco/adbsol01/bc/5.1/protocols/edi/tpcl/lib:/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/hotfix/lib:/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/lib:/groupfiler/axtests/rabi/tibco/adbsol01/tpcl/5.5/lib:/groupfiler/axtests/rabi/tibco/adbsol01/tibrv/lib:/groupfiler/axtests/rabi/tibco/adbsol01/jre/1.5.0/lib/sparc/server:/groupfiler/axtests/rabi/tibco/adbsol01/jre/1.5.0/lib/sparc:/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/hotfix/icjava/6.2/lib:/groupfiler/axtests/rabi/tibco/adbsol01/tra/5.5/icjava/6.2/lib:/usr/openwin/lib:/usr/dt/lib:/usr/local/lib:/usr/lib:/usr/local/X11/lib:/usr/local/bin/Reader/sparcsolaris/lib
SHELL=/bin/csh
Signal Handlers:
SIGSEGV: [libjvm.so+0x6ff5b8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
SIGBUS: [libjvm.so+0x6ff5b8], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
SIGFPE: [libjvm.so+0x27299c], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGILL: [libjvm.so+0x27299c], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGUSR1: [libjvm.so+0x672ca4], sa_mask[0]=0x00008000, sa_flags=0x00000008
SIGUSR2: [libjvm.so+0x27299c], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGHUP: [libjvm.so+0x67191c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
SIGINT: [libjvm.so+0x67191c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
SIGQUIT: [libjvm.so+0x67191c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
SIGTERM: [libjvm.so+0x67191c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
--------------- S Y S T E M ---------------
OS: Solaris 8 2/02 s28s_u7wos_08a SPARC
Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
Assembled 18 December 2001
uname:SunOS 5.8 Generic_108528-29 sun4u (T1 libthread)
rlimit: STACK 8192k, CORE infinity, NOFILE 1024, AS infinity
load average:1.60 1.52 0.90
CPU:total 2 has_v8, has_v9, has_vis1, has_vis2, is_ultra3
Memory: 8k page, physical 2097152k(30976k free)
vm_info: Java HotSpot(TM) Server VM (1.5.0_08-b03) for solaris-sparc, built on Jun 28 2006 01:22:05 by unknown with unknown Workshop:0x550
2.
# An unexpected error has been detected by HotSpot Virtual Machine:
# SIGSEGV (0xb) at pc=0xfd8f817c, pid=22294, tid=5
# Java VM: Java HotSpot(TM) Server VM (1.5.0_08-b03 mixed mode)
# Problematic frame:
# V [libjvm.so+0xf817c]
--------------- T H R E A D ---------------
Current thread (0x000f7470): GCTaskThread [id=5]
siginfo:si_signo=11, si_errno=0, si_code=2, si_addr=0xfe373c07
Registers:
O0=0xf3f3a320 O1=0xcbc00000 O2=0x00058ae0 O3=0xfe028fb8
O4=0x0000000e O5=0xf3f3a320 O6=0xfd781330 O7=0xfd8f8108
G1=0x00000116 G2=0x00000000 G3=0x00167398 G4=0x00000458
G5=0xea6b0000 G6=0x1723a348 G7=0xfd781d70 Y=0x00000000
PC=0xfd8f817c nPC=0xfd8f8180
Top of Stack: (sp=0xfd781330)
0xfd781330: 00009638 fdfce000 00009400 f7c00000
0xfd781340: 2c000000 0b000000 ea6b0000 00751c07
0xfd781350: fdc22000 00007114 0000000b fe025164
0xfd781360: 00007000 00058b80 fd781390 fd99be50
0xfd781370: fd7813ec 00000000 00000001 000f793c
0xfd781380: 04b94620 04b94624 fd781d70 00000764
0xfd781390: 000f793c 0002210f 00000000 00000002
0xfd7813a0: 00000012 00000012 fd7814b8 00000000
Instructions: (pc=0xfd8f817c)
0xfd8f816c: f6 04 40 19 af 37 60 09 fa 06 e0 00 f0 07 60 48
0xfd8f817c: f4 2e 00 17 81 c7 e0 08 81 e8 00 00 00 00 00 00
Stack: [0xfd702000,0xfd781d70), sp=0xfd781330, free space=508k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xf817c]
V [libjvm.so+0x19be58]
V [libjvm.so+0x19c068]
V [libjvm.so+0x1b9400]
V [libjvm.so+0x1c0130]
V [libjvm.so+0x34ef60]
V [libjvm.so+0x670740]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x04b96388 JavaThread "Thread-134" [_thread_blocked, id=439]
0x0428f4c8 JavaThread "Thread-133" [_thread_blocked, id=438]
0x04b45850 JavaThread "Thread-132" [_thread_blocked, id=437]
0x04b47fc8 JavaThread "Thread-131" [_thread_blocked, id=436]
0x01594798 JavaThread "Thread-112" [_thread_blocked, id=417]
0x01251fc0 JavaThread "Thread-106" [_thread_blocked, id=411]
0x02ee5c90 JavaThread "Thread-105" [_thread_blocked, id=410]
0x022261e0 JavaThread "Thread-104" [_thread_blocked, id=409]
0x01575b60 JavaThread "Thread-103" [_thread_blocked, id=408]
0x02bda4b8 JavaThread "Timer-1" daemon [_thread_blocked, id=394]
0x031ad9c0 JavaThread "DocumentValidationTPOOL7" [_thread_blocked, id=391]
0x01edbf00 JavaThread "DocumentValidationTPOOL6" [_thread_blocked, id=390]
0x01f7ea28 JavaThread "DocumentValidationTPOOL5" [_thread_blocked, id=389]
0x02b3a470 JavaThread "DocumentValidationTPOOL4" [_thread_in_native, id=388]
0x02648598 JavaThread "DocumentValidationTPOOL3" [_thread_blocked, id=387]
0x011ae790 JavaThread "DocumentValidationTPOOL2" [_thread_blocked, id=386]
0x02f53798 JavaThread "DocumentValidationTPOOL1" [_thread_blocked, id=385]
0x00c75a60 JavaThread "DocumentValidationTPOOL0" [_thread_blocked, id=384]
0x01b0dac8 JavaThread "MailPoller" [_thread_blocked, id=381]
0x02cc0c00 JavaThread "Thread-83" [_thread_in_native, id=380]
0x031c6370 JavaThread "ST-1170723986045" daemon [_thread_blocked, id=379]
0x02e99d10 JavaThread "ProcessResponseTPOOL7" [_thread_blocked, id=378]
0x014a37e8 JavaThread "ProcessResponseTPOOL6" [_thread_blocked, id=377]
0x02ccb4c0 JavaThread "ProcessResponseTPOOL5" [_thread_blocked, id=376]
0x01ee15f8 JavaThread "ProcessResponseTPOOL4" [_thread_blocked, id=375]
0x00d1b858 JavaThread "ProcessResponseTPOOL3" [_thread_blocked, id=374]
0x01ed6a20 JavaThread "ProcessResponseTPOOL2" [_thread_blocked, id=373]
0x02d64fc0 JavaThread "ProcessResponseTPOOL1" [_thread_blocked, id=372]
0x02ccc410 JavaThread "ProcessResponseTPOOL0" [_thread_blocked, id=371]
0x014d4580 JavaThread "Timer-0" daemon [_thread_blocked, id=370]
0x00f73ff0 JavaThread "BC-EDI:LongRunningPool:InterchangeSplitter7" [_thread_blocked, id=369]
0x00f73268 JavaThread "BC-EDI:LongRunningPool:InterchangeSplitter6" [_thread_blocked, id=368]
0x00f724e0 JavaThread "BC-E

Similar Messages

  • Challenge: Different ways to crash the JVM.

    This is a challenge to find different ways to crash the JVM with code written in Java.
    For starters: Mis-use of the Unsafe class.
    Field field = Unsafe.class.getDeclaredField("theUnsafe");
    field.setAccessible(true);
    Unsafe unsafe = (Unsafe) field.get(null);
    unsafe.getObject(null, 0L); // or many variations on methods in this class.

    Although I presume you mean the latest JVM (6u11), I can reproduce a crash with 1.5.0_05 fairly frequently using the SQL tool "squirrel" ( [http://squirrel-sql.sourceforge.net/]) during startup (while the splash screen is visible):
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  SIGSEGV (0xb) at pc=0xb7a02c41, pid=9019, tid=2651868080
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_05-b05 mixed mode)
    # Problematic frame:
    # V  [libjvm.so+0x39ec41]The crash is not reproducible on 6u10 (haven't tried it with 6u11), so I don't know how relevant this tidbit actually is but would be glad to check into it with a few other JVMs. For what it's worth, the above happens on RH Enterprise Linux (2.6.9 kernel, smt, Xeon CPU).

  • Java documentation for ACE ?  It's crashing my JVM !

    Hi,
    I have taken over an existing installation (running on Linux) and we are producing a CASS report via Java. I have to move some files out of the apps base directory and ACE keeps crashing the JVM without any error message other than the JVM dump.
    None of the documentation I can find at work has anything to do with Java, or with how to interface with ACE.
    Does such documentation exist ?  Even a JavaDoc would be useful.
    Thanks,
    Craig.
    Edited by: Crashmeister on Jun 10, 2009 6:48 PM

    Thanks for the response. I have the problem fixed. This is what I can tell you:
    1. This is using AceRapid.jar   (Version 220c ???)
    2. I found some limited documentation in the opt/postware directory on our linux box. The doc was not very useful. A proper javadoc that can be referenced from inside an IDE is preferable.
    3. Our Java Cass job class extends AceJobApp.
    4. Processing is done by:     processJob(CONFIG_PATH + _jobName + ".ace");
    5. Our input db feeds it records from the database.
    6. Our output db calls getRecord();
    7. After processing, we read this file:  TEMP_PATH + jobName + "out.353". As far as I know, this file is created by the call calls to getRecord().
    Finally, the reason for the JVM crash was:
        // Note: The first param below needs to be echoed in the cass_default.ace config
        // file in the 'Post to Output File' section.
        dbOut = new CassDbOut(CONFIGPATH + "output", out);
        addFirstlogicDb(_dbOut);
    From the config file:
    BEGIN  Post to Output File =====================================
    Output File Name (path & filename)... = config/output
    The issue was that the two paths did not agree. The config file was missing the 'config/' before the filename.
    An error stating that the file could not be found would be preferable to a crashed JVM 
    Thanks,
    Craig.

  • JVM 1.5.0_07 crash

    Hi,
    We are using vertex O series in Sun OS.
    We have configured JCO to connect to other system and the connector is crashing and it is creating a file hs_err_pid<pid>.log with the following contents.
    Earlier it creates the same files frequently but without contents.After upgrading the jdk from 1.4.2_12 to 1.5.0_07, it started giving the error contents.
    Also we are using 64bit jco(java connector) for the connection and the jdk version shows mixed mode(32 bit and 64 bit).
    Please help me to resolve the error.
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0xff2c7d40, pid=23625, tid=14
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_07-b03 mixed mode)
    # Problematic frame:
    # C [libc.so.1+0x47d40]
    --------------- T H R E A D ---------------
    Current thread (0x005ca8f0): JavaThread "JCO.ServerThread-1" [_thread_in_native, id=14]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000038
    Registers:
    O0=0x0052a198 O1=0x000742fc O2=0xff3429bc O3=0x00000008
    O4=0x00000008 O5=0x0063bce0 O6=0xd327ec38 O7=0xff2c7d04
    G1=0x0000f000 G2=0x00001ffc G3=0x00172a3c G4=0xff018638
    G5=0x00000002 G6=0x00000000 G7=0xff351a00 Y=0x00000000
    PC=0xff2c7d40 nPC=0xff2c7d44
    Top of Stack: (sp=0xd327ec38)
    0xd327ec38: 00000040 ff3429b8 ff351a00 00000000
    0xd327ec48: fe9f3794 0000000e 00000000 00000000
    0xd327ec58: 00000040 00000000 ff01863c ff33c000
    0xd327ec68: 000082f0 00008000 d327ec98 ff2c7cf0
    0xd327ec78: 00007400 d327eccc ff010ca8 d4d4c22c
    0xd327ec88: 005ca9ac 006af9f4 006afa58 ff018ffc
    0xd327ec98: ff3405a8 00000001 00008b4c 00008c00
    0xd327eca8: 00008800 00000000 00006ef4 00006c00
    Instructions: (pc=0xff2c7d40)
    0xff2c7d30: d6 24 60 00 80 a6 00 08 22 80 00 22 d6 24 60 00
    0xff2c7d40: d0 06 3f f8 80 8a 20 01 22 80 00 1e d6 24 60 00
    Stack: [0xd3200000,0xd3280000), sp=0xd327ec38, free space=507k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libc.so.1+0x47d40]
    C [libc.so.1+0x47cf8] free+0x28
    C [libsapjcorfc.so+0x16984]
    C [librfccm.so+0x700c0]
    C [librfccm.so+0x6b5c4]
    C [librfccm.so+0x6b370] RfcDispatch+0x7c
    C [libsapjcorfc.so+0x172c0] Java_com_sap_mw_jco_rfc_MiddlewareRFC_00024Server_nativeListen+0x888
    j com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Lcom/sap/mw/jco/JCO$Server;Ljava/lang/String;)V+35660
    j com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Lcom/sap/mw/jco/JCO$Server;Ljava/lang/String;)V+0
    j com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(Lcom/sap/mw/jco/JCO$Server;Ljava/lang/String;)V+3
    j com.sap.mw.jco.JCO$Server.listen()V+45
    j com.sap.mw.jco.JCO$Server.run()V+70
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    V [libjvm.so+0x19addc]
    V [libjvm.so+0x2c39d4]
    V [libjvm.so+0x2e2f4c]
    V [libjvm.so+0x2deae8]
    V [libjvm.so+0x6691b0]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Lcom/sap/mw/jco/JCO$Server;Ljava/lang/String;)V+0
    j com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(Lcom/sap/mw/jco/JCO$Server;Ljava/lang/String;)V+3
    j com.sap.mw.jco.JCO$Server.listen()V+45
    j com.sap.mw.jco.JCO$Server.run()V+70
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x00036e40 JavaThread "DestroyJavaVM" [_thread_blocked, id=1]
    0x0067f418 JavaThread "Thread-1" [_thread_blocked, id=17]
    0x00559018 JavaThread "JCO.ServerThread-3" [_thread_in_native, id=16]
    0x00707138 JavaThread "JCO.ServerThread-2" [_thread_in_native, id=15]
    =>0x005ca8f0 JavaThread "JCO.ServerThread-1" [_thread_in_native, id=14]
    0x003435b8 JavaThread "JCO.TimeoutChecker" daemon [_thread_blocked, id=13]
    0x0014a0e0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11]
    0x00148810 JavaThread "CompilerThread1" daemon [_thread_blocked, id=10]
    0x001479a0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9]
    0x00146b30 JavaThread "AdapterThread" daemon [_thread_blocked, id=8]
    0x00145d28 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7]
    0x001394b0 JavaThread "Finalizer" daemon [_thread_blocked, id=6]
    0x00138f70 JavaThread "Reference Handler" daemon [_thread_blocked, id=5]
    Other Threads:
    0x00136e90 VMThread [id=4]
    0x0014bd70 WatcherThread [id=12]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    PSYoungGen total 39424K, used 30539K [0xee000000, 0xf3000000, 0xf8c00000)
    eden space 36352K, 75% used [0xee000000,0xefad4100,0xf0380000)
    from space 3072K, 99% used [0xf2d00000,0xf2ffeb70,0xf3000000)
    to space 7232K, 0% used [0xf21e0000,0xf21e0000,0xf28f0000)
    PSOldGen total 45056K, used 5690K [0xd8800000, 0xdb400000, 0xee000000)
    object space 45056K, 12% used [0xd8800000,0xd8d8eba8,0xdb400000)
    PSPermGen total 16384K, used 8788K [0xd4800000, 0xd5800000, 0xd8800000)
    object space 16384K, 53% used [0xd4800000,0xd5095040,0xd5800000)
    Dynamic libraries:
    0x00010000      /usr/jdk1.5.0_07/bin/java
    0xff370000      /usr/lib/libthread.so.1
    0xff3fa000      /usr/lib/libdl.so.1
    0xff280000      /usr/lib/libc.so.1
    0xff3a0000      /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
    0xfe800000      /usr/jdk1.5.0_07/jre/lib/sparc/server/libjvm.so
    0xff240000      /usr/lib/libsocket.so.1
    0xff220000      /usr/lib/libsched.so.1
    0xff1f0000      /usr/lib/libCrun.so.1
    0xff1a0000      /usr/lib/libm.so.1
    0xff080000      /usr/lib/libnsl.so.1
    0xff170000      /usr/lib/libmp.so.2
    0xff050000      /usr/jdk1.5.0_07/jre/lib/sparc/native_threads/libhpi.so
    0xfe7c0000      /usr/jdk1.5.0_07/jre/lib/sparc/libverify.so
    0xfe780000      /usr/jdk1.5.0_07/jre/lib/sparc/libjava.so
    0xfe750000      /usr/jdk1.5.0_07/jre/lib/sparc/libzip.so
    0xd3a80000      /SIC_RQ1/lib/libsapjcorfc.so
    0xd3400000      /SIC_RQ1/lib/librfccm.so
    0xff040000      /usr/lib/libw.so.1
    0xfb3d0000      /usr/lib/libpthread.so.1
    0xfb1d0000      /usr/jdk1.5.0_07/jre/lib/sparc/libnet.so
    VM Arguments:
    jvm_args: -Xms64M -Xmx512M
    java_command: com.vertexinc.sic.SicServer /SIC_RD1/conf/sic-default.xml
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=/usr/jdk1.5.0_07
    CLASSPATH=:/SIC_RD1/lib/sapjco.jar:/SIC_RQ1/lib/sapjco.jar:/SIC_RS1/lib/sapjco.jar:/SIC_RT1/lib/sapjco.jar:/SIC_ED1/lib/sapjco.jar:/SIC_EQ1/lib/sapjco.jar:/SIC_ES1/lib/sapjco.jar:/SIC_ET1/lib/sapjco.jar:.
    PATH=/usr/jdk1.5.0_07/bin:/usr/bin:/usr/ucb:/etc:/usr/jdk1.5.0_07/bin:.
    LD_LIBRARY_PATH=/usr/jdk1.5.0_07/jre/lib/sparc/server:/usr/jdk1.5.0_07/jre/lib/sparc:/usr/jdk1.5.0_07/jre/../lib/sparc:/SIC_RD1/lib:/SIC_RQ1/lib:/SIC_RS1/lib:/SIC_RT1/lib:/SIC_ED1/lib:/SIC_EQ1/lib:/SIC_ES1/lib:/SIC_ET1/lib:.
    SHELL=/bin/sh
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x6f60b8], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
    SIGBUS: [libjvm.so+0x6f60b8], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
    SIGFPE: [libjvm.so+0x276398], sa_mask[0]=0x7fbffeff, sa_flags=0x0000000c
    SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGILL: [libjvm.so+0x276398], sa_mask[0]=0x7fbffeff, sa_flags=0x0000000c
    SIGUSR1: [libjvm.so+0x66b714], sa_mask[0]=0x00000000, sa_flags=0x00000008
    SIGUSR2: [libjvm.so+0x276398], sa_mask[0]=0x7fbffeff, sa_flags=0x0000000c
    SIGHUP: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: [libjvm.so+0x66a38c], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
    SIGTERM: [libjvm.so+0x66a38c], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
    --------------- S Y S T E M ---------------
    OS: Solaris 9 9/05 s9s_u8wos_05 SPARC
    Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 04 August 2005
    uname:SunOS 5.9 Generic_118558-21 sun4u (T2 libthread)
    rlimit: STACK 8192k, CORE infinity, NOFILE 8192, AS infinity
    load average:0.03 0.04 0.05
    CPU:total 2 has_v8, has_v9, has_vis1, has_vis2, is_ultra3
    Memory: 8k page, physical 4194304k(151480k free)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_07-b03) for solaris-sparc, built on May 3 2006 01:22:35 by unknown with unknown Workshop:0x550
    Regards,
    Vijay

    Its crashing on your native code (i mean not in JVM code). You should
    run (or attach) the server with gdb, and see the trace.

  • WebLogic Server Template builder(config_builder.sh) crashes JRocket JVM

    Hi, I am trying to create a new template from my working OSB/WLS(10.3.4) env. Every time I run it after 3-4 screens the JRocket JVM crashes with core dump. Following is my error message that I see in the console.
    pbora@pbora-lap:~/myinstalls/unixtools/devtools/oracle/middleware_10340$ *./wlserver_10.3/common/bin/config_builder.sh*
    Warning: Cannot convert string "-dejavu-dejavu sans-medium-r-normal--*-140-*-*-p-*-iso10646-1" to type FontStruct
    [JRockit] ERROR: The JVM has crashed. Writing crash information to /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/common/lib/jrockit.8962.dump.
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 00:00:34 on Thu Mar 3 12:41:08 2011
    * If you see this dump, please go to *
    * http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html *
    * for troubleshooting information. *
    Additional information is available in:
    /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/common/lib/jrockit.8962.dump
    No snapshot file (core dump) will be created because core dumps have been
    disabled. To enable core dumping, try "ulimit -c unlimited"
    before starting JRockit again.
    Error Message: Illegal memory access. [54]
    Signal info : si_signo=11, si_code=1 si_addr=0x3e
    Version : Oracle JRockit(R) R28.1.1-14-139783-1.6.0_22-20101206-0241-linux-ia32
    CPU : Intel Core 2 SSE SSE2 SSE3 SSSE3 SSE4.1 Core Intel64
    Number CPUs : 2
    Tot Phys Mem : 3651125248 (3481 MB)
    OS version : squeeze/sid
    Linux version 2.6.35-25-generic (buildd@palmer) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 (i686)
    Thread System: Linux NPTL
    LibC release : 2.12.1-stable
    Java locking : Lazy unlocking enabled (class banning) (transfer banning)
    State : JVM is running
    Command Line : -Xms128m -Xmx1024m -Dprod.props.file=/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/.product.properties -Dsun.java.launcher=SUN_STANDARD com.oracle.cie.wizard.WizardController -target=template
    Repository :
    java.home : /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre
    j.class.path : /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/patch_wls1034/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/patch_oepe1040/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/lib/tools.jar:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/utils/config/10.3/config-launch.jar:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/server/lib/weblogic_sp.jar:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/server/lib/weblogic.jar:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/modules/features/weblogic.server.modules_10.3.4.0.jar:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/server/lib/webservices.jar:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/common/derby/lib/derbynet.jar:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/common/derby/lib/derbyclient.jar:
    j.lib.path : /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/jrockit:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/../lib/i386:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/patch_wls1034/profiles/default/native:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/patch_oepe1040/profiles/default/native:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/patch_ocp360/profiles/default/native:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/server/native/linux/i686:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/server/native/linux/i686/oci920_8
    JAVA_HOME : /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3
    JAVAOPTIONS: <not set>
    LD_LIBRARY_PATH: /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/jrockit:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/../lib/i386:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/patch_wls1034/profiles/default/native:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/patch_oepe1040/profiles/default/native:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/patch_ocp360/profiles/default/native:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/server/native/linux/i686:/home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/wlserver_10.3/server/native/linux/i686/oci920_8
    LD_ASSUME_KERNEL: <not set>
    LD_PRELOAD : <not set>
    StackOverFlow: 0 StackOverFlowErrors have occured
    OutOfMemory : 0 OutOfMemoryErrors have occured
    C Heap : Good; no memory allocations have failed
    GC Strategy : Mode: throughput, with strategy: genparpar (basic strategy: genparpar)
    GC Status : OC is not running. Last finished OC was OC#0.
    : YC is not running. Last finished YC was YC#8.
    YC Promotion : Last YC successfully promoted all objects
    YC History : Ran 8 YCs since last OC.
    Heap : 0x75fa2000 - 0x7dfa2000 (Size: 128 MB)
    Compaction : (no compaction area)
    Allocation : TLA-min: 2048, TLA-preferred: 65536 TLA-waste limit: 2048
    NurseryList : 0x75fa2000 - 0x79fa2000
    KeepArea : 0x78fa1fd0 - 0x79fa2000
    KA Markers : [ 0x77fa1fe0,  0x78fa1fd0 , 0x79fa2000 ]
    Forbidden A : (none)
    Previous KA : 0x77fa1fe0 - 0x78fa1fd0
    Previous FA : (none)
    CompRefs : References are 32-bit.
    Registers (from ThreadContext: 0x72ac86cc:
    eax = 00000000 ecx = 73512c9c edx = b767e9c0 ebx = 7336c380
    esp = 72ac8a00 ebp = 72ac8e58 esi = 70f724a0 edi = 72ac8e7c
    es = 0000007b cs = 00000073 ss = 0000007b ds = 0000007b
    fs = 00000000 gs = 00000033
    eip = 73165387 eflags = 00010246
    Loaded modules:
    (* denotes the module where the exception occured)
    08048000-08057173 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/bin/java
    b7876000-b7876416 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/bin/java
    b785a000-b785bc0b /lib/libdl.so.2
    b7840000-b7854eab /lib/libpthread.so.0
    b76e3000-b7839d3f /lib/libc.so.6
    b7877000-b7892a83 /lib/ld-linux.so.2
    b73aa000-b766c277 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/jrockit/libjvm.so
    b738d000-b73a746b /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/libosal.so
    b7868000-b78725cf /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/libutil.so
    b7352000-b73752d7 /lib/libm.so.6
    b785f000-b78652eb /lib/librt.so.1
    b6a49000-b6a4ef5b /lib/libnss_compat.so.2
    b6a32000-b6a447e3 /lib/libnsl.so.1
    b6a27000-b6a2f227 /lib/libnss_nis.so.2
    b6a1b000-b6a24543 /lib/libnss_files.so.2
    b696e000-b697a687 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/libjfr.so
    73c73000-73c7d9bb /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/libverify.so
    73c4e000-73c70947 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/libjava.so
    73be7000-73bece50 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/native_threads/libhpi.so
    7386e000-7387c2e4 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/libzip.so
    73371000-733f4e06 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/libawt.so
    730d2000-7335a25b */home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/motif21/libmawt.so
    b737c000-b737fe67 /usr/lib/libXtst.so.6
    7360b000-7361822f /usr/lib/libXext.so.6
    72fb5000-730cd2d7 /usr/lib/libX11.so.6
    72fa7000-72fb2beb /usr/lib/libXi.so.6
    72f8d000-72fa455f /usr/lib/libxcb.so.1
    b7378000-b73797af /usr/lib/libXau.so.6
    73605000-73608b63 /usr/lib/libXdmcp.so.6
    72e65000-72edd70f /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/libfontmanager.so
    72c60000-72c675c7 /usr/lib/libXcursor.so.1
    72c56000-72c5d2eb /usr/lib/libXrender.so.1
    72c50000-72c53487 /usr/lib/libXfixes.so.3
    7273e000-72750ed8 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/libnet.so
    72c70000-72c76424 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/libnio.so
    72a61000-72a66013 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/liborii.so
    725e7000-7263ac66 /home/pbora/myinstalls/unixtools/devtools/oracle/middleware_10340/jrockit_160_22_D1.1.1-3/jre/lib/i386/libcmm.so
    Stack:
    (* marks the word pointed to by the stack pointer)
    72ac8a00: 73512c9c* 72ac8e7c 70b79240 b7893ff4 09e87b78 73468acc
    72ac8a18: 73512d70 72ac8a00 7af101a8 77783998 73512b18 73880926
    72ac8a30: 00000001 00000008 70f724a0 00000000 7af0daa1 77783998
    72ac8a48: 7af0daa0 00000008 00000001 72ac8b80 72ac8e54 7346890f
    Code:
    (* marks the word pointed to by the instruction pointer)
    73165354: 8bffff42 fffbe0b5 084689ff 850fc085 fffffd05 8b084d8b
    7316536c: 00123883 e0b58b00 8bfffffb 247c8911 240c8904 08244489
    73165384: 0f0c468b* 893e40bf ff0c2444 0001b492 08458b00 7c89108b
    7316539c: 04890424 3c838b24 89000012 8b082444 bf0f0c46 44894040
    Last optimized methods:
    No methods optimized.
    Thread:
    "AWT-EventQueue-0" id=17 idx=0x44 tid=8979 lastJavaFrame=0x72ac8e6c
    Stack 0: start=0x72aa8000, end=0x72aca000, guards=0x72aad000 (ok), forbidden=0x72aab000
    Thread Stack Trace:
    at Java_sun_awt_motif_X11FontMetrics_init+983()@0x73165387
    -- Java stack --
    at sun/awt/motif/X11FontMetrics.init()V(Native Method)
    at sun/awt/motif/X11FontMetrics.<init>(X11FontMetrics.java:103)
    at sun/awt/motif/X11FontMetrics.getFontMetrics(X11FontMetrics.java:209)
    at sun/awt/motif/MComponentPeer.getFontMetrics(MComponentPeer.java:506)
    at sun/awt/motif/MLabelPeer.getMinimumSize(MLabelPeer.java:34)
    at sun/awt/motif/MComponentPeer.getPreferredSize(MComponentPeer.java:440)
    at sun/awt/motif/MComponentPeer.preferredSize(MComponentPeer.java:1017)
    at java/awt/Component.preferredSize(Component.java:2489)
    at java/awt/Component.getPreferredSize(Component.java:2473)
    at java/awt/GridBagLayout.GetLayoutInfo(GridBagLayout.java:1092)
    at java/awt/GridBagLayout.getLayoutInfo(GridBagLayout.java:893)
    at java/awt/GridBagLayout.preferredLayoutSize(GridBagLayout.java:713)
    at java/awt/Container.preferredSize(Container.java:1599)
    at java/awt/Container.getPreferredSize(Container.java:1584)
    at javax/swing/JComponent.getPreferredSize(JComponent.java:1636)
    at java/awt/FlowLayout.layoutContainer(FlowLayout.java:594)
    at java/awt/Container.layout(Container.java:1421)
    at java/awt/Container.doLayout(Container.java:1410)
    at java/awt/Container.validateTree(Container.java:1507)
    at java/awt/Container.validateTree(Container.java:1513)
    at java/awt/Container.validateTree(Container.java:1513)
    at java/awt/Container.validateTree(Container.java:1513)
    at java/awt/Container.validateTree(Container.java:1513)
    at java/awt/Container.validateTree(Container.java:1513)
    at java/awt/Container.validateTree(Container.java:1513)
    at java/awt/Container.validateTree(Container.java:1513)
    at java/awt/Container.validate(Container.java:1480)
    at javax/swing/RepaintManager.validateInvalidComponents(RepaintManager.java:669)
    at javax/swing/SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:124)
    at java/awt/event/InvocationEvent.dispatch(InvocationEvent.java:209)
    at java/awt/EventQueue.dispatchEvent(EventQueue.java:597)
    at java/awt/EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java/awt/EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java/awt/EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java/awt/EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java/awt/EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java/awt/EventDispatchThread.run(EventDispatchThread.java:122)
    at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
    -- end of trace
    Memory usage report:
    Total mapped 1211940KB (reserved=947992KB)
    - Java heap 1048576KB (reserved=917504KB)
    - GC tables 35084KB
    - Thread stacks 11148KB (#threads=18)
    - Compiled code 5120KB (used=4875KB)
    - Internal 1480KB
    - OS 43748KB
    - Other 38112KB
    - Java class data 27648KB (malloced=27492KB #33119 in 5969 classes)
    Not tracing sites.
    - Native memory tracking 1024KB (malloced=74KB #8)
    Not tracing sites.
    Set the env variable TRACE_ALLOC_SITES=1 or use the print_memusage switch
    trace_alloc_sites=true to enable alloc site tracing.
    * If you see this dump, please go to *
    * http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html *
    * for troubleshooting information. *
    ===== END DUMP ===============================================================
    Aborted
    pbora@pbora-lap:~/myinstalls/unixtools/devtools/oracle/middleware_10340$ Connection timed out
    java.net.ConnectException: Connection timed out
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)
         at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
         at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)
         at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1019)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
         at org.python.pydev.logging.ping.LogPingSender.sendPing(LogPingSender.java:52)
         at org.python.pydev.logging.ping.SynchedLogPing.send(SynchedLogPing.java:158)
         at org.python.pydev.logging.ping.AsyncLogPing.consumeAllCommands(AsyncLogPing.java:125)
         at org.python.pydev.logging.ping.AsyncLogPing.access$0(AsyncLogPing.java:94)
         at org.python.pydev.logging.ping.AsyncLogPing$1.run(AsyncLogPing.java:41)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Hi Prantor,
    Please check in your profile that by any chance Mistakenly you have set the following value in your user profile at OS level:
    export AWT_TOOLKIT="MToolkit"
    Above option creates issues with the Java GUIs.....*As an alternative you can start your builder tool in console mode (Non_GUI) mode.*
    Also please refer to : http://ubuntuforums.org/showthread.php?t=1475842
    The main reason of JRockit Crash is in the following lines of your error:
    Warning: Cannot convert string "-dejavu-dejavu sans-medium-r-normal--*-140-*-*-p-*-iso10646-1" to type FontStructThanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic/  (Middleware Magic Is Here)

  • Why does using a static jclass variable within a method crash the JVM?

    I have some native code, that in a single thread, loops over a Java method. To improve performance, I tried this:
        static jclass clazz = env->FindClass("foo");
        /*FIXME: GetStaticMethodID crashes with "Bad global or local reference"*/
        jmethodID mid = env->GetStaticMethodID(clazz, "makeEvent", sig);But with the static declaration of clazz, the JVM crashes on the second iteration. Why? Is this really any different then using a C++ member field ?
    My loop is really a bit more complicated then this, in that it starts several calls up. I hate the idea of
    A) actually calling FindClass every iteration.
    B) passing the clazz pointer through 3 layers of calls, just to avoid calling FindClass
    Is there a better way?
    Thanks!

    Well I tried this, and it does not compile, becuase NewGlobalRef returns jobject not jclass.
    Yes "jclass" is a pointer to a c++ object jclass, and jclass extends _object. However,
    static jclass myGlobalRef dynamic_cast<jclass>( NewGlobalRef (myJClass));Does not compile either. The error is
    error C2683: 'dynamic_cast' : '_jobject' is not a polymorphic type
    static jclass myGlobalRef static_cast<jclass>( NewGlobalRef (myJClass));
    DOES compile, but it is very dangerous. And using static_cast when dynamic_cast fails is a super-bad idea.
    Just for laughs, I tried it anyway, and when I use -Xcheck:jni, the JVM dies with a fatal error.
    Edited by: charlweed on Sep 19, 2009 3:56 PM
    Typo

  • Crash in jvm.dll: Object.clone()

    I'm working on a desktop app that sometimes runs cpu- and memory-intensive graph manipulations. We just saw the following error. I don't like to assume that I've found a JVM bug, but of all the explanations I've thought of so far that seems to be by far the strongest.
    # An unexpected error has been detected by Java Runtime Environment:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d8fe397, pid=4680, tid=3752
    # Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode windows-x86)
    # Problematic frame:
    # V  [jvm.dll+0xfe397]
    ---------------  T H R E A D  ---------------
    Current thread (0x4b8ec800):  JavaThread "Precomputing action graphs" [_thread_in_vm, id=3752, stack(0x4e4b0000,0x4e8b0000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0x80000068
    Registers:
    (cut)
    Top of Stack: (sp=0x4e8af53c)
    (cut)
    Instructions: (pc=0x6d8fe397)
    0x6d8fe387:   eb 0b df 2c c8 df 3c ca 83 e9 01 7d f5 8b 57 04
    0x6d8fe397:   8b 42 68 89 45 0c 8b 4d 0c 89 0f 8b 15 34 06 a3
    Stack: [0x4e4b0000,0x4e8b0000],  sp=0x4e8af53c,  free space=4093k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V  [jvm.dll+0xfe397]
    J  java.lang.Object.clone()Ljava/lang/Object;
    J  com.fairisaac.....cloneArrayListofShortArray()
    j  java.lang.Thread.run()V+11
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x4b6eac00 JavaThread "Thread-13" [_thread_blocked, id=4064, stack(0x4ee00000,0x4f200000)]
    =>0x4b8ec800 JavaThread "Precomputing action graphs" [_thread_in_vm, id=3752, stack(0x4e4b0000,0x4e8b0000)]
      0x4b780800 JavaThread "prefuse_ActivityManager" daemon [_thread_blocked, id=4196, stack(0x4c8f0000,0x4ccf0000)]
      0x4b804000 JavaThread "Thread-5" [_thread_blocked, id=1488, stack(0x4f200000,0x4f600000)]
      0x4b855800 JavaThread "Swing-Shell" daemon [_thread_blocked, id=4328, stack(0x4d0e0000,0x4d4e0000)]
      0x002a7000 JavaThread "DestroyJavaVM" [_thread_blocked, id=6124, stack(0x008c0000,0x00cc0000)]
      0x4b6d7800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=804, stack(0x4c280000,0x4c680000)]
      0x4a56f000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=260, stack(0x4be80000,0x4c280000)]
      0x4a513000 JavaThread "TimerQueue" daemon [_thread_blocked, id=5028, stack(0x4ba80000,0x4be80000)]
      0x4a447400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5108, stack(0x4adf0000,0x4b1f0000)]
      0x4a4bd000 JavaThread "AWT-Shutdown" [_thread_blocked, id=2516, stack(0x4a9f0000,0x4adf0000)]
      0x4a4a6800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6108, stack(0x4a5f0000,0x4a9f0000)]
      0x48e15c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5896, stack(0x49f20000,0x4a320000)]
      0x48e0f800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4496, stack(0x49ed0000,0x49f20000)]
      0x48e0e000 JavaThread "Attach Listener" daemon [_thread_blocked, id=2180, stack(0x49ad0000,0x49ed0000)]
      0x48e0cc00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2468, stack(0x496d0000,0x49ad0000)]
      0x48dfc800 JavaThread "Finalizer" daemon [_thread_blocked, id=5300, stack(0x492d0000,0x496d0000)]
      0x48df7c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=4656, stack(0x48ed0000,0x492d0000)]
    Other Threads:
      0x48df2c00 VMThread [stack: 0x48e80000,0x48ed0000] [id=1776]
      0x48e20000 WatcherThread [stack: 0x4a320000,0x4a370000] [id=4820]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation   total 72576K, used 40121K [0x02d40000, 0x07c00000, 0x07c00000)
      eden space 64512K,  50% used [0x02d40000, 0x04d38588, 0x06c40000)
      from space 8064K,  91% used [0x07420000, 0x07b560c0, 0x07c00000)
      to   space 8064K,   0% used [0x06c40000, 0x06c40000, 0x07420000)
    tenured generation   total 967936K, used 420542K [0x07c00000, 0x42d40000, 0x42d40000)
       the space 967936K,  43% used [0x07c00000, 0x216af9f0, 0x216afa00, 0x42d40000)
    compacting perm gen  total 16896K, used 16857K [0x42d40000, 0x43dc0000, 0x46d40000)
       the space 16896K,  99% used [0x42d40000, 0x43db64e8, 0x43db6600, 0x43dc0000)
    No shared spaces configured.
    VM Arguments:
    jvm_args: -Xmx1024m -Xss4096k -Djava.util.logging.config.file=logging.properties
    java_command: com.fairisaac.ruleviz.demo.Application -triad -datadisplay -edit -reorderable -comparable
    Launcher Type: SUN_STANDARD
    ---------------  S Y S T E M  ---------------
    OS: Windows XP Build 2600 Service Pack 2
    Memory: 4k page, physical 2097151k(1247624k free), swap 4194303k(4194303k free)
    vm_info: Java HotSpot(TM) Client VM (11.0-b15) for windows-x86 JRE (1.6.0_10-b33), built on Sep 26 2008 01:00:43 by "java_re" with MS VC++ 7.1

    inferno0069 wrote:
    Thanks, but I'd already found that out from the first search I did.
    We have no JNI code. I am pretty certain that no library we use has any either, though if you have a 100% way to verify or enforce that, it could be helpful.
    Short of parsing class files that isn't possible. A library might use a OS library so you can't just look for a shared library.
    Assuming I'm right in that last paragraph, is it more likely that we found some sort of bug in Sun's native code (maybe already discovered?) or that there was a hardware failure (e.g. bad memory / CPU produces wrong bytes)?Or software on the system that is causing it. Patches in the wrong order, bad patches, corrupted, etc can cause it.
    >
    Is there a different part of hs_err_... that I could post to make answering these questions easier? The full thing didn't fit because of the character limit on this forum.An actual VM bug with a crash is only 'solvable' by creating a bug and attaching the crash file.
    Posting it here is unlikely to produce a solution.
    A solution is unlikely to show up soon via the bug nor the forums. If you have a sales/support contract with Sun that might lead to a solution.
    If you don't have that then your only choice is to use log files to determine where the crash occured, and then try different code to see if it goes away.

  • IWS 4.1 crashes when jvm.classpath is too long

    When our jvm.classpath is very long, IWS crashes with the following message:
    [29/Mar/2002:14:34:46] catastrophe ( 310): Server crash detected (signal
    SIGSEGV)
    [29/Mar/2002:14:34:46] info ( 310): Crash occurred in NSAPI SAF
    NSServletLateInit
    [29/Mar/2002:14:34:46] info ( 310): Crash occurred in function strlen from
    module /usr/lib/libc.so.1
    Is there a good workaround? Can you nest jar files - that is, have one jar file that contains other jar files?
    For a lot of usability reasons, we hate to package everything in one huge jar file. We want to keep the manifests, and know what library versions we're using by looking at the classpath.
    Thanks!

    hi,
    what version of JDK you have installed?
    regards,
    saravanan

  • JVM crashes after ClassLoader-problem in Eclipse-Plugin using Eclipse 3.4

    Hi all
    while using plug-in com.lti.civil for displaying webcam in a SWT-Window or Swing-Frame the JVM crashed before displaying the stream.
    It isn't happening when using in a normal java-project. it happens when it's implemented in a plugin.
    I think it is a class-loader-problem.
    I've debugged and came to the following technical result:
    - Class NativeVideoFormat not found
    - NoClassDefFoundError: 40
    - JVM (jdk1.6.0_07\jre\bin) crashed with exit code -1073741819
    I'm looking for days for a solution. Please somebody may help me!
    Thanks very much.
    Edited by: Martin_Pulfer on Feb 16, 2009 5:03 AM
    Edited by: Martin_Pulfer on Feb 16, 2009 5:04 AM

    The crash log is pretty generic, it's hard to say where exactly it crashed... The best way to report such incidents is to file bugs to JavaFX JIRA (http://javafx-jira.kenai.com), but without a details crash log or a test case, the bug will likely be closed as not reproducible.

  • JVM crash on NIO

    Hi,
    I have written a piece of software that does a lot of NIO work by accepting connections on a few Server sockets and reading/writing data on the resulting client sockets. However, "suddenly" my JVM starting crashing shortly after a few tens/hundred clients have connected to this server. I'm saying "suddenly" because I cannot say that the code did not change from the previous version, it did - but whatever I did, crashing the JVM is something I shouldn't be able to do.
    The dump report is below, I'd appreciate any help guys ! :)
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_GUARD_PAGE (0x80000001) at pc=0x25fd1a49, pid=6656, tid=5644
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_05-b05 mixed mode)
    # Problematic frame:
    # C [CtxLsp.dll+0x1a49]
    --------------- T H R E A D ---------------
    Current thread (0x26180130): JavaThread "CommunicationManager" [_thread_in_native, id=5644]
    siginfo: ExceptionCode=0x80000001, ExceptionInformation=0x00000001 0x283e0820
    Registers:
    EAX=0x00001d1c, EBX=0x283dc740, ECX=0x00001cdc, EDX=0x283d95b0
    ESP=0x283d9360, EBP=0x00000000, ESI=0x26026ec8, EDI=0x283d94ac
    EIP=0x25fd1a49, EFLAGS=0x00010202
    Top of Stack: (sp=0x283d9360)
    0x283d9360: 283d9394 283dd744 25fd1cee 283d94ac
    0x283d9370: 283de748 25fd961b 283d93a8 283d94ac
    0x283d9380: 283d95b0 283de748 000b2e30 283d970c
    0x283d9390: 283dc740 26026e08 26026ec8 2602ff68
    0x283d93a0: 25feb018 00000001 00000046 00002374
    0x283d93b0: 0000237c 00002228 00002218 000021d0
    0x283d93c0: 000021c0 0000218c 00002118 000020f4
    0x283d93d0: 000020cc 000020bc 000020a8 00002098
    Instructions: (pc=0x25fd1a49)
    0x25fd1a39: 8d a4 24 00 00 00 00 8b 0e e8 49 51 00 00 8b 0f
    0x25fd1a49: 89 44 8f 04 ff 07 8b 76 08 85 f6 75 ea 5e 33 c0
    Stack: [0x283a0000,0x283e0000), sp=0x283d9360, free space=228k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [CtxLsp.dll+0x1a49]
    [error occurred during error reporting, step 120, id 0xc0000005]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(JI[I[I[IJ)I+0
    j sun.nio.ch.WindowsSelectorImpl$SubSelector.poll()I+43
    j sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Lsun/nio/ch/WindowsSelectorImpl$SubSelector;)I+1
    j sun.nio.ch.WindowsSelectorImpl.doSelect(J)I+63
    j sun.nio.ch.SelectorImpl.lockAndDoSelect(J)I+37
    v ~C2IAdapter
    J com.aternity.epm.core.CommunicationManager.doOnce()V
    v ~I2CAdapter
    j com.aternity.system.common.InterruptibleTask.run()V+8
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x266e4e08 JavaThread "pool-1-thread-5" [_thread_blocked, id=6960]
    0x261d4d50 JavaThread "pool-1-thread-4" [_thread_blocked, id=3516]
    0x261ece50 JavaThread "pool-1-thread-3" [_thread_blocked, id=4404]
    0x26244318 JavaThread "pool-1-thread-2" [_thread_blocked, id=6444]
    0x0003d8b8 JavaThread "DestroyJavaVM" [_thread_blocked, id=6652]
    0x26232000 JavaThread "EventConsumerAggregator" [_thread_blocked, id=256]
    0x26256d08 JavaThread "EventConsumerAggregator" [_thread_blocked, id=3644]
    0x26256b88 JavaThread "EventConsumerAggregator" [_thread_blocked, id=6980]
    0x26232f90 JavaThread "RawDataReporterEventConsumer" [_thread_blocked, id=7176]
    0x2622fd90 JavaThread "ResourceManagerInterface" [_thread_blocked, id=7104]
    =>0x26180130 JavaThread "CommunicationManager" [_thread_in_native, id=5644]
    0x261ea2b0 JavaThread "Statistics" [_thread_blocked, id=7888]
    0x25e16238 JavaThread "OutgoingMessageDispatcher" [_thread_blocked, id=2100]
    0x25e09948 JavaThread "IncomingMessageDispatcher" [_thread_blocked, id=7896]
    0x25e11048 JavaThread "MessageListenerThread - epm1" [_thread_blocked, id=5272]
    0x25de8c40 JavaThread "MessageListenerThread - epmsvc" [_thread_blocked, id=2016]
    0x263c4d88 JavaThread "MessageListenerThread - epmservices1" [_thread_blocked, id=5640]
    0x26241e78 JavaThread "pool-2-thread-1" [_thread_blocked, id=7868]
    0x2622db20 JavaThread "pool-1-thread-1" [_thread_blocked, id=5676]
    0x261aad98 JavaThread "MessageListenerThread - client1" [_thread_blocked, id=5848]
    0x268d2618 JavaThread "MessageListenerThread - GR master" [_thread_blocked, id=7848]
    0x26370c78 JavaThread "Timer-0" daemon [_thread_blocked, id=5520]
    0x26326008 JavaThread "Thread-3" [_thread_blocked, id=5868]
    0x2630dc98 JavaThread "Thread-2" [_thread_blocked, id=1792]
    0x26188a88 JavaThread "UIL2(SocketManager.MsgPool@193c0cf client=192.168.111.113:8093)#1" daemon [_thread_blocked, id=6948]
    0x26fbb4c8 JavaThread "Connection Monitor Thread" daemon [_thread_blocked, id=3112]
    0x26343d58 JavaThread "UIL2.SocketManager.WriteTask#2 client=192.168.111.113:8093" daemon [_thread_blocked, id=6860]
    0x268bc008 JavaThread "UIL2.SocketManager.ReadTask#1 client=192.168.111.113:8093" daemon [_thread_in_native, id=6892]
    0x26fabe68 JavaThread "RMI ConnectionExpiration-[192.168.111.113:1098]" daemon [_thread_blocked, id=6184]
    0x26227e48 JavaThread "GC Daemon" daemon [_thread_blocked, id=4552]
    0x25e049a8 JavaThread "RMI RenewClean-[192.168.111.113:1098]" daemon [_thread_blocked, id=5044]
    0x25e20610 JavaThread "Thread-0" daemon [_thread_blocked, id=6168]
    0x25a31120 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=2524]
    0x00ac7970 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4792]
    0x00ac6678 JavaThread "CompilerThread1" daemon [_thread_blocked, id=5284]
    0x00ac5818 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5828]
    0x00ac48e8 JavaThread "AdapterThread" daemon [_thread_blocked, id=1212]
    0x00ac3d60 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7520]
    0x00abb028 JavaThread "Finalizer" daemon [_thread_blocked, id=1068]
    0x00aba398 JavaThread "Reference Handler" daemon [_thread_blocked, id=8160]
    Other Threads:
    0x00038cb8 VMThread [id=6460]
    0x00ac38d8 WatcherThread [id=5072]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x0003d078/0x00002ee0] Heap_lock - owner thread: 0x25e09948
    Heap
    def new generation total 576K, used 16K [0x02ad0000, 0x02b70000, 0x06140000)
    eden space 512K, 3% used [0x02ad0000, 0x02ad4010, 0x02b50000)
    from space 64K, 0% used [0x02b60000, 0x02b60000, 0x02b70000)
    to space 64K, 0% used [0x02b50000, 0x02b50000, 0x02b60000)
    tenured generation total 2812K, used 1685K [0x06140000, 0x063ff000, 0x214d0000)
    the space 2812K, 59% used [0x06140000, 0x062e57f0, 0x062e5800, 0x063ff000)
    compacting perm gen total 16384K, used 9128K [0x214d0000, 0x224d0000, 0x254d0000)
    the space 16384K, 55% used [0x214d0000, 0x21dba1d8, 0x21dba200, 0x224d0000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0040c000      C:\dev\Java\jdk1.5.0_05\bin\java.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\MSVCRT.dll
    0x6d840000 - 0x6dbd8000      C:\dev\Java\jdk1.5.0_05\jre\bin\server\jvm.dll
    0x77d40000 - 0x77dd0000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000      C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x629c0000 - 0x629c9000      C:\WINDOWS\system32\LPK.DLL
    0x74d90000 - 0x74dfb000      C:\WINDOWS\system32\USP10.dll
    0x6d2f0000 - 0x6d2f8000      C:\dev\Java\jdk1.5.0_05\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d680000 - 0x6d68c000      C:\dev\Java\jdk1.5.0_05\jre\bin\verify.dll
    0x6d370000 - 0x6d38d000      C:\dev\Java\jdk1.5.0_05\jre\bin\java.dll
    0x6d6a0000 - 0x6d6af000      C:\dev\Java\jdk1.5.0_05\jre\bin\zip.dll
    0x009a0000 - 0x009a7000      C:\dev\IntelliJ\bin\breakgen.dll
    0x6d530000 - 0x6d543000      C:\dev\Java\jdk1.5.0_05\jre\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x25fd0000 - 0x25ff1000      C:\WINDOWS\system32\CtxLsp.dll
    0x7c9c0000 - 0x7d1d5000      C:\WINDOWS\system32\SHELL32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x773d0000 - 0x774d2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x5d090000 - 0x5d127000      C:\WINDOWS\system32\comctl32.dll
    0x43000000 - 0x43005000      C:\Program Files\Google\Google Desktop Search\GoogleDesktopNetwork1.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\system32\mswsock.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\uxtheme.dll
    0x67330000 - 0x6735f000      C:\PROGRA~1\COMMON~1\SYMANT~1\ANTISPAM\asOEHook.dll
    0x7c340000 - 0x7c396000      C:\WINDOWS\system32\MSVCR71.dll
    0x74720000 - 0x7476b000      C:\WINDOWS\system32\MSCTF.dll
    0x63000000 - 0x63014000      C:\WINDOWS\system32\SynTPFcs.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x751d0000 - 0x751ee000      C:\WINDOWS\system32\wshbth.dll
    0x77920000 - 0x77a13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x27e40000 - 0x27e5a000      C:\WINDOWS\system32\CtxNsp.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x6d660000 - 0x6d666000      C:\dev\Java\jdk1.5.0_05\jre\bin\rmi.dll
    0x27e70000 - 0x27e98000      C:\WINDOWS\system32\rsaenh.dll
    0x769c0000 - 0x76a73000      C:\WINDOWS\system32\USERENV.dll
    0x5b860000 - 0x5b8b4000      C:\WINDOWS\system32\netapi32.dll
    0x6d550000 - 0x6d559000      C:\dev\Java\jdk1.5.0_05\jre\bin\nio.dll
    VM Arguments:
    jvm_args: -Xmx512000000 -Daternity.home=C:/Projects/1.0/system/system/PlatformInvoker -Didea.launcher.port=7538 -Didea.launcher.library=C:\dev\IntelliJ\bin\breakgen.dll -Dfile.encoding=windows-1252
    java_command: com.intellij.rt.execution.application.AppMain com.aternity.system.platforminvoker.PlatformInvokerMain
    Environment Variables:
    CLASSPATH=C:\dev\IntelliJ\lib\idea.jar;C:\dev\IntelliJ\lib\jdom.jar;C:\dev\IntelliJ\lib\log4j.jar;C:\dev\IntelliJ\lib\openapi.jar;C:\dev\IntelliJ\bin\lax.jar;
    PATH=C:\oracle\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;C:\Program Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\ATI Technologies\Fire GL 3D Studio Max;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\IBM ThinkVantage\Client Security Solution
    USERNAME=shachar
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 6, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 2096048k(682804k free), swap 4038144k(2524356k free)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_05-b05) for windows-x86, built on Aug 26 2005 15:10:30 by "java_re" with MS VC++ 6.0

    Looks like your VM crashes while attempting to report an error during a select() call. It's quite likely you're doing something wrong there so sharing the relevant bit of code will be helpful. You're right that you sholdnt be able to crash a VM though, try other VMs and see if different behaviour occurs on different VMs.

  • Java.lang.Class- getFields() results in JVM crash when called through JNI

    From a C++ application, I use Invocation APIs to create a JVM and call some Java methods using JNI
    I get a crash in jvm.dll with EXCEPTION_ACCESS_VIOLATION
    when I try to call "getFields" method of java.lang.Class in order to get the Fields of the java class
    This method call, should return a java/lang/reflect/Fields[] on success
    I am able to get the method ID of this method by using pEnv->GetMethodID(..)
    However, when I call this method using CallObjectMethod(..), HotSpt JVM crashes with access violation with the dump given below.
    Any clues on how to debug and find the problem?
    Or has anyone tried getting the fields of a Java class from C++ by calling reflection APIs uing JNI?
    Thanks in advance!
    Sample code
    jclass testerClass = pEnv->FindClass("com/test/Tester");
    jmethodID cid = pEnv->GetMethodID(testerClass,"<init>","()V");
    if(NULL == cid)
    pEnv->ExceptionDescribe();
    jobject testerObject = pEnv->NewObjectV(testerClass, mid);
    jmethodID mid = pEnv->GetMethodID(testerClass, "getClass",
                             "()Ljava/lang/Class;");
    jobject clsObj = (jobject)pEnv->CallObjectMethod(testerObject, mid);
    pEnv->ExceptionDescribe();
    jclass      jCls = pEnv->GetObjectClass(clsObj);
    jmethodID midGetFields = pEnv->GetMethodID(jCls, "getFields",
                                            "()[Ljava/lang/reflect/Field;");
    jobjectArray jobjArray = (jobjectArray)pEnv->CallObjectMethod(testerObject, midGetFields);
    pEnv->ExceptionDescribe();
    Crash dump
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x809E69F
    Function=JVM_FindSignal+0x11505
    Library=D:\Java\j2re1.4.2_03\bin\client\jvm.dll
    Current Java thread:
         at java.lang.Class.privateGetDeclaredFields(Unknown Source)
         at java.lang.Class.privateGetPublicFields(Unknown Source)
         at java.lang.Class.getFields(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00419000      E:\SC\SC12.1\SCApplications\SNMP\Bin\JNITester.exe
    0x77F50000 - 0x77FF7000      C:\WINDOWS\System32\ntdll.dll
    0x77E60000 - 0x77F46000      C:\WINDOWS\system32\kernel32.dll
    0x10000000 - 0x10023000      E:\SC\SC12.1\SCApplications\SNMP\Bin\JniUtils.dll
    0x00320000 - 0x00332000      E:\SnmpIpmNativeTestDriver\MTFStubHelper.dll
    0x00340000 - 0x0035B000      E:\SnmpIpmNativeTestDriver\MTFXMLFileAPI.dll
    0x12000000 - 0x122B1000      e:\sc\sc12.1\bin\xerces-c_2_2_0D.dll
    0x77DD0000 - 0x77E5D000      C:\WINDOWS\system32\ADVAPI32.dll
    0x78000000 - 0x78086000      C:\WINDOWS\system32\RPCRT4.dll
    0x10200000 - 0x1026C000      e:\sc\sc12.1\bin\MSVCRTD.dll
    0x102A0000 - 0x102B7000      e:\sc\sc12.1\bin\MSVCIRTD.dll
    0x5F800000 - 0x5F8E9000      e:\sc\sc12.1\bin\MFC42uD.DLL
    0x77C70000 - 0x77CB0000      C:\WINDOWS\system32\GDI32.dll
    0x77D40000 - 0x77DCC000      C:\WINDOWS\system32\USER32.dll
    0x5F700000 - 0x5F746000      e:\sc\sc12.1\bin\MFCD42uD.DLL
    0x5F500000 - 0x5F5C6000      e:\sc\sc12.1\bin\MFCO42uD.DLL
    0x10480000 - 0x104FE000      e:\sc\sc12.1\bin\MSVCP60D.dll
    0x15020000 - 0x15042000      e:\sc\sc12.1\bin\SCTraceLib.dll
    0x6D510000 - 0x6D58D000      C:\WINDOWS\System32\dbghelp.dll
    0x77C10000 - 0x77C63000      C:\WINDOWS\system32\msvcrt.dll
    0x77C00000 - 0x77C07000      C:\WINDOWS\system32\VERSION.dll
    0x00360000 - 0x0037D000      e:\sc\sc12.1\bin\SCFileManager.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\System32\PSAPI.DLL
    0x00420000 - 0x00580000      e:\sc\sc12.1\bin\BctCoreCL.dll
    0x5D920000 - 0x5D929000      C:\WINDOWS\System32\RPCNS4.dll
    0x71B20000 - 0x71B31000      C:\WINDOWS\system32\MPR.dll
    0x71C20000 - 0x71C6E000      C:\WINDOWS\System32\NETAPI32.dll
    0x71AB0000 - 0x71AC5000      C:\WINDOWS\System32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\System32\WS2HELP.dll
    0x15000000 - 0x15012000      e:\sc\sc12.1\bin\CTEventLog.dll
    0x773D0000 - 0x77BC2000      C:\WINDOWS\system32\SHELL32.dll
    0x70A70000 - 0x70AD4000      C:\WINDOWS\system32\SHLWAPI.dll
    0x771B0000 - 0x772D1000      C:\WINDOWS\system32\ole32.dll
    0x77120000 - 0x771AB000      C:\WINDOWS\system32\OLEAUT32.dll
    0x1F7A0000 - 0x1F7D6000      C:\WINDOWS\System32\ODBC32.dll
    0x77340000 - 0x773CB000      C:\WINDOWS\system32\COMCTL32.dll
    0x763B0000 - 0x763F5000      C:\WINDOWS\system32\comdlg32.dll
    0x08000000 - 0x08138000      D:\Java\j2re1.4.2_03\bin\client\jvm.dll
    0x76B40000 - 0x76B6C000      C:\WINDOWS\System32\WINMM.dll
    0x5FD00000 - 0x5FD0D000      C:\WINDOWS\System32\MFC42LOC.DLL
    0x71950000 - 0x71A34000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll
    0x1F840000 - 0x1F857000      C:\WINDOWS\System32\odbcint.dll
    0x5DAC0000 - 0x5DAC7000      C:\WINDOWS\System32\rdpsnd.dll
    0x00FE0000 - 0x00FE7000      D:\Java\j2re1.4.2_03\bin\hpi.dll
    0x01000000 - 0x0100E000      D:\Java\j2re1.4.2_03\bin\verify.dll
    0x01010000 - 0x01029000      D:\Java\j2re1.4.2_03\bin\java.dll
    0x01030000 - 0x0103D000      D:\Java\j2re1.4.2_03\bin\zip.dll
    0x76C90000 - 0x76CB2000      C:\WINDOWS\system32\imagehlp.dll
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 132K [0x15050000, 0x150f0000, 0x15530000)
    eden space 512K, 25% used [0x15050000, 0x15071250, 0x150d0000)
    from space 64K, 0% used [0x150d0000, 0x150d0000, 0x150e0000)
    to space 64K, 0% used [0x150e0000, 0x150e0000, 0x150f0000)
    tenured generation total 1408K, used 0K [0x15530000, 0x15690000, 0x19050000)
    the space 1408K, 0% used [0x15530000, 0x15530000, 0x15530200, 0x15690000)
    compacting perm gen total 4096K, used 964K [0x19050000, 0x19450000, 0x1d050000)
    the space 4096K, 23% used [0x19050000, 0x191410e0, 0x19141200, 0x19450000)
    Local Time = Wed Aug 25 21:06:44 2004
    Elapsed Time = 0
    # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
    # Error ID : 4F530E43505002EF
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)

    You are right, I tried getting the java.lang.Class reference for the com.test.Tester by calling getClass() on com.test.Tester
    And using this jclass reference for java.lang.Class, I tried getting the method ID of getFields and eventually the Field[]
    Thanks for the help
    I have some more questions.
    Assumption - Using JNI, I got the fields array of com.test.Tester and I am iterating through the fields
    1.Assuming that the Tester class had an Integer field say m_nIntVal, then once I get the jobject equivalent of this Field in C++.
    Now I need to get the type of the field (I call the method java.lang.reflect.getType() from JNI)
    This gives me a jclass reference to it's type i.e java.lang.Integer
    2.I need to get the name of this type i.e I want to get the name of the type in a string as "java.lang.Integer"
    For this, on the jclass reference of java.lang.Integer got in Step 1, I call getClass() from JNI (to get the java.lang.Class) and then getName()
    Now, for calling getClass(), I need a temporary object reference corresponding to the jclass of java.lang.Integer, The problem is that Integer does not have a default constructor, so my call to create the jobject fails.
    But, since I do not know that I am constructing an Integer (remember that is what I am trying to find out - getType), I cant pass any values to constructor
    Now, how do I go about creating a jobject of Integer, without knowing that I am constructing that, as this does not have a default constructor without parameters
    Also, I tried using AllocObject to get the jobject and then tried to get the method ID of getClass(). Even this failed
    3. If the com.test.Tester class had a primitive "int" field, say m_nPrimitiveInt
    for which java provides a Class representation, I am able to get the jclass reference to the type of m_nPrimitiveInt
    Now, how do I get the name of the type as "int" in a string?
    Forllowing a similar procedure like in Step 2 fails when I try to pass the jclass reference to the type of m_nPrimitiveInt to the GetMethodID
    with the error FATAL ERROR in native method: JNI received a class argument that is not a class
    Can you tell me what is the way out?
    Thanks in advance,
    Also, can I mail you with some doubts that I have? If its ok, please contact me at [email protected]

  • JVM 1.4.2 crash "access violation" Tomcat

    Hi
    We're getting nasty crashes with JVM 1.4.2_03 (other versions not yet been able to test) and cannot seem to find any log file with more information. However, I do have a DrWatson log which states among other things "access violation".
    Situation: We're testing a webapplication on Tomcat (runs as a Windows service (Tomcat.exe) ). During testing the Tomcat-service suddenly ends, the Windows eventlog logs states something like: "...service ended unexpectedly..."
    Environment: Tomcat 4.1.29, JDK 1.4.2_03, Windows 2000ProSP4, bi-processor Xeon machine.
    While analyzing the DrWatson log file, I can always find the same important (I think) information in the same order:
    - function: NtReadFile
    - a bit further on: function: NtWaitForMultipleObjects
    - function: NtWaitForSingleObject
    - etc..
    Other snippets I can also find every time are texts like these, they appear in the so called "Stack Back Trace"-sections of the drwtsn32.log:
    !JVM_RegisterUnsafeMethods,
    !JVM_RegisterPerfMethods,
    ntdll!NtDelayExecution,
    kernel32!Sleep,
    !JVM_Sleep,
    msafd!WSPSetSockOpt,
    ws2_32!WSAAccept,
    ws2_32!accept,
    ws2_32!recv,
    !Java_java_net_SocketInputStream_socketRead0.
    If needed I can post the complete drwtsn32.log file, I only left it out because it's a bad practice to dump long texts. So if you want to take a look, please don't hesitate to ask !
    The problem only seems to occur when the servermachine is completely left alone (and not logged in or in locked state) Additionally, it usually occurs after between 30-60 minutes or so. When I keep monitoring (logged in) the machine while the tests are running the crash doesn't seem to occur ?! This makes me think it could be an issue with power-saving that kicks in, like e.g. with the network-adaptor ?
    If we don't use JNI, and "access violation"s are stated, does this mean it's a JVM-issue or ... ? Or is it more likely it's an issue of this Tomcat.exe ?
    On a sidenote, does anyone know why a logfile might not be produced, and if there is anything i could try to make the jvm produce some intelligable output upon crashing?
    Kind regards,
    David

    Hi again,
    First of all thanks for the valuable help so far !
    As I'm still searching an anwser for the problem, I noticed the drwtsn32.log file also (sometimes) mentions HotSpot, this is a line from my drwtsn32.log file:
    mov ecx,[gHotSpotVMLongConstantEntryValueOffset+0x13f48[/i]
    Now, I'm not an expert on HotSpot, but I too know there have been numerous problems reported before with this technology.
    Ramesh, it sure looks like your hypothesis about the runtime compilation corresponds to this problem a lot.
    Additionally, I must also mention the fact that the problem only seems to occur during stress-tests (concurrency-problem?) and is NOT reproducable reliably. All of this makes me think even more that it's a JVM problem of some kind, what is your (anyone) opinion about this ?
    Again, thanks for your support, it sure helps a lot !
    Kind regards,
    David

  • JVM crashing due to JNI call

    Hi All
    My application uses JNI to interact with other classes developed in C++. When I run the application ,which is comiled in java1.4, against java 1.5 ,it is crashing for any operation related to JNI. When I run the application with -Xint JVM option it worked fine. What is this Xint all about ..
    Thanks in advance
    Deepa K

    Most likely, you are holding on to a reference back into Java's managed memory that you should not be. The JIT is moving things around to optimize them (and 1.5 is probably doing other optimizations that 1.4 wasn't).
    Even if your app runs under 1.4, or with the JIT disabled under 1.5, it is not implemented properly. Are you properly releasing all array references on the JNI side? Are you managing threads properly?
    What exactly are you doing in the JNI code? Have you tried attaching a debugger to the native code to see exactly what is crashing? Worst case, but a bunch of print statements in there and run the Java app in a console so you can see the output...
    - K
    Hi Folks:
    You are right . Using -Xint will not crash the JVM in
    Java 1.5. I too had the same problems.
    Well by using -Xint we are switching off the Just in
    Time compilation in HotSpot VM . So everything will
    be interpreted rather then being compiled to native
    code at run time. But I really dont know whats
    happening in Java 1.5 because my program is running
    fine in with Java 1.4.02 without using -Xint option.
    -Kiran

  • ColorConvertOp jvm crashes with threaded programs "1.6.0_06"

    We have some test code that finds a set of image files in the file system, and creates gray scale thumbnails from them, using
    import java.awt.RenderingHints;
    import java.awt.color.ColorSpace;
    import java.awt.geom.AffineTransform;
    import java.awt.image.AffineTransformOp;
    import java.awt.image.BufferedImage;
    import java.awt.image.ColorConvertOp;
    import java.awt.image.ColorModel;
    import java.awt.image.ImagingOpException;
    import javax.imageio.ImageIO;
    public final ColorSpace gray_space =
    ColorSpace.getInstance (ColorSpace.CS_GRAY);
    BufferedImage transform( BufferedImage image, int maximalDimension )
    ColorConvertOp convertToGrayOp = new ColorConvertOp ( gray_space, null);
    BufferedImage gray_image = convertToGrayOp.filter (image, null);
    If the convertToGraOp line is removed, there is no crash.
    The images are loaded using ImageIO.read(file)
    This code crashes the VM every time when running threaded, in the conversion to grayscale ColorConvertOp.
    It does not matter if the jvm is running interpreted mode or not.
    java version "1.6.0_06"
    Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
    Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)
    # An unexpected error has been detected by Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00a4642e, pid=13253, tid=1870207888
    # Java VM: Java HotSpot(TM) Server VM (10.0-b22 interpreted mode linux-x86)
    # Problematic frame:
    # C [libpthread.so.0+0x642e] pthread_join+0x1e
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x08383400): JavaThread "pool-1-thread-19" [_thread_in_native, id=13289, stack(0x6f741000,0x6f792000)]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x6bf33bd8
    Registers:
    EAX=0x6bf33b90, EBX=0x00a53ff4, ECX=0x6f78fc34, EDX=0x00000002
    ESP=0x6f78fbe0, EBP=0x6f78fc18, ESI=0x00000001, EDI=0x00000001
    EIP=0x00a4642e, CR2=0x6bf33bd8, EFLAGS=0x00010202
    Top of Stack: (sp=0x6f78fbe0)
    0x6f78fbe0: 6f78fc10 6f78fcc0 6f78fc48 6fec13af
    0x6f78fbf0: 6f78fc0c 00000003 6fe7d010 6f79008c
    0x6f78fc00: 00000001 00000000 00000000 6fec9170
    0x6f78fc10: 00000001 00000001 6f78fc48 6fec1522
    0x6f78fc20: 6bf33b90 6f78fc34 00000000 6f78fc34
    0x6f78fc30: 6bf33b90 6f78fc38 6fec14ae 6fec9170
    0x6f78fc40: 6f78fcb4 00000003 6f7901e8 6fe7cdc1
    0x6f78fc50: 6f78fcb0 00000001 00000002 ffffffff
    Instructions: (pc=0x00a4642e)
    0x00a4641e: dd ff ff 81 c3 d3 db 00 00 c7 45 dc 03 00 00 00
    0x00a4642e: 8b 48 48 85 c9 0f 88 d5 00 00 00 39 80 00 02 00
    Stack: [0x6f741000,0x6f792000], sp=0x6f78fbe0, free space=314k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libpthread.so.0+0x642e] pthread_join+0x1e
    C [libcmm.so+0x4e522]
    C [libcmm.so+0x9dc1]
    C [libcmm.so+0x987e]
    C [libcmm.so+0x30e40]
    C [libcmm.so+0x30a42]
    C [libcmm.so+0x3ad3e]
    C [libcmm.so+0x516b2] Java_sun_awt_color_CMM_cmmColorConvert+0xf2
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::StubRoutines (1)
    V [libjvm.so+0x37354d]
    V [libjvm.so+0x4fd568]
    V [libjvm.so+0x372e60]
    V [libjvm.so+0x372eed]
    V [libjvm.so+0x3e30f5]
    V [libjvm.so+0x5b617d]
    V [libjvm.so+0x4fe219]
    C [libpthread.so.0+0x543b]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::StubRoutines (1)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0838e800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=13291, stack(0x6f5b5000,0x6f606000)]
    0x08384800 JavaThread "pool-1-thread-20" [_thread_blocked, id=13290, stack(0x6f6f0000,0x6f741000)]
    =>0x08383400 JavaThread "pool-1-thread-19" [_thread_in_native, id=13289, stack(0x6f741000,0x6f792000)]
    0x08382000 JavaThread "pool-1-thread-18" [_thread_blocked, id=13288, stack(0x6f792000,0x6f7e3000)]
    0x0834ec00 JavaThread "pool-1-thread-17" [_thread_in_Java, id=13287, stack(0x6f7e3000,0x6f834000)]
    0x0834d800 JavaThread "pool-1-thread-16" [_thread_blocked, id=13286, stack(0x6f834000,0x6f885000)]
    0x0834c400 JavaThread "pool-1-thread-15" [_thread_blocked, id=13285, stack(0x6f885000,0x6f8d6000)]
    0x0834b000 JavaThread "pool-1-thread-14" [_thread_blocked, id=13284, stack(0x6f8d6000,0x6f927000)]
    0x08349c00 JavaThread "pool-1-thread-13" [_thread_blocked, id=13283, stack(0x6f927000,0x6f978000)]
    0x6fc08800 JavaThread "pool-1-thread-12" [_thread_blocked, id=13282, stack(0x6f978000,0x6f9c9000)]
    0x6fc07400 JavaThread "pool-1-thread-11" [_thread_blocked, id=13281, stack(0x6f9c9000,0x6fa1a000)]
    0x6fc06400 JavaThread "pool-1-thread-10" [_thread_in_Java, id=13280, stack(0x6fa1a000,0x6fa6b000)]
    0x6fc05000 JavaThread "pool-1-thread-9" [_thread_blocked, id=13279, stack(0x6fa6b000,0x6fabc000)]
    0x6fc04000 JavaThread "pool-1-thread-8" [_thread_blocked, id=13278, stack(0x6fabc000,0x6fb0d000)]
    0x6fc02c00 JavaThread "pool-1-thread-7" [_thread_blocked, id=13277, stack(0x6fb0d000,0x6fb5e000)]
    0x6fc01c00 JavaThread "pool-1-thread-6" [_thread_blocked, id=13276, stack(0x6fb5e000,0x6fbaf000)]
    0x6fc00800 JavaThread "pool-1-thread-5" [_thread_in_native, id=13275, stack(0x6fbaf000,0x6fc00000)]
    0x08375000 JavaThread "pool-1-thread-4" [_thread_blocked, id=13274, stack(0x6fd2f000,0x6fd80000)]
    0x08372800 JavaThread "pool-1-thread-3" [_thread_blocked, id=13273, stack(0x6fd80000,0x6fdd1000)]
    0x0834f800 JavaThread "pool-1-thread-2" [_thread_blocked, id=13272, stack(0x6fdd1000,0x6fe22000)]
    0x08353400 JavaThread "pool-1-thread-1" [_thread_blocked, id=13271, stack(0x6fe22000,0x6fe73000)]
    0x082fac00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=13269, stack(0x6ff4b000,0x6ff9c000)]
    0x082f9400 JavaThread "CompilerThread1" daemon [_thread_blocked, id=13268, stack(0x6ff9c000,0x7001d000)]
    0x082f6c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=13267, stack(0x7001d000,0x7009e000)]
    0x082f5800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=13266, stack(0x7009e000,0x700ef000)]
    0x082db800 JavaThread "Finalizer" daemon [_thread_blocked, id=13265, stack(0x702ef000,0x70340000)]
    0x082da800 JavaThread "Reference Handler" daemon [_thread_blocked, id=13264, stack(0x70340000,0x70391000)]
    0x081f1400 JavaThread "main" [_thread_blocked, id=13254, stack(0xb7f02000,0xb7f53000)]
    Other Threads:
    0x082d7800 VMThread [stack: 0x70391000,0x70412000] [id=13263]
    0x082fc400 WatcherThread [stack: 0x6feca000,0x6ff4b000] [id=13270]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    PSYoungGen total 77696K, used 74874K [0xadc20000, 0xb4de0000, 0xb4de0000)
    eden space 38912K, 100% used [0xadc20000,0xb0220000,0xb0220000)
    from space 38784K, 92% used [0xb2800000,0xb4b1e878,0xb4de0000)
    to space 38784K, 0% used [0xb0220000,0xb0220000,0xb2800000)
    PSOldGen total 102592K, used 61087K [0x74de0000, 0x7b210000, 0xadc20000)
    object space 102592K, 59% used [0x74de0000,0x78987de0,0x7b210000)
    PSPermGen total 16384K, used 5202K [0x70de0000, 0x71de0000, 0x74de0000)
    object space 16384K, 31% used [0x70de0000,0x712f4b90,0x71de0000)
    Dynamic libraries:
    0037d000-00382000 r-xp 00000000 08:03 140816 /usr/lib/libXtst.so.6.1.0
    00382000-00383000 rwxp 00004000 08:03 140816 /usr/lib/libXtst.so.6.1.0
    006a1000-006a8000 r-xp 00000000 08:03 141813 /usr/lib/libXi.so.6.0.0
    006a8000-006a9000 rwxp 00006000 08:03 141813 /usr/lib/libXi.so.6.0.0
    0071d000-0072c000 r-xp 00000000 08:03 144019 /usr/lib/libXext.so.6.4.0
    0072c000-0072d000 rwxp 0000e000 08:03 144019 /usr/lib/libXext.so.6.4.0
    008ad000-008c6000 r-xp 00000000 08:03 3209666 /lib/ld-2.5.so
    008c6000-008c7000 r-xp 00019000 08:03 3209666 /lib/ld-2.5.so
    008c7000-008c8000 rwxp 0001a000 08:03 3209666 /lib/ld-2.5.so
    008ca000-008cc000 r-xp 00000000 08:03 138166 /usr/lib/libXau.so.6.0.0
    008cc000-008cd000 rwxp 00001000 08:03 138166 /usr/lib/libXau.so.6.0.0
    008cf000-00a09000 r-xp 00000000 08:03 3209680 /lib/libc-2.5.so
    00a09000-00a0b000 r-xp 00139000 08:03 3209680 /lib/libc-2.5.so
    00a0b000-00a0c000 rwxp 0013b000 08:03 3209680 /lib/libc-2.5.so
    00a0c000-00a0f000 rwxp 00a0c000 00:00 0
    00a11000-00a13000 r-xp 00000000 08:03 3209681 /lib/libdl-2.5.so
    00a13000-00a14000 r-xp 00001000 08:03 3209681 /lib/libdl-2.5.so
    00a14000-00a15000 rwxp 00002000 08:03 3209681 /lib/libdl-2.5.so
    00a17000-00a3c000 r-xp 00000000 08:03 3209683 /lib/libm-2.5.so
    00a3c000-00a3d000 r-xp 00024000 08:03 3209683 /lib/libm-2.5.so
    00a3d000-00a3e000 rwxp 00025000 08:03 3209683 /lib/libm-2.5.so
    00a40000-00a53000 r-xp 00000000 08:03 3209684 /lib/libpthread-2.5.so
    00a53000-00a54000 r-xp 00012000 08:03 3209684 /lib/libpthread-2.5.so
    00a54000-00a55000 rwxp 00013000 08:03 3209684 /lib/libpthread-2.5.so
    00a55000-00a57000 rwxp 00a55000 00:00 0
    00acf000-00ad6000 r-xp 00000000 08:03 3209685 /lib/librt-2.5.so
    00ad6000-00ad7000 r-xp 00006000 08:03 3209685 /lib/librt-2.5.so
    00ad7000-00ad8000 rwxp 00007000 08:03 3209685 /lib/librt-2.5.so
    00cda000-00cdf000 r-xp 00000000 08:03 136339 /usr/lib/libXdmcp.so.6.0.0
    00cdf000-00ce0000 rwxp 00004000 08:03 136339 /usr/lib/libXdmcp.so.6.0.0
    00ce2000-00cf5000 r-xp 00000000 08:03 3209699 /lib/libnsl-2.5.so
    00cf5000-00cf6000 r-xp 00012000 08:03 3209699 /lib/libnsl-2.5.so
    00cf6000-00cf7000 rwxp 00013000 08:03 3209699 /lib/libnsl-2.5.so
    00cf7000-00cf9000 rwxp 00cf7000 00:00 0
    06000000-0665d000 r-xp 00000000 08:03 917468 /usr/java/jdk1.6.0_06/jre/lib/i386/server/libjvm.so
    0665d000-066a1000 rwxp 0065c000 08:03 917468 /usr/java/jdk1.6.0_06/jre/lib/i386/server/libjvm.so
    066a1000-06ac3000 rwxp 066a1000 00:00 0
    078e2000-079e1000 r-xp 00000000 08:03 144015 /usr/lib/libX11.so.6.2.0
    079e1000-079e5000 rwxp 000fe000 08:03 144015 /usr/lib/libX11.so.6.2.0
    08048000-08052000 r-xp 00000000 08:03 430064 /usr/java/jdk1.6.0_06/bin/java
    08052000-08053000 rwxp 00009000 08:03 430064 /usr/java/jdk1.6.0_06/bin/java
    081ec000-0887c000 rwxp 081ec000 00:00 0
    65b2a000-65b2b000 ---p 65b2a000 00:00 0
    65b2b000-6652b000 rwxp 65b2b000 00:00 0
    6652b000-6652c000 ---p 6652b000 00:00 0
    6652c000-66f2c000 rwxp 6652c000 00:00 0
    66f2c000-66f2d000 ---p 66f2c000 00:00 0
    66f2d000-6792d000 rwxp 66f2d000 00:00 0
    68d2f000-68d30000 ---p 68d2f000 00:00 0
    68d30000-69730000 rwxp 68d30000 00:00 0
    6bf34000-6bf35000 ---p 6bf34000 00:00 0
    6bf35000-6c935000 rwxp 6bf35000 00:00 0
    6d336000-6d3fc000 r-xp 00000000 08:03 917449 /usr/java/jdk1.6.0_06/jre/lib/i386/libmlib_image.so
    6d3fc000-6d3fd000 rwxp 000c5000 08:03 917449 /usr/java/jdk1.6.0_06/jre/lib/i386/libmlib_image.so
    6d400000-6d461000 rwxp 6d400000 00:00 0
    6d461000-6d500000 ---p 6d461000 00:00 0
    6d600000-6d6fc000 rwxp 6d600000 00:00 0
    6d6fc000-6d700000 ---p 6d6fc000 00:00 0
    6d712000-6d8d3000 rwxp 6d712000 00:00 0
    6d8d3000-6d900000 ---p 6d8d3000 00:00 0
    6d9c0000-6d9c1000 ---p 6d9c0000 00:00 0
    6d9c1000-6ed00000 rwxp 6d9c1000 00:00 0
    6ee3f000-6f100000 rwxp 6ee3f000 00:00 0
    6f100000-6f1ff000 rwxp 6f100000 00:00 0
    6f1ff000-6f200000 ---p 6f1ff000 00:00 0
    6f200000-6f2ff000 rwxp 6f200000 00:00 0
    6f2ff000-6f300000 ---p 6f2ff000 00:00 0
    6f300000-6f400000 rwxp 6f300000 00:00 0
    6f400000-6f4e7000 rwxp 6f400000 00:00 0
    6f4e7000-6f500000 ---p 6f4e7000 00:00 0
    6f50c000-6f513000 r-xp 00000000 08:03 917453 /usr/java/jdk1.6.0_06/jre/lib/i386/libnio.so
    6f513000-6f514000 rwxp 00006000 08:03 917453 /usr/java/jdk1.6.0_06/jre/lib/i386/libnio.so
    6f514000-6f527000 r-xp 00000000 08:03 917452 /usr/java/jdk1.6.0_06/jre/lib/i386/libnet.so
    6f527000-6f528000 rwxp 00013000 08:03 917452 /usr/java/jdk1.6.0_06/jre/lib/i386/libnet.so
    6f528000-6f5a6000 r-xp 00000000 08:03 917429 /usr/java/jdk1.6.0_06/jre/lib/i386/libfontmanager.so
    6f5a6000-6f5b0000 rwxp 0007e000 08:03 917429 /usr/java/jdk1.6.0_06/jre/lib/i386/libfontmanager.so
    6f5b0000-6f5b5000 rwxp 6f5b0000 00:00 0
    6f5b5000-6f5b8000 ---p 6f5b5000 00:00 0
    6f5b8000-6f606000 rwxp 6f5b8000 00:00 0
    6f606000-6f647000 r-xp 00000000 08:03 917470 /usr/java/jdk1.6.0_06/jre/lib/i386/xawt/libmawt.so
    6f647000-6f64a000 rwxp 00040000 08:03 917470 /usr/java/jdk1.6.0_06/jre/lib/i386/xawt/libmawt.so
    6f64a000-6f6c5000 r-xp 00000000 08:03 917424 /usr/java/jdk1.6.0_06/jre/lib/i386/libawt.so
    6f6c5000-6f6cc000 rwxp 0007b000 08:03 917424 /usr/java/jdk1.6.0_06/jre/lib/i386/libawt.so
    6f6cc000-6f6f0000 rwxp 6f6cc000 00:00 0
    6f6f0000-6f6f3000 ---p 6f6f0000 00:00 0
    6f6f3000-6f741000 rwxp 6f6f3000 00:00 0
    6f741000-6f744000 ---p 6f741000 00:00 0
    6f744000-6f792000 rwxp 6f744000 00:00 0
    6f792000-6f795000 ---p 6f792000 00:00 0
    6f795000-6f7e3000 rwxp 6f795000 00:00 0
    6f7e3000-6f7e6000 ---p 6f7e3000 00:00 0
    6f7e6000-6f834000 rwxp 6f7e6000 00:00 0
    6f834000-6f837000 ---p 6f834000 00:00 0
    6f837000-6f885000 rwxp 6f837000 00:00 0
    6f885000-6f888000 ---p 6f885000 00:00 0
    6f888000-6f8d6000 rwxp 6f888000 00:00 0
    6f8d6000-6f8d9000 ---p 6f8d6000 00:00 0
    6f8d9000-6f927000 rwxp 6f8d9000 00:00 0
    6f927000-6f92a000 ---p 6f927000 00:00 0
    6f92a000-6f978000 rwxp 6f92a000 00:00 0
    6f978000-6f97b000 ---p 6f978000 00:00 0
    6f97b000-6f9c9000 rwxp 6f97b000 00:00 0
    6f9c9000-6f9cc000 ---p 6f9c9000 00:00 0
    6f9cc000-6fa1a000 rwxp 6f9cc000 00:00 0
    6fa1a000-6fa1d000 ---p 6fa1a000 00:00 0
    6fa1d000-6fa6b000 rwxp 6fa1d000 00:00 0
    6fa6b000-6fa6e000 ---p 6fa6b000 00:00 0
    6fa6e000-6fabc000 rwxp 6fa6e000 00:00 0
    6fabc000-6fabf000 ---p 6fabc000 00:00 0
    6fabf000-6fb0d000 rwxp 6fabf000 00:00 0
    6fb0d000-6fb10000 ---p 6fb0d000 00:00 0
    6fb10000-6fb5e000 rwxp 6fb10000 00:00 0
    6fb5e000-6fb61000 ---p 6fb5e000 00:00 0
    6fb61000-6fbaf000 rwxp 6fb61000 00:00 0
    6fbaf000-6fbb2000 ---p 6fbaf000 00:00 0
    6fbb2000-6fcff000 rwxp 6fbb2000 00:00 0
    6fcff000-6fd00000 ---p 6fcff000 00:00 0
    6fd00000-6fd2e000 r-xp 00000000 08:03 917444 /usr/java/jdk1.6.0_06/jre/lib/i386/libjpeg.so
    6fd2e000-6fd2f000 rwxp 0002e000 08:03 917444 /usr/java/jdk1.6.0_06/jre/lib/i386/libjpeg.so
    6fd2f000-6fd32000 ---p 6fd2f000 00:00 0
    6fd32000-6fd80000 rwxp 6fd32000 00:00 0
    6fd80000-6fd83000 ---p 6fd80000 00:00 0
    6fd83000-6fdd1000 rwxp 6fd83000 00:00 0
    6fdd1000-6fdd4000 ---p 6fdd1000 00:00 0
    6fdd4000-6fe22000 rwxp 6fdd4000 00:00 0
    6fe22000-6fe25000 ---p 6fe22000 00:00 0
    6fe25000-6fe73000 rwxp 6fe25000 00:00 0
    6fe73000-6fec7000 r-xp 00000000 08:03 917425 /usr/java/jdk1.6.0_06/jre/lib/i386/libcmm.so
    6fec7000-6feca000 rwxp 00054000 08:03 917425 /usr/java/jdk1.6.0_06/jre/lib/i386/libcmm.so
    6feca000-6fecb000 ---p 6feca000 00:00 0
    6fecb000-6ff4b000 rwxp 6fecb000 00:00 0
    6ff4b000-6ff4e000 ---p 6ff4b000 00:00 0
    6ff4e000-6ff9c000 rwxp 6ff4e000 00:00 0
    6ff9c000-6ff9f000 ---p 6ff9c000 00:00 0
    6ff9f000-7001d000 rwxp 6ff9f000 00:00 0
    7001d000-70020000 ---p 7001d000 00:00 0
    70020000-7009e000 rwxp 70020000 00:00 0
    7009e000-700a1000 ---p 7009e000 00:00 0
    700a1000-700ef000 rwxp 700a1000 00:00 0
    700ef000-702ef000 r-xp 00000000 08:03 136047 /usr/lib/locale/locale-archive
    702ef000-702f2000 ---p 702ef000 00:00 0
    702f2000-70340000 rwxp 702f2000 00:00 0
    70340000-70343000 ---p 70340000 00:00 0
    70343000-70391000 rwxp 70343000 00:00 0
    70391000-70392000 ---p 70391000 00:00 0
    70392000-70444000 rwxp 70392000 00:00 0
    70444000-705cf000 r-xs 02df0000 08:03 917555 /usr/java/jdk1.6.0_06/jre/lib/rt.jar
    705cf000-705d0000 ---p 705cf000 00:00 0
    705d0000-70650000 rwxp 705d0000 00:00 0
    70650000-70651000 ---p 70650000 00:00 0
    70651000-706d1000 rwxp 70651000 00:00 0
    706d1000-706d2000 ---p 706d1000 00:00 0
    706d2000-70752000 rwxp 706d2000 00:00 0
    70752000-70753000 ---p 70752000 00:00 0
    70753000-707d3000 rwxp 70753000 00:00 0
    707d3000-707d4000 ---p 707d3000 00:00 0
    707d4000-70854000 rwxp 707d4000 00:00 0
    70854000-70855000 ---p 70854000 00:00 0
    70855000-708d5000 rwxp 70855000 00:00 0
    708d5000-708d6000 ---p 708d5000 00:00 0
    708d6000-70956000 rwxp 708d6000 00:00 0
    70956000-70957000 ---p 70956000 00:00 0
    70957000-709df000 rwxp 70957000 00:00 0
    709df000-709f7000 rwxp 709df000 00:00 0
    709f7000-70a2a000 rwxp 709f7000 00:00 0
    70a2a000-70bbf000 rwxp 70a2a000 00:00 0
    70bbf000-70bc7000 rwxp 70bbf000 00:00 0
    70bc7000-70bdf000 rwxp 70bc7000 00:00 0
    70bdf000-70c12000 rwxp 70bdf000 00:00 0
    70c12000-70da6000 rwxp 70c12000 00:00 0
    70da6000-70ddf000 rwxp 70da6000 00:00 0
    70ddf000-71de0000 rwxp 70ddf000 00:00 0
    71de0000-74de0000 rwxp 71de0000 00:00 0
    74de0000-7b210000 rwxp 74de0000 00:00 0
    7b210000-adc20000 rwxp 7b210000 00:00 0
    adc20000-b4de0000 rwxp adc20000 00:00 0
    b4de2000-b4de6000 r-xs 00038000 08:10 2684367114 /data/mvc/bin/trunk/java/extlib/commons-lang-2.2.jar
    b4de6000-b4def000 rwxp b4de6000 00:00 0
    b4def000-b4ea6000 rwxp b4def000 00:00 0
    b4ea6000-b50e6000 rwxp b4ea6000 00:00 0
    b50e6000-b7ea6000 rwxp b50e6000 00:00 0
    b7ea6000-b7eb5000 r-xp 00000000 08:03 917460 /usr/java/jdk1.6.0_06/jre/lib/i386/libzip.so
    b7eb5000-b7eb7000 rwxp 0000e000 08:03 917460 /usr/java/jdk1.6.0_06/jre/lib/i386/libzip.so
    b7eb7000-b7eda000 r-xp 00000000 08:03 917437 /usr/java/jdk1.6.0_06/jre/lib/i386/libjava.so
    b7eda000-b7edc000 rwxp 00023000 08:03 917437 /usr/java/jdk1.6.0_06/jre/lib/i386/libjava.so
    b7edc000-b7ee7000 r-xp 00000000 08:03 917459 /usr/java/jdk1.6.0_06/jre/lib/i386/libverify.so
    b7ee7000-b7ee8000 rwxp 0000b000 08:03 917459 /usr/java/jdk1.6.0_06/jre/lib/i386/libverify.so
    b7ee8000-b7ef1000 r-xp 00000000 08:03 3208169 /lib/libnss_files-2.5.so
    b7ef1000-b7ef2000 r-xp 00008000 08:03 3208169 /lib/libnss_files-2.5.so
    b7ef2000-b7ef3000 rwxp 00009000 08:03 3208169 /lib/libnss_files-2.5.so
    b7ef3000-b7efb000 rwxs 00000000 08:03 786643 /tmp/hsperfdata_XXXX/13253
    b7efb000-b7f01000 r-xp 00000000 08:03 917464 /usr/java/jdk1.6.0_06/jre/lib/i386/native_threads/libhpi.so
    b7f01000-b7f02000 rwxp 00006000 08:03 917464 /usr/java/jdk1.6.0_06/jre/lib/i386/native_threads/libhpi.so
    b7f02000-b7f05000 ---p b7f02000 00:00 0
    b7f05000-b7f55000 rwxp b7f05000 00:00 0
    b7f55000-b7f5c000 r-xp 00000000 08:03 917420 /usr/java/jdk1.6.0_06/jre/lib/i386/jli/libjli.so
    b7f5c000-b7f5e000 rwxp 00006000 08:03 917420 /usr/java/jdk1.6.0_06/jre/lib/i386/jli/libjli.so
    b7f5e000-b7f61000 r-xs 00012000 08:10 2684367112 /data/mvc/bin/trunk/java/extlib/commons-io-1.3.1.jar
    b7f61000-b7f63000 r-xs 00006000 08:10 2684367101 /data/mvc/bin/trunk/java/extlib/commons-cli-1.0.jar
    b7f63000-b7f64000 r-xs 00005000 08:10 2684367104 /data/mvc/bin/trunk/java/extlib/commons-csv.jar
    b7f64000-b7f65000 rwxp b7f64000 00:00 0
    b7f65000-b7f66000 r-xp b7f65000 00:00 0
    b7f66000-b7f67000 rwxp b7f66000 00:00 0
    b7f67000-b7f68000 r-xp b7f67000 00:00 0 [vdso]
    bfbf3000-bfc08000 rwxp bfbf3000 00:00 0 [stack]
    VM Arguments:
    jvm_args: -Xint -Xmx1g
    java_command: ReadAndScale -tc 20 -od /tmp/junk -sc 0 daily-200806111452-images daily-200806121348-images
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=/usr/java/jdk1.6.0/
    PATH=/usr/java/jdk1.6.0//bin:/usr/java/jdk1.6.0//bin:/usr/java/jdk1.6.0//bin:/usr/java/jdk1.6.0//bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/data/hadoop-0.15.3-dev/bin:/home/XXXX/bin:/sbin:/usr/sbin:/home/XXXX/bin:/sbin:/usr/sbin:/home/XXXX/bin:/sbin:/usr/sbin:/home/XXXX/bin:/sbin:/usr/sbin
    LD_LIBRARY_PATH=/usr/java/jdk1.6.0_06/jre/lib/i386/server:/usr/java/jdk1.6.0_06/jre/lib/i386:/usr/java/jdk1.6.0_06/jre/../lib/i386
    SHELL=/bin/bash
    DISPLAY=localhost:10.0
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x5edbc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGBUS: [libjvm.so+0x5edbc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGFPE: [libjvm.so+0x4fc630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGPIPE: [libjvm.so+0x4fc630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGXFSZ: [libjvm.so+0x4fc630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGILL: [libjvm.so+0x4fc630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x4fe670], sa_mask[0]=0x00000000, sa_flags=0x10000004
    SIGHUP: [libjvm.so+0x4fe410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGINT: [libjvm.so+0x4fe410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGTERM: [libjvm.so+0x4fe410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGQUIT: [libjvm.so+0x4fe410], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    --------------- S Y S T E M ---------------
    OS:CentOS release 5 (Final)
    uname:Linux 2.6.18-53.1.19.el5.centos.plusPAE #1 SMP Sat May 10 11:42:58 EDT 2008 i686
    libc:glibc 2.5 NPTL 2.5
    rlimit: STACK 10240k, CORE 0k, NPROC 143360, NOFILE 65536, AS infinity
    load average:3.23 2.09 1.76
    CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 8306856k(117792k free), swap 16386292k(16381600k free)
    vm_info: Java HotSpot(TM) Server VM (10.0-b22) for linux-x86 JRE (1.6.0_06-b02), built on Mar 25 2008 00:26:44 by "java_re" with gcc 3.2.1-7a (J2SE release)
    time: Thu Jun 26 06:32:55 2008
    elapsed time: 10 seconds

    I also encountered a situation where a single request immediately crashes the JVM on a particular machine (running Debian ) when this method is called from JBoss RichFaces. The following URL crashes the JVM 100% reproducible on that particular machine:
    http://localhost:8080/a4j/g/3_3_1.GAorg.richfaces.renderkit.html.iconimages.DisabledCalendarIcon/DATB/eAF79eoVw6znAA!XBEA_.jsf
    A relevant part from the crash log:
    # A fatal error has been detected by the Java Runtime Environment:
    #  SIGSEGV (0xb) at pc=0x00007ff73ad5f628, pid=3035, tid=1194969424
    # JRE version: 6.0_18-b07
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (16.0-b13 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    # C  [libpthread.so.0+0x7628]  pthread_join+0x28
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    ---------------  T H R E A D  ---------------
    Current thread (0x00007ff70ef30800):  JavaThread "ajp-0.0.0.0-8009-6" daemon [_thread_in_native, id=3183, stack(0x000000004729c000,0x000000004739d000)]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x000000004b59f9e0
    Registers:
    RAX=0x0000000000000000, RBX=0x000000004b59f950, RCX=0x0000000000000003, RDX=0x0000000000000001
    RSP=0x0000000047398640, RBP=0x0000000000000001, RSI=0x00000000473986a0, RDI=0x000000004b59f950
    R8 =0x00007ff704c9f380, R9 =0x0000000000000ce8, R10=0x0000000000000000, R11=0x0000000000000202
    R12=0x0000000000000000, R13=0x0000000047398710, R14=0x000000004b59f950, R15=0x00000000473986a0
    RIP=0x00007ff73ad5f628, EFL=0x0000000000010202, CSGSFS=0x415300000000e033, ERR=0x0000000000000004
      TRAPNO=0x000000000000000e
    Top of Stack: (sp=0x0000000047398640)
    0x0000000047398640:   00007ff73ad5f5e0 000000004b59fd38
    0x0000000047398650:   00000000473986a8 0000000000000000
    0x0000000047398660:   0000000000000002 0000000000000001
    0x0000000047398670:   0000000000000001 0000000000000000
    0x0000000047398680:   0000000047398710 000000004b59f950
    0x0000000047398690:   0000000047398710 00007ff709c4ba20
    0x00000000473986a0:   0000000000000001 0000000000000003
    0x00000000473986b0:   0000000000000000 0000000000000003
    0x00000000473986c0:   0000000000000000 0000000000000004
    0x00000000473986d0:   0000000000000001 00007ff709c10b3a
    0x00000000473986e0:   00000000473986f8 0000000000000000
    0x00000000473986f0:   00000000efc90f60 00000000efc91160
    0x0000000047398700:   00000000efc7a6f0 00000000efc7aaf0
    0x0000000047398710:   000000004b59f950 000000004f5a0950
    0x0000000047398720:   00000000535a1950 0000000000000000
    0x0000000047398730:   0000000047399310 00007ff709c205e0
    0x0000000047398740:   0000000000000001 0000000047399050
    0x0000000047398750:   0000000000000107 0000200000002000
    0x0000000047398760:   0000000000002000 0000000000000000
    0x0000000047398770:   0000000000000001 0000000300000000
    0x0000000047398780:   0000000200000008 0000000300000003
    0x0000000047398790:   0000001000000004 00000000efc7a7f2
    0x00000000473987a0:   00000000efc7a7f1 00000000efc7a7f0
    0x00000000473987b0:   0000000000000000 0000000000000000
    0x00000000473987c0:   0000000000000000 0000000000000000
    0x00000000473987d0:   0000000000000000 00000000efc90fe0
    0x00000000473987e0:   0000000000000000 0000000000000000
    0x00000000473987f0:   0000000000000000 0000000000000000
    0x0000000047398800:   0000000000000000 0000000000000000
    0x0000000047398810:   0000000000000000 0000000400000004
    0x0000000047398820:   0000000000000004 0000000000000000
    0x0000000047398830:   0000000000000000 0000004000000040
    Instructions: (pc=0x00007ff73ad5f628)
    0x00007ff73ad5f618:   89 f7 4c 89 6c 24 e8 4c 89 74 24 f0 48 83 ec 58
    0x00007ff73ad5f628:   8b 87 90 00 00 00 bd 03 00 00 00 85 c0 0f 88 9f
    Stack: [0x000000004729c000,0x000000004739d000],  sp=0x0000000047398640,  free space=3f10000000000000018k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [libpthread.so.0+0x7628]  pthread_join+0x28
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  sun.awt.color.CMM.cmmColorConvert(JLsun/awt/color/CMMImageLayout;Lsun/awt/color/CMMImageLayout;)I+0
    j  sun.awt.color.ICC_Transform.colorConvert(Ljava/awt/image/BufferedImage;Ljava/awt/image/BufferedImage;)V+34
    j  java.awt.image.ColorConvertOp.ICCBIFilter(Ljava/awt/image/BufferedImage;Ljava/awt/color/ColorSpace;Ljava/awt/image/BufferedImage;Ljava/awt/color/ColorSpace;)Ljava/awt/image/BufferedImage;+228
    j  java.awt.image.ColorConvertOp.filter(Ljava/awt/image/BufferedImage;Ljava/awt/image/BufferedImage;)Ljava/awt/image/BufferedImage;+126
    j  org.richfaces.renderkit.html.iconimages.DisabledCalendarIcon.paintImage([Ljava/lang/Object;)Ljava/awt/image/BufferedImage;+22
    j  org.richfaces.renderkit.html.iconimages.CalendarIcon.paint(Lorg/ajax4jsf/resource/ResourceContext;Ljava/awt/Graphics2D;)V+25
    j  org.ajax4jsf.resource.Java2Dresource.getImage(Lorg/ajax4jsf/resource/ResourceContext;)Ljava/awt/image/RenderedImage;+61
    j  org.ajax4jsf.resource.Java2Dresource.send(Lorg/ajax4jsf/resource/ResourceContext;)V+11
    j  org.ajax4jsf.resource.ResourceLifecycle.sendResource(Lorg/ajax4jsf/resource/ResourceContext;Lorg/ajax4jsf/resource/InternetResource;)V+9
    j  org.ajax4jsf.resource.ResourceLifecycle.send(Lorg/ajax4jsf/resource/ResourceContext;Lorg/ajax4jsf/resource/InternetResource;)V+234
    j  org.ajax4jsf.resource.InternetResourceService.load(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+21
    j  org.ajax4jsf.cache.LRUMapCache.load(Ljava/lang/Object;Ljava/lang/Object;)V+8
    j  org.ajax4jsf.cache.LRUMapCache.get(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+111
    j  org.ajax4jsf.resource.InternetResourceService.serviceResource(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+184
    j  org.ajax4jsf.resource.InternetResourceService.serviceResource(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Z+18
    j  org.ajax4jsf.webapp.BaseFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+281
    j  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+119
    j  org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101 System details:
    ---------------  S Y S T E M  ---------------
    OS:5.0.4
    uname:Linux 2.6.26-2-xen-amd64 #1 SMP Thu Feb 11 02:57:18 UTC 2010 x86_64
    libc:glibc 2.7 NPTL 2.7
    rlimit: STACK 65536k, CORE 0k, NPROC infinity, NOFILE 1048576, AS infinity
    load average:0.43 0.30 0.17
    CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 1835224k(14428k free), swap 524280k(498412k free)
    vm_info: Java HotSpot(TM) 64-Bit Server VM (16.0-b13) for linux-amd64 JRE (1.6.0_18-b07), built on Dec 17 2009 13:42:22 by "java_re" with gcc 3.2.2 (SuSE Linux)Strangely enough, another machine with the exact same JVM and RichFaces versions does not crash on this single request.

  • Runtime.exec() crashes JVM

    I wrote a program that runs a Perl script repeatedly via Runtime.exec().
    Q: Under what circumstances would this procedure silently crash the JVM? I am experiencing this behavior on Linux using Sun's JDK as well as IBM's. There is no error output. The program simply exits. What is causing this? And, how can it be avoided? If there is a way to recover from whatever problem is occurring, that would be ideal.

    Thanks jschell! Your input is helpful.
    I suspect that case #4 is in play here. When I run my program with the "-Xrs" switch, "Terminated" is outputted just before the JVM exits. Is there any way to intercept the signal to terminate from the child process before the JVM exits?
    NOTE: I am not running Runtime.exec() concurrently and I am explicitly destroying each Process after process.waitFor(). Also, I tend to watch the linux "top" output to confirm that only one Perl process is running at a time. I have tried various versions of a "runCommand" method. The current version spawns no additional threads:
    public static int runCommand(String[] command) throws InterruptedException, IOException
              ProcessBuilder builder = new ProcessBuilder(command);
              builder.redirectErrorStream(true);
              Process process = builder.start();
              InputStream input = null;
              InputStream error = null;
              OutputStream output = null;
              BufferedReader reader;
              String line;
              try     {
                   input = process.getInputStream();
                   error = process.getErrorStream();
                   output = process.getOutputStream();
                   reader = new BufferedReader(new InputStreamReader(input));
                   while ((line = reader.readLine()) != null)
                        System.out.println(line);
                   return process.waitFor();
              finally
                   close(output);
                   close(error);
                   close(input);
                   process.destroy();
              }

Maybe you are looking for