Reflection leading to JVM crash?

I've got an interesting problem where it appears that use of reflection code is leading to a complete JVM crash. The top of the stack trace in the hs_err_pid log is:
C  0x00031000
j  sun.reflect.GeneratedMethodAccessor146.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+40
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
j  org.infohazard.domify.ElementAdapter$MethodNodeListAdapter.item(I)Lorg/w3c/dom/Node;+55
j  org.infohazard.domify.NodeAdapter.getNextSibling()Lorg/w3c/dom/Node;+48The virtual machine was started with -Xint, so theoretically everything on the stack should have been interpretted Java code. The problem seems to surface regardless of garbage collection algorithm, heap size, LD_ASSUME_KERNEL level, etc. I've edited virtually every JVM parameter I can think of and it always comes back. We're running on a RedHat Enterprise 3, dual Xeon processor box if anybody suspects this is connected to the underlying platform.
More specific for the platform:
OS:Red Hat Enterprise Linux ES release 3 (Taroon Update 3)
uname:Linux 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 EDT 2004 i686
libc:glibc 2.3.2 NPTL 0.60
rlimit: STACK 10240k, CORE 0k, NPROC 7168, NOFILE 65535, AS infinity
load average:13.48 12.83 12.68
CPU:total 4 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
Memory: 4k page, physical 941k(228k free), swap 511k(509k free)
vm_info: Java HotSpot(TM) Server VM (1.5.0_07-b03) for linux-x86, built on May 3 2006 00:32:58 by java_re with gcc 3.2.1-7a (J2SE release)
Message was edited by:
cchandler

Extensive load testing seems to have solved the problem. Our application accepts uploads and was using the Jakarta Commons file-upload utility version 1.0. Apparently when files are uploaded and they are stored on disk it immediately called deleteOnExit() on the File object. This triggers a known
problem in the JVM:
http://issues.apache.org/jira/browse/FILEUPLOAD-95
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4513817
After updating our jars and testing it the reflection problems have gone away. I can only assume the original problem is an interaction between the file handles the JVM has to track, a very long running application, and the linux kernel as the RSS approaches the linux 2GB boundary.

Similar Messages

  • JVM crashes with jdeveloper 11g and jrockit 6

    When i run my application its al going well, when i call some to show data, then all is going well,
    but when i would like to save some, then the jvm crashes, and i have no idea, i've added arguments in the jvm run configuration, etc nothing seems to work, has anybody any idea, because im getting very desperate.
    [JRockit] ERROR: The JVM has crashed. Writing crash information to C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\DefaultDomain\jrockit.6136.dump.
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 00:01:35 on Thu Aug 20 16:02:44 2009
    * If you see this dump, please go to *
    * http://edocs.bea.com/jrockit/go2troubleshooting.html *
    * for troubleshooting information. *
    Additional information is available in:
    C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\DefaultDomain\jrockit.6136.dump
    C:\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.52.05\DefaultDomain\jrockit.6136.mdmp
    Error Message: Illegal memory access. [54]
    Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x00000000 - memory at 0x00000000 could not be read.
    Minidump : Wrote mdmp. Size is 527MB
    SafeDllMode : -1
    Version : BEA JRockit(R) R27.6.3-40_o-112056-1.6.0_11-20090318-2104-windows-ia32
    CPU : Intel Core 2 SSE SSE2 SSE3 SSSE3 SSE4.1 Core Intel64
    Number CPUs : 2
    Tot Phys Mem : 3715284992 (3543 MB)
    OS version : Microsoft Windows XP version 5.1 Service Pack 3 (Build 2600) (32-bit)
    Thread System: Windows Threads
    Java locking : Lazy unlocking enabled (class banning) (transfer banning)
    State : JVM is running
    Command Line : -Xms256m -Xmx512m -Djbo.debugoutput=console -Xmx512M -XX:MaxPermSize=512M -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~2\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~2\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~2\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~2\JDEVEL~1\system\SYSTEM~1.05\DEFAUL~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\Oracle\MIDDLE~2\JDEVEL~1\system\SYSTEM~1.05\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~2\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~2\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~2\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=C:\Oracle\MIDDLE~2\WLSERV~1.3\server\lib\weblogic.policy -Dsun.java.launcher=SUN_STANDARD weblogic.Server
    java.home : C:\PROGRA~1\Java\JROCKI~1.0_1
    j.class.path : ;C:\Oracle\MIDDLE~2\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~2\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~2\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JROCKI~1.0_1\lib\tools.jar;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~2\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~2\modules\ORGAPA~1.5/lib/ant-all.jar;C:\Oracle\MIDDLE~2\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\Oracle\MIDDLE~2\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\lib\xqrl.jar;;
    j.lib.path : C:\PROGRA~1\Java\JROCKI~1.0_1\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Oracle\MIDDLE~2\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~2\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~2\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~2\modules\ORGAPA~1.5\bin;C:\PROGRA~1\Java\JROCKI~1.0_1\jre\bin;C:\PROGRA~1\Java\JROCKI~1.0_1\bin;C:\Oracle\OraClient10g\bin;C:\Oracle\DevSuite10G\bin;C:\Oracle\DevSuite10G\jdk\jre\bin\classic;C:\Oracle\DevSuite10G\jdk\jre\bin;C:\Oracle\DevSuite10G\jdk\jre\bin\client;C:\Oracle\DevSuite10G\jlib;C:\Oracle\DevSuite10G\jre\1.4.2\bin\client;C:\Oracle\DevSuite10G\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\TortoiseSVN\bin;C:\Oracle\jdevstudio10133\jdk\bin;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\QuickTime\QTSystem\;Z:.;;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\32\oci920_8
    JAVA_HOME : C:\PROGRA~1\Java\JROCKI~1.0_1
    JAVAOPTIONS: <not set>
    PATH : C:\PROGRA~1\Java\JROCKI~1.0_1\bin;C:\Oracle\MIDDLE~2\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~2\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~2\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~2\modules\ORGAPA~1.5\bin;C:\PROGRA~1\Java\JROCKI~1.0_1\jre\bin;C:\PROGRA~1\Java\JROCKI~1.0_1\bin;C:\Oracle\OraClient10g\bin;C:\Oracle\DevSuite10G\bin;C:\Oracle\DevSuite10G\jdk\jre\bin\classic;C:\Oracle\DevSuite10G\jdk\jre\bin;C:\Oracle\DevSuite10G\jdk\jre\bin\client;C:\Oracle\DevSuite10G\jlib;C:\Oracle\DevSuite10G\jre\1.4.2\bin\client;C:\Oracle\DevSuite10G\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\TortoiseSVN\bin;C:\Oracle\jdevstudio10133\jdk\bin;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\QuickTime\QTSystem\;Z:.;;C:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\32\oci920_8
    StackOverFlow: 0 StackOverFlowErrors have occured
    OutOfMemory : 0 OutOfMemoryErrors have occured
    C Heap : Good; no memory allocations have failed
    GC Strategy : Mode: throughput. Currently using strategy: genparpar
    GC Status : OC is not running. Last finished OC was OC#9.
    : YC is not running. Last finished YC was YC#15.
    OC History : Strategy genparpar was used for OC#1 to OC#6.
    : Strategy singleparpar was used for OC#7.
    : Strategy genparpar was used for OC#8 to OC#9.
    YC History : Ran 1 YCs before OC#5.
    : Ran 0 YCs before OC#6.
    : Ran 0 YCs before OC#7.
    : Ran 1 YCs before OC#8.
    : Ran 4 YCs before OC#9.
    : Ran 1 YCs since last OC.
    YC Promotion : Last YC successfully promoted all objects
    Heap : 0x00C00000 - 0x10C00000 (Size: 256 MB)
    Compaction : 0x0BC00030 - 0x0CC00038 (Current compaction type: external)
    NurseryList : 0x0289B2D8 - 0x0A5D4488
    KeepArea : 0x085ADA80 - 0x0A5D4488
    NurseryMarker: [ 0x06479790,  0x085ADA80 ]
    CompRefs : References are 32-bit.
    Registers (from ThreadContext: 0x2562E340 / OS context: 0x2562E72C):
    eax = 00000000 ecx = 00000000 edx = 2562e998 ebx = 07ab6220
    esp = 2562e9f8 ebp = 07ab6220 esi = 2562ea18 edi = 242bae4c
    es = 00000023 cs = 0000001b ss = 00000023 ds = 00000023
    fs = 0000003b gs = 00000000
    eip = 00000000 eflags = 00010212
    Loaded modules:
    (* denotes the module causing the exception)
    00400000-00412fff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\java.exe
    7c900000-7c9b4fff C:\WINDOWS\system32\ntdll.dll
    7c800000-7c8fffff C:\WINDOWS\system32\kernel32.dll
    77f40000-77feafff C:\WINDOWS\system32\ADVAPI32.dll
    77da0000-77e31fff C:\WINDOWS\system32\RPCRT4.dll
    77f10000-77f20fff C:\WINDOWS\system32\Secur32.dll
    77be0000-77c37fff C:\WINDOWS\system32\MSVCRT.dll
    7c340000-7c395fff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\msvcr71.dll
    00420000-006c6fff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\jrockit\jvm.dll
    76af0000-76b1dfff C:\WINDOWS\system32\WINMM.dll
    77e40000-77e88fff C:\WINDOWS\system32\GDI32.dll
    7e390000-7e420fff C:\WINDOWS\system32\USER32.dll
    71a30000-71a46fff C:\WINDOWS\system32\WS2_32.dll
    71a20000-71a27fff C:\WINDOWS\system32\WS2HELP.dll
    6d860000-6d86bfff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\verify.dll
    6d3d0000-6d3eefff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\java.dll
    6d330000-6d337fff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\hpi.dll
    6d8a0000-6d8aefff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\zip.dll
    6d6c0000-6d6d2fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\net.dll
    719d0000-71a0ffff C:\WINDOWS\system32\mswsock.dll
    61200000-61258fff C:\WINDOWS\system32\hnetcfg.dll
    71a10000-71a17fff C:\WINDOWS\System32\wshtcpip.dll
    23750000-23776fff C:\WINDOWS\system32\DNSAPI.dll
    23780000-23787fff C:\WINDOWS\System32\winrnr.dll
    23790000-237bcfff C:\WINDOWS\system32\WLDAP32.dll
    66210000-66218fff C:\WINDOWS\system32\netware\NWWS2NDS.DLL
    50d50000-50d84fff C:\WINDOWS\system32\NETWIN32.DLL
    50d00000-50d15fff C:\WINDOWS\system32\CLNWIN32.DLL
    50df0000-50e14fff C:\WINDOWS\system32\LOCWIN32.dll
    50db0000-50de4fff C:\WINDOWS\system32\NCPWIN32.dll
    71a50000-71a59fff C:\WINDOWS\system32\WSOCK32.dll
    66220000-6622bfff C:\WINDOWS\system32\netware\NWWS2SLP.DLL
    66250000-66256fff C:\WINDOWS\system32\NWSRVLOC.dll
    23850000-23855fff C:\WINDOWS\system32\rasadhlp.dll
    6d610000-6d618fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\management.dll
    6d6e0000-6d6e8fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\nio.dll
    68000000-68035fff C:\WINDOWS\system32\rsaenh.dll
    76970000-76a24fff C:\WINDOWS\system32\USERENV.dll
    6ff20000-6ff74fff C:\WINDOWS\system32\netapi32.dll
    00ba0000-00baafff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\jmapi.dll
    22490000-2249dfff C:\Oracle\Middleware\wlserver_10.3\server\native\win\32\wlfileio2.dll
    24fe0000-24ff8fff C:\WINDOWS\system32\iphlpapi.dll
    25bc0000-25bd7fff C:\WINDOWS\system32\MPRAPI.dll
    77c90000-77cc1fff C:\WINDOWS\system32\ACTIVEDS.dll
    25be0000-25c04fff C:\WINDOWS\system32\adsldpc.dll
    76ad0000-76ae0fff C:\WINDOWS\system32\ATL.DLL
    774a0000-775dcfff C:\WINDOWS\system32\ole32.dll
    25c10000-25c9afff C:\WINDOWS\system32\OLEAUT32.dll
    25ca0000-25cadfff C:\WINDOWS\system32\rtutils.dll
    71b80000-71b92fff C:\WINDOWS\system32\SAMLIB.dll
    778e0000-779d6fff C:\WINDOWS\system32\SETUPAPI.dll
    25cf0000-25cf4fff C:\Oracle\Middleware\wlserver_10.3\server\native\win\32\wlntio.dll
    6d840000-6d847fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\sunmscapi.dll
    77a40000-77ad5fff C:\WINDOWS\system32\CRYPT32.dll
    77ae0000-77af1fff C:\WINDOWS\system32\MSASN1.dll
    76bb0000-76bbafff C:\WINDOWS\system32\psapi.dll
    6d0b0000-6d1e7fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\awt.dll
    72f70000-72f95fff C:\WINDOWS\system32\WINSPOOL.DRV
    76330000-7634cfff C:\WINDOWS\system32\IMM32.dll
    5d4e0000-5d579fff C:\WINDOWS\system32\comctl32.dll
    6d7b0000-6d7b5fff C:\Program Files\Java\jrockit-R27.6.3-jre1.6.0_11\bin\rmi.dll
    33230000-33342fff C:\PROGRA~1\Java\JROCKI~1.0_1\bin\dbghelp.dll
    Stack:
    (* marks the word pointed to by the stack pointer)
    2562e9f8: 2562ea34* 00000000 242bace8 0059a501 242bae4c 2562ea34
    2562ea10: 00000000 21941522 242bae4c 2562ea34 0d3829b8 2cfb78c0
    2562ea28: 2194151d 242bb0b4 2562ea18 0d1018b8 242bace8 07ab6220
    2562ea40: 07ab6220 21bfb985 0d1018b8 00000001 07ab6220 051988d8
    Code:
    (* marks the word pointed to by the instruction pointer)
    ffffffd0: Unreadable
    ffffffe8: Unreadable
    00000000: Unreadable
    00000018: Unreadable
    "[ACTIVE] ExecuteThread: '0' for" id=15 idx=0x3c tid=6000 lastJavaFrame=0x2562EA24
    Stack 0: start=0x255F0000, end=0x25630000, guards=0x255F3000 (ok), forbidden=0x255F1000
    Thread Stack Trace:
    at RJNI_jrockit_vm_Locks_monitorEnterUnmatched+17(rnilocks.c:65+17)@0x0059A501
    -- Java stack --
    at jrockit/vm/Locks.monitorEnterUnmatched(Ljava/lang/Object;)V(Native Method)
    at oracle/jbo/server/ViewRowSetIteratorImpl.next(ViewRowSetIteratorImpl.java:1690)
    at oracle/jbo/server/ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1548)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetImpl.first(ViewRowSetImpl.java:3202)
    at oracle/jbo/server/ViewObjectImpl.first(ViewObjectImpl.java:8123)
    at oracle/jbo/uicli/binding/JUCtrlListBinding.initFromServerBinding(JUCtrlListBinding.java:524)
    at oracle/jbo/uicli/binding/JUCtrlListBinding.setupListItems(JUCtrlListBinding.java:630)
    at oracle/jbo/uicli/binding/JUCtrlListBinding.findListIndex(JUCtrlListBinding.java:1783)
    at oracle/jbo/uicli/binding/JUCtrlListBinding.setValueAt(JUCtrlListBinding.java:2686)
    at oracle/jbo/uicli/binding/JUCtrlListBinding.updateValuesFromRow(JUCtrlListBinding.java:2118)
    at oracle/jbo/uicli/binding/JUCtrlValueBinding.updateNavigated(JUCtrlValueBinding.java:268)
    at oracle/jbo/uicli/binding/JUIteratorBinding.navigated(JUIteratorBinding.java:302)
    ^-- Holding lock: oracle/jbo/uicli/binding/JUApplication@0x0CECD4F0[biased lock]
    at oracle/jbo/common/RowSetHelper.fireNavigationEvent(RowSetHelper.java:268)
    at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3624)
    at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3595)
    at oracle/jbo/server/ViewRowSetIteratorImpl.next(ViewRowSetIteratorImpl.java:1744)
    at oracle/jbo/server/ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1548)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetImpl.first(ViewRowSetImpl.java:3202)
    at oracle/jbo/server/ViewObjectImpl.first(ViewObjectImpl.java:8123)
    at oracle/adf/model/binding/DCIteratorBinding.setupRSIstate(DCIteratorBinding.java:755)
    at oracle/adf/model/binding/DCIteratorBinding.refreshControl(DCIteratorBinding.java:655)
    at oracle/jbo/uicli/binding/JUIteratorBinding.refreshControl(JUIteratorBinding.java:475)
    at oracle/adf/model/binding/DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:861)
    at oracle/jbo/common/RowSetHelper.fireRangeRefreshed(RowSetHelper.java:179)
    at oracle/jbo/server/ViewRowSetIteratorImpl.notifyRangeRefreshed(ViewRowSetIteratorImpl.java:3559)
    at oracle/jbo/server/ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2776)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2996)
    at oracle/jbo/server/ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2453)
    at oracle/jbo/server/ViewRowSetImpl.execute(ViewRowSetImpl.java:1047)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetImpl.execute(ViewRowSetImpl.java:873)
    at oracle/jbo/server/ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2738)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2996)
    at oracle/jbo/server/ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2453)
    at oracle/jbo/server/ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:6106)
    at oracle/jbo/server/ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3493)
    at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3635)
    at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3595)
    at oracle/jbo/server/ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3378)
    at oracle/jbo/server/ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1551)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetImpl.first(ViewRowSetImpl.java:3202)
    at oracle/jbo/server/ViewObjectImpl.first(ViewObjectImpl.java:8123)
    at oracle/adf/model/binding/DCIteratorBinding.setupRSIstate(DCIteratorBinding.java:755)
    at oracle/adf/model/binding/DCIteratorBinding.refreshControl(DCIteratorBinding.java:655)
    at oracle/jbo/uicli/binding/JUIteratorBinding.refreshControl(JUIteratorBinding.java:475)
    at oracle/adf/model/binding/DCIteratorBinding.rangeRefreshed(DCIteratorBinding.java:861)
    at oracle/jbo/common/RowSetHelper.fireRangeRefreshed(RowSetHelper.java:179)
    at oracle/jbo/server/ViewRowSetIteratorImpl.notifyRangeRefreshed(ViewRowSetIteratorImpl.java:3559)
    at oracle/jbo/server/ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2776)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2996)
    at oracle/jbo/server/ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2453)
    at oracle/jbo/server/ViewRowSetImpl.execute(ViewRowSetImpl.java:1047)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetImpl.execute(ViewRowSetImpl.java:873)
    at oracle/jbo/server/ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2738)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2996)
    at oracle/jbo/server/ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2453)
    at oracle/jbo/server/ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:6106)
    at oracle/jbo/server/ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3493)
    at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3635)
    at oracle/jbo/server/ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3595)
    at oracle/jbo/server/ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3378)
    at oracle/jbo/server/ViewRowSetIteratorImpl.setCurrentRow(ViewRowSetIteratorImpl.java:1018)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3955)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:6228)
    at oracle/jbo/server/ViewObjectImpl.activateIteratorState(ViewObjectImpl.java:16120)
    at oracle/jbo/server/ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3874)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:6228)
    at oracle/jbo/server/ViewObjectImpl.activateIteratorState(ViewObjectImpl.java:16120)
    at oracle/jbo/server/ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3874)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:6228)
    at oracle/jbo/server/ViewObjectImpl.activateIteratorState(ViewObjectImpl.java:16120)
    at oracle/jbo/server/ApplicationModuleImpl.activateVOs(ApplicationModuleImpl.java:7675)
    at oracle/jbo/server/ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:7421)
    at oracle/jbo/server/ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:7453)
    at oracle/jbo/server/ApplicationModuleImpl.doActivateAMState(ApplicationModuleImpl.java:7400)
    at oracle/jbo/server/Serializer.activate(Serializer.java:284)
    at oracle/jbo/server/DBSerializer.activateRootAM(DBSerializer.java:331)
    at oracle/jbo/server/ApplicationModuleImpl.activateFromStack(ApplicationModuleImpl.java:6063)
    at oracle/jbo/server/ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:5923)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at oracle/jbo/server/ApplicationModuleImpl.activateStateForUndo(ApplicationModuleImpl.java:8308)
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at nl/nak/iva/RuleFrameTransactionImpl.activateStateForUndo(RuleFrameTransactionImpl.java:262)
    at nl/nak/iva/RuleFrameTransactionImpl.handleSQLError(RuleFrameTransactionImpl.java:130)
    at nl/nak/iva/RuleFrameTransactionImpl.doCommit(RuleFrameTransactionImpl.java:86)
    at oracle/jbo/server/DBTransactionImpl.commitInternal(DBTransactionImpl.java:2244)
    at oracle/jbo/server/DBTransactionImpl.commit(DBTransactionImpl.java:2382)
    ^-- Holding lock: nl/nak/iva/RuleFrameTransactionImpl@0x0E986690[biased lock]
    ^-- Holding lock: oracle/jbo/JboSyncLock@0x0D1018B8[recursive]
    at nl/nak/iva/RuleFrameTransactionImpl.commit(RuleFrameTransactionImpl.java:103)
    at oracle/adf/model/bc4j/DCJboDataControl.commitTransaction(DCJboDataControl.java:1565)
    at oracle/adf/model/binding/DCDataControl.callCommitTransaction(DCDataControl.java:1407)
    at oracle/jbo/uicli/binding/JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1293)
    at oracle/adf/model/binding/DCDataControl.invokeOperation(DCDataControl.java:2126)
    at oracle/jbo/uicli/binding/JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:697)
    at oracle/adf/controller/v2/lifecycle/PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:392)
    at oracle/adfinternal/view/faces/model/binding/FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:159)
    at oracle/adfinternal/view/faces/model/binding/FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:118)
    at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
    at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
        at sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;) Ljava/lang/Object;(Native Method)
        at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java/lang/reflect/Method.invoke(Method.java:597)
        at com/sun/el/parser/AstValue.invoke(AstValue.java:157)
        at com/sun/el/MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
        at org/apache/myfaces/trinidadinternal/taglib/util/MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
        at org/apache/myfaces/trinidad/component/UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1227)
        at org/apache/myfaces/trinidad/component/UIXCommand.broadcast(UIXCommand.java:183)
        at oracle/adf/view/rich/component/fragment/ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:70)
        at oracle/adf/view/rich/component/fragment/ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:274)
        at oracle/adf/view/rich/component/fragment/ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:74)
        at javax/faces/component/UIViewRoot.broadcastEvents(UIViewRoot.java:458)
        at javax/faces/component/UIViewRoot.processApplication(UIViewRoot.java:763)
        at oracle/adfinternal/view/faces/lifecycle/LifecycleImpl._invokeApplication(LifecycleImpl.java:640)
        at oracle/adfinternal/view/faces/lifecycle/LifecycleImpl._executePhase(LifecycleImpl.java:275)
        at oracle/adfinternal/view/faces/lifecycle/LifecycleImpl.execute(LifecycleImpl.java:175)
        at javax/faces/webapp/FacesServlet.service(FacesServlet.java:265)
        at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:292)
        at weblogic/servlet/internal/TailFilter.doFilter(TailFilter.java:26)
        at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at oracle/adf/model/servlet/ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
        at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at oracle/adfinternal/view/faces/webapp/rich/RegistrationFilter.doFilter(RegistrationFilter.java:85)
        at org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
        at org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
        at org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
        at org/apache/myfaces/trinidadinternal/webapp/TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
        at org/apache/myfaces/trinidad/webapp/TrinidadFilter.doFilter(TrinidadFilter.java:92)
        at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at oracle/security/jps/wls/JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
        at oracle/security/jps/ee/http/JpsFilter.doFilter(JpsFilter.java:65)
        at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at weblogic/servlet/internal/RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
        at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic/security/service/SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Object;(Unknown Source)
        at weblogic/servlet/internal/WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
        at weblogic/servlet/internal/WebAppServletContext.execute(WebAppServletContext.java:2086)
        at weblogic/servlet/internal/ServletRequestImpl.run(ServletRequestImpl.java:1406)
        at weblogic/work/ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic/work/ExecuteThread.run(ExecuteThread.java:173)
        at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
        -- end of trace
        *  If you see this dump, please go to                    *
        *  http://edocs.bea.com/jrockit/go2troubleshooting.html  *
        *  for troubleshooting information.                      *
    ===== END DUMP ===============================================================                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

    Core dumps are usually a bug, so I suggest filing a Service Request with support.

  • JVM crashes with illegal Memory Access ..

    [JRockit] ERROR: The JVM has crashed. Writing crash information to C:\bea10.3\wlserver_10.3\samples\domains\wl_server\jrockit.3712.dump.
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 00:13:27 on Mon Dec 07 20:06:05 2009
    * If you see this dump, please go to *
    * http://edocs.bea.com/jrockit/go2troubleshooting.html *
    * for troubleshooting information. *
    Additional information is available in:
    C:\bea10.3\wlserver_10.3\samples\domains\wl_server\jrockit.3712.dump
    C:\bea10.3\wlserver_10.3\samples\domains\wl_server\jrockit.3712.mdmp
    Error Message: Illegal memory access. [54]
    Exception Rec: EXCEPTION_ACCESS_VIOLATION (c0000005) at 0x00466F21 - memory at 0x00000000 could not be read.
    Minidump : Wrote mdmp. Size is 472MB
    SafeDllMode : -1
    Version : BEA JRockit(R) R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32
    GC Strategy : Mode: throughput. Currently using strategy: genparpar
    GC Status : OC is not running. Last finished OC was OC#2.
    : YC is not running. Last finished YC was YC#24.
    OC History : Strategy genparpar was used for OC#1 to OC#2.
    YC History : Ran 3 YCs before OC#1.
    : Ran 3 YCs before OC#2.
    : Ran 18 YCs since last OC.
    YC Promotion : Last YC successfully promoted all objects
    Heap : 0x00C00000 - 0x10C00000 (Size: 256 MB)
    Compaction : 0x00C00000 - 0x01C00000 (Current compaction type: internal)
    NurseryList : 0x00E57CF0 - 0x08132978
    KeepArea : 0x04693C88 - 0x06320918
    NurseryMarker: [ 0x04693C88,  0x06320918 ]
    CompRefs : References are 32-bit.
    CPU : Intel Core 2 SSE SSE2 SSE3 SSSE3 SSE4.1 EM64T
    Number CPUs : 2
    Tot Phys Mem : 2096984064 (1999 MB)
    OS version : Microsoft Windows XP version 5.1 Service Pack 3 (Build 2600) (32-bit)
    Thread System: Windows Threads
    Java locking : Lazy unlocking enabled (class banning) (transfer banning)
    State : JVM is running
    Command Line : -Xverify:all -Xms256m -Xmx512m -Xverify:none -da -Dplatform.home=C:\bea10.3\WLSERV~1.3 -Dwls.home=C:\bea10.3\WLSERV~1.3\server -Dweblogic.home=C:\bea10.3\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\bea10.3\patch_wlw1030\profiles\default\sysext_manifest_classpath;C:\bea10.3\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\bea10.3\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=examplesServer -Djava.security.policy=C:\bea10.3\WLSERV~1.3\server\lib\weblogic.policy -Dsun.java.launcher=SUN_STANDARD weblogic.Server
    java.home : C:\bea10.3\JROCKI~1\jre
    j.class.path : C:\bea10.3\wlserver_10.3\samples\server\examples\build\serverclasses;C:\bea10.3\patch_wlw1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea10.3\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea10.3\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea10.3\JROCKI~1\lib\tools.jar;C:\bea10.3\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\bea10.3\WLSERV~1.3\server\lib\weblogic.jar;C:\bea10.3\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\bea10.3\WLSERV~1.3\server\lib\webservices.jar;C:\bea10.3\modules\ORGAPA~1.5/lib/ant-all.jar;C:\bea10.3\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\bea10.3\WLSERV~1.3\common\eval\pointbase\lib\pbembedded57.jar;C:\bea10.3\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\bea10.3\WLSERV~1.3\server\lib\xqrl.jar;;C:\bea10.3\wlserver_10.3\server\lib\wlspy.jar;;
    j.lib.path : C:\bea10.3\JROCKI~1\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\bea10.3\patch_wlw1030\profiles\default\native;C:\bea10.3\patch_wls1030\profiles\default\native;C:\bea10.3\patch_cie660\profiles\default\native;C:\bea10.3\WLSERV~1.3\server\native\win\32;C:\bea10.3\WLSERV~1.3\server\bin;C:\bea10.3\modules\ORGAPA~1.5\bin;C:\bea10.3\JROCKI~1\jre\bin;C:\bea10.3\JROCKI~1\bin;C:/Program Files/Java/jre1.6.0_02/bin/client;C:/Program Files/Java/jre1.6.0_02/bin;C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\oracle\product\10.2.0\bin;C:\Program Files\Documentum\Shared;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\program files\ntru cryptosystems\ntru tcg software stack\bin\;c:\program files\wave systems corp\gemalto\access client\v5\;c:\program files\intel\dmix;c:\program files\intel\wifi\bin\;c:\program files\common files\roxio shared\dllshared\;c:\program files\common files\roxio shared\9.0\dllshared\;c:\program files\utimaco\safeguard easy\;C:\Program Files\Windows Imaging\;c:\program files\java\jdk1.6.0_05\bin;;C:\bea10.3\wlserver_10.3\server\lib\wlspy.jar;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Subversion\bin;C:\bea10.3\WLSERV~1.3\server\native\win\32\oci920_8
    JAVA_HOME : C:\bea10.3\JROCKI~1
    JAVAOPTIONS: <not set>
    PATH : C:\bea10.3\JROCKI~1\jre\bin;C:\bea10.3\patch_wlw1030\profiles\default\native;C:\bea10.3\patch_wls1030\profiles\default\native;C:\bea10.3\patch_cie660\profiles\default\native;C:\bea10.3\WLSERV~1.3\server\native\win\32;C:\bea10.3\WLSERV~1.3\server\bin;C:\bea10.3\modules\ORGAPA~1.5\bin;C:\bea10.3\JROCKI~1\jre\bin;C:\bea10.3\JROCKI~1\bin;C:/Program Files/Java/jre1.6.0_02/bin/client;C:/Program Files/Java/jre1.6.0_02/bin;C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\oracle\product\10.2.0\bin;C:\Program Files\Documentum\Shared;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\program files\ntru cryptosystems\ntru tcg software stack\bin\;c:\program files\wave systems corp\gemalto\access client\v5\;c:\program files\intel\dmix;c:\program files\intel\wifi\bin\;c:\program files\common files\roxio shared\dllshared\;c:\program files\common files\roxio shared\9.0\dllshared\;c:\program files\utimaco\safeguard easy\;C:\Program Files\Windows Imaging\;c:\program files\java\jdk1.6.0_05\bin;;C:\bea10.3\wlserver_10.3\server\lib\wlspy.jar;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Subversion\bin;C:\bea10.3\WLSERV~1.3\server\native\win\32\oci920_8
    C Heap : Good; no memory allocations have failed
    StackOverFlow: 0 StackOverFlowErrors have occured
    OutOfMemory : 0 OutOfMemoryErrors have occured
    Registers (from ThreadContext: 0x319BD1FC / OS context: 0x319BD5F8):
    eax = 2b1cdf58 ecx = 31b647a8 edx = 00000000 ebx = 0000002d
    esp = 319bd8c4 ebp = 31b66400 esi = 00000000 edi = 00000001
    es = 00000023 cs = 0000001b ss = 00000023 ds = 00000023
    fs = 0000003b gs = 00000000
    eip = 00466f21 eflags = 00010202
    Stack:
    (* marks the word pointed to by the stack pointer)
    319bd8c4: 319bda40* 28ac5bdc 2d61e1c4 31b636f8 0000002c 31b66590
    319bd8dc: 00000000 00000001 00000001 00000001 31b66588 00000000
    319bd8f4: 0000002c 00000000 00000005 31b647a8 2d61e1c4 2d630700
    319bd90c: 00001df5 00462f77 28ac5bdc 31b636f8 319bdec8 319bdf04
    Code:
    (* marks the word pointed to by the instruction pointer)
    00466ef0: 08c8448d 28244489 89f8048d 8b142444 431c2444 c085f633
    00466f08: 00f9860f ff8b0000 54244c8b 8b34518b 4c8bb204 518b3c24
    00466f20: f20c8b2c* 1824548b 8bca0c8d 89142454 8b38244c 8928244c
    00466f38: 5489f11c b70f04f1 00014e88 b8b70f00 0000014a 44c7f92b
    Loaded modules:
    (* denotes the module causing the exception)
    00400000-00410fff C:\bea10.3\JROCKI~1\bin\java.exe
    7c900000-7c9b1fff C:\WINDOWS\system32\ntdll.dll
    7c800000-7c8f5fff C:\WINDOWS\system32\kernel32.dll
    77dd0000-77e6afff C:\WINDOWS\system32\ADVAPI32.dll
    77e70000-77f01fff C:\WINDOWS\system32\RPCRT4.dll
    77fe0000-77ff0fff C:\WINDOWS\system32\Secur32.dll
    77c10000-77c67fff C:\WINDOWS\system32\MSVCRT.dll
    7c340000-7c395fff C:\bea10.3\JROCKI~1\jre\bin\msvcr71.dll
    00420000-006c3fff *C:\bea10.3\JROCKI~1\jre\bin\jrockit\jvm.dll
    76b40000-76b6cfff C:\WINDOWS\system32\WINMM.dll
    77f10000-77f58fff C:\WINDOWS\system32\GDI32.dll
    7e410000-7e4a0fff C:\WINDOWS\system32\USER32.dll
    71ab0000-71ac6fff C:\WINDOWS\system32\WS2_32.dll
    71aa0000-71aa7fff C:\WINDOWS\system32\WS2HELP.dll
    76390000-763acfff C:\WINDOWS\system32\IMM32.DLL
    6d820000-6d82bfff C:\bea10.3\JROCKI~1\jre\bin\verify.dll
    6d3c0000-6d3defff C:\bea10.3\JROCKI~1\jre\bin\java.dll
    6d320000-6d327fff C:\bea10.3\JROCKI~1\jre\bin\hpi.dll
    6d860000-6d86efff C:\bea10.3\jrockit_160_05\jre\bin\zip.dll
    6d570000-6d578fff C:\bea10.3\jrockit_160_05\jre\bin\management.dll
    6d620000-6d632fff C:\bea10.3\jrockit_160_05\jre\bin\net.dll
    237a0000-237cffff C:\Program Files\F-Secure\FSPS\program\FSLSP.DLL
    237d0000-237e6fff c:\program files\f-secure\scanner-interface\fsgkiapi.dll
    71a50000-71a8efff C:\WINDOWS\system32\mswsock.dll
    662b0000-66307fff C:\WINDOWS\system32\hnetcfg.dll
    71a90000-71a97fff C:\WINDOWS\System32\wshtcpip.dll
    23ca0000-23cc6fff C:\WINDOWS\system32\DNSAPI.dll
    23cd0000-23cd7fff C:\WINDOWS\System32\winrnr.dll
    23ce0000-23d0bfff C:\WINDOWS\system32\WLDAP32.dll
    23d60000-23d65fff C:\WINDOWS\system32\rasadhlp.dll
    6d640000-6d648fff C:\bea10.3\jrockit_160_05\jre\bin\nio.dll
    68000000-68035fff C:\WINDOWS\system32\rsaenh.dll
    769c0000-76a73fff C:\WINDOWS\system32\USERENV.dll
    5b860000-5b8b4fff C:\WINDOWS\system32\netapi32.dll
    25c20000-25c2afff C:\bea10.3\jrockit_160_05\jre\bin\jmapi.dll
    25e30000-25e3dfff C:\bea10.3\wlserver_10.3\server\native\win\32\wlfileio2.dll
    26120000-26138fff C:\WINDOWS\system32\iphlpapi.dll
    26150000-26167fff C:\WINDOWS\system32\MPRAPI.dll
    77cc0000-77cf1fff C:\WINDOWS\system32\ACTIVEDS.dll
    26170000-26194fff C:\WINDOWS\system32\adsldpc.dll
    76b20000-76b30fff C:\WINDOWS\system32\ATL.DLL
    774e0000-7761cfff C:\WINDOWS\system32\ole32.dll
    261a0000-2622afff C:\WINDOWS\system32\OLEAUT32.dll
    26230000-2623dfff C:\WINDOWS\system32\rtutils.dll
    71bf0000-71c02fff C:\WINDOWS\system32\SAMLIB.dll
    77920000-77a12fff C:\WINDOWS\system32\SETUPAPI.dll
    26280000-26284fff C:\bea10.3\wlserver_10.3\server\native\win\32\wlntio.dll
    6d800000-6d807fff C:\bea10.3\jrockit_160_05\jre\bin\sunmscapi.dll
    77a80000-77b14fff C:\WINDOWS\system32\CRYPT32.dll
    77b20000-77b31fff C:\WINDOWS\system32\MSASN1.dll
    76bf0000-76bfafff C:\WINDOWS\system32\psapi.dll
    6d7c0000-6d7c5fff C:\bea10.3\jrockit_160_05\jre\bin\rmi.dll
    31c20000-31d32fff C:\bea10.3\JROCKI~1\jre\bin\dbghelp.dll
    "[ACTIVE] ExecuteThread: '18' fo" id=54 idx=0xc8 tid=5456 lastJavaFrame=0x319BDEF4
    Stack 0: start=0x31980000, end=0x319C0000, guards=0x31983000 (ok), forbidden=0x31981000
    Thread Stack Trace:
    at dtCreateDTable+1025(dispatchtables.c:298+7)@0x00466F21
    at defineClass+167(defineclass.c:110+7)@0x00462F77
    at lib_define_class+34(library.c:516+16)@0x005164C2
    at libDefineClass+39(library.c:576+38)@0x00516707
    at libDefineClass2+58(library.c:597+34)@0x0051685A
    at JVM_DefineClassWithSource+43(jvmclass.c:59+43)@0x004E609B
    at Javajava_lang_ClassLoader_defineClass1@32+235()@0x6D3C15DA
    -- Java stack --
    at java/lang/ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;(Native Method)
        at java/lang/ClassLoader.defineClass(ClassLoader.java:620)
        at java/security/SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at weblogic/utils/classloaders/GenericClassLoader.defineClass(GenericClassLoader.java:335)
        at weblogic/utils/classloaders/GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
        ^-- Holding lock: weblogic/utils/classloaders/GenericClassLoader@0x0E7FCE78[recursive]
    at weblogic/utils/classloaders/GenericClassLoader.findClass(GenericClassLoader.java:256)
    at java/lang/ClassLoader.loadClass(ClassLoader.java:306)
    ^-- Holding lock: weblogic/utils/classloaders/GenericClassLoader@0x0E7FCE78[recursive]
    at java/lang/ClassLoader.loadClass(ClassLoader.java:251)
    at weblogic/utils/classloaders/GenericClassLoader.loadClass(GenericClassLoader.java:176)
    at jrockit/vm/Classes.loadClassInternal(Classes.java:75)
    ^-- Holding lock: weblogic/utils/classloaders/GenericClassLoader@0x0E7FCE78[recursive]
    at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
    at java/lang/ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;(Native Method)
        at java/lang/ClassLoader.defineClass(ClassLoader.java:620)
        at java/security/SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at weblogic/utils/classloaders/GenericClassLoader.defineClass(GenericClassLoader.java:335)
        at weblogic/utils/classloaders/GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
        ^-- Holding lock: weblogic/utils/classloaders/GenericClassLoader@0x0E7FCE78[recursive]
    at weblogic/utils/classloaders/GenericClassLoader.findClass(GenericClassLoader.java:256)
    at java/lang/ClassLoader.loadClass(ClassLoader.java:306)
    ^-- Holding lock: weblogic/utils/classloaders/GenericClassLoader@0x0E7FCE78[recursive]
    at java/lang/ClassLoader.loadClass(ClassLoader.java:251)
    at weblogic/utils/classloaders/GenericClassLoader.loadClass(GenericClassLoader.java:176)
    at jrockit/vm/Classes.loadClassInternal(Classes.java:75)
    ^-- Holding lock: weblogic/utils/classloaders/GenericClassLoader@0x0E7FCE78[biased lock]
    at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
    at jrockit/vm/Classes.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;(Native Method)
    at java/lang/Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;(Native Method)
    at java/lang/Class.forName(Class.java:247)
    at sun/reflect/generics/factory/CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
    at sun/reflect/generics/visitor/Reifier.visitClassTypeSignature(Reifier.java:107)
    at sun/reflect/generics/tree/ClassTypeSignature.accept(ClassTypeSignature.java:31)
    at sun/reflect/annotation/AnnotationParser.parseSig(AnnotationParser.java:370)
    at sun/reflect/annotation/AnnotationParser.parseClassValue(AnnotationParser.java:351)
    at sun/reflect/annotation/AnnotationParser.parseMemberValue(AnnotationParser.java:280)
    at sun/reflect/annotation/AnnotationParser.parseAnnotation(AnnotationParser.java:222)
    at sun/reflect/annotation/AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
    at sun/reflect/annotation/AnnotationParser.parseAnnotations(AnnotationParser.java:52)
    at java/lang/reflect/Field.declaredAnnotations(Field.java:1016)
    ^-- Holding lock: java/lang/reflect/Field@0x032BFE90[biased lock]
    at java/lang/reflect/Field.getDeclaredAnnotations(Field.java:1009)
    at java/lang/reflect/AccessibleObject.getAnnotations(AccessibleObject.java:175)
    at org/apache/openjpa/lib/util/J2DoPriv5Helper$1.run(J2DoPriv5Helper.java:51)
    at jrockit/vm/AccessController.doPrivileged(AccessController.java:233)
    at jrockit/vm/AccessController.doPrivileged(AccessController.java:241)
    at org/apache/openjpa/persistence/PersistenceMetaDataDefaults.annotated(PersistenceMetaDataDefaults.java:293)
    at org/apache/openjpa/persistence/PersistenceMetaDataDefaults.getAccessType(PersistenceMetaDataDefaults.java:262)
    at org/apache/openjpa/persistence/PersistenceMetaDataDefaults.getAccessType(PersistenceMetaDataDefaults.java:269)
    at org/apache/openjpa/persistence/PersistenceMetaDataDefaults.getAccessType(PersistenceMetaDataDefaults.java:250)
    at org/apache/openjpa/meta/AbstractMetaDataDefaults.populate(AbstractMetaDataDefaults.java:155)
    at org/apache/openjpa/persistence/PersistenceMetaDataDefaults.populate(PersistenceMetaDataDefaults.java:227)
    at org/apache/openjpa/meta/MetaDataRepository.addMetaData(MetaDataRepository.java:794)
    at org/apache/openjpa/meta/MetaDataRepository.addMetaData(MetaDataRepository.java:780)
    at org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.getMetaData(AnnotationPersistenceMetaDataParser.java:657)
    at org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.parseClassAnnotations(AnnotationPersistenceMetaDataParser.java:480)
    at org/apache/openjpa/persistence/AnnotationPersistenceMetaDataParser.parse(AnnotationPersistenceMetaDataParser.java:352)
    at org/apache/openjpa/persistence/PersistenceMetaDataFactory.load(PersistenceMetaDataFactory.java:229)
    at org/apache/openjpa/meta/MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:474)
    at org/apache/openjpa/meta/MetaDataRepository.getMetaData(MetaDataRepository.java:294)
    ^-- Holding lock: org/apache/openjpa/meta/MetaDataRepository@0x0E7FCDF0[biased lock]
    at org/apache/openjpa/enhance/PCEnhancer.<init>(PCEnhancer.java:248)
    at org/apache/openjpa/enhance/PCEnhancer.<init>(PCEnhancer.java:219)
    at org/apache/openjpa/enhance/PCClassFileTransformer.transform0(PCClassFileTransformer.java:139)
    at org/apache/openjpa/enhance/PCClassFileTransformer.transform(PCClassFileTransformer.java:120)
    at org/apache/openjpa/persistence/PersistenceProviderImpl$ClassTransformerImpl.transform(PersistenceProviderImpl.java:210)
    at weblogic/deployment/PersistenceUnitInfoImpl$ClassPreProcessorImpl.preProcess(PersistenceUnitInfoImpl.java:497)
    at weblogic/utils/classloaders/ClassPreProcessor$ClassPreProcessorSupport.preProcess(ClassPreProcessor.java:95)
    at weblogic/utils/classloaders/GenericClassLoader.doPreProcess(GenericClassLoader.java:348)
    at weblogic/utils/classloaders/GenericClassLoader.defineClass(GenericClassLoader.java:329)
    at weblogic/utils/classloaders/GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
    ^-- Holding lock: weblogic/utils/classloaders/GenericClassLoader@0x0E093168[recursive]
    at weblogic/utils/classloaders/GenericClassLoader.findClass(GenericClassLoader.java:256)
    at java/lang/ClassLoader.loadClass(ClassLoader.java:306)
    ^-- Holding lock: weblogic/utils/classloaders/GenericClassLoader@0x0E093168[recursive]
    at java/lang/ClassLoader.loadClass(ClassLoader.java:251)
    at weblogic/utils/classloaders/GenericClassLoader.loadClass(GenericClassLoader.java:176)
    at jrockit/vm/Classes.loadClassInternal(Classes.java:75)
    ^-- Holding lock: weblogic/utils/classloaders/GenericClassLoader@0x0E093168[biased lock]
    at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
    at jrockit/vm/Classes.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;(Native Method)
    at java/lang/Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;(Native Method)
    at java/lang/Class.forName(Class.java:247)
    at sun/reflect/generics/factory/CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
    at sun/reflect/generics/visitor/Reifier.visitClassTypeSignature(Reifier.java:107)
    at sun/reflect/generics/tree/ClassTypeSignature.accept(ClassTypeSignature.java:31)
    at sun/reflect/generics/visitor/Reifier.reifyTypeArguments(Reifier.java:50)
    at sun/reflect/generics/visitor/Reifier.visitClassTypeSignature(Reifier.java:120)
    at sun/reflect/generics/tree/ClassTypeSignature.accept(ClassTypeSignature.java:31)
    at sun/reflect/generics/repository/MethodRepository.getReturnType(MethodRepository.java:50)
    at java/lang/reflect/Method.getGenericReturnType(Method.java:236)
    at java/lang/reflect/Method.toGenericString(Method.java:482)
    at weblogic/ejb/container/ejbc/EjbCodeGenerator.setMethod(EjbCodeGenerator.java:3511)
    at weblogic/ejb/container/ejbc/EjbCodeGenerator.remote_interface_methods(EjbCodeGenerator.java:2698)
    at weblogic/ejb/container/ejbc/EjbCodeGenerator.remote_business_interface_methods(EjbCodeGenerator.java:2685)
    at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
    at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
        at sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
        at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java/lang/reflect/Method.invoke(Method.java:597)
        at weblogic/utils/compiler/CodeGenerator.processAt(CodeGenerator.java:688)
        at weblogic/utils/compiler/CodeGenerator.parse(CodeGenerator.java:582)
        at weblogic/utils/compiler/CodeGenerator.parse(CodeGenerator.java:539)
        at weblogic/utils/compiler/CodeGenerator.generateCode(CodeGenerator.java:341)
        at weblogic/utils/compiler/CodeGenerator.generate(CodeGenerator.java:242)
        at weblogic/utils/compiler/CodeGenerator.generate(CodeGenerator.java:197)
        at weblogic/ejb/container/ejbc/EJBCompiler.generateSourcesFromBeanInfo(EJBCompiler.java:1019)
        at weblogic/ejb/container/ejbc/EJBCompiler.doCompile(EJBCompiler.java:299)
        at weblogic/ejb/container/ejbc/EJBCompiler.compileEJB(EJBCompiler.java:552)
        at weblogic/ejb/container/ejbc/EJBCompiler.compileEJB(EJBCompiler.java:519)
        at weblogic/ejb/container/deployer/EJBDeployer.runEJBC(EJBDeployer.java:393)
        at weblogic/ejb/container/deployer/EJBDeployer.compileJar(EJBDeployer.java:715)
        at weblogic/ejb/container/deployer/EJBDeployer.compileIfNecessary(EJBDeployer.java:618)
        at weblogic/ejb/container/deployer/EJBDeployer.prepare(EJBDeployer.java:1154)
        at weblogic/ejb/container/deployer/EJBModule.prepare(EJBModule.java:425)
    Stopping PointBase server...
    PointBase server stopped.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                &n

    Looks like a JVM crash during classloading. Have no idea what might cause it. I suggest you try upgrading to a more recent JRockit version (google for "download jrockit" and get the latest JRMC version you can find, it includes JRockit R27.6.5). If that doesn't help, open a ticket with Oracle Support and provide the text dump and the minidump for analysis.
    Henrik

  • 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 crashes in Weblogic 8.1 SP4

    Environment:-
    1)
    Windows2003 SP1 , 1GB RAM
    Weblogic 8.1 SP4
    Oracle 9.2.0.5 ( oracle 9i)
    Oracle client 9.2.0.1
    JDK1.4.2_08
    KODO 2.5.8
    2) The following are the settings used for configuring connection pool in weblogic console:-
    URL : jdbc:oracle:oci@XGLIVE ( where XGLIVE is tns ID)
    Driver : oracle.jdbc.driver.OracleDriver
    Properties:
    user=xglive
    dll=ocijdbc9
    protocol=oci9
    3) The following are the settings in StartWeblogic.cmd
    PRODUCTION_MODE=true
    JAVA_VM=server
    set MEM_ARGS=-Xms700m -Xmx700m -XX:NewSize=280m -XX:MaxNewSize=280m -XX:SurvivorRatio=8 -XX:MaxPermSize=128m -Xrs
    4) classes12.jar is NOT in CLASSPATH. ojdbc14.jar is present in CLASSPATH.
    Problem Statement:-
    JVM is crashing pretty often. Some times it crashes with in 5 minutes after server comes up.
    LOG:-
    CLASSPATH=C:\j2sdk1.4.2_08\lib\tools.jar;D:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;D:\bea\WEBLOG~1\server\lib\weblogic.jar;D:\bea\WEBLOG~1\common\eval\pointbase\lib\pbserver44.jar;D:\bea\WEBLOG~1\common\eval\pointbase\lib\pbclient44.jar;C:\j2sdk1.4.2_08\jre\lib\rt.jar;D:\bea\WEBLOG~1\server\lib\webservices.jar;
    PATH=D:\bea\WEBLOG~1\server\bin;C:\j2sdk1.4.2_08\jre\bin;C:\j2sdk1.4.2_08\bin;C:\j2sdk1.4.2_08\bin\;D:\oracle\ora92\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\bea\WEBLOG~1\server\bin\oci920_8
    An unrecoverable stack overflow has occurred.
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_STACK_OVERFLOW (0xc00000fd) occurred at PC=0x60544B27
    Function=vsnupr+0xAD67
    Library=D:\oracle\ora92\bin\oracommon9.dll
    Current Java thread:
         at oracle.jdbc.oci8.OCIDBAccess.do_execute(Native Method)
         at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java:1732)
         - locked <0x13e8e3a0> (a oracle.jdbc.oci8.OCIDBAccess)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2520)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2672)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:604)
         - locked <0x163eaf08> (a oracle.jdbc.driver.OraclePreparedStatement)
         - locked <0x13e80430> (a oracle.jdbc.driver.OracleConnection)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:527)
         - locked <0x163eaf08> (a oracle.jdbc.driver.OraclePreparedStatement)
         - locked <0x13e80430> (a oracle.jdbc.driver.OracleConnection)
         at com.solarmetric.datasource.PreparedStatementWrapper.executeQuery(PreparedStatementWrapper.java:93)
         at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedQueryInternal(SQLExecutionManagerImpl.java:707)
         at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQueryInternal(SQLExecutionManagerImpl.java:600)
         at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:355)
         at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:339)
         at com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.selectPrimaryMappings(ClassMapping.java:1296)
         at com.solarmetric.kodo.impl.jdbc.ormapping.OneToManyMapping.load(OneToManyMapping.java:82)
         at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:494)
         at com.solarmetric.kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:2342)
         at com.solarmetric.kodo.runtime.StateManagerImpl.preSerialize(StateManagerImpl.java:823)
         at com.firstapex.aic.party.vbo.scn.BasePartVBOSCNLog.jdoPreSerialize(BasePartVBOSCNLog.java)
         at com.firstapex.aic.party.vbo.scn.BasePartVBOSCNLog.writeObject(BasePartVBOSCNLog.java)
         at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
         at com.firstapex.aic.party.vbo.log.ZipVBOLogItem.writeObject(ZipVBOLogItem.java)
         at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
         at com.firstapex.aic.party.vbo.log.ZipVBOLogItem.writeObject(ZipVBOLogItem.java)
         at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
         at com.firstapex.aic.party.vbo.log.RoleTypeVBOLogItem.writeObject(RoleTypeVBOLogItem.java)
         at sun.reflect.GeneratedMethodAccessor353.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
         at java.util.LinkedList.writeObject(LinkedList.java:685)
         at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
         at com.firstapex.aic.party.vbo.scn.RoleTypeVBOSCNLog.writeObject(RoleTypeVBOSCNLog.java)
         at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
         at com.firstapex.aic.party.vbo.log.RoleTypeVBOLogItem.writeObject(RoleTypeVBOLogItem.java)
         at sun.reflect.GeneratedMethodAccessor353.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
         at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
         at com.firstapex.aic.party.vbo.log.RoleTypeVBOLogItem.writeObject(RoleTypeVBOLogItem.java)
         at sun.reflect.GeneratedMethodAccessor353.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
    Dynamic libraries:
    0x00400000 - 0x0040B000      C:\j2sdk1.4.2_08\bin\java.exe
    0x7C800000 - 0x7C8C0000      C:\WINDOWS\system32\ntdll.dll
    0x77E40000 - 0x77F42000      C:\WINDOWS\system32\kernel32.dll
    0x77F50000 - 0x77FEC000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77C50000 - 0x77CEF000      C:\WINDOWS\system32\RPCRT4.dll
    0x77BA0000 - 0x77BFA000      C:\WINDOWS\system32\MSVCRT.dll
    0x08000000 - 0x082AE000      C:\j2sdk1.4.2_08\jre\bin\server\jvm.dll
    0x77380000 - 0x77412000      C:\WINDOWS\system32\USER32.dll
    0x77C00000 - 0x77C48000      C:\WINDOWS\system32\GDI32.dll
    0x76AA0000 - 0x76ACD000      C:\WINDOWS\system32\WINMM.dll
    0x10000000 - 0x10007000      C:\j2sdk1.4.2_08\jre\bin\hpi.dll
    0x00370000 - 0x0037E000      C:\j2sdk1.4.2_08\jre\bin\verify.dll
    0x00380000 - 0x00399000      C:\j2sdk1.4.2_08\jre\bin\java.dll
    0x003A0000 - 0x003AE000      C:\j2sdk1.4.2_08\jre\bin\zip.dll
    0x02D60000 - 0x02D6F000      C:\j2sdk1.4.2_08\jre\bin\net.dll
    0x71C00000 - 0x71C17000      C:\WINDOWS\system32\WS2_32.dll
    0x71BF0000 - 0x71BF8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71B20000 - 0x71B61000      C:\WINDOWS\System32\mswsock.dll
    0x76ED0000 - 0x76EF9000      C:\WINDOWS\system32\DNSAPI.dll
    0x76F70000 - 0x76F77000      C:\WINDOWS\System32\winrnr.dll
    0x76F10000 - 0x76F3E000      C:\WINDOWS\system32\WLDAP32.dll
    0x76F80000 - 0x76F85000      C:\WINDOWS\system32\rasadhlp.dll
    0x055E0000 - 0x055E8000      C:\j2sdk1.4.2_08\jre\bin\nio.dll
    0x05670000 - 0x05676000      C:\j2sdk1.4.2_08\jre\bin\ioser12.dll
    0x5F270000 - 0x5F2C9000      C:\WINDOWS\system32\hnetcfg.dll
    0x71AE0000 - 0x71AE8000      C:\WINDOWS\System32\wshtcpip.dll
    0x62F00000 - 0x62F0F000      D:\oracle\ora92\bin\ocijdbc9.dll
    0x610A0000 - 0x6113F000      D:\oracle\ora92\bin\oracore9.dll
    0x612A0000 - 0x61319000      D:\oracle\ora92\bin\oranls9.dll
    0x613A0000 - 0x613B1000      D:\oracle\ora92\bin\oraunls9.dll
    0x71BB0000 - 0x71BB9000      C:\WINDOWS\system32\WSOCK32.dll
    0x77670000 - 0x777A4000      C:\WINDOWS\system32\ole32.dll
    0x60600000 - 0x60784000      D:\oracle\ora92\bin\oraclient9.dll
    0x60800000 - 0x60806000      D:\oracle\ora92\bin\oravsn9.dll
    0x60500000 - 0x60590000      D:\oracle\ora92\bin\oracommon9.dll
    0x05740000 - 0x05997000      D:\oracle\ora92\bin\orageneric9.dll
    0x62FC0000 - 0x6303D000      D:\oracle\ora92\bin\oraxml9.dll
    0x60020000 - 0x60030000      C:\WINDOWS\system32\MSVCIRT.dll
    0x630F0000 - 0x63110000      D:\oracle\ora92\bin\oraxsd9.dll
    0x615A0000 - 0x61629000      D:\oracle\ora92\bin\orannzsbb9.dll
    0x61480000 - 0x61534000      D:\oracle\ora92\bin\oran9.dll
    0x61400000 - 0x6142C000      D:\oracle\ora92\bin\oranl9.dll
    0x61960000 - 0x61971000      D:\oracle\ora92\bin\oranldap9.dll
    0x62000000 - 0x62024000      D:\oracle\ora92\bin\oraldapclnt9.dll
    0x616B0000 - 0x616C8000      D:\oracle\ora92\bin\orancrypt9.dll
    0x77D00000 - 0x77D8C000      C:\WINDOWS\system32\OLEAUT32.dll
    0x62300000 - 0x6233E000      D:\oracle\ora92\bin\ORATRACE9.dll
    0x61730000 - 0x61766000      D:\oracle\ora92\bin\oranro9.dll
    0x617C0000 - 0x617C6000      D:\oracle\ora92\bin\oranhost9.dll
    0x617D0000 - 0x617D6000      D:\oracle\ora92\bin\oranoname9.dll
    0x616A0000 - 0x616A6000      D:\oracle\ora92\bin\orancds9.dll
    0x61820000 - 0x61827000      D:\oracle\ora92\bin\orantns9.dll
    0x64000000 - 0x64007000      D:\oracle\ora92\bin\oranms.dll
    0x64020000 - 0x64030000      D:\oracle\ora92\bin\oranmsp.dll
    0x60A00000 - 0x60D13000      D:\oracle\ora92\bin\orapls9.dll
    0x62500000 - 0x62507000      D:\oracle\ora92\bin\oraslax9.dll
    0x61350000 - 0x61360000      D:\oracle\ora92\bin\orasnls9.dll
    0x60810000 - 0x60816000      D:\oracle\ora92\bin\orawtc9.dll
    0x62600000 - 0x62675000      D:\oracle\ora92\bin\orasql9.dll
    0x76F50000 - 0x76F63000      C:\WINDOWS\system32\Secur32.dll
    0x61910000 - 0x6191C000      D:\oracle\ora92\bin\orantcp9.dll
    0x07BC0000 - 0x07BC5000      D:\bea\weblogic81\server\bin\stackdump.dll
    0x07F50000 - 0x07F55000      D:\bea\weblogic81\server\bin\wlntio.dll
    0x76C10000 - 0x76C39000      C:\WINDOWS\system32\imagehlp.dll
    0x6D580000 - 0x6D628000      C:\WINDOWS\system32\dbghelp.dll
    0x77B90000 - 0x77B98000      C:\WINDOWS\system32\VERSION.dll
    0x76B70000 - 0x76B7B000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 12864K, used 12139K [0x10010000, 0x10e00000, 0x11640000)
    eden space 11456K, 99% used [0x10010000, 0x10b3ff90, 0x10b40000)
    from space 1408K, 48% used [0x10b40000, 0x10beae98, 0x10ca0000)
    to space 1408K, 0% used [0x10ca0000, 0x10ca13b0, 0x10e00000)
    tenured generation total 113700K, used 81571K [0x11640000, 0x18549000, 0x1c810000)
    the space 113700K, 71% used [0x11640000, 0x165e8fa0, 0x165e9000, 0x18549000)
    compacting perm gen total 47360K, used 47156K [0x1c810000, 0x1f650000, 0x24810000)
    the space 47360K, 99% used [0x1c810000, 0x1f61d060, 0x1f61d200, 0x1f650000)
    Local Time = Tue Jun 06 10:32:26 2006
    Elapsed Time = 645
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Server VM (1.4.2_08-b03 mixed mode)
    # An error report file has been saved as hs_err_pid3024.log.
    # Please refer to the file for further information.
    #

    According to your log and error message, there was error occured in the lib
    D:\oracle\ora92\bin\oracommon9.dll. This was native code error, so you got
    JVM crashed. If you have no special requirements, you'd better use thin
    driver rather than oci driver. Thin driver maybe a little slow than oci
    dirver, but you will get more stability.
    <sridhar vempali> wrote in message news:[email protected]...
    Environment:-
    1)
    Windows2003 SP1 , 1GB RAM
    Weblogic 8.1 SP4
    Oracle 9.2.0.5 ( oracle 9i)
    Oracle client 9.2.0.1
    JDK1.4.2_08
    KODO 2.5.8
    2) The following are the settings used for configuring connection pool in
    weblogic console:-
    URL : jdbc:oracle:oci@XGLIVE ( where XGLIVE is tns ID)
    Driver : oracle.jdbc.driver.OracleDriver
    Properties:
    user=xglive
    dll=ocijdbc9
    protocol=oci9
    3) The following are the settings in StartWeblogic.cmd
    PRODUCTION_MODE=true
    JAVA_VM=server
    set
    MEM_ARGS=-Xms700m -Xmx700m -XX:NewSize=280m -XX:MaxNewSize=280m -XX:SurvivorRatio=8
    -XX:MaxPermSize=128m -Xrs
    4) classes12.jar is NOT in CLASSPATH. ojdbc14.jar is present in CLASSPATH.
    Problem Statement:-
    JVM is crashing pretty often. Some times it crashes with in 5 minutes
    after server comes up.
    LOG:-
    CLASSPATH=C:\j2sdk1.4.2_08\lib\tools.jar;D:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;D:\bea\WEBLOG~1\server\lib\weblogic.jar;D:\bea\WEBLOG~1\common\eval\pointbase\lib\pbserver44.jar;D:\bea\WEBLOG~1\common\eval\pointbase\lib\pbclient44.jar;C:\j2sdk1.4.2_08\jre\lib\rt.jar;D:\bea\WEBLOG~1\server\lib\webservices.jar;
    PATH=D:\bea\WEBLOG~1\server\bin;C:\j2sdk1.4.2_08\jre\bin;C:\j2sdk1.4.2_08\bin;C:\j2sdk1.4.2_08\bin\;D:\oracle\ora92\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\bea\WEBLOG~1\server\bin\oci920_8
    An unrecoverable stack overflow has occurred.
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_STACK_OVERFLOW (0xc00000fd) occurred at
    PC=0x60544B27
    Function=vsnupr+0xAD67
    Library=D:\oracle\ora92\bin\oracommon9.dll
    Current Java thread:
    at oracle.jdbc.oci8.OCIDBAccess.do_execute(Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java:1732)
    - locked <0x13e8e3a0> (a oracle.jdbc.oci8.OCIDBAccess)
    at
    oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2520)
    at
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2672)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:604)
    - locked <0x163eaf08> (a oracle.jdbc.driver.OraclePreparedStatement)
    - locked <0x13e80430> (a oracle.jdbc.driver.OracleConnection)
    at
    oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:527)
    - locked <0x163eaf08> (a oracle.jdbc.driver.OraclePreparedStatement)
    - locked <0x13e80430> (a oracle.jdbc.driver.OracleConnection)
    at
    com.solarmetric.datasource.PreparedStatementWrapper.executeQuery(PreparedStatementWrapper.java:93)
    at
    com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedQueryInternal(SQLExecutionManagerImpl.java:707)
    at
    com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQueryInternal(SQLExecutionManagerImpl.java:600)
    at
    com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:355)
    at
    com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeQuery(SQLExecutionManagerImpl.java:339)
    at
    com.solarmetric.kodo.impl.jdbc.ormapping.ClassMapping.selectPrimaryMappings(ClassMapping.java:1296)
    at
    com.solarmetric.kodo.impl.jdbc.ormapping.OneToManyMapping.load(OneToManyMapping.java:82)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.load(JDBCStoreManager.java:494)
    at
    com.solarmetric.kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:2342)
    at
    com.solarmetric.kodo.runtime.StateManagerImpl.preSerialize(StateManagerImpl.java:823)
    at
    com.firstapex.aic.party.vbo.scn.BasePartVBOSCNLog.jdoPreSerialize(BasePartVBOSCNLog.java)
    at
    com.firstapex.aic.party.vbo.scn.BasePartVBOSCNLog.writeObject(BasePartVBOSCNLog.java)
    at sun.reflect.GeneratedMethodAccessor190.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
    at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
    at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
    at
    java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
    at
    com.firstapex.aic.party.vbo.log.ZipVBOLogItem.writeObject(ZipVBOLogItem.java)
    at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
    at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
    at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
    at
    java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
    at
    com.firstapex.aic.party.vbo.log.ZipVBOLogItem.writeObject(ZipVBOLogItem.java)
    at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
    java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
    at
    com.firstapex.aic.party.vbo.log.RoleTypeVBOLogItem.writeObject(RoleTypeVBOLogItem.java)
    at sun.reflect.GeneratedMethodAccessor353.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
    at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
    at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    at java.util.LinkedList.writeObject(LinkedList.java:685)
    at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
    at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
    at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
    at
    java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
    at
    com.firstapex.aic.party.vbo.scn.RoleTypeVBOSCNLog.writeObject(RoleTypeVBOSCNLog.java)
    at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
    at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
    at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
    at
    java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
    at
    com.firstapex.aic.party.vbo.log.RoleTypeVBOLogItem.writeObject(RoleTypeVBOLogItem.java)
    at sun.reflect.GeneratedMethodAccessor353.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
    at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
    at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
    at
    java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:367)
    at
    com.firstapex.aic.party.vbo.log.RoleTypeVBOLogItem.writeObject(RoleTypeVBOLogItem.java)
    at sun.reflect.GeneratedMethodAccessor353.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
    at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
    at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
    Dynamic libraries:
    0x00400000 - 0x0040B000 C:\j2sdk1.4.2_08\bin\java.exe
    0x7C800000 - 0x7C8C0000 C:\WINDOWS\system32\ntdll.dll
    0x77E40000 - 0x77F42000 C:\WINDOWS\system32\kernel32.dll
    0x77F50000 - 0x77FEC000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77C50000 - 0x77CEF000 C:\WINDOWS\system32\RPCRT4.dll
    0x77BA0000 - 0x77BFA000 C:\WINDOWS\system32\MSVCRT.dll
    0x08000000 - 0x082AE000 C:\j2sdk1.4.2_08\jre\bin\server\jvm.dll
    0x77380000 - 0x77412000 C:\WINDOWS\system32\USER32.dll
    0x77C00000 - 0x77C48000 C:\WINDOWS\system32\GDI32.dll
    0x76AA0000 - 0x76ACD000 C:\WINDOWS\system32\WINMM.dll
    0x10000000 - 0x10007000 C:\j2sdk1.4.2_08\jre\bin\hpi.dll
    0x00370000 - 0x0037E000 C:\j2sdk1.4.2_08\jre\bin\verify.dll
    0x00380000 - 0x00399000 C:\j2sdk1.4.2_08\jre\bin\java.dll
    0x003A0000 - 0x003AE000 C:\j2sdk1.4.2_08\jre\bin\zip.dll
    0x02D60000 - 0x02D6F000 C:\j2sdk1.4.2_08\jre\bin\net.dll
    0x71C00000 - 0x71C17000 C:\WINDOWS\system32\WS2_32.dll
    0x71BF0000 - 0x71BF8000 C:\WINDOWS\system32\WS2HELP.dll
    0x71B20000 - 0x71B61000 C:\WINDOWS\System32\mswsock.dll
    0x76ED0000 - 0x76EF9000 C:\WINDOWS\system32\DNSAPI.dll
    0x76F70000 - 0x76F77000 C:\WINDOWS\System32\winrnr.dll
    0x76F10000 - 0x76F3E000 C:\WINDOWS\system32\WLDAP32.dll
    0x76F80000 - 0x76F85000 C:\WINDOWS\system32\rasadhlp.dll
    0x055E0000 - 0x055E8000 C:\j2sdk1.4.2_08\jre\bin\nio.dll
    0x05670000 - 0x05676000 C:\j2sdk1.4.2_08\jre\bin\ioser12.dll
    0x5F270000 - 0x5F2C9000 C:\WINDOWS\system32\hnetcfg.dll
    0x71AE0000 - 0x71AE8000 C:\WINDOWS\System32\wshtcpip.dll
    0x62F00000 - 0x62F0F000 D:\oracle\ora92\bin\ocijdbc9.dll
    0x610A0000 - 0x6113F000 D:\oracle\ora92\bin\oracore9.dll
    0x612A0000 - 0x61319000 D:\oracle\ora92\bin\oranls9.dll
    0x613A0000 - 0x613B1000 D:\oracle\ora92\bin\oraunls9.dll
    0x71BB0000 - 0x71BB9000 C:\WINDOWS\system32\WSOCK32.dll
    0x77670000 - 0x777A4000 C:\WINDOWS\system32\ole32.dll
    0x60600000 - 0x60784000 D:\oracle\ora92\bin\oraclient9.dll
    0x60800000 - 0x60806000 D:\oracle\ora92\bin\oravsn9.dll
    0x60500000 - 0x60590000 D:\oracle\ora92\bin\oracommon9.dll
    0x05740000 - 0x05997000 D:\oracle\ora92\bin\orageneric9.dll
    0x62FC0000 - 0x6303D000 D:\oracle\ora92\bin\oraxml9.dll
    0x60020000 - 0x60030000 C:\WINDOWS\system32\MSVCIRT.dll
    0x630F0000 - 0x63110000 D:\oracle\ora92\bin\oraxsd9.dll
    0x615A0000 - 0x61629000 D:\oracle\ora92\bin\orannzsbb9.dll
    0x61480000 - 0x61534000 D:\oracle\ora92\bin\oran9.dll
    0x61400000 - 0x6142C000 D:\oracle\ora92\bin\oranl9.dll
    0x61960000 - 0x61971000 D:\oracle\ora92\bin\oranldap9.dll
    0x62000000 - 0x62024000 D:\oracle\ora92\bin\oraldapclnt9.dll
    0x616B0000 - 0x616C8000 D:\oracle\ora92\bin\orancrypt9.dll
    0x77D00000 - 0x77D8C000 C:\WINDOWS\system32\OLEAUT32.dll
    0x62300000 - 0x6233E000 D:\oracle\ora92\bin\ORATRACE9.dll
    0x61730000 - 0x61766000 D:\oracle\ora92\bin\oranro9.dll
    0x617C0000 - 0x617C6000 D:\oracle\ora92\bin\oranhost9.dll
    0x617D0000 - 0x617D6000 D:\oracle\ora92\bin\oranoname9.dll
    0x616A0000 - 0x616A6000 D:\oracle\ora92\bin\orancds9.dll
    0x61820000 - 0x61827000 D:\oracle\ora92\bin\orantns9.dll
    0x64000000 - 0x64007000 D:\oracle\ora92\bin\oranms.dll
    0x64020000 - 0x64030000 D:\oracle\ora92\bin\oranmsp.dll
    0x60A00000 - 0x60D13000 D:\oracle\ora92\bin\orapls9.dll
    0x62500000 - 0x62507000 D:\oracle\ora92\bin\oraslax9.dll
    0x61350000 - 0x61360000 D:\oracle\ora92\bin\orasnls9.dll
    0x60810000 - 0x60816000 D:\oracle\ora92\bin\orawtc9.dll
    0x62600000 - 0x62675000 D:\oracle\ora92\bin\orasql9.dll
    0x76F50000 - 0x76F63000 C:\WINDOWS\system32\Secur32.dll
    0x61910000 - 0x6191C000 D:\oracle\ora92\bin\orantcp9.dll
    0x07BC0000 - 0x07BC5000 D:\bea\weblogic81\server\bin\stackdump.dll
    0x07F50000 - 0x07F55000 D:\bea\weblogic81\server\bin\wlntio.dll
    0x76C10000 - 0x76C39000 C:\WINDOWS\system32\imagehlp.dll
    0x6D580000 - 0x6D628000 C:\WINDOWS\system32\dbghelp.dll
    0x77B90000 - 0x77B98000 C:\WINDOWS\system32\VERSION.dll
    0x76B70000 - 0x76B7B000 C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 12864K, used 12139K [0x10010000, 0x10e00000,
    0x11640000)
    eden space 11456K, 99% used [0x10010000, 0x10b3ff90, 0x10b40000)
    from space 1408K, 48% used [0x10b40000, 0x10beae98, 0x10ca0000)
    to space 1408K, 0% used [0x10ca0000, 0x10ca13b0, 0x10e00000)
    tenured generation total 113700K, used 81571K [0x11640000, 0x18549000,
    0x1c810000)
    the space 113700K, 71% used [0x11640000, 0x165e8fa0, 0x165e9000,
    0x18549000)
    compacting perm gen total 47360K, used 47156K [0x1c810000, 0x1f650000,
    0x24810000)
    the space 47360K, 99% used [0x1c810000, 0x1f61d060, 0x1f61d200,
    0x1f650000)
    Local Time = Tue Jun 06 10:32:26 2006
    Elapsed Time = 645
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Server VM (1.4.2_08-b03 mixed mode)
    # An error report file has been saved as hs_err_pid3024.log.
    # Please refer to the file for further information.

  • There is insufficient memory for the Java Runtime Environment to continue,JVM crash with high virtual memory on windows

    Hello,
    Virtual Memory of tomcat(version is 6.0.35) is very high and jvm crash even though we decrease java heap size from 1024M to 500M.
    Below is whole log. Please give me some suggestion. Thanks.
    # There is insufficient memory for the Java Runtime Environment to continue.
    # Native memory allocation (malloc) failed to allocate 666390 bytes for jbyte in C:\BUILD_AREA\jdk6_45\hotspot\src\share\vm\prims\jni.cpp
    # Possible reasons:
    #   The system is out of physical RAM or swap space
    #   In 32 bit mode, the process size limit was hit
    # Possible solutions:
    #   Reduce memory load on the system
    #   Increase physical memory or swap space
    #   Check if swap backing store is full
    #   Use 64 bit Java on a 64 bit OS
    #   Decrease Java heap size (-Xmx/-Xms)
    #   Decrease number of Java threads
    #   Decrease Java thread stack sizes (-Xss)
    #   Set larger code cache with -XX:ReservedCodeCacheSize=
    # This output file may be truncated or incomplete.
    #  Out of Memory Error (memory/allocation.inline.hpp:44), pid=9084, tid=8100
    # JRE version: 6.0_45-b06
    # Java VM: Java HotSpot(TM) Client VM (20.45-b01 mixed mode, sharing windows-x86 )
    ---------------  T H R E A D  ---------------
    Current thread (0x045a5400):  JavaThread "Thread-69" [_thread_in_vm, id=8100, stack(0x090e0000,0x09120000)]
    Stack: [0x090e0000,0x09120000],  sp=0x0911f56c,  free space=253k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    [error occurred during error reporting (printing native stack), id 0xe0000000]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    J  com.neva.ExternalObject.toExternalHeap2([BI)I
    J  com.neva.ExternalObject.<init>([BII)V
    J  com.neva.Coroutine.addArgUnicodeString(Ljava/lang/String;)V
    j  com.neva.COMBSTR.<init>(Ljava/lang/String;)V+29
    j  com.neva.COMVariant.<init>(Ljava/lang/String;)V+19
    J  com.cpcus.jaru.protocol.impl.combridge.wizardgen.IJaruProtocol1.registerInterest(Ljava/lang/String;Ljava/lang/String;[ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
    j  sun.reflect.GeneratedMethodAccessor844.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+170
    J  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    J  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    J  com.cpcus.jaru.util.concurent.ComMethodExecutor$ExecutableMethod.call()Ljava/lang/Object;
    J  EDU.oswego.cs.dl.util.concurrent.FutureResult$1.run()V
    J  com.cpcus.jaru.util.concurent.QueuedExecutor$MyRunLoop.run()V
    j  java.lang.Thread.run()V+11
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x044fe000 JavaThread "Thread-1099" daemon [_thread_blocked, id=8048, stack(0x4c4d0000,0x4c510000)]
      0x044f8c00 JavaThread "Thread-1098" daemon [_thread_blocked, id=1744, stack(0x46e50000,0x46e90000)]
      0x044cd000 JavaThread "Thread-1095" daemon [_thread_in_native, id=6176, stack(0x00bb0000,0x00c20000)]
      0x04c7f800 JavaThread "Thread-1094" daemon [_thread_blocked, id=7352, stack(0x0d340000,0x0d380000)]
      0x04c7dc00 JavaThread "Thread-1093" daemon [_thread_in_native, id=1364, stack(0x0bbd0000,0x0bc10000)]
      0x044fcc00 JavaThread "http-80-72" daemon [_thread_blocked, id=1580, stack(0x42110000,0x42150000)]
      0x044fc000 JavaThread "http-80-71" daemon [_thread_blocked, id=2996, stack(0x0cd10000,0x0cd50000)]
      0x044fb800 JavaThread "http-80-70" daemon [_thread_in_native, id=5004, stack(0x0cc90000,0x0ccd0000)]
      0x044fd800 JavaThread "http-80-69" daemon [_thread_blocked, id=8776, stack(0x0f950000,0x0f990000)]
      0x044fb400 JavaThread "http-80-68" daemon [_thread_blocked, id=8440, stack(0x0f8d0000,0x0f910000)]
      0x044f8000 JavaThread "http-80-67" daemon [_thread_in_native, id=5516, stack(0x0f850000,0x0f890000)]
      0x044fd400 JavaThread "http-80-66" daemon [_thread_blocked, id=876, stack(0x0f6d0000,0x0f710000)]
      0x044fac00 JavaThread "http-80-65" daemon [_thread_in_native, id=8332, stack(0x0f690000,0x0f6d0000)]
      0x044fa800 JavaThread "http-80-64" daemon [_thread_in_native, id=6848, stack(0x0f610000,0x0f650000)]
      0x044fc800 JavaThread "http-80-63" daemon [_thread_blocked, id=5996, stack(0x0f590000,0x0f5d0000)]
      0x044fa000 JavaThread "http-80-62" daemon [_thread_blocked, id=4876, stack(0x0cf90000,0x0cfd0000)]
      0x044f9c00 JavaThread "http-80-61" daemon [_thread_blocked, id=5532, stack(0x0f550000,0x0f590000)]
      0x044f9400 JavaThread "http-80-60" daemon [_thread_in_native, id=1764, stack(0x0f4d0000,0x0f510000)]
      0x044f8800 JavaThread "http-80-59" daemon [_thread_blocked, id=6108, stack(0x0f450000,0x0f490000)]
      0x044f7400 JavaThread "http-80-58" daemon [_thread_in_native, id=6892, stack(0x0d400000,0x0d440000)]
      0x04ab3000 JavaThread "http-80-57" daemon [_thread_in_native, id=6932, stack(0x0d2c0000,0x0d300000)]
      0x0436b400 JavaThread "http-80-56" daemon [_thread_blocked, id=644, stack(0x0d240000,0x0d280000)]
      0x0436a000 JavaThread "http-80-55" daemon [_thread_in_native, id=6772, stack(0x0d1c0000,0x0d200000)]
      0x04c80c00 JavaThread "http-80-54" daemon [_thread_in_native, id=2732, stack(0x0d140000,0x0d180000)]
      0x04c80800 JavaThread "http-80-53" daemon [_thread_in_native, id=4172, stack(0x0d0c0000,0x0d100000)]
      0x04c80000 JavaThread "http-80-52" daemon [_thread_blocked, id=2512, stack(0x0d040000,0x0d080000)]
      0x044cdc00 JavaThread "http-80-51" daemon [_thread_in_native, id=6260, stack(0x0ced0000,0x0cf10000)]
      0x04c7d400 JavaThread "http-80-50" daemon [_thread_blocked, id=4336, stack(0x0ce90000,0x0ced0000)]
      0x0436d400 JavaThread "http-80-49" daemon [_thread_blocked, id=2484, stack(0x0ce10000,0x0ce50000)]
      0x0436dc00 JavaThread "http-80-48" daemon [_thread_in_native, id=8396, stack(0x0c840000,0x0c880000)]
      0x0436cc00 JavaThread "http-80-47" daemon [_thread_blocked, id=8300, stack(0x0c9c0000,0x0ca00000)]
      0x0436c800 JavaThread "H2 Log Writer FRAMEDB" daemon [_thread_blocked, id=7556, stack(0x0cc10000,0x0cc50000)]
      0x0436bc00 JavaThread "H2 File Lock Watchdog C:\Program Files (x86)\Tomcat\webapps\emerson\vault\dbframe\h2\framedb.lock.db" daemon [_thread_blocked, id=7236, stack(0x0c940000,0x0c980000)]
      0x0436c000 JavaThread "http-80-46" daemon [_thread_in_native, id=5128, stack(0x0c8c0000,0x0c900000)]
      0x0436b000 JavaThread "http-80-45" daemon [_thread_blocked, id=7860, stack(0x0c0c0000,0x0c100000)]
      0x0436a800 JavaThread "http-80-44" daemon [_thread_in_native, id=8244, stack(0x0bfc0000,0x0c000000)]
      0x04ab2800 JavaThread "http-80-43" daemon [_thread_blocked, id=6656, stack(0x0c7c0000,0x0c800000)]
      0x04ab2000 JavaThread "http-80-42" daemon [_thread_blocked, id=8412, stack(0x0c740000,0x0c780000)]
      0x04ab1c00 JavaThread "http-80-41" daemon [_thread_in_native, id=6300, stack(0x0c6c0000,0x0c700000)]
      0x04ab1400 JavaThread "http-80-40" daemon [_thread_blocked, id=4312, stack(0x0c640000,0x0c680000)]
      0x04ab1000 JavaThread "http-80-39" daemon [_thread_blocked, id=5480, stack(0x0c5c0000,0x0c600000)]
      0x04ab0800 JavaThread "http-80-38" daemon [_thread_blocked, id=8648, stack(0x0c540000,0x0c580000)]
      0x04ab0400 JavaThread "http-80-37" daemon [_thread_blocked, id=8008, stack(0x0c4c0000,0x0c500000)]
      0x04aafc00 JavaThread "http-80-36" daemon [_thread_in_native, id=8496, stack(0x0c340000,0x0c380000)]
      0x04aaf400 JavaThread "http-80-35" daemon [_thread_blocked, id=6616, stack(0x0c2c0000,0x0c300000)]
      0x044cf000 JavaThread "http-80-34" daemon [_thread_blocked, id=3852, stack(0x0c240000,0x0c280000)]
      0x044ce800 JavaThread "http-80-33" daemon [_thread_blocked, id=8828, stack(0x0c1c0000,0x0c200000)]
      0x044ce400 JavaThread "http-80-32" daemon [_thread_blocked, id=4076, stack(0x0c140000,0x0c180000)]
      0x044cc400 JavaThread "http-80-31" daemon [_thread_blocked, id=888, stack(0x0be90000,0x0bed0000)]
      0x044cbc00 JavaThread "http-80-30" daemon [_thread_blocked, id=8524, stack(0x0be10000,0x0be50000)]
      0x044cd800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6500, stack(0x0c040000,0x0c080000)]
      0x044ccc00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=8888, stack(0x0bf40000,0x0bf80000)]
      0x045a5800 JavaThread "MonitorThreadCountsAndMemory" daemon [_thread_blocked, id=760, stack(0x09160000,0x091a0000)]
      0x04742400 JavaThread "Thread-116" daemon [_thread_blocked, id=8208, stack(0x0bdd0000,0x0be10000)]
      0x04742c00 JavaThread "Thread-115" daemon [_thread_blocked, id=6160, stack(0x0bd30000,0x0bd70000)]
      0x04742000 JavaThread "TP-Monitor" daemon [_thread_blocked, id=4676, stack(0x0b730000,0x0b770000)]
      0x04741800 JavaThread "TP-Processor4" daemon [_thread_in_native, id=7904, stack(0x0b6b0000,0x0b6f0000)]
      0x04741000 JavaThread "TP-Processor3" daemon [_thread_blocked, id=3892, stack(0x0b630000,0x0b670000)]
      0x04740c00 JavaThread "TP-Processor2" daemon [_thread_blocked, id=8200, stack(0x0b5b0000,0x0b5f0000)]
      0x04740400 JavaThread "TP-Processor1" daemon [_thread_blocked, id=8240, stack(0x0b530000,0x0b570000)]
      0x04740000 JavaThread "http-80-29" daemon [_thread_blocked, id=8952, stack(0x0b4b0000,0x0b4f0000)]
      0x0473f800 JavaThread "http-80-28" daemon [_thread_in_native, id=5804, stack(0x0b430000,0x0b470000)]
      0x0473f400 JavaThread "http-80-27" daemon [_thread_blocked, id=8768, stack(0x0b3b0000,0x0b3f0000)]
      0x0473ec00 JavaThread "http-80-26" daemon [_thread_in_native, id=8428, stack(0x0b330000,0x0b370000)]
      0x0473e400 JavaThread "http-80-25" daemon [_thread_blocked, id=6328, stack(0x0b2b0000,0x0b2f0000)]
      0x0473e000 JavaThread "http-80-24" daemon [_thread_in_native, id=7856, stack(0x0b230000,0x0b270000)]
      0x0473d800 JavaThread "http-80-23" daemon [_thread_in_native, id=8212, stack(0x0b1b0000,0x0b1f0000)]
      0x0473d400 JavaThread "http-80-22" daemon [_thread_blocked, id=7572, stack(0x0b130000,0x0b170000)]
      0x0473cc00 JavaThread "http-80-21" daemon [_thread_in_native, id=4112, stack(0x0b0b0000,0x0b0f0000)]
      0x0473c800 JavaThread "http-80-20" daemon [_thread_in_native, id=1788, stack(0x0b030000,0x0b070000)]
      0x0473c000 JavaThread "http-80-19" daemon [_thread_blocked, id=6804, stack(0x0afb0000,0x0aff0000)]
      0x0473b800 JavaThread "http-80-18" daemon [_thread_in_native, id=1600, stack(0x0af30000,0x0af70000)]
      0x0473b400 JavaThread "http-80-17" daemon [_thread_in_native, id=5728, stack(0x0aeb0000,0x0aef0000)]
      0x04acc400 JavaThread "http-80-16" daemon [_thread_blocked, id=8728, stack(0x0ae30000,0x0ae70000)]
      0x04acbc00 JavaThread "http-80-15" daemon [_thread_blocked, id=5868, stack(0x0adb0000,0x0adf0000)]
      0x04acb800 JavaThread "http-80-14" daemon [_thread_blocked, id=6976, stack(0x0ad30000,0x0ad70000)]
      0x04acb000 JavaThread "http-80-13" daemon [_thread_blocked, id=6168, stack(0x0acb0000,0x0acf0000)]
      0x04acac00 JavaThread "http-80-12" daemon [_thread_blocked, id=2592, stack(0x0ac30000,0x0ac70000)]
      0x04aca400 JavaThread "http-80-11" daemon [_thread_in_native, id=7936, stack(0x0abb0000,0x0abf0000)]
      0x04aca000 JavaThread "http-80-10" daemon [_thread_in_native, id=7532, stack(0x0ab30000,0x0ab70000)]
      0x04ac9800 JavaThread "http-80-9" daemon [_thread_blocked, id=7704, stack(0x0aab0000,0x0aaf0000)]
      0x04ac9400 JavaThread "http-80-8" daemon [_thread_in_native, id=8852, stack(0x0aa30000,0x0aa70000)]
      0x04ac8c00 JavaThread "http-80-7" daemon [_thread_blocked, id=5052, stack(0x0a9b0000,0x0a9f0000)]
      0x04ac8400 JavaThread "http-80-6" daemon [_thread_blocked, id=5932, stack(0x0a930000,0x0a970000)]
      0x04ac8000 JavaThread "http-80-5" daemon [_thread_blocked, id=8992, stack(0x0a8b0000,0x0a8f0000)]
      0x04ac7800 JavaThread "http-80-4" daemon [_thread_in_native, id=6396, stack(0x0a830000,0x0a870000)]
      0x04ac7400 JavaThread "http-80-3" daemon [_thread_in_native, id=8764, stack(0x0a7b0000,0x0a7f0000)]
      0x04ac6c00 JavaThread "http-80-2" daemon [_thread_in_native, id=2608, stack(0x0a730000,0x0a770000)]
      0x04ac6800 JavaThread "http-80-1" daemon [_thread_in_native, id=5736, stack(0x0a6b0000,0x0a6f0000)]
      0x04ac6000 JavaThread "http-80-Acceptor-0" daemon [_thread_in_native, id=5912, stack(0x0a630000,0x0a670000)]
      0x04ac5800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=6984, stack(0x0a5b0000,0x0a5f0000)]
      0x04ac5400 JavaThread "Thread-79" [_thread_in_native, id=1512, stack(0x0a530000,0x0a570000)]
      0x04ac4c00 JavaThread "QuartzScheduler_JaruQuartzSchedulerUser-3_MisfireHandler" [_thread_blocked, id=7460, stack(0x0a4b0000,0x0a4f0000)]
      0x0479f800 JavaThread "QuartzScheduler_JaruQuartzSchedulerSystem-2_MisfireHandler" [_thread_blocked, id=7164, stack(0x0a430000,0x0a470000)]
      0x0479f400 JavaThread "JaruQuartzSchedulerUser_QuartzSchedulerThread" [_thread_blocked, id=8972, stack(0x0a3b0000,0x0a3f0000)]
      0x0479ec00 JavaThread "JaruQuartzSchedulerUser_Worker-4" [_thread_blocked, id=4032, stack(0x0a330000,0x0a370000)]
      0x0479e400 JavaThread "JaruQuartzSchedulerUser_Worker-3" [_thread_blocked, id=7432, stack(0x0a2b0000,0x0a2f0000)]
      0x0479e000 JavaThread "JaruQuartzSchedulerUser_Worker-2" [_thread_blocked, id=7932, stack(0x0a230000,0x0a270000)]
      0x0479d800 JavaThread "JaruQuartzSchedulerUser_Worker-1" [_thread_blocked, id=4896, stack(0x0a1b0000,0x0a1f0000)]
      0x0479d400 JavaThread "JaruQuartzSchedulerSystem_QuartzSchedulerThread" [_thread_blocked, id=7380, stack(0x0a130000,0x0a170000)]
      0x0479cc00 JavaThread "JaruQuartzSchedulerSystem_Worker-9" [_thread_blocked, id=5416, stack(0x0a0b0000,0x0a0f0000)]
      0x0479c800 JavaThread "JaruQuartzSchedulerSystem_Worker-8" [_thread_blocked, id=5432, stack(0x0a030000,0x0a070000)]
      0x0479c000 JavaThread "JaruQuartzSchedulerSystem_Worker-7" [_thread_blocked, id=7812, stack(0x09fb0000,0x09ff0000)]
      0x0479b800 JavaThread "JaruQuartzSchedulerSystem_Worker-6" [_thread_blocked, id=8296, stack(0x09f30000,0x09f70000)]
      0x0479b400 JavaThread "JaruQuartzSchedulerSystem_Worker-5" [_thread_blocked, id=5216, stack(0x09eb0000,0x09ef0000)]
      0x0479ac00 JavaThread "JaruQuartzSchedulerSystem_Worker-4" [_thread_blocked, id=8616, stack(0x09e30000,0x09e70000)]
      0x0479a800 JavaThread "JaruQuartzSchedulerSystem_Worker-3" [_thread_blocked, id=9108, stack(0x09db0000,0x09df0000)]
      0x0479a000 JavaThread "JaruQuartzSchedulerSystem_Worker-2" [_thread_blocked, id=7928, stack(0x09d30000,0x09d70000)]
      0x04799c00 JavaThread "JaruQuartzSchedulerSystem_Worker-1" [_thread_blocked, id=5344, stack(0x09cb0000,0x09cf0000)]
      0x04799400 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=5288, stack(0x09c30000,0x09c70000)]
      0x04798c00 JavaThread "DefaultQuartzScheduler_Worker-10" [_thread_blocked, id=6200, stack(0x09bb0000,0x09bf0000)]
      0x04798800 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=9068, stack(0x09b30000,0x09b70000)]
      0x04798000 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=8576, stack(0x09ab0000,0x09af0000)]
      0x045abc00 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=2504, stack(0x09a30000,0x09a70000)]
      0x045ab800 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=7820, stack(0x099b0000,0x099f0000)]
      0x045ab000 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=4604, stack(0x09930000,0x09970000)]
      0x045aa800 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=3076, stack(0x098b0000,0x098f0000)]
      0x045aa400 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=8392, stack(0x09830000,0x09870000)]
      0x045a9c00 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=476, stack(0x097b0000,0x097f0000)]
      0x045a9800 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=9024, stack(0x09730000,0x09770000)]
      0x045a9000 JavaThread "JaruQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=7576, stack(0x00820000,0x00860000)]
      0x045a8c00 JavaThread "Thread-75" [_thread_blocked, id=2132, stack(0x096b0000,0x096f0000)]
      0x045a8400 JavaThread "TacAlarmMon" [_thread_blocked, id=7244, stack(0x09630000,0x09670000)]
      0x045a7c00 JavaThread "Thread-74" [_thread_blocked, id=2728, stack(0x095b0000,0x095f0000)]
      0x045a7800 JavaThread "MonConnMgr3002" [_thread_in_native, id=7444, stack(0x09530000,0x09570000)]
      0x045a7000 JavaThread "Timer-1" [_thread_blocked, id=8272, stack(0x094b0000,0x094f0000)]
      0x045a6c00 JavaThread "Thread-72" [_thread_blocked, id=6512, stack(0x09430000,0x09470000)]
      0x045a6400 JavaThread "MonConnMgr3001" [_thread_in_native, id=5284, stack(0x093b0000,0x093f0000)]
      0x045a6000 JavaThread "Timer-0" [_thread_blocked, id=2932, stack(0x09330000,0x09370000)]
    =>0x045a5400 JavaThread "Thread-69" [_thread_in_native_trans, id=8100, stack(0x090e0000,0x09120000)]
      0x045a4c00 JavaThread "Thread-68" [_thread_blocked, id=7160, stack(0x09060000,0x090a0000)]
      0x045a4400 JavaThread "Thread-67" [_thread_blocked, id=2212, stack(0x08fe0000,0x09020000)]
      0x04875400 JavaThread "Thread-66" [_thread_blocked, id=7180, stack(0x08f60000,0x08fa0000)]
      0x04875000 JavaThread "Thread-65" [_thread_blocked, id=2672, stack(0x08ee0000,0x08f20000)]
      0x04874800 JavaThread "Thread-64" [_thread_blocked, id=8456, stack(0x08e60000,0x08ea0000)]
      0x04874000 JavaThread "Thread-63" [_thread_blocked, id=7708, stack(0x08de0000,0x08e20000)]
      0x04873c00 JavaThread "Thread-62" [_thread_blocked, id=9204, stack(0x08d60000,0x08da0000)]
      0x04873400 JavaThread "Thread-61" [_thread_blocked, id=1496, stack(0x08ce0000,0x08d20000)]
      0x04873000 JavaThread "Thread-60" [_thread_blocked, id=3480, stack(0x08c60000,0x08ca0000)]
      0x04872800 JavaThread "Thread-59" [_thread_blocked, id=7740, stack(0x08be0000,0x08c20000)]
      0x04872400 JavaThread "Thread-58" [_thread_blocked, id=3496, stack(0x08b60000,0x08ba0000)]
      0x04871c00 JavaThread "Thread-57" [_thread_blocked, id=4892, stack(0x08ae0000,0x08b20000)]
      0x04871400 JavaThread "Thread-56" [_thread_blocked, id=5640, stack(0x08a60000,0x08aa0000)]
      0x04871000 JavaThread "Thread-55" [_thread_blocked, id=8120, stack(0x089e0000,0x08a20000)]
      0x04870800 JavaThread "Thread-54" [_thread_blocked, id=5388, stack(0x08960000,0x089a0000)]
      0x04870400 JavaThread "Thread-53" [_thread_blocked, id=7072, stack(0x088e0000,0x08920000)]
      0x0486fc00 JavaThread "Thread-52" [_thread_blocked, id=7184, stack(0x08860000,0x088a0000)]
      0x0486f800 JavaThread "Thread-51" [_thread_blocked, id=8760, stack(0x087e0000,0x08820000)]
      0x0486f000 JavaThread "Thread-50" [_thread_blocked, id=2380, stack(0x08760000,0x087a0000)]
      0x0486e800 JavaThread "Thread-49" [_thread_blocked, id=3616, stack(0x086e0000,0x08720000)]
      0x0486e400 JavaThread "Thread-48" [_thread_blocked, id=5056, stack(0x08660000,0x086a0000)]
      0x0486dc00 JavaThread "Thread-47" [_thread_blocked, id=5468, stack(0x085e0000,0x08620000)]
      0x0485a000 JavaThread "Thread-46" [_thread_blocked, id=8556, stack(0x08560000,0x085a0000)]
      0x04859c00 JavaThread "Thread-45" [_thread_blocked, id=3656, stack(0x084e0000,0x08520000)]
      0x04859400 JavaThread "Thread-44" [_thread_blocked, id=8924, stack(0x08460000,0x084a0000)]
      0x04858c00 JavaThread "Thread-43" [_thread_blocked, id=7536, stack(0x083e0000,0x08420000)]
      0x04858800 JavaThread "Thread-42" [_thread_blocked, id=4368, stack(0x08360000,0x083a0000)]
      0x04858000 JavaThread "Thread-41" [_thread_blocked, id=8488, stack(0x082e0000,0x08320000)]
      0x04857c00 JavaThread "Thread-40" [_thread_blocked, id=6112, stack(0x08260000,0x082a0000)]
      0x04857400 JavaThread "Thread-39" [_thread_blocked, id=6060, stack(0x081e0000,0x08220000)]
      0x04857000 JavaThread "Thread-38" [_thread_blocked, id=9200, stack(0x08160000,0x081a0000)]
      0x04856800 JavaThread "Thread-37" [_thread_blocked, id=5476, stack(0x080e0000,0x08120000)]
      0x04856000 JavaThread "Thread-36" [_thread_blocked, id=2828, stack(0x08060000,0x080a0000)]
      0x04855c00 JavaThread "Thread-35" [_thread_blocked, id=8320, stack(0x07fe0000,0x08020000)]
      0x04855400 JavaThread "Thread-34" [_thread_blocked, id=5668, stack(0x07f60000,0x07fa0000)]
      0x04855000 JavaThread "Thread-33" [_thread_blocked, id=8316, stack(0x07ee0000,0x07f20000)]
      0x04854800 JavaThread "Thread-32" [_thread_blocked, id=4836, stack(0x07e60000,0x07ea0000)]
      0x04854400 JavaThread "Thread-31" [_thread_blocked, id=964, stack(0x07de0000,0x07e20000)]
      0x04853c00 JavaThread "Thread-30" [_thread_blocked, id=4544, stack(0x07d60000,0x07da0000)]
      0x04853400 JavaThread "Thread-29" [_thread_blocked, id=4388, stack(0x07ce0000,0x07d20000)]
      0x04853000 JavaThread "Thread-28" [_thread_blocked, id=7204, stack(0x07c60000,0x07ca0000)]
      0x04852800 JavaThread "Thread-27" [_thread_blocked, id=864, stack(0x07be0000,0x07c20000)]
      0x0482f800 JavaThread "Thread-26" [_thread_blocked, id=6928, stack(0x07b60000,0x07ba0000)]
      0x0482f400 JavaThread "Thread-25" [_thread_blocked, id=7692, stack(0x07ae0000,0x07b20000)]
      0x0482ec00 JavaThread "Thread-24" [_thread_blocked, id=7196, stack(0x07a60000,0x07aa0000)]
      0x0482e400 JavaThread "Thread-23" [_thread_blocked, id=7116, stack(0x079e0000,0x07a20000)]
      0x0482e000 JavaThread "Thread-22" [_thread_blocked, id=4332, stack(0x07960000,0x079a0000)]
      0x0482d800 JavaThread "Thread-21" [_thread_blocked, id=6780, stack(0x078e0000,0x07920000)]
      0x0482d400 JavaThread "Thread-20" [_thread_blocked, id=5700, stack(0x07860000,0x078a0000)]
      0x0482cc00 JavaThread "Thread-19" [_thread_blocked, id=6116, stack(0x077e0000,0x07820000)]
      0x0482c800 JavaThread "Thread-18" [_thread_blocked, id=7824, stack(0x07760000,0x077a0000)]
      0x0482c000 JavaThread "Thread-17" [_thread_blocked, id=9096, stack(0x076e0000,0x07720000)]
      0x0482b800 JavaThread "Thread-16" [_thread_blocked, id=9144, stack(0x07660000,0x076a0000)]
      0x0482b400 JavaThread "Thread-15" [_thread_blocked, id=5336, stack(0x075e0000,0x07620000)]
      0x0482ac00 JavaThread "Thread-14" [_thread_blocked, id=2076, stack(0x07560000,0x075a0000)]
      0x0482a800 JavaThread "Thread-13" [_thread_blocked, id=5300, stack(0x074e0000,0x07520000)]
      0x0482a000 JavaThread "Thread-12" [_thread_blocked, id=4912, stack(0x07460000,0x074a0000)]
      0x04829c00 JavaThread "Thread-11" [_thread_blocked, id=8512, stack(0x073e0000,0x07420000)]
      0x04829400 JavaThread "Thread-10" [_thread_blocked, id=8772, stack(0x07360000,0x073a0000)]
      0x04828c00 JavaThread "Thread-9" [_thread_blocked, id=4380, stack(0x072e0000,0x07320000)]
      0x04828800 JavaThread "Thread-8" [_thread_blocked, id=6076, stack(0x07260000,0x072a0000)]
      0x04828000 JavaThread "RMI Reaper" [_thread_blocked, id=6184, stack(0x071e0000,0x07220000)]
      0x04801c00 JavaThread "Thread-7" [_thread_blocked, id=4168, stack(0x07160000,0x071a0000)]
      0x0496a000 JavaThread "HSQLDB Timer @def14f" daemon [_thread_blocked, id=4616, stack(0x050e0000,0x05120000)]
      0x03bd6c00 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-HelperThread-#2" daemon [_thread_blocked, id=4136, stack(0x05060000,0x050a0000)]
      0x03bd6400 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-HelperThread-#1" daemon [_thread_blocked, id=8356, stack(0x04fe0000,0x05020000)]
      0x03a05400 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-HelperThread-#0" daemon [_thread_blocked, id=5404, stack(0x04f60000,0x04fa0000)]
      0x03a04c00 JavaThread "C3P0PooledConnectionPoolManager[identityToken->2x760f905j9tmy1l1yrpa|1e2c841]-AdminTaskTimer" daemon [_thread_blocked, id=5860, stack(0x041c0000,0x04200000)]
      0x042ae000 JavaThread "GC Daemon" daemon [_thread_blocked, id=5292, stack(0x04140000,0x04180000)]
      0x03a66400 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=8056, stack(0x03fb0000,0x03ff0000)]
      0x03a63c00 JavaThread "RMI TCP Accept-9090" daemon [_thread_in_native, id=2664, stack(0x03f30000,0x03f70000)]
      0x03a42c00 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=8832, stack(0x03da0000,0x03de0000)]
      0x00f56800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4600, stack(0x039a0000,0x039e0000)]
      0x00f47400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=7060, stack(0x038f0000,0x03960000)]
      0x00f46400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3928, stack(0x03870000,0x038b0000)]
      0x00f43000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4864, stack(0x037f0000,0x03830000)]
      0x00f3c000 JavaThread "Finalizer" daemon [_thread_blocked, id=6164, stack(0x03770000,0x037b0000)]
      0x00f3a800 JavaThread "Reference Handler" daemon [_thread_blocked, id=9004, stack(0x036f0000,0x03730000)]
      0x00eba400 JavaThread "main" [_thread_in_native, id=4904, stack(0x00d80000,0x00df0000)]
    Other Threads:
      0x00efd400 VMThread [stack: 0x03640000,0x036b0000] [id=5172]
      0x03a68400 WatcherThread [stack: 0x04090000,0x04100000] [id=9092]
    VM state:synchronizing (normal execution)
    VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
    [0x00eb8780] Threads_lock - owner thread: 0x00efd400
    Heap
    def new generation   total 142208K, used 109631K [0x10340000, 0x1a9e0000, 0x1a9e0000)
      eden space 113792K,  90% used [0x10340000, 0x167a60c0, 0x17260000)
      from space 28416K,  24% used [0x18e20000, 0x194c9cd8, 0x1a9e0000)
      to   space 28416K,   0% used [0x17260000, 0x17260000, 0x18e20000)
    tenured generation   total 341376K, used 148495K [0x1a9e0000, 0x2f740000, 0x2f740000)
       the space 341376K,  43% used [0x1a9e0000, 0x23ae3f10, 0x23ae4000, 0x2f740000)
    compacting perm gen  total 145408K, used 59874K [0x2f740000, 0x38540000, 0x38540000)
       the space 145408K,  41% used [0x2f740000, 0x331b88a8, 0x331b8a00, 0x38540000)
        ro space 10240K,  51% used [0x38540000, 0x38a73000, 0x38a73000, 0x38f40000)
        rw space 12288K,  55% used [0x38f40000, 0x395de4f8, 0x395de600, 0x39b40000)
    Code Cache  [0x013b0000, 0x02378000, 0x033b0000)
    total_blobs=6549 nmethods=6302 adapters=179 free_code_cache=17026624 largest_free_block=384
    Dynamic libraries:
    0x00400000 - 0x00417000 C:\Program Files (x86)\Tomcat\bin\Tomcat.exe
    0x771c0000 - 0x77340000 C:\Windows\SysWOW64\ntdll.dll
    0x76ac0000 - 0x76bd0000 C:\Windows\syswow64\kernel32.dll
    0x752f0000 - 0x75336000 C:\Windows\syswow64\KERNELBASE.dll
    0x758f0000 - 0x75990000 C:\Windows\syswow64\ADVAPI32.dll
    0x75830000 - 0x758dc000 C:\Windows\syswow64\msvcrt.dll
    0x74e10000 - 0x74e29000 C:\Windows\SysWOW64\sechost.dll
    0x75710000 - 0x75800000 C:\Windows\syswow64\RPCRT4.dll
    0x74d20000 - 0x74d80000 C:\Windows\syswow64\SspiCli.dll
    0x74d10000 - 0x74d1c000 C:\Windows\syswow64\CRYPTBASE.dll
    0x75ac0000 - 0x7670a000 C:\Windows\syswow64\SHELL32.dll
    0x75290000 - 0x752e7000 C:\Windows\syswow64\SHLWAPI.dll
    0x74d80000 - 0x74e10000 C:\Windows\syswow64\GDI32.dll
    0x76760000 - 0x76860000 C:\Windows\syswow64\USER32.dll
    0x758e0000 - 0x758ea000 C:\Windows\syswow64\LPK.dll
    0x74e30000 - 0x74ecd000 C:\Windows\syswow64\USP10.dll
    0x75340000 - 0x753a0000 C:\Windows\system32\IMM32.DLL
    0x751c0000 - 0x7528c000 C:\Windows\syswow64\MSCTF.dll
    0x6d810000 - 0x6dac0000 C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
    0x74140000 - 0x74172000 C:\Windows\system32\WINMM.dll
    0x7c340000 - 0x7c396000 C:\Windows\system32\MSVCR71.dll
    0x740f0000 - 0x7413c000 C:\Windows\system32\apphelp.dll
    0x6d7c0000 - 0x6d7cc000 C:\Program Files (x86)\Java\jre6\bin\verify.dll
    0x6d330000 - 0x6d34f000 C:\Program Files (x86)\Java\jre6\bin\java.dll
    0x6d800000 - 0x6d80f000 C:\Program Files (x86)\Java\jre6\bin\zip.dll
    0x76bd0000 - 0x76d2c000 C:\Windows\syswow64\ole32.dll
    0x6d560000 - 0x6d569000 C:\Program Files (x86)\Java\jre6\bin\management.dll
    0x6d610000 - 0x6d623000 C:\Program Files (x86)\Java\jre6\bin\net.dll
    0x753e0000 - 0x75415000 C:\Windows\syswow64\WS2_32.dll
    0x75990000 - 0x75996000 C:\Windows\syswow64\NSI.dll
    0x74880000 - 0x748bc000 C:\Windows\system32\mswsock.dll
    0x747d0000 - 0x747d6000 C:\Windows\System32\wship6.dll
    0x748d0000 - 0x748e0000 C:\Windows\system32\NLAapi.dll
    0x748c0000 - 0x748d0000 C:\Windows\system32\napinsp.dll
    0x74830000 - 0x74874000 C:\Windows\system32\DNSAPI.dll
    0x74820000 - 0x74828000 C:\Windows\System32\winrnr.dll
    0x747e0000 - 0x747e5000 C:\Windows\System32\wshtcpip.dll
    0x74800000 - 0x7481c000 C:\Windows\system32\IPHLPAPI.DLL
    0x747f0000 - 0x747f7000 C:\Windows\system32\WINNSI.DLL
    0x747c0000 - 0x747c6000 C:\Windows\system32\rasadhlp.dll
    0x74780000 - 0x747b8000 C:\Windows\System32\fwpuclnt.dll
    0x74750000 - 0x74766000 C:\Windows\system32\CRYPTSP.dll
    0x744d0000 - 0x7450b000 C:\Windows\system32\rsaenh.dll
    0x74030000 - 0x7403b000 C:\Windows\system32\profapi.dll
    0x6d7a0000 - 0x6d7a8000 C:\Program Files (x86)\Java\jre6\bin\sunmscapi.dll
    0x759a0000 - 0x75abd000 C:\Windows\syswow64\CRYPT32.dll
    0x753d0000 - 0x753dc000 C:\Windows\syswow64\MSASN1.dll
    0x6d630000 - 0x6d639000 C:\Program Files (x86)\Java\jre6\bin\nio.dll
    0x10000000 - 0x10047000 C:\Windows\System32\corojdk11.dll
    0x74ed0000 - 0x74f5f000 C:\Windows\syswow64\OLEAUT32.dll
    0x75420000 - 0x754a3000 C:\Windows\syswow64\CLBCatQ.DLL
    0x744c0000 - 0x744ce000 C:\Windows\system32\RpcRtRemote.dll
    0x74180000 - 0x741df000 C:\Windows\system32\SXS.DLL
    0x0b820000 - 0x0b853000 C:\Program Files (x86)\Tomcat\bin\HASPJava.dll
    0x0b860000 - 0x0bb4d000 C:\Program Files (x86)\Tomcat\bin\hasp_windows_87368.dll
    0x74c50000 - 0x74c57000 C:\Windows\system32\WSOCK32.DLL
    0x6d000000 - 0x6d14c000 C:\Program Files (x86)\Java\jre6\bin\awt.dll
    0x73c20000 - 0x73c71000 C:\Windows\system32\WINSPOOL.DRV
    0x74430000 - 0x744b4000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\COMCTL32.dll
    0x6eb40000 - 0x6eb53000 C:\Windows\system32\DWMAPI.DLL
    0x6d230000 - 0x6d286000 C:\Program Files (x86)\Java\jre6\bin\fontmanager.dll
    0x77190000 - 0x77195000 C:\Windows\system32\PSAPI.DLL
    VM Arguments:
    jvm_args: -Dcatalina.home=C:\Program Files (x86)\Tomcat -Dcatalina.base=C:\Program Files (x86)\Tomcat -Djava.endorsed.dirs=C:\Program Files (x86)\Tomcat\endorsed -Djava.io.tmpdir=C:\Program Files (x86)\Tomcat\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Program Files (x86)\Tomcat\conf\logging.properties -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\progra~2\tomcat -Xms500m -Xmx500m -XX:SurvivorRatio=4 -XX:PermSize=143m -XX:MaxPermSize=143m -Xss200k -XX:+PrintGC -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:TomcatGarbageCollection -Dcom.sun.management.jmxremote.port=9090 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote=true
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    PATH=Y:\Legato\nsr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Tivoli\IBM\ITM\bin;c:\Tivoli\IBM\ITM\InstallITM;c:\Tivoli\IBM\ITM\TMAITM6;C:\Program Files (x86)\Tomcat\lib
    USERNAME=NCDWSMNASP0101$
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 44 Stepping 2, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows NT 6.1 , 64 bit Build 7601 Service Pack 1
    CPU:total 4 (1 cores per cpu, 1 threads per core) family 6 model 44 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt
    Memory: 4k page, physical 4193848k(1041944k free), swap 8385852k(5027848k free)
    vm_info: Java HotSpot(TM) Client VM (20.45-b01) for windows-x86 JRE (1.6.0_45-b06), built on Mar 26 2013 13:40:03 by "java_re" with MS VC++ 7.1 (VS2003)
    time: Sun Feb 09 19:41:33 2014
    elapsed time: 31207 seconds

    Thanks a lot.
    HASPJava.dll is used by verification  License and is invoked less and can't use a lot of native memory.
    Our business is communicating between java and COM component. In order to implement it, we used JavaCom to generate java class for COM component.
    Memory of COM component is little, but Native Memory is high.
    Who used JavaCom and did you meet this problem?
    Please give me some suggestions. Thanks a lot.

  • HOTSPOT JVM crash with EXCEPTION_ACCESS_VIOLATION

    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?
    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)

    Hi
    How about running it with -Xcheck:jni and -verbose:jni

  • JVM Crash with Signal 10.

    Hi,
    We are facing a random problem in our production setup where the JVM crashes with the following error message.
    Unexpected Signal : 10 occurred at PC=0xFA3442A4
    Function=java.lang.String.startsWith(Ljava/lang/String;)Z (compiled Java code)
    Library=(N/A)
    Current Java thread:
    Dynamic libraries:
    0x10000 /usr/j2sdk1.4.2_03/jre/bin/java
    0xff350000 /usr/lib/libthread.so.1
    0xff340000 /usr/lib/libdl.so.1
    0xff200000 /usr/lib/libc.so.1
    0xff390000 /usr/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
    0xfe000000 /usr/j2sdk1.4.2_03/jre/lib/sparc/server/libjvm.so
    0xff2d0000 /usr/lib/libCrun.so.1
    0xff1e0000 /usr/lib/libsocket.so.1
    0xff100000 /usr/lib/libnsl.so.1
    0xff0b0000 /usr/lib/libm.so.1
    0xff1c0000 /usr/lib/libsched.so.1
    0xff090000 /usr/lib/libmp.so.2
    0xff050000 /usr/j2sdk1.4.2_03/jre/lib/sparc/native_threads/libhpi.so
    0xfe7d0000 /usr/j2sdk1.4.2_03/jre/lib/sparc/libverify.so
    0xfe790000 /usr/j2sdk1.4.2_03/jre/lib/sparc/libjava.so
    0xff020000 /usr/j2sdk1.4.2_03/jre/lib/sparc/libzip.so
    0xfe630000 /usr/j2sdk1.4.2_03/jre/lib/sparc/libjdwp.so
    0xfe610000 /usr/j2sdk1.4.2_03/jre/lib/sparc/libdt_socket.so
    0xfe5f0000 /usr/lib/nss_files.so.1
    0xc17a0000 /usr/j2sdk1.4.2_03/jre/lib/sparc/libnet.so
    0xc16e0000 /BayPackets/rsisas/SAS/ASE5.1.1/sol28g/lib/libjavautil.so
    0xc16c0000 /usr/j2sdk1.4.2_03/jre/lib/sparc/libioser12.so
    Heap at VM Abort:
    Heap
    par new generation total 32704K, used 3150K [0xc5800000, 0xc7800000, 0xc7800000)
    eden space 32640K, 9% used [0xc5800000, 0xc5b13b20, 0xc77e0000)
    from space 64K, 0% used [0xc77f0000, 0xc77f0000, 0xc7800000)
    to space 64K, 0% used [0xc77e0000, 0xc77e0000, 0xc77f0000)
    concurrent mark-sweep generation total 753664K, used 490987K [0xc7800000, 0xf5800000, 0xf5800000)
    concurrent-mark-sweep perm gen total 29784K, used 17111K [0xf5800000, 0xf7516000, 0xf9800000)
    Local Time = Mon Oct 2 18:18:51 2006
    Elapsed Time = 7215947
    # HotSpot Virtual Machine Error : 10
    # Error ID : 4F530E43505002EF 01
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Server VM (1.4.2_03-b02 mixed mode)
    We are using the J2SE version 1.4.2_03 and running it on the Solaris OS 5.8. Have anybody seen this problem before? It will be great if anybody could provide some pointers to solve this problem.
    Thanks
    Ravi.

    ... Do you have any idea whether this is a known
    issue in jdk1.4.2_03 and any suggestions on how to
    check whether it is fixed in the later versions.The hs_err log that you included above, points to a rather generic
    error location (the error log dump has since been much improved
    and provides much more useful information than the dump from
    1.4.2_03 above). As such it is difficult to tell what the bug is that
    caused the crash here.
    Running with a later version might provide further clues (or it
    might be fixed already). Recall that at a refresh rate of an
    update release per each 3 months, 1.4.2_03 is already
    at least 3 years old (and perhaps more). A number of bugs
    especially in the Concurrent Mark Sweep Collector being used
    here have since been fixed.
    If testing with 1.4.2_13 is not feasible, please provide your Sun
    support contact with a core file from the incident and that might
    lead us closer to the root cause and allow us to determine if
    this may have been fixed subsequently. They may also be able to
    provide you with a test JVM binary that may lead one closer to the
    root cause.

  • JVM Crash: ConcMarkSweepGC related?

    We're experiencing the following JVM crash approximately 2-5 times per day on a well traffic application server running Tomcat 5.5 under Java 1.5 (05) on Linux with a 2.4.21-37 kernel. I'm posting here because we kind of have no route to take: I can't seem to work around the crash in any way. There's a potential that UseParallelGC might fix this, but I'm unable to run the app reliably with a ParallelGC, as we have a very large cache and the Full GC's get unbelievably long (2GB heap).
    How can we find out what's going on? Is there a way to obtain a debug build so that:
    V [libjvm.so+0x4c2c53]
    V [libjvm.so+0x1bea7c]
    We're also seeing this in the standard output:
    An exception occurred on the SessionReaperDaemon[null, 2005-11-01 20:02:14.81] thread while processing (task="com.tangosol.coherence.servlet.SessionHelper$SessionReaperDaemon$IncrementalReapTask@1ba4ac8"):
    java.lang.NullPointerException
         at com.tangosol.coherence.servlet.SessionHelper$SessionReaperDaemon$IncrementalReapTask.run(SessionHelper.java:3072)
         at com.tangosol.util.TaskDaemon.run(TaskDaemon.java:69)
         at com.tangosol.coherence.servlet.SessionHelper$SessionReaperDaemon.run(SessionHelper.java:2709)
         at com.tangosol.util.Daemon$1.run(Daemon.java:63)
    Prior to the crash, but this is an impossible place for an exception:
    3070: if (iter.hasNext())
    3071: {
    3072: String sId = (String) iter.next();3073: ...
    Any help or next steps would be greatly appreciated.
    An attached dump:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # Internal Error (4E4D4554484F440E4350500521), pid=1705, tid=907377584
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_05-b05 mixed mode)
    --------------- T H R E A D ---------------
    Current thread (0x36bc7068): JavaThread "SessionReaperDaemon[null, 2005-11-01 22:38:23.388]" daemon [_thread_in_Java, id=1739]
    Stack: [0x360d7000,0x36158000), sp=0x36156eec, free space=511k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [libjvm.so+0x4c2c53]
    V [libjvm.so+0x1bea7c]
    V [libjvm.so+0x3e2bee]
    V [libjvm.so+0x4564cb]
    V [libjvm.so+0x3f8956]
    V [libjvm.so+0x3f5c64]
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0894eba0 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=4871]
    0x0864ea88 JavaThread "RMI TCP Connection(341)-192.168.100.62" daemon [_thread_in_native, id=4802]
    0x083e6568 JavaThread "http-80-Processor300" daemon [_thread_in_native, id=4708]
    0x08d4e058 JavaThread "http-80-Processor299" daemon [_thread_in_native, id=4707]
    0x08bc7c20 JavaThread "http-80-Processor298" daemon [_thread_blocked, id=4706]
    0x0845fd78 JavaThread "http-80-Processor297" daemon [_thread_in_native, id=4705]
    0x08e39330 JavaThread "http-80-Processor296" daemon [_thread_in_native, id=4704]
    0x08bceb30 JavaThread "http-80-Processor295" daemon [_thread_blocked, id=4703]
    0x08bb9de8 JavaThread "http-80-Processor294" daemon [_thread_in_native, id=4702]
    0x08b692d0 JavaThread "http-80-Processor293" daemon [_thread_in_native, id=4701]
    0x084fa8e0 JavaThread "http-80-Processor292" daemon [_thread_in_native, id=4700]
    0x08446908 JavaThread "http-80-Processor291" daemon [_thread_blocked, id=4699]
    0x08e4c4c0 JavaThread "http-80-Processor290" daemon [_thread_in_native, id=4698]
    0x08625e60 JavaThread "http-80-Processor289" daemon [_thread_blocked, id=4697]
    0x0843d5b8 JavaThread "http-80-Processor288" daemon [_thread_in_native, id=4696]
    0x08ca13b8 JavaThread "http-80-Processor287" daemon [_thread_in_native, id=4695]
    0x08395e00 JavaThread "http-80-Processor286" daemon [_thread_in_native, id=4694]
    0x084c8f28 JavaThread "http-80-Processor285" daemon [_thread_in_native, id=4693]
    0x083f6490 JavaThread "http-80-Processor284" daemon [_thread_in_native, id=4692]
    0x08e69368 JavaThread "http-80-Processor281" daemon [_thread_blocked, id=4689]
    0x08df8218 JavaThread "http-80-Processor280" daemon [_thread_blocked, id=4688]
    0x0861ba28 JavaThread "http-80-Processor279" daemon [_thread_blocked, id=4687]
    0x083e22d0 JavaThread "http-80-Processor278" daemon [_thread_blocked, id=4686]
    0x08e44e80 JavaThread "http-80-Processor277" daemon [_thread_blocked, id=4685]
    0x08625478 JavaThread "http-80-Processor276" daemon [_thread_blocked, id=4684]
    0x08547890 JavaThread "http-80-Processor275" daemon [_thread_in_native, id=4632]
    0x0846c598 JavaThread "http-80-Processor274" daemon [_thread_in_native, id=4631]
    0x08beadb8 JavaThread "http-80-Processor270" daemon [_thread_in_native, id=4627]
    0x0865b3a0 JavaThread "http-80-Processor269" daemon [_thread_in_native, id=4626]
    0x092899e0 JavaThread "http-80-Processor268" daemon [_thread_in_native, id=4625]
    0x09277f58 JavaThread "http-80-Processor267" daemon [_thread_blocked, id=4624]
    0x086790b0 JavaThread "http-80-Processor265" daemon [_thread_in_native, id=4622]
    0x0844d920 JavaThread "http-80-Processor263" daemon [_thread_blocked, id=4620]
    0x0846f478 JavaThread "http-80-Processor262" daemon [_thread_in_native, id=4619]
    0x08c5f470 JavaThread "http-80-Processor261" daemon [_thread_in_native, id=4618]
    0x088cd8d0 JavaThread "http-80-Processor260" daemon [_thread_in_native, id=4617]
    0x08d5af30 JavaThread "http-80-Processor259" daemon [_thread_blocked, id=4616]
    0x0884bc18 JavaThread "http-80-Processor258" daemon [_thread_blocked, id=4615]
    0x08e618a0 JavaThread "http-80-Processor257" daemon [_thread_in_native, id=4614]
    0x08be3de0 JavaThread "http-80-Processor256" daemon [_thread_in_native, id=4613]
    0x085de680 JavaThread "http-80-Processor255" daemon [_thread_blocked, id=4612]
    0x083b8420 JavaThread "http-80-Processor254" daemon [_thread_blocked, id=4611]
    0x08e533e0 JavaThread "http-80-Processor253" daemon [_thread_in_native, id=4610]
    0x083c5af8 JavaThread "http-80-Processor252" daemon [_thread_in_native, id=4609]
    0x084701c0 JavaThread "http-80-Processor251" daemon [_thread_blocked, id=4608]
    0x3639cff0 JavaThread "http-80-Processor250" daemon [_thread_in_native, id=4402]
    0x2f41cd88 JavaThread "http-80-Processor249" daemon [_thread_in_native, id=4401]
    0x36bf7a48 JavaThread "http-80-Processor247" daemon [_thread_blocked, id=4399]
    0x35160748 JavaThread "http-80-Processor246" daemon [_thread_in_native, id=4398]
    0x36b42ed0 JavaThread "http-80-Processor245" daemon [_thread_blocked, id=4397]
    0x359b3ec0 JavaThread "http-80-Processor244" daemon [_thread_in_native, id=4396]
    0x3633a1f8 JavaThread "http-80-Processor240" daemon [_thread_blocked, id=4392]
    0x35a9ef28 JavaThread "http-80-Processor239" daemon [_thread_in_native, id=4391]
    0x35a52840 JavaThread "http-80-Processor238" daemon [_thread_blocked, id=4390]
    0x35a8e9e8 JavaThread "http-80-Processor236" daemon [_thread_blocked, id=4388]
    0x35a8de38 JavaThread "http-80-Processor235" daemon [_thread_in_native, id=4387]
    0x304703b8 JavaThread "http-80-Processor232" daemon [_thread_in_native, id=4384]
    0x36b32498 JavaThread "http-80-Processor231" daemon [_thread_blocked, id=4383]
    0x2e149a40 JavaThread "http-80-Processor230" daemon [_thread_blocked, id=4382]
    0x304731f8 JavaThread "http-80-Processor229" daemon [_thread_blocked, id=4381]
    0x2e186cd0 JavaThread "http-80-Processor228" daemon [_thread_in_native, id=4380]
    0x35a53c68 JavaThread "http-80-Processor227" daemon [_thread_blocked, id=4379]
    0x083a85d0 JavaThread "RMI TCP Connection(315)-192.168.100.62" daemon [_thread_blocked, id=4343]
    0x08cdd748 JavaThread "JMX server connection timeout 1017" daemon [_thread_blocked, id=3885]
    0x08df9fc0 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=3884]
    0x083c7f68 JavaThread "http-80-Processor225" daemon [_thread_blocked, id=3816]
    0x083c85b8 JavaThread "http-80-Processor223" daemon [_thread_blocked, id=3814]
    0x08df3be8 JavaThread "http-80-Processor222" daemon [_thread_in_native, id=3813]
    0x087a49b8 JavaThread "http-80-Processor221" daemon [_thread_in_native, id=3812]
    0x084c9db8 JavaThread "http-80-Processor220" daemon [_thread_in_native, id=3811]
    0x086203e0 JavaThread "http-80-Processor218" daemon [_thread_in_native, id=3809]
    0x088e2090 JavaThread "http-80-Processor216" daemon [_thread_in_native, id=3807]
    0x088bd2d0 JavaThread "http-80-Processor214" daemon [_thread_in_native, id=3805]
    0x08863490 JavaThread "http-80-Processor211" daemon [_thread_in_native, id=3802]
    0x08e9f4b8 JavaThread "http-80-Processor207" daemon [_thread_in_native, id=3798]
    0x08c9f748 JavaThread "http-80-Processor206" daemon [_thread_in_native, id=3797]
    0x0861fa00 JavaThread "http-80-Processor205" daemon [_thread_in_native, id=3796]
    0x08408ec8 JavaThread "http-80-Processor204" daemon [_thread_blocked, id=3795]
    0x0869bf28 JavaThread "http-80-Processor203" daemon [_thread_blocked, id=3794]
    0x08ba2648 JavaThread "http-80-Processor201" daemon [_thread_blocked, id=3792]
    0x08e70980 JavaThread "http-80-Processor200" daemon [_thread_blocked, id=3550]
    0x08e707e8 JavaThread "http-80-Processor199" daemon [_thread_blocked, id=3549]
    0x088e83b0 JavaThread "http-80-Processor196" daemon [_thread_blocked, id=3546]
    0x08634758 JavaThread "http-80-Processor195" daemon [_thread_blocked, id=3545]
    0x08198ea8 JavaThread "http-80-Processor194" daemon [_thread_blocked, id=3544]
    0x0831d5a8 JavaThread "http-80-Processor191" daemon [_thread_in_native, id=3541]
    0x088c6788 JavaThread "http-80-Processor189" daemon [_thread_in_native, id=3539]
    0x0835d868 JavaThread "http-80-Processor187" daemon [_thread_blocked, id=3537]
    0x08be2788 JavaThread "http-80-Processor186" daemon [_thread_in_native, id=3536]
    0x08d5b638 JavaThread "http-80-Processor182" daemon [_thread_blocked, id=3532]
    0x088c6488 JavaThread "http-80-Processor180" daemon [_thread_in_native, id=3530]
    0x08d83d70 JavaThread "http-80-Processor173" daemon [_thread_blocked, id=3158]
    0x088f3ca8 JavaThread "http-80-Processor171" daemon [_thread_blocked, id=3156]
    0x08862858 JavaThread "http-80-Processor168" daemon [_thread_blocked, id=3153]
    0x08629e38 JavaThread "http-80-Processor162" daemon [_thread_blocked, id=3147]
    0x086b9dd0 JavaThread "http-80-Processor159" daemon [_thread_in_native, id=3144]
    0x086e1c88 JavaThread "http-80-Processor153" daemon [_thread_in_native, id=3138]
    0x082fae10 JavaThread "http-80-Processor151" daemon [_thread_in_native, id=3136]
    0x084c7c40 JavaThread "http-80-Processor149" daemon [_thread_blocked, id=2489]
    0x087a5568 JavaThread "http-80-Processor147" daemon [_thread_in_native, id=2487]
    0x08c5f648 JavaThread "http-80-Processor146" daemon [_thread_blocked, id=2486]
    0x08c64090 JavaThread "http-80-Processor135" daemon [_thread_blocked, id=2475]
    0x08d60c68 JavaThread "http-80-Processor133" daemon [_thread_in_native, id=2473]
    0x08cdc058 JavaThread "http-80-Processor129" daemon [_thread_blocked, id=2469]
    0x0854a978 JavaThread "http-80-Processor128" daemon [_thread_blocked, id=2468]
    0x08d940c0 JavaThread "http-80-Processor126" daemon [_thread_in_native, id=2466]
    0x087c4998 JavaThread "http-80-Processor114" daemon [_thread_blocked, id=2186]
    0x0895ec90 JavaThread "http-80-Processor113" daemon [_thread_in_native, id=2185]
    0x0895e028 JavaThread "http-80-Processor112" daemon [_thread_blocked, id=2184]
    0x08e9bbb8 JavaThread "http-80-Processor82" daemon [_thread_in_native, id=2147]
    0x08634cf8 JavaThread "http-80-Processor80" daemon [_thread_in_native, id=2145]
    0x085d93c0 JavaThread "http-80-Processor68" daemon [_thread_blocked, id=2129]
    0x085d8658 JavaThread "http-80-Processor67" daemon [_thread_blocked, id=2128]
    0x085d7310 JavaThread "http-80-Processor66" daemon [_thread_in_native, id=2127]
    0x084c57e0 JavaThread "http-80-Processor60" daemon [_thread_blocked, id=2121]
    0x084c4a78 JavaThread "http-80-Processor59" daemon [_thread_blocked, id=2120]
    0x08588db8 JavaThread "http-80-Processor56" daemon [_thread_blocked, id=2117]
    0x086a2130 JavaThread "http-80-Processor54" daemon [_thread_in_native, id=2115]
    0x0878cfa8 JavaThread "http-80-Processor50" daemon [_thread_in_native, id=2108]
    0x087b9148 JavaThread "http-80-Processor39" daemon [_thread_blocked, id=2097]
    0x082f38c8 JavaThread "http-80-Processor29" daemon [_thread_blocked, id=2087]
    0x087a6a30 JavaThread "http-80-Processor28" daemon [_thread_in_native, id=2086]
    0x36b33540 JavaThread "http-80-Monitor" [_thread_blocked, id=1769]
    0x351178e0 JavaThread "http-80-Processor4" daemon [_thread_blocked, id=1747]
    0x35a72210 JavaThread "http-80-Processor1" daemon [_thread_blocked, id=1744]
    0x363ed3b0 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=1743]
    0x35a60238 JavaThread "Thread-4" [_thread_blocked, id=1742]
    =>0x36bc7068 JavaThread "SessionReaperDaemon[null, 2005-11-01 22:38:23.388]" daemon [_thread_in_Java, id=1739]
    0x363633c8 JavaThread "DistributedCache:DistributedSessions:EventDispatcher" daemon [_thread_blocked, id=1738]
    0x363771a0 JavaThread "DistributedCache:DistributedSessions" daemon [_thread_blocked, id=1737]
    0x36ba85f0 JavaThread "ReplicatedCache:ReplicatedSessionsMisc" daemon [_thread_blocked, id=1736]
    0x36bbb118 JavaThread "TcpRingListener" daemon [_thread_in_native, id=1735]
    0x36373478 JavaThread "Cluster" daemon [_thread_blocked, id=1733]
    0x36351268 JavaThread "PacketPublisher" daemon [_thread_blocked, id=1732]
    0x36350d60 JavaThread "PacketReceiver" daemon [_thread_blocked, id=1731]
    0x36ba8858 JavaThread "PacketListenerN" daemon [_thread_in_native, id=1730]
    0x36bb11e8 JavaThread "PacketListener1" daemon [_thread_in_native, id=1729]
    0x36b9f530 JavaThread "Logger@9508926 3.0/315" daemon [_thread_blocked, id=1728]
    0x081b0910 JavaThread "RMI TCP Accept-9000" daemon [_thread_in_native, id=1726]
    0x081b5c90 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=1725]
    0x081b57c0 JavaThread "Timer-0" daemon [_thread_blocked, id=1724]
    0x08157b60 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1722]
    0x081566e8 JavaThread "CompilerThread1" daemon [_thread_blocked, id=1721]
    0x08155698 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1720]
    0x08154578 JavaThread "AdapterThread" daemon [_thread_blocked, id=1719]
    0x08153618 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1718]
    0x081528e8 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=1717]
    0x08148480 JavaThread "Finalizer" daemon [_thread_blocked, id=1716]
    0x08148008 JavaThread "Reference Handler" daemon [_thread_blocked, id=1715]
    0x0805c598 JavaThread "main" [_thread_in_native, id=1705]
    Other Threads:
    0x08145bc8 VMThread [id=1714]
    0x082237b0 WatcherThread [id=1727]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    par new generation total 523840K, used 289536K [0x3d1c0000, 0x5d1c0000, 0x5d1c0000)
    eden space 523392K, 55% used [0x3d1c0000, 0x4ec800f0, 0x5d0e0000)
    from space 448K, 0% used [0x5d150000, 0x5d150000, 0x5d1c0000)
    to space 448K, 0% used [0x5d0e0000, 0x5d0e0000, 0x5d150000)
    concurrent mark-sweep generation total 1318912K, used 521347K [0x5d1c0000, 0xad9c0000, 0xad9c0000)
    concurrent-mark-sweep perm gen total 30720K, used 30499K [0xad9c0000, 0xaf7c0000, 0xb19c0000)
    Dynamic libraries:
    08048000-08056000 r-xp 00000000 08:02 180163 /usr/java/jdk1.5.0_05/bin/java
    08056000-08058000 rwxp 0000e000 08:02 180163 /usr/java/jdk1.5.0_05/bin/java
    08058000-0aea7000 rwxp 00000000 00:00 0
    2af40000-2b067000 rwxp 00001000 00:00 0
    2b067000-2b06a000 ---p 00000000 00:00 0
    2b06a000-2b0e8000 rwxp 00003000 00:00 0
    2b0e8000-2b0eb000 ---p 00081000 00:00 0
    2b0eb000-2b169000 rwxp 00084000 00:00 0
    2b169000-2b16c000 ---p 00102000 00:00 0
    2b16c000-2b1ea000 rwxp 00105000 00:00 0
    2b1ea000-2b1ed000 ---p 00081000 00:00 0
    2b1ed000-2b26b000 rwxp 00084000 00:00 0
    2b26b000-2b26e000 ---p 00081000 00:00 0
    2b26e000-2b2ec000 rwxp 00084000 00:00 0
    2b2ec000-2b367000 r-xs 00000000 08:02 1784003 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/xsdlib.jar
    2b367000-2b382000 r-xs 00000000 08:02 1784002 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/xmlrpc-1.2-b1.jar
    2b382000-2b39d000 r-xs 00000000 08:02 1784001 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/xml-apis.jar
    2b39d000-2b476000 r-xs 00000000 08:02 1784000 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/xercesImpl.jar
    2b476000-2b554000 r-xs 00000000 08:02 1783999 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/xalan.jar
    2b554000-2b557000 ---p 00000000 00:00 0
    2b557000-2b5d5000 rwxp 00003000 00:00 0
    2b5d5000-2b5d8000 ---p 00081000 00:00 0
    2b5d8000-2b656000 rwxp 00084000 00:00 0
    2b656000-2b659000 ---p 00081000 00:00 0
    2b659000-2b6d7000 rwxp 00084000 00:00 0
    2b6d7000-2b6da000 ---p 00102000 00:00 0
    2b6da000-2b758000 rwxp 00105000 00:00 0
    2b758000-2b75b000 ---p 00183000 00:00 0
    2b75b000-2b7d9000 rwxp 00186000 00:00 0
    2b7d9000-2b7dc000 rwxp 00000000 00:00 0
    2b7dc000-2b85a000 rwxp 00207000 00:00 0
    2b85a000-2b85d000 ---p 00285000 00:00 0
    2b85d000-2b8db000 rwxp 00288000 00:00 0
    2b8db000-2b8de000 ---p 00102000 00:00 0
    2b8de000-2b95c000 rwxp 00105000 00:00 0
    2b95c000-2b95f000 ---p 00183000 00:00 0
    2b95f000-2ba5d000 rwxp 00186000 00:00 0
    2ba5d000-2ba60000 ---p 00182000 00:00 0
    2ba60000-2bade000 rwxp 00185000 00:00 0
    2bade000-2bae1000 ---p 00203000 00:00 0
    2bae1000-2bb5f000 rwxp 00206000 00:00 0
    2bb5f000-2bb62000 ---p 00284000 00:00 0
    2bb62000-2bbe0000 rwxp 00287000 00:00 0
    2bbe0000-2bbe3000 ---p 00305000 00:00 0
    2bbe3000-2bc61000 rwxp 00308000 00:00 0
    2bc61000-2bc64000 ---p 00204000 00:00 0
    2bc64000-2bce2000 rwxp 00207000 00:00 0
    2bce2000-2bce5000 ---p 00285000 00:00 0
    2bce5000-2bd63000 rwxp 00288000 00:00 0
    2bd63000-2bd66000 rwxp 00000000 00:00 0
    2bd66000-2bde4000 rwxp 00186000 00:00 0
    2bde4000-2bde7000 ---p 00204000 00:00 0
    2bde7000-2be65000 rwxp 00207000 00:00 0
    2be65000-2be68000 rwxp 00000000 00:00 0
    2be68000-2bee6000 rwxp 00084000 00:00 0
    2bee6000-2bee9000 ---p 00102000 00:00 0
    2bee9000-2bf67000 rwxp 00105000 00:00 0
    2bf67000-2bf6a000 ---p 00183000 00:00 0
    2bf6a000-2bfe8000 rwxp 00186000 00:00 0
    2bfe8000-2bfeb000 ---p 00204000 00:00 0
    2bfeb000-2c069000 rwxp 00207000 00:00 0
    2c069000-2c06c000 ---p 00081000 00:00 0
    2c06c000-2c0ea000 rwxp 00084000 00:00 0
    2c0ea000-2c0ed000 ---p 00102000 00:00 0
    2c0ed000-2c16b000 rwxp 00105000 00:00 0
    2c16b000-2c16e000 ---p 00183000 00:00 0
    2c16e000-2c1ec000 rwxp 00186000 00:00 0
    2c1ec000-2c1ef000 rwxp 00000000 00:00 0
    2c1ef000-2c26d000 rwxp 00207000 00:00 0
    2c26d000-2c270000 ---p 00285000 00:00 0
    2c270000-2c2ee000 rwxp 00288000 00:00 0
    2c2ee000-2c2f1000 ---p 00306000 00:00 0
    2c2f1000-2c36f000 rwxp 00309000 00:00 0
    2c36f000-2c372000 ---p 00387000 00:00 0
    2c372000-2c3f0000 rwxp 0038a000 00:00 0
    2c3f0000-2c3f3000 ---p 00204000 00:00 0
    2c3f3000-2c471000 rwxp 00207000 00:00 0
    2c471000-2c474000 ---p 00285000 00:00 0
    2c474000-2c4f2000 rwxp 00288000 00:00 0
    2c4f2000-2c4f5000 ---p 00102000 00:00 0
    2c4f5000-2c573000 rwxp 00105000 00:00 0
    2c573000-2c576000 ---p 00183000 00:00 0
    2c576000-2c5f4000 rwxp 00186000 00:00 0
    2c5f4000-2c5f7000 ---p 00204000 00:00 0
    2c5f7000-2c675000 rwxp 00207000 00:00 0
    2c675000-2c678000 ---p 00285000 00:00 0
    2c678000-2c6f6000 rwxp 00288000 00:00 0
    2c6f6000-2c6f9000 ---p 00306000 00:00 0
    2c6f9000-2c777000 rwxp 00309000 00:00 0
    2c777000-2c77a000 ---p 00387000 00:00 0
    2c77a000-2c7f8000 rwxp 0038a000 00:00 0
    2c7f8000-2c7fb000 ---p 00081000 00:00 0
    2c7fb000-2c879000 rwxp 00084000 00:00 0
    2c879000-2c87c000 ---p 00102000 00:00 0
    2c87c000-2c8fa000 rwxp 00105000 00:00 0
    2c8fa000-2c8fd000 ---p 00183000 00:00 0
    2c8fd000-2c97b000 rwxp 00186000 00:00 0
    2c97b000-2c97e000 rwxp 00000000 00:00 0
    2c97e000-2c9fc000 rwxp 00207000 00:00 0
    2c9fc000-2c9ff000 ---p 00285000 00:00 0
    2c9ff000-2ca7d000 rwxp 00288000 00:00 0
    2ca7d000-2ca80000 ---p 00285000 00:00 0
    2ca80000-2cafe000 rwxp 00288000 00:00 0
    2cafe000-2cb01000 rwxp 00000000 00:00 0
    2cb01000-2cb7f000 rwxp 00309000 00:00 0
    2cb7f000-2cb82000 ---p 00387000 00:00 0
    2cb82000-2cc58000 rwxp 0038a000 00:00 0
    2cc58000-2cd00000 ---p 00029000 00:00 0
    2cd7f000-2cd82000 ---p 00000000 00:00 0
    2cd82000-2cefe000 rwxp 00003000 00:00 0
    2cefe000-2cf00000 ---p 00029000 00:00 0
    2cf00000-2d0fe000 rwxp 0002b000 00:00 0
    2d0fe000-2d100000 ---p 00038000 00:00 0
    2d17b000-2d17e000 ---p 00000000 00:00 0
    2d17e000-2d1fc000 rwxp 00003000 00:00 0
    2d1fc000-2d1ff000 ---p 00081000 00:00 0
    2d1ff000-2d27d000 rwxp 00084000 00:00 0
    2d27d000-2d280000 rwxp 00000000 00:00 0
    2d280000-2d2fe000 rwxp 00105000 00:00 0
    2d2fe000-2d301000 ---p 00183000 00:00 0
    2d301000-2d37f000 rwxp 00186000 00:00 0
    2d37f000-2d382000 ---p 00204000 00:00 0
    2d382000-2d600000 rwxp 00207000 00:00 0
    2d67f000-2d682000 ---p 00000000 00:00 0
    2d682000-2e1ff000 rwxp 00003000 00:00 0
    2e1ff000-2e200000 ---p 00029000 00:00 0
    2e200000-2e25d000 rwxp 0002a000 00:00 0
    2e25d000-2e300000 ---p 00059000 00:00 0
    2e300000-2e700000 rwxp 00000000 00:00 0
    2e77f000-2e782000 ---p 00000000 00:00 0
    2e782000-30500000 rwxp 00003000 00:00 0
    3057f000-30582000 rwxp 00000000 00:00 0
    30582000-30700000 rwxp 00003000 00:00 0
    3077d000-30780000 ---p 00000000 00:00 0
    30780000-307fe000 rwxp 00003000 00:00 0
    307fe000-30801000 ---p 00081000 00:00 0
    30801000-3087f000 rwxp 00084000 00:00 0
    3087f000-30882000 ---p 00102000 00:00 0
    30882000-30a00000 rwxp 00105000 00:00 0
    30a7f000-30a82000 ---p 00000000 00:00 0
    30a82000-30ffc000 rwxp 00003000 00:00 0
    30ffc000-31000000 ---p 00029000 00:00 0
    31000000-311fc000 rwxp 00095000 00:00 0
    311fc000-31200000 ---p 00029000 00:00 0
    31200000-313fc000 rwxp 0002d000 00:00 0
    313fc000-31400000 ---p 000fd000 00:00 0
    31416000-31434000 r-xs 00000000 08:02 1783998 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/wsdl4j.jar
    31434000-31442000 r-xs 00000000 08:02 1783997 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/wrapper.jar
    31442000-3147f000 r-xs 00000000 08:02 1783995 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/webInstaller.jar
    3147f000-31482000 ---p 00000000 00:00 0
    31482000-315ff000 rwxp 00003000 00:00 0
    315ff000-31600000 ---p 00000000 00:00 0
    31625000-3167f000 r-xs 00000000 08:02 1783994 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/velocity-1.4-rc1.jar
    3167f000-31682000 ---p 00000000 00:00 0
    31682000-31dfb000 rwxp 00003000 00:00 0
    31dfb000-31e00000 ---p 00000000 00:00 0
    31e14000-31e17000 ---p 00000000 00:00 0
    31e17000-31e95000 rwxp 00003000 00:00 0
    31e95000-31e98000 ---p 00081000 00:00 0
    31e98000-31f16000 rwxp 00084000 00:00 0
    31f16000-31f19000 ---p 00102000 00:00 0
    31f19000-31f97000 rwxp 00105000 00:00 0
    31f97000-31f9a000 ---p 00183000 00:00 0
    31f9a000-32018000 rwxp 00186000 00:00 0
    32018000-3201b000 ---p 00183000 00:00 0
    3201b000-32099000 rwxp 00186000 00:00 0
    32099000-3209c000 ---p 00204000 00:00 0
    3209c000-3211a000 rwxp 00207000 00:00 0
    3211a000-3211d000 ---p 00285000 00:00 0
    3211d000-3219b000 rwxp 00288000 00:00 0
    3219b000-3219e000 ---p 00102000 00:00 0
    3219e000-3221c000 rwxp 00105000 00:00 0
    3221c000-3221f000 ---p 00183000 00:00 0
    3221f000-3229d000 rwxp 00186000 00:00 0
    3229d000-322a0000 ---p 00204000 00:00 0
    322a0000-3231e000 rwxp 00207000 00:00 0
    3231e000-32321000 ---p 00285000 00:00 0
    32321000-3239f000 rwxp 00288000 00:00 0
    3239f000-323a2000 ---p 00306000 00:00 0
    323a2000-32420000 rwxp 00309000 00:00 0
    32420000-32423000 ---p 00387000 00:00 0
    32423000-324a1000 rwxp 0038a000 00:00 0
    324a1000-324a4000 ---p 00408000 00:00 0
    324a4000-32522000 rwxp 0040b000 00:00 0
    32522000-32525000 ---p 00285000 00:00 0
    32525000-325a3000 rwxp 00288000 00:00 0
    325a3000-325a6000 ---p 00102000 00:00 0
    325a6000-32624000 rwxp 00105000 00:00 0
    32624000-32627000 ---p 00183000 00:00 0
    32627000-326a5000 rwxp 00186000 00:00 0
    326a5000-326a8000 ---p 00204000 00:00 0
    326a8000-32726000 rwxp 00207000 00:00 0
    32726000-32729000 ---p 00285000 00:00 0
    32729000-327a7000 rwxp 00288000 00:00 0
    327a7000-327aa000 ---p 00102000 00:00 0
    327aa000-32828000 rwxp 00105000 00:00 0
    32828000-3282b000 rwxp 00000000 00:00 0
    3282b000-328a9000 rwxp 00186000 00:00 0
    328a9000-328ac000 ---p 00204000 00:00 0
    328ac000-3292a000 rwxp 00207000 00:00 0
    3292a000-3292d000 ---p 00285000 00:00 0
    3292d000-329ab000 rwxp 00288000 00:00 0
    329ab000-329ae000 rwxp 00000000 00:00 0
    329ae000-32a2c000 rwxp 00309000 00:00 0
    32a2c000-32a2f000 ---p 00183000 00:00 0
    32a2f000-32aad000 rwxp 00186000 00:00 0
    32aad000-32ab0000 rwxp 00000000 00:00 0
    32ab0000-32b2e000 rwxp 00207000 00:00 0
    32b2e000-32b31000 ---p 00000000 00:00 0
    32b31000-32baf000 rwxp 00003000 00:00 0
    32baf000-32bb2000 ---p 00081000 00:00 0
    32bb2000-32c30000 rwxp 00084000 00:00 0
    32c30000-32c33000 ---p 00102000 00:00 0
    32c33000-32cb1000 rwxp 00105000 00:00 0
    32cb1000-32cb4000 rwxp 00000000 00:00 0
    32cb4000-32d32000 rwxp 00186000 00:00 0
    32d32000-32d35000 rwxp 00000000 00:00 0
    32d35000-32db3000 rwxp 00084000 00:00 0
    32db3000-32db6000 ---p 00102000 00:00 0
    32db6000-32e34000 rwxp 00105000 00:00 0
    32e34000-32e37000 rwxp 00000000 00:00 0
    32e37000-32eb5000 rwxp 00186000 00:00 0
    32eb5000-32eb8000 ---p 00204000 00:00 0
    32eb8000-32f36000 rwxp 00207000 00:00 0
    32f36000-32f39000 rwxp 00000000 00:00 0
    32f39000-32fb7000 rwxp 00288000 00:00 0
    32fb7000-32fba000 ---p 00306000 00:00 0
    32fba000-33038000 rwxp 00309000 00:00 0
    33038000-3303b000 rwxp 00000000 00:00 0
    3303b000-330b9000 rwxp 00186000 00:00 0
    330b9000-330bc000 ---p 00204000 00:00 0
    330bc000-3313a000 rwxp 00207000 00:00 0
    3313a000-3313d000 ---p 00285000 00:00 0
    3313d000-331bb000 rwxp 00288000 00:00 0
    331bb000-331be000 ---p 00102000 00:00 0
    331be000-3323c000 rwxp 00105000 00:00 0
    3323c000-3323f000 ---p 00183000 00:00 0
    3323f000-332bd000 rwxp 00186000 00:00 0
    332bd000-332c0000 ---p 00204000 00:00 0
    332c0000-3333e000 rwxp 00207000 00:00 0
    3333e000-33341000 ---p 00285000 00:00 0
    33341000-333bf000 rwxp 00288000 00:00 0
    333bf000-333c2000 ---p 00306000 00:00 0
    333c2000-33440000 rwxp 00309000 00:00 0
    33440000-33443000 ---p 00183000 00:00 0
    33443000-334c1000 rwxp 00186000 00:00 0
    334e2000-33531000 r-xs 00000000 08:02 1783993 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/torque-3.0.2.jar
    33531000-33537000 r-xs 00000000 08:02 1783992 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/textile4j-1.20.jar
    33537000-336e9000 r-xs 00000000 08:02 1783991 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/tangosol.jar
    336e9000-33710000 r-xs 00000000 08:02 1783990 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/ss_css2.jar
    33710000-33716000 r-xs 00000000 08:02 1783989 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/smtp.jar
    33716000-3371b000 r-xs 00000000 08:02 1783987 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/saaj.jar
    3371b000-33720000 r-xs 00000000 08:02 1783986 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/relaxngDatatype.jar
    33720000-33726000 r-xs 00000000 08:02 1783985 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/pop3.jar
    33726000-3373e000 r-xs 00000000 08:02 1783984 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/p6spy.jar
    3373e000-3375b000 r-xs 00000000 08:02 1783983 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/oscache-2.1.1.jar
    3375b000-337ff000 r-xs 00000000 08:02 1783982 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/optional.jar
    337ff000-3396a000 r-xs 00000000 08:02 1783981 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/msv.jar
    3396a000-33979000 r-xs 00000000 08:02 1783980 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/msutil.jar
    33979000-3398a000 r-xs 00000000 08:02 1783979 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/mssqlserver.jar
    3398a000-339d1000 r-xs 00000000 08:02 1783978 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/msbase.jar
    339d1000-339e8000 r-xs 00000000 08:02 1783977 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/metadata-extractor-2.2.2.jar
    339e8000-33a15000 r-xs 00000000 08:02 1783976 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/mailapi.jar
    33a15000-33a6c000 r-xs 00000000 08:02 1783975 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/log4j-1.2.8.jar
    33a6c000-33a6e000 r-xs 00000000 08:02 1783974 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/jdbc2_0-stdext.jar
    33a6e000-33ab6000 r-xs 00000000 08:02 1783973 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/jcs.jar
    33ab6000-33ac2000 r-xs 00000000 08:02 1783972 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/jazzy-core.jar
    33ac2000-33acb000 r-xs 00000000 08:02 1783971 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/jaxrpc.jar
    33acb000-33b06000 r-xs 00000000 08:02 1783970 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/jaxen-1.1-beta-4.jar
    33b06000-33b0e000 r-xs 00000000 08:02 1783969 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/jakarta-regexp-1.2.jar
    33b0e000-33b1e000 r-xs 00000000 08:02 1783968 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/jakarta-oro-2.0.6.jar
    33b1e000-33c9f000 r-xs 00000000 08:02 1783967 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/jai_core.jar
    33c9f000-33cd3000 r-xs 00000000 08:02 1783966 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/jai_codec.jar
    33cd3000-33d03000 r-xs 00000000 08:02 1783965 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/isorelax.jar
    33d03000-33d25000 r-xs 00000000 08:02 1783964 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/imap.jar
    33d25000-33d54000 r-xs 00000000 08:02 1783963 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/hessian-3.0.13.jar
    33d54000-33d58000 r-xs 00000000 08:02 1783962 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/fast-md5-2.5.jar
    33d58000-33db8000 r-xs 00000000 08:02 1783961 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/dom4j-1.5-rc1.jar
    33db8000-33df5000 r-xs 00000000 08:02 1783960 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/dnsjava-1.6.6.jar
    33df5000-33ef6000 r-xs 00000000 08:02 1783958 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/db-ojb-1.0.1.jar
    33ef6000-33f0f000 r-xs 00000000 08:02 1783957 /usr/local/apache-tomcat-5.5.12/webapps/x/WEB-INF/lib/crossdb.jar
    33f0f000-33f1d000

    An aside: When I switch to ParallelGC, afterrunning
    for about 5-6 hours, GC times start doubling
    (approximately) in time, eventually moving upwardsof
    2 minutes per full GC.That sounds to me like you're swapping during full
    GCs. I wouldn't assume that 2 GB of physical RAM is
    sufficient to run an app with an 1800 MB heap. Have
    you done any heap profiling to determine the real
    working set of your application? When the GCs get
    this pathologically long, is there disk activity on
    the machine?Hmm.. So what should we size our heap to on a server with 2GB? The server is essentially only running the Java process. What would you consider "safe"?
    While heap profiling with jconsole, the application only utilizes 1.1GB of the heap at peaks. We want to expand that eventually as we size our caches larger.
    I don't believe there's disk activity with long GCs, but I can't confirm that 100% right now. The server is reading files from another machine, so the disks are more or less untouched while the app is running. There's heavy caching. The only reason disks would be hititng if your guess regarding the swapping turns out correct. After you suggest a safer way to calc a max heap size for our machine, I'll try again with ParallelGC and a smaller heap.
    Some points:
    - I tried increasing perm generation size. It'snot
    even close to filled (according to gc log).(As you mentioned, "old generation" instead of "perm
    generation".) What about when the full collection
    times are taking 2 minutes in duration? Is there any
    disk activity indicating swapping?Again, not positive on the disk situation -- should get an answer above to figure this out.
    - I have not tried the -client VM, will this break
    performance on a production application?The client VM does not generate as high quality
    machine code as the server VM but on the x86
    architecture many benchmark scores for the two
    compilers are comparable. I would recommend you try
    that option if only to narrow down the scope of the
    crash you're seeing.
    - I saw a bug related to a ConcMarkSweepGC crashon
    4-cpu machines opened on Oct 17th. I've testedthis
    on 4-cpu (2 proc with hyperthreading) and 2-cpu
    (hyperthreading off) -- both exhibit this issue.What bug ID is this?http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6337544
    - Are there any known issues with this collectorand
    Linux 2.4.21-37.ELsmp? Should we be using
    LD_ASSUME_KERNEL=2.2.5 or anything? For java to
    recognize this variable, do we just need itspecified
    anywhere in the environment at JVM start? How dowe
    test if it worked?No issues as far as I know, but I am not a Linux
    expert. I think in order to toggle which thread
    library is used you just need that variable exported
    in the environment when the JVM starts up. You can
    probably use pmap to see which thread library got
    loaded to verify the one you expect is present in the
    loaded objects.Trying various combinations of LD_ASSUME_KERNEL to switch threading versions has no real effect on stability there. We're seeing crashes repeatedly still.
    I'm going to attempt to deploy some machines with a new kernel as well and see if we can reproduce on those. I'll try ParallelGC again as soon as I get your recommendations on the configuration.

  • Problem calling two perl modules from java in seperate threads(JVM CRASHES)

    Dear Friends,
    I have one severe problem regarding calling perl modules from java
    I had to call two perl modules simultaneously (i.e.) from two threads,,, but jvm crashes when one of the perl calls is exiting earlier
    I am unable to spot out why ....
    For calling perl from java ...., We are first calling C code from java using JNI and then Perl code from C
    All works fine if we call only one perl call at a time.... If we call them in a synchronized manner the JVM is not crashing .... But we don't want blocking..
    The following is the code snippet
    <JAVA FILE>
    class Sample
         static {
              System.loadLibrary("xyz");  // Here xyz is the library file generated by compiling c code
         public native void call_PrintList();
         public native void call_PrintListNew();
         Sample()
              new Thread1(this).start();     
         public static void main(String args[])
              System.out.println("In the main Method");
              new Sample().call_PrintList();
         class Thread1 extends Thread
              Sample sample;
              Thread1(Sample sam)
                   sample=sam;
              public void run()
                   sample.call_PrintListNew();     
    }<C FILE>
    #include <EXTERN.h>
    #include <perl.h>
    static PerlInterpreter *my_perl;
    static char * words[] = {"alpha", "beta", "gamma", "delta", NULL } ;
    static void
    call_PrintList(){
         printf("\nIn the Call method of string.c\n");
            char *wor[] = {"hello", "sudha", NULL } ;
               char *my_argv[] = { "", "string.pl" };
               PERL_SYS_INIT3(&argc,&argv,&env);
               my_perl = perl_alloc();
                   PL_perl_destruct_level = 1; //// We have mentioned this also and tried removing destruct call
               perl_construct( my_perl );
               perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
              PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
               perl_run(my_perl);
         dSP ;
            perl_call_argv("PrintList",  G_DISCARD, wor) ;
    PL_perl_destruct_level = 1;
    //     perl_destruct(my_perl);
    //          perl_free(my_perl);
    //           PERL_SYS_TERM();
    static void
    call_PrintListNew(){
    printf("In the new call method\n");
    char *wor[] = {"Hiiiiiiiiiiiiiii", "Satyam123333", NULL } ;
            char *my_argv[] = { "", "string.pl" };
            PERL_SYS_INIT3(&argc,&argv,&env);
            my_perl = perl_alloc();
    PL_perl_destruct_level = 1;
            perl_construct( my_perl );
            perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
            PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
            perl_run(my_perl);
            dSP ;
            perl_call_argv("PrintListNew",  G_DISCARD, wor) ;
    PL_perl_destruct_level = 1;
      //      perl_destruct(my_perl);
      //      perl_free(my_perl);
       //     PERL_SYS_TERM();
    void callNew()
    call_PrintListNew();
    void call ( )
    call_PrintList();
    //char *wor[] = {"hello","sudha",NULL};
    /*   char *my_argv[] = { "", "string.pl" };
          PERL_SYS_INIT3(&argc,&argv,&env);
          my_perl = perl_alloc();
          perl_construct( my_perl );
          perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
         PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
          perl_run(my_perl);*/
       //   call_PrintList();                      /*** Compute 3 ** 4 ***/
    /*      perl_destruct(my_perl);
          perl_free(my_perl);
          PERL_SYS_TERM();*/
        }And Finally the perl code
    sub PrintList
                my(@list) = @_ ;
                foreach (@list) { print "$_\n" }
    sub PrintListNew
                my(@list) = @_ ;
                foreach (@list) { print "$_\n" }
            }Please help me in this regard

    Dear Friends,
    I have one severe problem regarding calling perl modules from java
    I had to call two perl modules simultaneously (i.e.) from two threads,,, but jvm crashes when one of the perl calls is exiting earlier
    I am unable to spot out why ....
    For calling perl from java ...., We are first calling C code from java using JNI and then Perl code from C
    All works fine if we call only one perl call at a time.... If we call them in a synchronized manner the JVM is not crashing .... But we don't want blocking..
    The following is the code snippet
    <JAVA FILE>
    class Sample
         static {
              System.loadLibrary("xyz");  // Here xyz is the library file generated by compiling c code
         public native void call_PrintList();
         public native void call_PrintListNew();
         Sample()
              new Thread1(this).start();     
         public static void main(String args[])
              System.out.println("In the main Method");
              new Sample().call_PrintList();
         class Thread1 extends Thread
              Sample sample;
              Thread1(Sample sam)
                   sample=sam;
              public void run()
                   sample.call_PrintListNew();     
    }<C FILE>
    #include <EXTERN.h>
    #include <perl.h>
    static PerlInterpreter *my_perl;
    static char * words[] = {"alpha", "beta", "gamma", "delta", NULL } ;
    static void
    call_PrintList(){
         printf("\nIn the Call method of string.c\n");
            char *wor[] = {"hello", "sudha", NULL } ;
               char *my_argv[] = { "", "string.pl" };
               PERL_SYS_INIT3(&argc,&argv,&env);
               my_perl = perl_alloc();
                   PL_perl_destruct_level = 1; //// We have mentioned this also and tried removing destruct call
               perl_construct( my_perl );
               perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
              PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
               perl_run(my_perl);
         dSP ;
            perl_call_argv("PrintList",  G_DISCARD, wor) ;
    PL_perl_destruct_level = 1;
    //     perl_destruct(my_perl);
    //          perl_free(my_perl);
    //           PERL_SYS_TERM();
    static void
    call_PrintListNew(){
    printf("In the new call method\n");
    char *wor[] = {"Hiiiiiiiiiiiiiii", "Satyam123333", NULL } ;
            char *my_argv[] = { "", "string.pl" };
            PERL_SYS_INIT3(&argc,&argv,&env);
            my_perl = perl_alloc();
    PL_perl_destruct_level = 1;
            perl_construct( my_perl );
            perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
            PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
            perl_run(my_perl);
            dSP ;
            perl_call_argv("PrintListNew",  G_DISCARD, wor) ;
    PL_perl_destruct_level = 1;
      //      perl_destruct(my_perl);
      //      perl_free(my_perl);
       //     PERL_SYS_TERM();
    void callNew()
    call_PrintListNew();
    void call ( )
    call_PrintList();
    //char *wor[] = {"hello","sudha",NULL};
    /*   char *my_argv[] = { "", "string.pl" };
          PERL_SYS_INIT3(&argc,&argv,&env);
          my_perl = perl_alloc();
          perl_construct( my_perl );
          perl_parse(my_perl, NULL, 2, my_argv, (char**)NULL);
         PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
          perl_run(my_perl);*/
       //   call_PrintList();                      /*** Compute 3 ** 4 ***/
    /*      perl_destruct(my_perl);
          perl_free(my_perl);
          PERL_SYS_TERM();*/
        }And Finally the perl code
    sub PrintList
                my(@list) = @_ ;
                foreach (@list) { print "$_\n" }
    sub PrintListNew
                my(@list) = @_ ;
                foreach (@list) { print "$_\n" }
            }Please help me in this regard

  • JVM Crash ConcurrentGCThread (6u21 windows-amd64 jvm.dll+0x1291fb)

    Hi,
    a customer hit this JVM crash on Windows 2008 SP1 with JDK 6u21:
    # A fatal error has been detected by the Java Runtime Environment:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006d9b91fb, pid=3944, tid=2912
    # JRE version: 6.0_21-b07
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b17 mixed mode windows-amd64 )
    # Problematic frame:
    # V  [jvm.dll+0x1291fb]
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    ---------------  T H R E A D  ---------------
    Current thread (0x0000000001091000):  ConcurrentGCThread [stack: 0x000000006cc80000,0x000000006cd80000] [id=2912]
    siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000069
    Registers:
    EAX=0x0000000000000059, EBX=0x000000006cd7fab0, ECX=0x0000000000000069, EDX=0x0000000067186c30
    ESP=0x000000006cd7f6f0, EBP=0x0000000000000012, ESI=0x00000000671868c0, EDI=0x000000006cd7fab0
    EIP=0x000000006d9b91fb, EFLAGS=0x0000000000010246
    Top of Stack: (sp=0x000000006cd7f6f0)
    0x000000006cd7f6f0:   000000000110b960 000000006d9ba131
    0x000000006cd7f700:   000000006cd7f790 000000006d9ba131
    0x000000006cd7f710:   000000006cd7fab0 000000006dc56be0
    0x000000006cd7f720:   000000006cd7fab0 000000006dbb42ce
    0x000000006cd7f730:   0000000067186860 000000006cd7fab0
    0x000000006cd7f740:   000000006cd7fab0 0000000000000000
    0x000000006cd7f750:   000000006cd7fa60 000000006cd7f810
    0x000000006cd7f760:   0000000067186830 000000006d9acee3
    0x000000006cd7f770:   0000000000000880 00000000010917d0
    0x000000006cd7f780:   0000000001064020 0000000000004400
    0x000000006cd7f790:   0000000067183a00 0000000000000880
    0x000000006cd7f7a0:   000000006cd7f810 000000006d9b281d
    0x000000006cd7f7b0:   0000000067184cc0 000000006cd7f810
    0x000000006cd7f7c0:   000000006cd7fa60 0000000067184e28
    0x000000006cd7f7d0:   0000000067183a00 0000000000000880
    0x000000006cd7f7e0:   00000000000000c4 000000006d986f1e
    Instructions: (pc=0x000000006d9b91fb)
    0x000000006d9b91eb:   51 00 eb 04 48 8b 42 08 48 8d 48 10 4c 8d 43 58
    0x000000006d9b91fb:   48 8b 01 ff 90 20 02 00 00 80 bb c8 00 00 00 00
    Stack: [0x000000006cc80000,0x000000006cd80000],  sp=0x000000006cd7f6f0,  free space=3fd0000000000000000k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V  [jvm.dll+0x1291fb]
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x00000000727e9000 JavaThread "http-0.0.0.0-8180-9" daemon [_thread_blocked, id=6104, stack(0x00000000774b0000,0x00000000775b0000)]
      0x00000000727e8000 JavaThread "http-0.0.0.0-8180-8" daemon [_thread_in_native, id=1384, stack(0x00000000773b0000,0x00000000774b0000)]
      0x00000000727e7800 JavaThread "http-0.0.0.0-8180-7" daemon [_thread_in_native, id=3076, stack(0x00000000772b0000,0x00000000773b0000)]
      0x00000000727e6800 JavaThread "http-0.0.0.0-8180-6" daemon [_thread_in_native, id=5324, stack(0x00000000771b0000,0x00000000772b0000)]
      0x00000000727e6000 JavaThread "http-0.0.0.0-8180-5" daemon [_thread_in_native, id=6116, stack(0x00000000770b0000,0x00000000771b0000)]
      0x00000000727e5000 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=5132, stack(0x0000000076d60000,0x0000000076e60000)]
      0x00000000727e4800 JavaThread "http-0.0.0.0-8180-4" daemon [_thread_in_vm, id=4436, stack(0x00000000736f0000,0x00000000737f0000)]
      0x00000000727e3000 JavaThread "http-0.0.0.0-8180-3" daemon [_thread_in_native, id=1752, stack(0x0000000076e60000,0x0000000076f60000)]
      0x00000000727e2800 JavaThread "Thread-12" daemon [_thread_in_native, id=4160, stack(0x0000000076c60000,0x0000000076d60000)]
      0x00000000727e1800 JavaThread "http-0.0.0.0-8182-1" daemon [_thread_blocked, id=4256, stack(0x0000000076b60000,0x0000000076c60000)]
      0x000000007392b000 JavaThread "http-0.0.0.0-8183-1" daemon [_thread_blocked, id=5972, stack(0x0000000076a60000,0x0000000076b60000)]
      0x0000000073929800 JavaThread "http-0.0.0.0-8180-2" daemon [_thread_in_native, id=3724, stack(0x0000000076960000,0x0000000076a60000)]
      0x0000000073929000 JavaThread "http-0.0.0.0-8180-1" daemon [_thread_in_native, id=4712, stack(0x0000000071220000,0x0000000071320000)]
      0x000000007392a800 JavaThread "http-0.0.0.0-8183" daemon [_thread_in_native, id=6020, stack(0x0000000076860000,0x0000000076960000)]
      0x0000000070992800 JavaThread "http-0.0.0.0-8182" daemon [_thread_in_native, id=2480, stack(0x0000000076760000,0x0000000076860000)]
      0x0000000073928800 JavaThread "http-0.0.0.0-8181-1" daemon [_thread_blocked, id=5448, stack(0x0000000076660000,0x0000000076760000)]
      0x0000000070991800 JavaThread "http-0.0.0.0-8180" daemon [_thread_in_native, id=1748, stack(0x0000000076560000,0x0000000076660000)]
      0x0000000070991000 JavaThread "http-0.0.0.0-8181" daemon [_thread_in_native, id=4136, stack(0x00000000752a0000,0x00000000753a0000)]
      0x0000000070990800 JavaThread "JBossLifeThread" [_thread_blocked, id=5844, stack(0x0000000075460000,0x0000000075560000)]
      0x0000000070986000 JavaThread "SEO index monitor thread" daemon [_thread_blocked, id=1472, stack(0x00000000733f0000,0x00000000734f0000)]
      0x000000007098f800 JavaThread "derby.rawStoreDaemon" daemon [_thread_blocked, id=4532, stack(0x00000000751a0000,0x00000000752a0000)]
      0x000000007098f000 JavaThread "derby.NetworkServerStarter" daemon [_thread_blocked, id=4352, stack(0x00000000750a0000,0x00000000751a0000)]
      0x000000007098e000 JavaThread "Timer-1" daemon [_thread_blocked, id=1484, stack(0x0000000074fa0000,0x00000000750a0000)]
      0x000000007098d800 JavaThread "derby.antiGC" daemon [_thread_blocked, id=4316, stack(0x0000000074ea0000,0x0000000074fa0000)]
      0x000000007098c800 JavaThread "Checkpoint Maintenance Service (CheckpointDirectory)" daemon [_thread_blocked, id=2496, stack(0x0000000074bc0000,0x0000000074cc0000)]
      0x000000007098c000 JavaThread "Checkpoint Maintenance Service (watchdog)-0" daemon [_thread_blocked, id=6068, stack(0x0000000074ac0000,0x0000000074bc0000)]
      0x000000007098b000 JavaThread "net.sf.ehcache.CacheManager@7889fe65" daemon [_thread_blocked, id=6040, stack(0x00000000749c0000,0x0000000074ac0000)]
      0x000000007098a800 JavaThread "Maintenance-Thread" [_thread_blocked, id=4332, stack(0x00000000748c0000,0x00000000749c0000)]
      0x0000000070989000 JavaThread "PageSavingThread-wicket.bm-translation-page" daemon [_thread_blocked, id=228, stack(0x00000000737f0000,0x00000000738f0000)]
      0x0000000070987800 JavaThread "PageSavingThread-wicket.bm" daemon [_thread_blocked, id=5996, stack(0x00000000735f0000,0x00000000736f0000)]
      0x0000000070987000 JavaThread "com.google.inject.internal.Finalizer" daemon [_thread_blocked, id=6080, stack(0x00000000734f0000,0x00000000735f0000)]
      0x0000000070985800 JavaThread "Service auto starter-0" daemon [_thread_blocked, id=5524, stack(0x000000006d280000,0x000000006d380000)]
      0x0000000070984800 JavaThread "ContainerBackgroundProcessor[StandardEngine[jboss.web]]" daemon [_thread_blocked, id=2964, stack(0x00000000732f0000,0x00000000733f0000)]
      0x0000000070984000 JavaThread "RMI TCP Accept-4444" daemon [_thread_in_native, id=5740, stack(0x0000000072220000,0x0000000072320000)]
      0x0000000070983800 JavaThread "ClassLoadingPool(2)-1" daemon [_thread_in_native, id=3928, stack(0x0000000072120000,0x0000000072220000)]
      0x00000000709c4000 JavaThread "JBoss System Threads(1)-1" daemon [_thread_in_native, id=5380, stack(0x0000000072020000,0x0000000072120000)]
      0x00000000709c3800 JavaThread "GC Daemon" daemon [_thread_blocked, id=3712, stack(0x0000000071f20000,0x0000000072020000)]
      0x00000000709c1800 JavaThread "RMI Reaper" [_thread_blocked, id=5552, stack(0x0000000071e20000,0x0000000071f20000)]
      0x00000000709c1000 JavaThread "RMI TCP Accept-1098" daemon [_thread_in_native, id=4328, stack(0x0000000071d20000,0x0000000071e20000)]
      0x00000000709d5000 JavaThread "ScannerThread" daemon [_thread_blocked, id=4952, stack(0x0000000071c20000,0x0000000071d20000)]
      0x00000000713f4800 JavaThread "Timer-0" daemon [_thread_blocked, id=6028, stack(0x0000000071b20000,0x0000000071c20000)]
      0x0000000001020000 JavaThread "DestroyJavaVM" [_thread_blocked, id=5908, stack(0x00000000012a0000,0x00000000013a0000)]
      0x000000007073e800 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=5588, stack(0x0000000070f70000,0x0000000071070000)]
      0x00000000706fc800 JavaThread "RMI TCP Accept-8190" daemon [_thread_in_native, id=5176, stack(0x0000000070d50000,0x0000000070e50000)]
      0x00000000706fc000 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=5108, stack(0x0000000070a70000,0x0000000070b70000)]
      0x000000006ce71800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1684, stack(0x0000000070570000,0x0000000070670000)]
      0x000000006ce6f800 JavaThread "CompilerThread1" daemon [_thread_in_native, id=3716, stack(0x0000000070070000,0x0000000070170000)]
      0x000000006ce60800 JavaThread "CompilerThread0" daemon [_thread_in_native, id=5816, stack(0x000000006ff70000,0x0000000070070000)]
      0x000000006ce5d800 JavaThread "Attach Listener" daemon [_thread_blocked, id=5288, stack(0x000000006d680000,0x000000006d780000)]
      0x000000006ce58800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5756, stack(0x000000006d580000,0x000000006d680000)]
      0x000000006ce57000 JavaThread "Surrogate Locker Thread (CMS)" daemon [_thread_blocked, id=6140, stack(0x000000006d480000,0x000000006d580000)]
      0x000000006ce05000 JavaThread "Finalizer" daemon [_thread_blocked, id=3980, stack(0x000000006d180000,0x000000006d280000)]
      0x000000006cdfa000 JavaThread "Reference Handler" daemon [_thread_blocked, id=776, stack(0x000000006d080000,0x000000006d180000)]
    Other Threads:
      0x000000006cdf3800 VMThread [stack: 0x000000006cf80000,0x000000006d080000] [id=3228]
      0x00000000706b2000 WatcherThread [stack: 0x0000000071120000,0x0000000071220000] [id=5040]
    =>0x0000000001091000 (exited) ConcurrentGCThread [stack: 0x000000006cc80000,0x000000006cd80000] [id=2912]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
    [0x000000000110d770] Heap_lock - owner thread: 0x00000000727e4800
    Heap
    par new generation   total 118016K, used 75017K [0x00000000046e0000, 0x000000000c6e0000, 0x000000000c6e0000)
      eden space 104960K,  59% used [0x00000000046e0000, 0x0000000008362778, 0x000000000ad60000)
      from space 13056K, 100% used [0x000000000ad60000, 0x000000000ba20000, 0x000000000ba20000)
      to   space 13056K,   0% used [0x000000000ba20000, 0x000000000ba20000, 0x000000000c6e0000)
    concurrent mark-sweep generation total 108264K, used 69074K [0x000000000c6e0000, 0x000000001309a000, 0x00000000622e0000)
    concurrent-mark-sweep perm gen total 120720K, used 79760K [0x00000000622e0000, 0x00000000698c4000, 0x000000006a2e0000)
    Dynamic libraries:
    0x0000000000400000 - 0x000000000042e000      C:\Program Files\Java\jdk1.6.0_21\bin\java.exe
    0x0000000077af0000 - 0x0000000077c70000      C:\Windows\system32\ntdll.dll
    0x00000000778f0000 - 0x0000000077a1c000      C:\Windows\system32\kernel32.dll
    0x000007feff820000 - 0x000007feff928000      C:\Windows\system32\ADVAPI32.dll
    0x000007fefe230000 - 0x000007fefe36f000      C:\Windows\system32\RPCRT4.dll
    0x000000006d890000 - 0x000000006df61000      C:\Program Files\Java\jdk1.6.0_21\jre\bin\server\jvm.dll
    0x0000000077a20000 - 0x0000000077aed000      C:\Windows\system32\USER32.dll
    0x000007fefe8d0000 - 0x000007fefe933000      C:\Windows\system32\GDI32.dll
    0x000007fefc0c0000 - 0x000007fefc0f9000      C:\Windows\system32\WINMM.dll
    0x000007feffbb0000 - 0x000007feffc4c000      C:\Windows\system32\msvcrt.dll
    0x000007fefe370000 - 0x000007fefe548000      C:\Windows\system32\ole32.dll
    0x000007feff740000 - 0x000007feff813000      C:\Windows\system32\OLEAUT32.dll
    0x000007fefc070000 - 0x000007fefc0bf000      C:\Windows\system32\OLEACC.dll
    0x000007fefe570000 - 0x000007fefe59d000      C:\Windows\system32\IMM32.DLL
    0x000007fefe940000 - 0x000007fefea41000      C:\Windows\system32\MSCTF.dll
    0x000007feffc50000 - 0x000007feffc5d000      C:\Windows\system32\LPK.DLL
    0x000007feffd50000 - 0x000007feffdea000      C:\Windows\system32\USP10.dll
    0x000000006d800000 - 0x000000006d80e000      C:\Program Files\Java\jdk1.6.0_21\jre\bin\verify.dll
    0x000000006d450000 - 0x000000006d477000      C:\Program Files\Java\jdk1.6.0_21\jre\bin\java.dll
    0x000000006d3b0000 - 0x000000006d3ba000      C:\Program Files\Java\jdk1.6.0_21\jre\bin\hpi.dll
    0x0000000077c70000 - 0x0000000077c79000      C:\Windows\system32\PSAPI.DLL
    0x000000006d850000 - 0x000000006d862000      C:\Program Files\Java\jdk1.6.0_21\jre\bin\zip.dll
    0x000007fefea50000 - 0x000007feff6a2000      C:\Windows\system32\SHELL32.DLL
    0x000007feff6b0000 - 0x000007feff723000      C:\Windows\system32\SHLWAPI.dll
    0x000007fefc920000 - 0x000007fefcb19000      C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_152e7382f3bd50c6\comctl32.dll
    0x000007fefe6f0000 - 0x000007fefe8cb000      C:\Windows\system32\SETUPAPI.dll
    0x0000000000de0000 - 0x0000000000dea000      C:\Program Files\Java\jdk1.6.0_21\jre\bin\management.dll
    0x000000006d380000 - 0x000000006d397000      C:\Program Files\Java\jdk1.6.0_21\jre\bin\net.dll
    0x000007fefe5a0000 - 0x000007fefe5e4000      C:\Windows\system32\WS2_32.dll
    0x000007feff730000 - 0x000007feff737000      C:\Windows\system32\NSI.dll
    0x000007fefd590000 - 0x000007fefd5df000      C:\Windows\system32\mswsock.dll
    0x000007fefd790000 - 0x000007fefd797000      C:\Windows\System32\wship6.dll
    0x000007fefdb30000 - 0x000007fefdb69000      C:\Windows\system32\DNSAPI.dll
    0x000007fefbdc0000 - 0x000007fefbdcb000      C:\Windows\System32\winrnr.dll
    0x000007fefe5f0000 - 0x000007fefe645000      C:\Windows\system32\WLDAP32.dll
    0x000007fefd010000 - 0x000007fefd023000      C:\Windows\system32\NLAapi.dll
    0x000007fefd860000 - 0x000007fefd883000      C:\Windows\system32\IPHLPAPI.DLL
    0x000007fefd810000 - 0x000007fefd855000      C:\Windows\system32\dhcpcsvc.DLL
    0x000007fefe080000 - 0x000007fefe09c000      C:\Windows\system32\Secur32.dll
    0x000007fefd800000 - 0x000007fefd80a000      C:\Windows\system32\WINNSI.DLL
    0x000007fefd7d0000 - 0x000007fefd7fb000      C:\Windows\system32\dhcpcsvc6.DLL
    0x000007fefbc50000 - 0x000007fefbc63000      C:\Windows\system32\napinsp.dll
    0x000007fefd200000 - 0x000007fefd207000      C:\Windows\system32\wshtcpip.dll
    0x000007fefbf10000 - 0x000007fefbf18000      C:\Windows\system32\rasadhlp.dll
    0x000007fefd280000 - 0x000007fefd2c7000      C:\Windows\system32\rsaenh.dll
    0x000007fefe0a0000 - 0x000007fefe0c6000      C:\Windows\system32\USERENV.dll
    0x0000000000df0000 - 0x0000000000dfb000      C:\Program Files\Java\jdk1.6.0_21\jre\bin\nio.dll
    VM Arguments:
    jvm_args: -Dfile.encoding=UTF-8 -Djava.io.tmpdir=c:\...\tmp -Djava.library.path=c:\...\lib\win32-x86 -Djava.security.policy=c:\...\policy.all -XX:MaxPermSize=128m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalMode -XX:+CMSParallelRemarkEnabled -XX:MaxNewSize=128m -XX:NewSize=128m -XX:+DisableExplicitGC -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -XX:+UseBiasedLocking -XX:+PrintConcurrentLocks -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -Dcom.sun.management.jmxremote.port=8190 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djboss.server.blockingshutdown=true -Djboss.server.exitonshutdown=false -Djboss.server.home.dir=c:\...\jboss-server -Djboss.server.home.url=file:/c:/.../jboss-server/ -Djboss.deploy.urls=file:/c:/.../jboss-server/deploy/, -Xmx1500m -Xloggc:c:\...\gc.log -Dderby.drda.portNumber=8191 -Dderby.drda.startNetworkServer=true
    java_command: org.jboss.Main
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\Program Files\Java\jdk1.6.0_21
    CLASSPATH=...
    PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Dell\SysMgt\RAC5;C:\Program Files (x86)\Dell\SysMgt\oma\bin;C:\Windows\System32\WindowsPowerShell\v1.0\
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=AMD64 Family 15 Model 65 Stepping 3, AuthenticAMD
    ---------------  S Y S T E M  ---------------
    OS: Windows Server 2008 Build 6001 Service Pack 1
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 65 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext
    Memory: 4k page, physical 8381904k(4689996k free), swap 16819076k(12156656k free)
    vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0-b17) for windows-amd64 JRE (1.6.0_21-b07), built on Jul 17 2010 01:05:36 by "java_re" with MS VC++ 8.0 (VS2005)
    time: Thu Oct 21 10:54:48 2010
    elapsed time: 4500 secondsI have tried using hs_err6.pl to get some closer information, but I don't have access to the required map files, and searching in the bugdatabase didn't come up with anything.
    As far as I know this crash happened once.
    Is this a known crash, and if so: any pointers to the bugid would be very appreciated!
    Regards,
    Andreas
    Edited by: user12281825 on Oct 21, 2010 6:10 PM (replace 'noformat' by 'code')

    Thank you.
    Going through the suggestions:
    * custom/3rd party JNI components: while the jvm args indicate a use of such components, there is actually none being used in this instance.
    * overcommit: I'm not sure whether windows has any tunables for this, but from the memory information in the hs_err file I think this is not a problem here. The JVM has Xmx1500 + Xmn128 + permsize of 128, even with generous margins this should fit well into the 4G still available physical memory on the server.
    * OS support: I'd believe that Windows 2008 SP1 is supported :)
    * OS updates: I will check with the customer whether all updates are applied, and also whether an update of the OS itself is possible.
    * hotspot/gc tuning: there are various tuning options applied, which have been determined by testing the application itself (load, functional, endurance tests), and have been found to work stable
    There is one bug we're are aware of in 6u21 which affects the application (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6938026), but without being able to decode the jvm.dll+0x1291fb address I cannot say for sure that this is the same bug.
    Andreas

  • JVM crashes with Out of SWAP space

    Hello every body,
    We have a problem in a production environnement. The JVM crashes every time with the log file below.
    The application which is running don't occupate all memory and we don't understand why an outofmemory exception is raised.
    It's not probably due to an allocation inside the application because the exception should be an outofmemory exception : Java Heap space.
    Please, somebody can help me to understant what append or to give me some advices?
    Thank you a lot for help.
    # An unexpected error has been detected by Java Runtime Environment:
    # java.lang.OutOfMemoryError: requested 41943040 bytes for GrET in C:\BUILD_AREA\jdk6_07\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space?
    #  Internal Error (allocation.inline.hpp:42), pid=2700, tid=2112
    #  Error: GrET in C:\BUILD_AREA\jdk6_07\hotspot\src\share\vm\utilities\growableArray.cpp
    # Java VM: Java HotSpot(TM) Server VM (10.0-b23 mixed mode windows-x86)
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    ---------------  T H R E A D  ---------------
    Current thread (0x65b97400):  VMThread [stack: 0x65bd0000,0x65c20000] [id=2112]
    Stack: [0x65bd0000,0x65c20000]
    [error occurred during error reporting (printing stack bounds), id 0x80000001]
    VM_Operation (0x66dffa14): ParallelGCSystemGC, mode: safepoint, requested by thread 0x65fb9400
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x65f3cc00 JavaThread "pool-3-thread-1" [_thread_blocked, id=2780, stack(0x67300000,0x67350000)]
      0x66547800 JavaThread "RMI RenewClean-[192.16.252.55:3916]" daemon [_thread_blocked, id=3076, stack(0x672b0000,0x67300000)]
      0x66547400 JavaThread "RMI RenewClean-[192.16.252.53:2046]" daemon [_thread_blocked, id=2292, stack(0x67260000,0x672b0000)]
      0x6650d800 JavaThread "RMI RenewClean-[192.16.254.46:3126]" daemon [_thread_blocked, id=3012, stack(0x67210000,0x67260000)]
      0x663e8400 JavaThread "RMI RenewClean-[192.16.254.45:3026]" daemon [_thread_blocked, id=2596, stack(0x671c0000,0x67210000)]
      0x65f99800 JavaThread "RMI RenewClean-[192.16.252.54:1623]" daemon [_thread_blocked, id=3128, stack(0x67170000,0x671c0000)]
      0x65f99400 JavaThread "RMI RenewClean-[192.16.254.55:1992]" daemon [_thread_blocked, id=2720, stack(0x67120000,0x67170000)]
      0x66480800 JavaThread "RMI RenewClean-[192.16.254.54:4954]" daemon [_thread_blocked, id=2920, stack(0x670d0000,0x67120000)]
      0x66480000 JavaThread "RMI RenewClean-[192.16.254.53:3093]" daemon [_thread_blocked, id=2068, stack(0x67080000,0x670d0000)]
      0x6653f800 JavaThread "RMI RenewClean-[192.16.254.52:2543]" daemon [_thread_blocked, id=2156, stack(0x67030000,0x67080000)]
      0x66411400 JavaThread "RMI RenewClean-[192.16.254.51:3893]" daemon [_thread_blocked, id=1688, stack(0x66fe0000,0x67030000)]
      0x66468800 JavaThread "RMI RenewClean-[192.16.254.50:3371]" daemon [_thread_blocked, id=2688, stack(0x66f90000,0x66fe0000)]
      0x663f8400 JavaThread "RMI RenewClean-[192.16.254.49:4374]" daemon [_thread_blocked, id=2656, stack(0x66f40000,0x66f90000)]
      0x65f27800 JavaThread "RMI RenewClean-[192.16.254.48:3311]" daemon [_thread_blocked, id=748, stack(0x66ef0000,0x66f40000)]
      0x65f27400 JavaThread "RMI RenewClean-[192.16.254.47:2571]" daemon [_thread_blocked, id=1048, stack(0x66ea0000,0x66ef0000)]
      0x65f9e400 JavaThread "RMI RenewClean-[192.16.238.145:1673]" daemon [_thread_blocked, id=2332, stack(0x66e50000,0x66ea0000)]
      0x6602e800 JavaThread "RMI RenewClean-[192.16.238.144:2332]" daemon [_thread_blocked, id=3100, stack(0x66e00000,0x66e50000)]
      0x65fb9400 JavaThread "GC Daemon" daemon [_thread_blocked, id=1608, stack(0x66db0000,0x66e00000)]
      0x6657a400 JavaThread "RMI RenewClean-[192.16.238.143:3902]" daemon [_thread_blocked, id=2668, stack(0x66d60000,0x66db0000)]
      0x65fa9c00 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=2624, stack(0x66d10000,0x66d60000)]
      0x65ff4c00 JavaThread "pool-4-thread-1" [_thread_blocked, id=2864, stack(0x66390000,0x663e0000)]
      0x65fbf400 JavaThread "pool-2-thread-1" [_thread_blocked, id=2696, stack(0x66340000,0x66390000)]
      0x65f6d400 JavaThread "Thread-0" [_thread_blocked, id=3016, stack(0x662f0000,0x66340000)]
      0x65ebf000 JavaThread "WrapperSimpleAppMain" [_thread_blocked, id=696, stack(0x662a0000,0x662f0000)]
      0x00265c00 JavaThread "DestroyJavaVM" [_thread_blocked, id=564, stack(0x00680000,0x006d0000)]
      0x65fecc00 JavaThread "Wrapper-Connection" daemon [_thread_in_native, id=1224, stack(0x66170000,0x661c0000)]
      0x65ec9c00 JavaThread "Wrapper-Control-Event-Monitor" daemon [_thread_blocked, id=2896, stack(0x660d0000,0x66120000)]
      0x65bbf800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1284, stack(0x65e00000,0x65e50000)]
      0x65bbd000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=3040, stack(0x65db0000,0x65e00000)]
      0x65bb8000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1472, stack(0x65d60000,0x65db0000)]
      0x65bb6c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2000, stack(0x65d10000,0x65d60000)]
      0x65bb6000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2732, stack(0x65cc0000,0x65d10000)]
      0x65b9ec00 JavaThread "Finalizer" daemon [_thread_blocked, id=2008, stack(0x65c70000,0x65cc0000)]
      0x65b9a800 JavaThread "Reference Handler" daemon [_thread_blocked, id=1304, stack(0x65c20000,0x65c70000)]
    Other Threads:
    =>0x65b97400 VMThread [stack: 0x65bd0000,0x65c20000] [id=2112]
      0x65bc1000 WatcherThread [stack: 0x65e50000,0x65ea0000] [id=192]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
    [0x00265408/0x00000310] Threads_lock - owner thread: 0x65b97400
    [0x002655a8/0x000002d0] Heap_lock - owner thread: 0x65fb9400
    Heap
    PSYoungGen      total 76928K, used 344K [0x5ad20000, 0x60d40000, 0x653c0000)
      eden space 76544K, 0% used [0x5ad20000,0x5ad20000,0x5f7e0000)
      from space 384K, 89% used [0x5f7e0000,0x5f836070,0x5f840000)
      to   space 10944K, 0% used [0x60290000,0x60290000,0x60d40000)
    PSOldGen        total 1341888K, used 529414K [0x077c0000, 0x59630000, 0x5ad20000)
      object space 1341888K, 39% used [0x077c0000,0x27cc1b38,0x59630000)
    PSPermGen       total 16384K, used 10204K [0x037c0000, 0x047c0000, 0x077c0000)
      object space 16384K, 62% used [0x037c0000,0x041b73a0,0x047c0000)
    Dynamic libraries:
    0x00400000 - 0x00423000      D:\Java\jdk1.6.0_07\bin\java.exe
    0x78460000 - 0x784e2000      C:\WINNT\system32\ntdll.dll
    0x78ed0000 - 0x78f35000      C:\WINNT\system32\ADVAPI32.dll
    0x77e70000 - 0x77f2f000      C:\WINNT\system32\KERNEL32.dll
    0x770c0000 - 0x7712f000      C:\WINNT\system32\RPCRT4.dll
    0x78fb0000 - 0x78fbf000      C:\WINNT\system32\Secur32.dll
    0x7c340000 - 0x7c396000      D:\Java\jdk1.6.0_07\jre\bin\msvcr71.dll
    0x6dac0000 - 0x6de7a000      D:\Java\jdk1.6.0_07\jre\bin\server\jvm.dll
    0x77e00000 - 0x77e5f000      C:\WINNT\system32\USER32.dll
    0x77f40000 - 0x77f7c000      C:\WINNT\system32\GDI32.dll
    0x77540000 - 0x77571000      C:\WINNT\system32\WINMM.dll
    0x6d320000 - 0x6d328000      D:\Java\jdk1.6.0_07\jre\bin\hpi.dll
    0x68ea0000 - 0x68eab000      C:\WINNT\system32\PSAPI.DLL
    0x6d820000 - 0x6d82c000      D:\Java\jdk1.6.0_07\jre\bin\verify.dll
    0x6d3c0000 - 0x6d3df000      D:\Java\jdk1.6.0_07\jre\bin\java.dll
    0x6d860000 - 0x6d86f000      D:\Java\jdk1.6.0_07\jre\bin\zip.dll
    0x660a0000 - 0x660b7000      D:\Prism8.2\lib\wrapper.dll
    0x6d620000 - 0x6d633000      D:\Java\jdk1.6.0_07\jre\bin\net.dll
    0x74fb0000 - 0x74fc4000      C:\WINNT\system32\WS2_32.dll
    0x78000000 - 0x78045000      C:\WINNT\system32\MSVCRT.DLL
    0x74fa0000 - 0x74fa8000      C:\WINNT\system32\WS2HELP.DLL
    0x74f50000 - 0x74f6e000      C:\WINNT\system32\msafd.dll
    0x74f90000 - 0x74f97000      C:\WINNT\System32\wshtcpip.dll
    0x77830000 - 0x7783c000      C:\WINNT\System32\rnr20.dll
    0x77970000 - 0x77994000      C:\WINNT\system32\DNSAPI.DLL
    0x74fd0000 - 0x74fd9000      C:\WINNT\system32\WSOCK32.dll
    0x77310000 - 0x77323000      C:\WINNT\system32\iphlpapi.dll
    0x774f0000 - 0x774f5000      C:\WINNT\system32\ICMP.dll
    0x772f0000 - 0x77307000      C:\WINNT\system32\MPRAPI.dll
    0x750d0000 - 0x750e0000      C:\WINNT\system32\SAMLIB.DLL
    0x7ccc0000 - 0x7cd10000      C:\WINNT\system32\NETAPI32.DLL
    0x77be0000 - 0x77bf1000      C:\WINNT\system32\NTDSAPI.dll
    0x77940000 - 0x7796c000      C:\WINNT\system32\WLDAP32.DLL
    0x75140000 - 0x75146000      C:\WINNT\system32\NETRAP.dll
    0x7cd20000 - 0x7ce0f000      C:\WINNT\system32\OLE32.DLL
    0x779a0000 - 0x77a3c000      C:\WINNT\system32\OLEAUT32.DLL
    0x77380000 - 0x773b0000      C:\WINNT\system32\ACTIVEDS.DLL
    0x77350000 - 0x77373000      C:\WINNT\system32\ADSLDPC.DLL
    0x77820000 - 0x7782e000      C:\WINNT\system32\RTUTILS.DLL
    0x783c0000 - 0x78451000      C:\WINNT\system32\SETUPAPI.DLL
    0x78d20000 - 0x78d85000      C:\WINNT\system32\USERENV.DLL
    0x774b0000 - 0x774e4000      C:\WINNT\system32\RASAPI32.dll
    0x77490000 - 0x774a1000      C:\WINNT\system32\rasman.dll
    0x77500000 - 0x77522000      C:\WINNT\system32\TAPI32.dll
    0x77b40000 - 0x77bc4000      C:\WINNT\system32\COMCTL32.DLL
    0x77c70000 - 0x77cb9000      C:\WINNT\system32\SHLWAPI.DLL
    0x77330000 - 0x77349000      C:\WINNT\system32\DHCPCSVC.DLL
    0x777d0000 - 0x777d8000      C:\WINNT\System32\winrnr.dll
    0x777e0000 - 0x777e5000      C:\WINNT\system32\rasadhlp.dll
    0x7ca00000 - 0x7ca23000      C:\WINNT\system32\rsaenh.dll
    0x79570000 - 0x795fd000      C:\WINNT\system32\CRYPT32.dll
    0x77400000 - 0x77411000      C:\WINNT\system32\MSASN1.dll
    0x7ce30000 - 0x7d07d000      C:\WINNT\system32\shell32.dll
    0x6d7c0000 - 0x6d7c6000      D:\Java\jdk1.6.0_07\jre\bin\rmi.dll
    VM Arguments:
    jvm_args: -Djava.rmi.server.codebase=file:.\Prism.jar -Djava.security.policy=.\policy -Xms64m -Xmx1500m -Djava.library.path=.\lib;.\config -Dwrapper.key=ouZmthkGY4rb0RsE -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=1388 -Dwrapper.version=3.2.3 -Dwrapper.native_library=wrapper -Dwrapper.service=TRUE -Dwrapper.cpu.timeout=10 -Dwrapper.jvmid=1
    java_command: org.tanukisoftware.wrapper.WrapperSimpleApp com.socgen.prism.simulateur.client.PrismSimulatorClientOld
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=D:\Java\jdk1.6.0_07
    PATH=D:\Java\jdk1.6.0_07;D:\Java\jdk1.6.0_07\bin;C:\Program Files\nsr\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\MSDE\BINN;ITAPaging;D:\PROGRA~1\patrol\Patrol3\bin;D:\Program Files\patrol\Patrol3\bin;D:\Program Files\patrol\Patrol3\Pamo;C:\Program Files\Resource Kit\;C:\Program Files\Support Tools\;C:\Program Files\Dell\SysMgt\oma\bin;C:\Program Files\Dell\SysMgt\RAC3
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 7, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows 2000 Build 2195 Service Pack 4
    CPU:total 4 (1 cores per cpu, 2 threads per core) family 15 model 2 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, ht
    Memory: 4k page, physical 2097151k(2059808k free), swap 4194303k(4194303k free)
    vm_info: Java HotSpot(TM) Server VM (10.0-b23) for windows-x86 JRE (1.6.0_07-b06), built on Jun 10 2008 01:09:43 by "java_re" with MS VC++ 7.1
    time: Sat Aug 09 17:44:47 2008
    elapsed time: 79016 seconds

    Answers are in this thread: http://forum.java.sun.com/thread.jspa?threadID=5139476
    Be sure to read the whole thing.

  • JVM Crash When Using JNI and COM

    I'm trying to call a DLL compiled from VB6 source code that I do not have access to. The VB6 code simply retrieves data from a DB2 database using ADO and my client code grabs that data and marshals it to my Java code. I'm attempting to achieve this using JNI and COM (without a third-party bridge). It works 75% of the time, but the other 25% of the time, the JVM crashes with the usual Hotspot crash log containing an access violation exception. However, I don't know what in my C++ code (VC++ 8) could be causing this except for passing a "wild" pointer to the code lying underneath the COM object interface. If that is the case, I don't know how I am doing that.
    The Java code that is calling my native method is running on Tomcat 5.5.25 and just to be safe, I am not allowing multiple threads to concurrently call the method in my JNI DLL (though I realize that this will kill performance). Once I can get past this problem, I'll do the COM interfacing on a worker thread in my native code so I don't screw up CoInitialize and CoUninitialize calls in the case the same thread is concurrently executing multiple calls to my native code.
    I've noticed that in most cases, the JVM crashes during my call to the pClsAccount->OpenConnection method. However, my DLL isn't what is listed on the top of the call stack, which is why I suspect the passing of a wild pointer, though I'm just taking a guess at that. Does anyone have an idea as to what's going on ?
    JNIEXPORT jobject JNICALL Java_CustomerInfo_nGetCustomerAccountInfo(JNIEnv *env, jobject customerInfo, jstring accountNumber, jstring iniFileName)
    jboolean isCopy;
    // Account info class and instance to be instantiated
    jclass accountInfoCls = NULL;
    jobject accountInfoObj = NULL;
    // The constructor ID of the accountInfoCls
    jmethodID ctorID = NULL;
    // Pointer to the interface for the ClsAccount COM object
    _clsAccount *pClsAccount = NULL;
    HRESULT hr;
    BSTR bstrIniFileName(L"");
    try
    const char *nativeAccountNumber = NULL;
    if (accountNumber != NULL)
    nativeAccountNumber = env->GetStringUTFChars(accountNumber, &isCopy);
    else
    jclass newExcCls;
    env->ExceptionDescribe();
    env->ExceptionClear();
    newExcCls = env->FindClass("java/lang/IllegalArgumentException");
    env->ThrowNew(newExcCls, "accountNumber passed in was null !");
    return NULL;
    // Initialization
    variantt varConnectionSucceeded = variantt(false);
    variantt varGetAccountInfoSucceeded = variantt(false);
    variantt varAccountNumber = variantt(nativeAccountNumber);
    bstrt bstrLastPaymentDate = bstrt();
    bstrt bstrLastErrorMessage = bstrt();
    bstrt bstrLastErrorNumber = bstrt();
    jlong jTotalDue = NULL;
    jlong jEstablishedDueDay = NULL;
    jlong jLastPaymentAmount = NULL;
    jstring jLastPaymentDate = NULL;
    jstring jLastErrorMessage = NULL;
    jstring jLastErrorNumber = NULL;
    jthrowable jException = NULL;
    const char *chLastPaymentDate = NULL;
    const char *chLastErrorMessage = NULL;
    const char *chLastErrorNumber = NULL;
    long long totalDue;
    long long lastPaymentAmount;
    long establishedDueDateDay;
    //Convert string from Java string to C string to VB string
    const char *nativeIniFileName = NULL;
    if (iniFileName != NULL)
    nativeIniFileName = env->GetStringUTFChars(iniFileName, &isCopy);
    else
    jclass newExcCls;
    env->ExceptionDescribe();
    env->ExceptionClear();
    newExcCls = env->FindClass("java/lang/IllegalArgumentException");
    env->ThrowNew(newExcCls, "iniFileName passed in was null");
    return NULL;
    bstrIniFileName = comutil::ConvertStringToBSTR(nativeIniFileName);
    CoInitialize(NULL);
    // Create an instance of the COClass with the interface over it
    hr = CoCreateInstance(__uuidof(clsAccount), NULL, CLSCTX_INPROC_SERVER, __uuidof(_clsAccount), (void **)&pClsAccount);
    if (hr == S_OK)
    varConnectionSucceeded.boolVal = pClsAccount->OpenConnection(&bstrIniFileName);
    &#12288;
    if (varConnectionSucceeded.boolVal == -1)
    varGetAccountInfoSucceeded.boolVal = pClsAccount->GetAccountPaymentInformation(&(varAccountNumber.GetVARIANT()));
    env->ReleaseStringUTFChars(accountNumber, nativeAccountNumber);
    // Extract all available account information from the ClsAccount object
    if (varGetAccountInfoSucceeded.boolVal == -1)
    totalDue = pClsAccount->TotalDue.int64;
    establishedDueDateDay = pClsAccount->EstablishedDueDateDay;
    lastPaymentAmount = pClsAccount->LastPaymentAmount.int64;
    bstrLastPaymentDate = pClsAccount->LastPaymentDate;
    chLastPaymentDate = comutil::ConvertBSTRToString(bstrLastPaymentDate.GetBSTR());
    jTotalDue = (jlong)totalDue;
    jEstablishedDueDay = (jlong)establishedDueDateDay;
    jLastPaymentAmount = (jlong)lastPaymentAmount;
    jLastPaymentDate = env->NewStringUTF(chLastPaymentDate);
    delete[] chLastPaymentDate;
    pClsAccount->CloseConnection();
    // Populate error fields if any errors occur
    bstrLastErrorMessage = pClsAccount->LastErrMessage;
    chLastErrorMessage = comutil::ConvertBSTRToString(bstrLastErrorMessage.GetBSTR());
    bstrLastErrorNumber = pClsAccount->LastErrNumber;
    chLastErrorNumber = comutil::ConvertBSTRToString(bstrLastErrorNumber.GetBSTR());
    jLastErrorMessage = env->NewStringUTF(chLastErrorMessage);
    jLastErrorNumber = env->NewStringUTF(chLastErrorNumber);
    delete[] chLastErrorMessage;
    delete[] chLastErrorNumber;
    const char* clsName = "com/nuance/merchantsmutual/businessentities/CustomerAccountInfo";
    // Find the Java class and the ID of its constructor
    accountInfoCls = env->FindClass(clsName);
    ctorID = env->GetMethodID(accountInfoCls, "<init>", "(JJJLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V");
    jException = env->ExceptionOccurred();
    if (jException != NULL)
    env->ExceptionDescribe();
    env->ExceptionClear();
    //Release all resources associated with the ClsAccount instance
    pClsAccount->Release();
    //Instantiate the class with the given parameters
    accountInfoObj = env->NewObject(accountInfoCls, ctorID, jTotalDue, jEstablishedDueDay, jLastPaymentAmount, jLastPaymentDate, jLastErrorMessage, jLastErrorNumber);
    jException = env->ExceptionOccurred();
    if (jException != NULL)
    env->ExceptionDescribe();
    env->ExceptionClear();
    else if (hr == REGDB_E_CLASSNOTREG)
    cout << "COM class not registered" << endl;
    else if ( hr == CLASS_E_NOAGGREGATION)
    cout << "COM class can't be aggregated" << endl;
    else if (hr == E_NOINTERFACE)
    cout << "No interface for COM class clsAccount" << endl;
    else if (hr == E_POINTER)
    cout << "*ppv pointer was NULL !" << endl;
    else
    cout << "Error occurred while creating COM object. HR is [" << hr << "]" << endl;
    // Free the BSTR because a new one was returned with a call to comutil::ConvertStringToBSTR
    SysFreeString(bstrIniFileName);
    // Release the string when it's no longer needed. MUST call if string won't be used
    // anymore or else a memory leak will occur
    env->ReleaseStringUTFChars(iniFileName, nativeIniFileName);
    CoUninitialize();
    &#12288;
    catch (_com_error &e)
    cout << "Encountered an exception in GetCustomerAccountInfo: Error was " << e.ErrorMessage();
    pClsAccount->Release();
    catch (...)
    pClsAccount->Release();
    return accountInfoObj;
    Edited by: Cthulhu76 on Jan 5, 2010 9:18 AM

    0x49202400 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=5340, stack(0x49bf0000,0x49c40000)]
    0x48a7e800 JavaThread "Thread-1" [_thread_in_native, id=5976, stack(0x48f00000,0x48f50000)]
    0x48a0dc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3072, stack(0x48c60000,0x48cb0000)]
    0x48a09000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4988, stack(0x48c10000,0x48c60000)]
    0x48a07c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3124, stack(0x48bc0000,0x48c10000)]
    0x48a07000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2572, stack(0x48b70000,0x48bc0000)]
    0x489f5c00 JavaThread "Finalizer" daemon [_thread_blocked, id=5752, stack(0x48b20000,0x48b70000)]
    0x489f4c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=2596, stack(0x48ad0000,0x48b20000)]
    0x003c6000 JavaThread "main" [_thread_in_native, id=4252, stack(0x00820000,0x00870000)]
    Other Threads:
    0x489f0400 VMThread [stack: 0x48a80000,0x48ad0000] [id=5624]
    0x48a18800 WatcherThread [stack: 0x48cb0000,0x48d00000] [id=1192]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 36288K, used 12762K [0x02940000, 0x050a0000, 0x07800000)
    eden space 32256K, 34% used [0x02940000, 0x0343af58, 0x048c0000)
    from space 4032K, 37% used [0x04cb0000, 0x04e2ba28, 0x050a0000)
    to space 4032K, 0% used [0x048c0000, 0x048c0000, 0x04cb0000)
    tenured generation total 483968K, used 7518K [0x07800000, 0x250a0000, 0x42940000)
    the space 483968K, 1% used [0x07800000, 0x07f57958, 0x07f57a00, 0x250a0000)
    compacting perm gen total 14080K, used 14016K [0x42940000, 0x43700000, 0x46940000)
    the space 14080K, 99% used [0x42940000, 0x436f0320, 0x436f0400, 0x43700000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0040f000      C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\tomcat5.exe
    0x7c800000 - 0x7c8c0000      C:\WINDOWS\system32\ntdll.dll
    0x77e40000 - 0x77f42000      C:\WINDOWS\system32\kernel32.dll
    0x77380000 - 0x77411000      C:\WINDOWS\system32\USER32.dll
    0x77c00000 - 0x77c48000      C:\WINDOWS\system32\GDI32.dll
    0x77f50000 - 0x77feb000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77c50000 - 0x77cef000      C:\WINDOWS\system32\RPCRT4.dll
    0x76f50000 - 0x76f63000      C:\WINDOWS\system32\Secur32.dll
    0x77ba0000 - 0x77bfa000      C:\WINDOWS\system32\MSVCRT.dll
    0x7c8d0000 - 0x7d0cf000      C:\WINDOWS\system32\SHELL32.dll
    0x77da0000 - 0x77df2000      C:\WINDOWS\system32\SHLWAPI.dll
    0x76290000 - 0x762ad000      C:\WINDOWS\system32\IMM32.DLL
    0x77420000 - 0x77523000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\comctl32.dll
    0x6d7c0000 - 0x6da10000      C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll
    0x76aa0000 - 0x76acd000      C:\WINDOWS\system32\WINMM.dll
    0x7c340000 - 0x7c396000      C:\WINDOWS\system32\MSVCR71.dll
    0x6d270000 - 0x6d278000      C:\Program Files\Java\jre1.6.0_07\bin\hpi.dll
    0x76b70000 - 0x76b7b000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d770000 - 0x6d77c000      C:\Program Files\Java\jre1.6.0_07\bin\verify.dll
    0x6d310000 - 0x6d32f000      C:\Program Files\Java\jre1.6.0_07\bin\java.dll
    0x6d7b0000 - 0x6d7bf000      C:\Program Files\Java\jre1.6.0_07\bin\zip.dll
    0x6d570000 - 0x6d583000      C:\Program Files\Java\jre1.6.0_07\bin\net.dll
    0x71c00000 - 0x71c17000      C:\WINDOWS\system32\WS2_32.dll
    0x71bf0000 - 0x71bf8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71b20000 - 0x71b61000      C:\WINDOWS\system32\mswsock.dll
    0x5f270000 - 0x5f2ca000      C:\WINDOWS\system32\hnetcfg.dll
    0x71ae0000 - 0x71ae8000      C:\WINDOWS\System32\wshtcpip.dll
    0x76ed0000 - 0x76efa000      C:\WINDOWS\system32\DNSAPI.dll
    0x76f70000 - 0x76f77000      C:\WINDOWS\System32\winrnr.dll
    0x76f10000 - 0x76f3e000      C:\WINDOWS\system32\WLDAP32.dll
    0x76f80000 - 0x76f85000      C:\WINDOWS\system32\rasadhlp.dll
    0x4a6a0000 - 0x4a6ac000      C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\MMI\WEB-INF\lib\CustomerInfoProxy.dll
    0x77670000 - 0x777a9000      C:\WINDOWS\system32\ole32.dll
    0x77d00000 - 0x77d8b000      C:\WINDOWS\system32\OLEAUT32.dll
    0x7c420000 - 0x7c4a7000      C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_E6967989\MSVCP80.dll
    0x78130000 - 0x781cb000      C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_E6967989\MSVCR80.dll
    0x777b0000 - 0x77833000      C:\WINDOWS\system32\CLBCatQ.DLL
    0x77010000 - 0x770d6000      C:\WINDOWS\system32\COMRes.dll
    0x77b90000 - 0x77b98000      C:\WINDOWS\system32\VERSION.dll
    0x75da0000 - 0x75e5d000      C:\WINDOWS\system32\SXS.DLL
    0x75e60000 - 0x75e87000      C:\WINDOWS\system32\apphelp.dll
    0x4dc30000 - 0x4dc5e000      C:\WINDOWS\system32\msctfime.ime
    0x4b0d0000 - 0x4b395000      C:\WINDOWS\system32\xpsp2res.dll
    0x71bb0000 - 0x71bb9000      C:\WINDOWS\system32\WSOCK32.dll
    0x4bbe0000 - 0x4bbea000      C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\MMI\WEB-INF\lib\ClearTranProxy.dll
    0x745e0000 - 0x7489e000      C:\WINDOWS\system32\msi.dll
    0x71c40000 - 0x71c97000      C:\WINDOWS\system32\NETAPI32.dll
    0x4bc50000 - 0x4bc6c000      C:\WINDOWS\system32\DBNETLIB.DLL
    0x71f60000 - 0x71f64000      C:\WINDOWS\system32\security.dll
    0x76c90000 - 0x76cb7000      C:\WINDOWS\system32\msv1_0.dll
    0x76cf0000 - 0x76d0a000      C:\WINDOWS\system32\iphlpapi.dll
    0x761b0000 - 0x76243000      C:\WINDOWS\system32\crypt32.dll
    0x76190000 - 0x761a2000      C:\WINDOWS\system32\MSASN1.dll
    0x4bcf0000 - 0x4bcff000      C:\Program Files\Common Files\System\Ole DB\SQLOLEDB.RLL
    0x4a8a0000 - 0x4a8aa000      C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\MMI\WEB-INF\lib\MIGI.DLL
    0x73570000 - 0x736c2000      C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\MMI\WEB-INF\lib\MSVBVM60.DLL
    0x4a950000 - 0x4a9e2000      C:\Program Files\Common Files\System\ado\msado15.dll
    0x74a50000 - 0x74a6a000      C:\WINDOWS\system32\MSDART.DLL
    0x4c850000 - 0x4c8c9000      C:\Program Files\Common Files\System\Ole DB\oledb32.dll
    0x4dbb0000 - 0x4dbc1000      C:\Program Files\Common Files\System\Ole DB\OLEDB32R.DLL
    VM Arguments:
    jvm_args: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 5.5 -Dcatalina.base=C:\Program Files\Apache Software Foundation\Tomcat 5.5 -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\endorsed -Djava.io.tmpdir=C:\Program Files\Apache Software Foundation\Tomcat 5.5\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\logging.properties -Djava.library.path=C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\MMI\WEB-INF\lib vfprintf -Xms512m -Xmx1024m
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07
    [error occurred during error reporting (printing environment variables), id 0xc0000005]
    --------------- S Y S T E M ---------------
    OS: Windows Server 2003 family Build 3790 Service Pack 2
    CPU:total 4 (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 2097151k(2097151k free), swap 4194303k(4194303k free)
    vm_info: Java HotSpot(TM) Client VM (10.0-b23) for windows-x86 JRE (1.6.0_07-b06), built on Jun 10 2008 01:14:11 by "java_re" with MS VC++ 7.1
    time: Mon Dec 28 15:24:00 2009
    elapsed time: 600 seconds

  • JVM crash when main process exiting

    I started a main process as root user, in the execution of the main process, i started several child processes. All children processes execution are ok, but then main process existing, it throws jvm crash as following:
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00002aaabc7005a8, pid=19195, tid=1106790720
    # JRE version: 6.0_31-b02
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    [error occurred during error reporting (printing problematic frame), id 0xb]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x0000000056224800): VMThread [stack: 0x0000000041e84000,0x0000000041f85000] [id=19199]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0x00002aaabc9a5848
    Registers:
    RAX=0x0000003311838510, RBX=0x0000003288c1c000, RCX=0x0000000000000000, RDX=0x0000000000000032
    RSP=0x0000000041f83ca0, RBP=0x0000000041f83e30, RSI=0x0000000000000000, RDI=0x0000003311838510
    R8 =0x00002aaab1ed8028, R9 =0x0000000000004aff, R10=0x0000000000000000, R11=0x0000003289233750
    R12=0x00002ae5cca86143, R13=0x000000005666b790, R14=0x0000000000000022, R15=0x000000000000000c
    RIP=0x00002aaabc7005a8, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
    TRAPNO=0x000000000000000e
    Top of Stack: (sp=0x0000000041f83ca0)
    0x0000000041f83ca0: 00002aaabc77fb22 0000003288a0d7e4
    0x0000000041f83cb0: 00002ae5cbe9e000 00002ae5cbe9e590
    0x0000000041f83cc0: 00000000561ce5c0 00002aaab41eb5f0
    0x0000000041f83cd0: 0000000056492c40 00002aaab41ebac0
    0x0000000041f83ce0: 00000000561c5a40 00000000561c53a0
    0x0000000041f83cf0: 00000000561c27b0 00000000561c4050
    0x0000000041f83d00: 00002aaab41f5b30 00000000566514d0
    0x0000000041f83d10: 000000005666b790 00000000565c1070
    0x0000000041f83d20: 00000000565c0bc0 00000000563fea60
    0x0000000041f83d30: 00000000566519a0 00000000563fe5c0
    0x0000000041f83d40: 00000000565bfdc0 00000000565c19b0
    0x0000000041f83d50: 00000000565c1510 00000000565c0720
    0x0000000041f83d60: 00000000565c0270 00000000565c1e50
    0x0000000041f83d70: 00002ae5cbe9f508 00002ae5cbe9fa00
    0x0000000041f83d80: 00002ae5cbffd000 00000000561c2c80
    0x0000000041f83d90: 00000000561c6010 00000000563fe120
    0x0000000041f83da0: 000000005666bc60 00002ae5cbffd4c8
    0x0000000041f83db0: 0000003311838510 000000005671baa0
    0x0000000041f83dc0: 0000000000000000 0000003288a0d660
    0x0000000041f83dd0: 0000000000000000 0000003288c1c000
    0x0000000041f83de0: 0000003288c1c000 0000000041f83cb0
    0x0000000041f83df0: 00000000ccbdb240 0000000000000000
    0x0000000041f83e00: 0000000000000110 00000000418b2840
    0x0000000041f83e10: 00002ae5cca86143 0000000041f83ed0
    0x0000000041f83e20: 0000000000000000 0000000041f83f80
    0x0000000041f83e30: 0000000000000000 00000032892334f5
    0x0000000041f83e40: 00000000418b2840 0000000041f83e60
    0x0000000041f83e50: 00002ae5cca86143 00002ae5cc4dd6c9
    0x0000000041f83e60: 0000000041f83e80 00002ae5cc86e53f
    0x0000000041f83e70: 0000000041f83ed0 00000000418b2840
    0x0000000041f83e80: 0000000041f83ec0 00002ae5cc86d7ea
    0x0000000041f83e90: 0000000056223bb0 00000000561e3560
    Instructions: (pc=0x00002aaabc7005a8)
    0x00002aaabc700588: ff 25 aa 52 2a 00 68 6f 00 00 00 e9 f0 f8 ff ff
    0x00002aaabc700598: ff 25 a2 52 2a 00 68 70 00 00 00 e9 e0 f8 ff ff
    0x00002aaabc7005a8: ff 25 9a 52 2a 00 68 71 00 00 00 e9 d0 f8 ff ff
    0x00002aaabc7005b8: ff 25 92 52 2a 00 68 72 00 00 00 e9 c0 f8 ff ff
    Register to memory mapping:
    RAX=0x0000003311838510 is an unknown value
    RBX=0x0000003288c1c000: rtldglobal+0 in /lib64/ld-linux-x86-64.so.2 at 0x0000003288a00000
    RCX=0x0000000000000000 is an unknown value
    RDX=0x0000000000000032 is an unknown value
    RSP=0x0000000041f83ca0 is an unknown value
    RBP=0x0000000041f83e30 is an unknown value
    RSI=0x0000000000000000 is an unknown value
    RDI=0x0000003311838510 is an unknown value
    R8 =0x00002aaab1ed8028: <offset 0x208028> in /scratch/product/12.1.0/grid/oui/lib/linux64/liboraInstaller.so at 0x00002aaab1cd0000
    R9 =0x0000000000004aff is an unknown value
    R10=0x0000000000000000 is an unknown value
    R11=0x0000003289233750: __cxa_finalize+0 in /lib64/libc.so.6 at 0x0000003289200000
    R12=0x00002ae5cca86143: <offset 0xa86143> in /scratch/product/12.1.0/grid/jdk/jre/lib/amd64/server/libjvm.so at 0x00002ae5cc000000
    R13=0x000000005666b790 is an unknown value
    R14=0x0000000000000022 is an unknown value
    R15=0x000000000000000c is an unknown value
    Stack: [0x0000000041e84000,0x0000000041f85000], sp=0x0000000041f83ca0, free space=1023k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    [error occurred during error reporting (printing native stack), id 0xb]
    VM_Operation (0x00000000418b2840): Exit, mode: safepoint, requested by thread 0x00000000561ca800
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x00000000566d1800 JavaThread "GetActiveNodesThread" daemon [_thread_blocked, id=19282, stack(0x00000000426de000,0x00000000427df000)]
    0x0000000056259000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=19205, stack(0x00000000422da000,0x00000000423db000)]
    0x0000000056257000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=19204, stack(0x00000000421d9000,0x00000000422da000)]
    0x0000000056251800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=19203, stack(0x0000000040705000,0x0000000040806000)]
    0x000000005624f000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=19202, stack(0x0000000040604000,0x0000000040705000)]
    0x000000005622d000 JavaThread "Finalizer" daemon [_thread_blocked, id=19201, stack(0x00000000420d8000,0x00000000421d9000)]
    0x000000005622b000 JavaThread "Reference Handler" daemon [_thread_blocked, id=19200, stack(0x0000000041fd7000,0x00000000420d8000)]
    0x00000000561ca800 JavaThread "main" [_thread_blocked, id=19196, stack(0x00000000417b3000,0x00000000418b4000)]
    Other Threads:
    =>0x0000000056224800 VMThread [stack: 0x0000000041e84000,0x0000000041f85000] [id=19199]
    VM state:at safepoint (shutting down)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x00000000561c8f80] Threads_lock - owner thread: 0x0000000056224800
    Heap
    PSYoungGen total 42048K, used 38587K [0x00000000f5560000, 0x00000000fa780000, 0x0000000100000000)
    eden space 36096K, 91% used [0x00000000f5560000,0x00000000f75b6b90,0x00000000f78a0000)
    from space 5952K, 91% used [0x00000000f78a0000,0x00000000f7df80a8,0x00000000f7e70000)
    to space 5952K, 0% used [0x00000000fa1b0000,0x00000000fa1b0000,0x00000000fa780000)
    PSOldGen total 96000K, used 0K [0x00000000e0000000, 0x00000000e5dc0000, 0x00000000f5560000)
    object space 96000K, 0% used [0x00000000e0000000,0x00000000e0000000,0x00000000e5dc0000)
    PSPermGen total 24320K, used 24139K [0x00000000dae00000, 0x00000000dc5c0000, 0x00000000e0000000)
    object space 24320K, 99% used [0x00000000dae00000,0x00000000dc592e20,0x00000000dc5c0000)
    Code Cache [0x00002aaaaae90000, 0x00002aaaab100000, 0x00002aaaade90000)
    total_blobs=620 nmethods=309 adapters=265 free_code_cache=49025536 largest_free_block=6976
    Dynamic libraries:
    40000000-40009000 r-xp 00000000 ca:01 17574009 /scratch/product/12.1.0/grid/jdk/bin/java
    40108000-4010a000 rwxp 00008000 ca:01 17574009 /scratch/product/12.1.0/grid/jdk/bin/java
    ....

    I started a main process as root user, in the execution of the main process, i started several child processes. All children processes execution are ok, but then main process existing, it throws jvm crash as following:
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00002aaabc7005a8, pid=19195, tid=1106790720
    # JRE version: 6.0_31-b02
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode linux-amd64 compressed oops)
    # Problematic frame:
    [error occurred during error reporting (printing problematic frame), id 0xb]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x0000000056224800): VMThread [stack: 0x0000000041e84000,0x0000000041f85000] [id=19199]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0x00002aaabc9a5848
    Registers:
    RAX=0x0000003311838510, RBX=0x0000003288c1c000, RCX=0x0000000000000000, RDX=0x0000000000000032
    RSP=0x0000000041f83ca0, RBP=0x0000000041f83e30, RSI=0x0000000000000000, RDI=0x0000003311838510
    R8 =0x00002aaab1ed8028, R9 =0x0000000000004aff, R10=0x0000000000000000, R11=0x0000003289233750
    R12=0x00002ae5cca86143, R13=0x000000005666b790, R14=0x0000000000000022, R15=0x000000000000000c
    RIP=0x00002aaabc7005a8, EFLAGS=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
    TRAPNO=0x000000000000000e
    Top of Stack: (sp=0x0000000041f83ca0)
    0x0000000041f83ca0: 00002aaabc77fb22 0000003288a0d7e4
    0x0000000041f83cb0: 00002ae5cbe9e000 00002ae5cbe9e590
    0x0000000041f83cc0: 00000000561ce5c0 00002aaab41eb5f0
    0x0000000041f83cd0: 0000000056492c40 00002aaab41ebac0
    0x0000000041f83ce0: 00000000561c5a40 00000000561c53a0
    0x0000000041f83cf0: 00000000561c27b0 00000000561c4050
    0x0000000041f83d00: 00002aaab41f5b30 00000000566514d0
    0x0000000041f83d10: 000000005666b790 00000000565c1070
    0x0000000041f83d20: 00000000565c0bc0 00000000563fea60
    0x0000000041f83d30: 00000000566519a0 00000000563fe5c0
    0x0000000041f83d40: 00000000565bfdc0 00000000565c19b0
    0x0000000041f83d50: 00000000565c1510 00000000565c0720
    0x0000000041f83d60: 00000000565c0270 00000000565c1e50
    0x0000000041f83d70: 00002ae5cbe9f508 00002ae5cbe9fa00
    0x0000000041f83d80: 00002ae5cbffd000 00000000561c2c80
    0x0000000041f83d90: 00000000561c6010 00000000563fe120
    0x0000000041f83da0: 000000005666bc60 00002ae5cbffd4c8
    0x0000000041f83db0: 0000003311838510 000000005671baa0
    0x0000000041f83dc0: 0000000000000000 0000003288a0d660
    0x0000000041f83dd0: 0000000000000000 0000003288c1c000
    0x0000000041f83de0: 0000003288c1c000 0000000041f83cb0
    0x0000000041f83df0: 00000000ccbdb240 0000000000000000
    0x0000000041f83e00: 0000000000000110 00000000418b2840
    0x0000000041f83e10: 00002ae5cca86143 0000000041f83ed0
    0x0000000041f83e20: 0000000000000000 0000000041f83f80
    0x0000000041f83e30: 0000000000000000 00000032892334f5
    0x0000000041f83e40: 00000000418b2840 0000000041f83e60
    0x0000000041f83e50: 00002ae5cca86143 00002ae5cc4dd6c9
    0x0000000041f83e60: 0000000041f83e80 00002ae5cc86e53f
    0x0000000041f83e70: 0000000041f83ed0 00000000418b2840
    0x0000000041f83e80: 0000000041f83ec0 00002ae5cc86d7ea
    0x0000000041f83e90: 0000000056223bb0 00000000561e3560
    Instructions: (pc=0x00002aaabc7005a8)
    0x00002aaabc700588: ff 25 aa 52 2a 00 68 6f 00 00 00 e9 f0 f8 ff ff
    0x00002aaabc700598: ff 25 a2 52 2a 00 68 70 00 00 00 e9 e0 f8 ff ff
    0x00002aaabc7005a8: ff 25 9a 52 2a 00 68 71 00 00 00 e9 d0 f8 ff ff
    0x00002aaabc7005b8: ff 25 92 52 2a 00 68 72 00 00 00 e9 c0 f8 ff ff
    Register to memory mapping:
    RAX=0x0000003311838510 is an unknown value
    RBX=0x0000003288c1c000: rtldglobal+0 in /lib64/ld-linux-x86-64.so.2 at 0x0000003288a00000
    RCX=0x0000000000000000 is an unknown value
    RDX=0x0000000000000032 is an unknown value
    RSP=0x0000000041f83ca0 is an unknown value
    RBP=0x0000000041f83e30 is an unknown value
    RSI=0x0000000000000000 is an unknown value
    RDI=0x0000003311838510 is an unknown value
    R8 =0x00002aaab1ed8028: <offset 0x208028> in /scratch/product/12.1.0/grid/oui/lib/linux64/liboraInstaller.so at 0x00002aaab1cd0000
    R9 =0x0000000000004aff is an unknown value
    R10=0x0000000000000000 is an unknown value
    R11=0x0000003289233750: __cxa_finalize+0 in /lib64/libc.so.6 at 0x0000003289200000
    R12=0x00002ae5cca86143: <offset 0xa86143> in /scratch/product/12.1.0/grid/jdk/jre/lib/amd64/server/libjvm.so at 0x00002ae5cc000000
    R13=0x000000005666b790 is an unknown value
    R14=0x0000000000000022 is an unknown value
    R15=0x000000000000000c is an unknown value
    Stack: [0x0000000041e84000,0x0000000041f85000], sp=0x0000000041f83ca0, free space=1023k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    [error occurred during error reporting (printing native stack), id 0xb]
    VM_Operation (0x00000000418b2840): Exit, mode: safepoint, requested by thread 0x00000000561ca800
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x00000000566d1800 JavaThread "GetActiveNodesThread" daemon [_thread_blocked, id=19282, stack(0x00000000426de000,0x00000000427df000)]
    0x0000000056259000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=19205, stack(0x00000000422da000,0x00000000423db000)]
    0x0000000056257000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=19204, stack(0x00000000421d9000,0x00000000422da000)]
    0x0000000056251800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=19203, stack(0x0000000040705000,0x0000000040806000)]
    0x000000005624f000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=19202, stack(0x0000000040604000,0x0000000040705000)]
    0x000000005622d000 JavaThread "Finalizer" daemon [_thread_blocked, id=19201, stack(0x00000000420d8000,0x00000000421d9000)]
    0x000000005622b000 JavaThread "Reference Handler" daemon [_thread_blocked, id=19200, stack(0x0000000041fd7000,0x00000000420d8000)]
    0x00000000561ca800 JavaThread "main" [_thread_blocked, id=19196, stack(0x00000000417b3000,0x00000000418b4000)]
    Other Threads:
    =>0x0000000056224800 VMThread [stack: 0x0000000041e84000,0x0000000041f85000] [id=19199]
    VM state:at safepoint (shutting down)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x00000000561c8f80] Threads_lock - owner thread: 0x0000000056224800
    Heap
    PSYoungGen total 42048K, used 38587K [0x00000000f5560000, 0x00000000fa780000, 0x0000000100000000)
    eden space 36096K, 91% used [0x00000000f5560000,0x00000000f75b6b90,0x00000000f78a0000)
    from space 5952K, 91% used [0x00000000f78a0000,0x00000000f7df80a8,0x00000000f7e70000)
    to space 5952K, 0% used [0x00000000fa1b0000,0x00000000fa1b0000,0x00000000fa780000)
    PSOldGen total 96000K, used 0K [0x00000000e0000000, 0x00000000e5dc0000, 0x00000000f5560000)
    object space 96000K, 0% used [0x00000000e0000000,0x00000000e0000000,0x00000000e5dc0000)
    PSPermGen total 24320K, used 24139K [0x00000000dae00000, 0x00000000dc5c0000, 0x00000000e0000000)
    object space 24320K, 99% used [0x00000000dae00000,0x00000000dc592e20,0x00000000dc5c0000)
    Code Cache [0x00002aaaaae90000, 0x00002aaaab100000, 0x00002aaaade90000)
    total_blobs=620 nmethods=309 adapters=265 free_code_cache=49025536 largest_free_block=6976
    Dynamic libraries:
    40000000-40009000 r-xp 00000000 ca:01 17574009 /scratch/product/12.1.0/grid/jdk/bin/java
    40108000-4010a000 rwxp 00008000 ca:01 17574009 /scratch/product/12.1.0/grid/jdk/bin/java
    ....

  • JVM crash when adding method to class

    Hello,
    I am getting some kind of problem with the virtual machine. The JVM crashes when making a class (with new). It happened when I was adding some functionality to the class, I worked my way backwards and discovered it crashes when I add any new methods, if I comment them out again everything works, adding a method by any name causes to crash.
    I went in debug to find out where it was happening, and it happens on this line:
    public PerspectiveActionToolBarHeader createPerspectiveActionToolBarHeader() {
         PerspectiveActionToolBarHeader ret = null;
         ret = new PerspectiveActionToolBarHeader(this); // << here
         return ret;
    }The PerspectiveActionToolBarHeader is the class where adding methods causes it to fail. For example, it has the method
    public Container getContainer() {
         return this;
    }and works, but if I add:
    public void anything(){} it causes a crash on the new PerspectiveActionToolBarHeader(this);
    When stepped into with the debugger it goes to the (source not found) ClassNotFoundException and eventually before the crash the (stack?) looks like this:
    Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not available     
    MaldiSoftwareOptionsUIEnsemble(PerspectiveUIEnsemble).createPerspectiveActionToolBarHeader() line: 72
    and the debugger describes the class just before the crash:
    Launcher$AppClassLoader (id=44)     
    arg0     "saiman.uiobjnew.PerspectiveToolBarButton" (id=51) << has just changed
    and the log file (not sure how much to copy here!):
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x005c0001, pid=15504, tid=20112
    # JRE version: 6.0_24-b07
    # Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode windows-x86 )
    # Problematic frame:
    # C 0x005c0001
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x011ca000): JavaThread "main" [_thread_in_vm, id=20112, stack(0x01140000,0x01190000)]
    siginfo: ExceptionCode=0xc000001d
    Registers:
    EAX=0x13e13248, EBX=0x6da0daa8, ECX=0x13e13250, EDX=0x13e131f8
    ESP=0x0118f93c, EBP=0x0118f9a0, ESI=0x011ca9b0, EDI=0x011ca9ac
    EIP=0x005c0001, EFLAGS=0x00010206
    Register to memory mapping:
    EAX=0x13e13248
    {method}
    - klass: {other class}
    EBX=0x6da0daa8
    0x6da0daa8 is pointing to unknown location
    ECX=0x13e13250
    {method}
    - klass: {other class}
    EDX=0x13e131f8
    {constMethod}
    - klass: {other class}
    - method: 0x13e13248 {method} 'flipVisible' '(I)V' in 'saiman/uiobjnew/PerspectiveActionToolBarHeader'
    - exceptions: 0x13bf11e8
    ESP=0x0118f93c
    0x0118f93c is pointing into the stack for thread: 0x011ca000
    "main" prio=6 tid=0x011ca000 nid=0x4e90 runnable [0x0118f000]
    java.lang.Thread.State: RUNNABLE
    EBP=0x0118f9a0
    0x0118f9a0 is pointing into the stack for thread: 0x011ca000
    "main" prio=6 tid=0x011ca000 nid=0x4e90 runnable [0x0118f000]
    java.lang.Thread.State: RUNNABLE
    ESI=0x011ca9b0
    0x011ca9b0 is pointing to unknown location
    EDI=0x011ca9ac
    0x011ca9ac is pointing to unknown location
    Top of Stack: (sp=0x0118f93c)
    0x0118f93c: 6d94272d 011ca370 13e17d40 011ca000
    0x0118f94c: 011ca000 01a30950 011ca748 011ca9b4
    0x0118f95c: 011cab3c 0118fb28 011c6748 011ca348
    0x0118f96c: 011ca370 011ca73c 6da0daa8 011ca350
    0x0118f97c: 011ca370 0118f9cc 011ca9a8 0118f9c8
    0x0118f98c: 011ca788 011ca370 011ca9b0 011ca000
    0x0118f99c: 13e17d40 0118f9cc 6d943009 00000910
    0x0118f9ac: 011ca9ac 00000001 011ca000 011ca000
    Instructions: (pc=0x005c0001)
    0x005bfff1: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff
    0x005c0001: ff ff 7f 00 00 00 00 00 00 00 00 ff ff ff ff 00
    Stack: [0x01140000,0x01190000], sp=0x0118f93c, free space=318k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x005c0001
    V [jvm.dll+0x153009]
    V [jvm.dll+0xdecdb]
    V [jvm.dll+0xe1887]
    V [jvm.dll+0xe1c46]
    V [jvm.dll+0xec09a]
    j saiman.uiobjnew.PerspectiveUIEnsemble.createPerspectiveActionToolBarHeader()Lsaiman/uiobjnew/PerspectiveActionToolBarHeader;+2
    j saiman.mv.ModelViewPerspectiveUIEnsemble.createPerspectiveActionToolBarHeader()Lsaiman/uiobjnew/PerspectiveActionToolBarHeader;+1
    j saiman.uiobjnew.PerspectiveUIEnsemble.addButtons()V+1
    j saiman.uiobjnew.PerspectiveUIEnsemble.<init>(Lsaiman/uiobjnew/MultiPerspectiveFrame;)V+21
    j saiman.mv.ModelViewPerspectiveUIEnsemble.<init>(Lsaiman/uiobjnew/MultiPerspectiveFrame;)V+2
    j saiman.uiobjnew.SoftwareOptionsUIEnsemble.<init>(Lsaiman/uiobjnew/MultiPerspectiveFrame;)V+2
    j saiman.wmaldi.MaldiSoftwareOptionsUIEnsemble.<init>(Lsaiman/uiobjnew/MultiPerspectiveFrame;)V+2
    j saiman.newuiimpl.MassSpectrumMainFrameImpl.main([Ljava/lang/String;)V+173
    v ~StubRoutines::call_stub
    V [jvm.dll+0xf0ab9]
    V [jvm.dll+0x1837d1]
    V [jvm.dll+0xf0b3d]
    V [jvm.dll+0xfa0d6]
    V [jvm.dll+0x101cde]
    C [javaw.exe+0x2155]
    C [javaw.exe+0x8614]
    C [kernel32.dll+0x51194]
    C [ntdll.dll+0x5b3f5]
    C [ntdll.dll+0x5b3c8]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j saiman.uiobjnew.PerspectiveUIEnsemble.createPerspectiveActionToolBarHeader()Lsaiman/uiobjnew/PerspectiveActionToolBarHeader;+2
    j saiman.mv.ModelViewPerspectiveUIEnsemble.createPerspectiveActionToolBarHeader()Lsaiman/uiobjnew/PerspectiveActionToolBarHeader;+1
    j saiman.uiobjnew.PerspectiveUIEnsemble.addButtons()V+1
    j saiman.uiobjnew.PerspectiveUIEnsemble.<init>(Lsaiman/uiobjnew/MultiPerspectiveFrame;)V+21
    j saiman.mv.ModelViewPerspectiveUIEnsemble.<init>(Lsaiman/uiobjnew/MultiPerspectiveFrame;)V+2
    j saiman.uiobjnew.SoftwareOptionsUIEnsemble.<init>(Lsaiman/uiobjnew/MultiPerspectiveFrame;)V+2
    j saiman.wmaldi.MaldiSoftwareOptionsUIEnsemble.<init>(Lsaiman/uiobjnew/MultiPerspectiveFrame;)V+2
    j saiman.newuiimpl.MassSpectrumMainFrameImpl.main([Ljava/lang/String;)V+173
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x01b05400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=19680, stack(0x18560000,0x185b0000)]
    0x01b04800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=19516, stack(0x18140000,0x18190000)]
    0x01b04000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=20064, stack(0x18040000,0x18090000)]
    0x01b03c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=20276, stack(0x17ff0000,0x18040000)]
    0x01aeb000 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=16832, stack(0x17fa0000,0x17ff0000)]
    0x01aea000 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=16360, stack(0x17ef0000,0x17f40000)]
    0x01ae8000 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=20084, stack(0x17ea0000,0x17ef0000)]
    0x01ade400 JavaThread "Attach Listener" daemon [_thread_blocked, id=19772, stack(0x17d90000,0x17de0000)]
    0x01add400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=20192, stack(0x17d40000,0x17d90000)]
    0x01ab2800 JavaThread "Finalizer" daemon [_thread_blocked, id=17344, stack(0x17cf0000,0x17d40000)]
    0x01aabc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=19964, stack(0x17ca0000,0x17cf0000)]
    =>0x011ca000 JavaThread "main" [_thread_in_vm, id=20112, stack(0x01140000,0x01190000)]
    Other Threads:
    0x01aa7c00 VMThread [stack: 0x011d0000,0x01220000] [id=19144]
    0x01b17400 WatcherThread [stack: 0x180f0000,0x18140000] [id=12792]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 4928K, used 768K [0x03bf0000, 0x04140000, 0x09140000)
    eden space 4416K, 5% used [0x03bf0000, 0x03c30380, 0x04040000)
    from space 512K, 100% used [0x040c0000, 0x04140000, 0x04140000)
    to space 512K, 0% used [0x04040000, 0x04040000, 0x040c0000)
    tenured generation total 10944K, used 1858K [0x09140000, 0x09bf0000, 0x13bf0000)
    the space 10944K, 16% used [0x09140000, 0x09310948, 0x09310a00, 0x09bf0000)
    compacting perm gen total 12288K, used 9598K [0x13bf0000, 0x147f0000, 0x17bf0000)
    the space 12288K, 78% used [0x13bf0000, 0x1454fb70, 0x1454fc00, 0x147f0000)
    No shared spaces configured.
    Edited by: hanvyj on 07-Jun-2011 02:39
    Edited by: hanvyj on 07-Jun-2011 02:43

    I think I may have stumbled across the answer, It seems that the abstract class PerspectiveToolBar implements
    the interface with the method public Container getContainer() but does not declare it, this should be fine because the method is abstract but it crashes. When I add the method public abstract Container getContainer(); to the abstract sub-class there is no error. I'm going to try make a small compilable example to see if I can reproduce it.
    edit its actually only one of the two interface methods, and not getContainer(), but another one. If anyone is interested here is the interface:
    public interface IMassSpectrometerPassableControlContainer
         Container getContainer();
         void reloadWidgetsOnVisible(boolean visible);
    }and it works only if there is "public abstract void reloadWidgetsOnVisible(boolean visible);" in the abstract class PerspectiveToolBar implementing IMassSpectrometerPassableControlContainer.
    I tried to reproduce it, but I can't get another class to repeat the behaviour, so I don't think I can post a bug report on it. Here is my attempt anyway:
    import javax.swing.JToolBar;
    * Class     Test.java
    * Date:     7 Jun 2011
    * @author     tofuser
    public class Test extends Subclass
         public static void main(String args[])
              System.out.println("in main method");
              Test t = new Test();
              t.interfaceMethod();
         @Override
         public void interfaceMethod()
              System.out.println("interface method");
    abstract class Subclass extends JToolBar implements Interface
         private static final long serialVersionUID = 1L;
         //this line is where it breaks in my code, including it works
         //public abstract void interfaceMethod();
    interface Interface
         public abstract void interfaceMethod();
    }Edited by: hanvyj on 07-Jun-2011 03:56

Maybe you are looking for

  • Where can I download Acrobat X Professional for Mac OS

    Hi... would you know where I can download adobe acrobat X Pro for Mac? I have an activation code, but can't seem to find a downloadable version of Acrobat X Pro for Mac anywhere on Adobe's website? All I see is XI.

  • Problem to display image from database

    i also waiting when this practical will come to the end la..really boring..mrhanafi came 2 weeks ago..he didnt check anyhting..he was there for 15 mins only..hey dont play ponteng la..after this friday you ponteng how many days you want;)

  • Trouble with Sleep

    My macbook won't come out of sleep properly -- if I put it to sleep and try to wake it up, it automatically causes the computer to pop on and then just shut down immediately, then I can't turn on the computer again without holding down the power butt

  • LR3 suddenly won't open photos in CS4 to be edited

    Hi, When I right click on a photo in LR3 and click on 'edit in Photoshop CS4', it opens the dialogue box that it has always opened: 'This version of Lightroom may require Camera Raw version 6.5 to be fully compatible,' or something to that effect. I

  • Iphoto to dvd-rw?

    I use iphoto to access stock photos I have taken,I now want to empty my library to DVD-rw to free up some space. 1st off,how do you go about doing that,2nd,can iphoto access these dvds like itunes would to a cd? And lastly,If I fill up my Iphoto once