JVM Crash using typed LinkedHashMap

The following simple JSP page crashes my JVM. (WebLogic 9.2.3 - Win XP Pro):
<%
     LinkedHashMap<Integer,String> map = new LinkedHashMap<Integer,String>();
     map.put(1, "One");
     map.put(2, "Two");
     map.put(3, "Three");
     for(int id : map.keySet())
          out.println("" + id + " : " + map.get(id));
%>
Is this a known problem? Is there a patch to fix this?
Thanks

Hi,
I have also verified by your code...It crashes my WLS923 as well... But Surprisingly the Same Code works wornderful in WLS 10.3
I dont see any Bug Reported on that ..anywhere. Better if you file a Bug on it...Any ways we have a TestCase to prove it in 2-Minutes...Patch should be ready Soon...
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com/ (The Wonders Of WebLogic Here)

Similar Messages

  • JRockit JVM crash using RHEL 4

    Hi,
    I am using BEA JRockit(R) R27.5.0-110-94909-1.5.0_14-20080204-1558-linux-x86_64 on RHEL 4 (update 5) running 64 bit AMD Athlon processor. I got a JVM crash from an application which has been running stable all this time. The crash occured 1 hour after the application was started. The error message is "Illegal memory access". From the older discussion forums in BEA I found that this crash is possibly due to a bug in JIT optimization. Below is the complete dump from the crash. It would be great if someone can confirm that this crash is due to the same bug or something else.
    Thanks,
    Rakesh
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 01:06:20 on Tue Jan 20 10:23:21 2009
    * If you see this dump, please go to *
    * http://edocs.bea.com/jrockit/go2troubleshooting.html *
    * for troubleshooting information. *
    Additional information is available in:
    /ha/apps/bin/jrockit.2041.dump
    No snapshot file (core dump) will be created because core dumps have been
    disabled. To enable core dumping, try "ulimit -c unlimited"
    before starting JRockit again.
    Error Message: Illegal memory access. 54
    Signal info : si_signo=11, si_code=128 si_addr=(nil)
    Version : BEA JRockit(R) R27.5.0-110-94909-1.5.0_14-20080204-1558-linux-x86_64
    GC Strategy : Mode: static, with strategy: singleconcon
    GC Status : OC currently running, in phase: marking. This is OC#746.
    Heap : 0x2d00000 - 0x22d00000 (Size: 512 MB)
    Compaction : 0xdd00000 - 0xe100000 (Current compaction type: internal)
    CompRefs : References are compressed, with heap base 0x0.
    CPU : AMD Opteron/Athlon64 SSE SSE2 SSE3 EM64T
    Number CPUs : 8
    Tot Phys Mem : 67561517056 (64431 MB)
    OS version : Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
    Linux version 2.6.9-42.0.8.ELsmp ([email protected]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Tue Jan 23 12:49:51 EST 2007 (x86_64)
    Thread System: NPTL
    Java locking : Normal
    State : JVM is running
    Command Line : -Xms512M -Xmx1024M -Xss128M -Xgc:singlecon -XXcompactratio:1 -Djava.ext.dirs=/cms/lib/:/cms/ext/:/ha/apps/lib/:/ha/OracleJar/:/ha/dbwrapper/:.: -DserverID=prod -DSystemProperties=/ha/hi/properties/HITcpBootstrap.prp -Dpid=2041 -Dsun.java.launcher=SUN_STANDARD com.ups.coii.tos.server.TOSServer
    java.home : /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre
    j.class.path : .
    j.lib.path : /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/jrockit:/opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64:/opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/../lib/amd64::/opt/mqm/java/lib64/:/opt/mqm/java/lib/
    JAVA_HOME : <not set>
    JAVAOPTIONS: <not set>
    LD_LIBRARY_PATH: /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/jrockit:/opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64:/opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/../lib/amd64::/opt/mqm/java/lib64/:/opt/mqm/java/lib/
    LD_ASSUME_KERNEL: <not set>
    C Heap : Good; no memory allocations have failed
    StackOverFlow: 0 StackOverFlowErrors have occured
    OutOfMemory : 0 OutOfMemoryErrors have occured
    Registers (from ThreadContext: 0x42d82960 / OS context: 0x42d82a20):
    rax = 040000000174c008 rcx = 0000000000000000
    rdx = 0000002a95fe6b70 rbx = 0000000000000002
    rsp = 0000000042d82e60 rbp = 0000000042d82fc0
    rsi = 000000001450000c rdi = 0000000042d82ec0
    r8 = 0000000000000001 r9 = 0000002a96002dac
    r10 = 0000002c7a72c140 r11 = 0000000000000021
    r12 = 0000000000000002 r13 = 0000000042d82ec0
    r14 = 0000002ad6893ff0 r15 = 0000000014500000
    cs = 000000000000ab30 fs = 0000000000000000
    gs = 0000000000000000
    rip = 0000002a95df7d2d flags = 0000000000000246
    Stack:
    (* marks the word pointed to by the stack pointer)
    0000000042d82e60: 0000002ad6893ff0* 0000002ad6893ff0 0000000042d82ec0 0000000042d82f60
    0000000042d82e80: 0000002a961222c0 0000002ad6893ff0 0000000014500008 0000002d00000000
    0000000042d82ea0: 0000000014500008 0000002d00000000 0000000014500008 0000002d00000000
    0000000042d82ec0: 0000000000000000 0000002d00000000 0000000014500008 0000002a00000000
    0000000042d82ee0: 0000000014500000 0000000000000000 00000000004ce628 0000000000000001
    0000000042d82f00: 0000002a00000000 000000001450000c 00000000059165d8 00000000059167d8
    Code:
    (* marks the word pointed to by the instruction pointer)
    0000002a95df7cc8: bd831ceb028b4821 48097503fffffed8 0aebfffffed0858b 48fffffed0858b48
    0000002a95df7ce8: c08548c38948008b 8b4c00000102840f c48949fffffea8b5 48002c1a69058b48
    0000002a95df7d08: e9c148082b48d989 06e8c148c8894803 00000008c5048d48 48002c12b9158b48
    0000002a95df7d28: 008b483fe1830203* 485a7501a8e8d348 8948002c1a32058b 03e9c148082b48d9
    0000002a95df7d48: 8306e8c148c88948 4800000001ba3fe1 048d48d18948e2d3 158b4800000008c5
    0000002a95df7d68: 48020348002c1274 2c1837058b480809 8948087400388300 894cfff7ffa2e8df
    Loaded modules:
    (* denotes the module causing the exception)
    0000000000400000-000000000041196b /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/bin/java
    0000002a9566c000-0000002a9567aff9 /lib64/tls/libpthread.so.0
    0000002a95782000-0000002a9580659b /lib64/tls/libm.so.6
    0000002a95908000-0000002a95909c73 /lib64/libdl.so.2
    0000002a95a0b000-0000002a95b35df9 /lib64/tls/libc.so.6
    0000002a95556000-0000002a9556a34f /lib64/ld-linux-x86-64.so.2
    0000002a95c41000-0000002a95ee448f */opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/jrockit/libjvm.so
    0000002a96137000-0000002a9613f95a /lib64/tls/librt.so.1
    0000002a96251000-0000002a9625497b /usr/lib64/libnuma.so
    0000002a96356000-0000002a9635ff13 /lib64/libnss_files.so.2
    0000002a964c1000-0000002a964cd467 /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/libverify.so
    0000002a965d0000-0000002a965f321b /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/libjava.so
    0000002a96707000-0000002a9671a503 /lib64/libnsl.so.1
    0000002ad69ae000-0000002ad69b463f /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/native_threads/libhpi.so
    0000002ad9a30000-0000002ad9a3dd93 /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/libzip.so
    0000002ad9db4000-0000002ad9dc55cf /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/libnet.so
    Scan Dump Helper:
    Iterating in objIter over object at address 0x14500000 (seems to be real).
    The reference that caused the crash is a normal field.
    Scanned object [0000000014500000 0000000014500018) of class java/lang/ThreadLocal$ThreadLocalMap
    0x14500000 : 0x004ce580 classblock
    0x14500004 : 0x00000000 flags
    ===> 0x14500008 : 0x00000002 .table [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry; (java/lang/ThreadLocal$ThreadLocalMap)
    0x1450000c : 0x00000002
    0x14500010 : 0x0000000a
    0x14500014 : 0x00000000
    The field that caused the crash is marked with "===>"
    The reference is bogus and pointing outside the heap.
    Only reference to this object from another object is
    object [00000000059191e8 0000000005919278) of class com/ups/coii/thread/util/ThreadPool$PooledThread
    0x59191e8 : 0x017b55f0 classblock
    0x59191ec : 0x80000000 flags
    0x59191f0 : 0x05919280 .name [C (java/lang/Thread)
    0x59191f4 : 0x00000000 .threadQ Ljava/lang/Thread; (java/lang/Thread)
    0x59191f8 : 0x00000000 .target Ljava/lang/Runnable; (java/lang/Thread)
    0x59191fc : 0x02d02ae8 .group Ljava/lang/ThreadGroup; (java/lang/Thread)
    0x5919200 : 0x05d50b48 .contextClassLoader Ljava/lang/ClassLoader; (java/lang/Thread)
    0x5919204 : 0x059192c0 .inheritedAccessControlContext Ljava/security/AccessControlContext; (java/lang/Thread)
    ===> 0x5919208 : 0x14500000 .threadLocals Ljava/lang/ThreadLocal$ThreadLocalMap; (java/lang/Thread)
    0x591920c : 0x059192d8 .inheritableThreadLocals Ljava/lang/ThreadLocal$ThreadLocalMap; (java/lang/Thread)
    0x5919210 : 0x00000000 .blocker Lsun/nio/ch/Interruptible; (java/lang/Thread)
    0x5919214 : 0x05919278 .blockerLock Ljava/lang/Object; (java/lang/Thread)
    0x5919218 : 0x00000000 .uncaughtExceptionHandler Ljava/lang/Thread$UncaughtExceptionHandler; (java/lang/Thread)
    0x591921c : 0x05916d38 .cwObj Ljava/lang/Object; (java/lang/Thread)
    0x5919220 : 0x00000000 .blockObj Ljava/lang/Object; (java/lang/Thread)
    0x5919224 : 0x04102cf0 .waitNext Ljava/lang/Thread; (java/lang/Thread)
    0x5919228 : 0x00000000 .lockNext Ljava/lang/Thread; (java/lang/Thread)
    0x591922c : 0x059191e8 .blockThreadStop Ljava/lang/Object; (java/lang/Thread)
    0x5919230 : 0x00000000 .accessControlContext Ljava/security/AccessControlContext; (java/lang/Thread)
    0x5919234 : 0x00000005
    0x5919238 : 0x00000000
    0x591923c : 0x00000000
    0x5919240 : 0x00000000
    0x5919244 : 0x00000000
    0x5919248 : 0x00000026
    0x591924c : 0x00000000
    0x5919250 : 0xda213db0
    0x5919254 : 0x0000002a
    0x5919258 : 0x00000000
    0x591925c : 0x00000000
    0x5919260 : 0x000001a1
    0x5919264 : 0x00000000
    0x5919268 : 0x00000001
    0x591926c : 0x05916150 .this$0 Lcom/ups/coii/thread/util/ThreadPool; (com/ups/coii/thread/util/ThreadPool$PooledThread)
    0x5919270 : 0x00000000
    0x5919274 : 0x00000000
    "(GC Main Thread)" id=3 idx=0xc tid=2058 lastJavaFrame=0xfffffffffffffffc
    Stack 0: start=0x42d42000, end=0x42d84000, guards=0x42d47000 (ok), forbidden=0x42d45000
    Thread Stack Trace:
    at mmSingleConFollowReferences+481()@0x2a95df7d2d
    at mmSingleConMark+220()@0x2a95df87ab
    at mmMark+82()@0x2a95cab846
    at mmGCMainLoop+101()@0x2a95cab8eb
    at mmGCMainThread+51()@0x2a95ce826e
    at tsiCallStartFunction+67()@0x2a95d62bfb
    at tsiThreadStub+308()@0x2a95d63e05
    at ptiThreadStub+14()@0x2a95dcb277
    at start_thread+138()@0x2a9567210a
    -- Java stack --
    Extended, platform specific info:
    libc release: 2.3.4-stable
    Elf headers:
    libc ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 000000000001c4a0 PHOFF: 0000000000000040 SHOFF: 000000000013c290 EF: 0x0 HS: 64 PS: 56 PHN; 10 SS: 64 SHN: 66 STIDX: 63
    libpthread ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 0000000000005620 PHOFF: 0000000000000040 SHOFF: 0000000000011e48 EF: 0x0 HS: 64 PS: 56 PHN; 9 SS: 64 SHN: 35 STIDX: 32
    libjvm ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 000000000003f820 PHOFF: 0000000000000040 SHOFF: 000000000037bd90 EF: 0x0 HS: 64 PS: 56 PHN; 3 SS: 64 SHN: 22 STIDX: 19
    * If you see this dump, please go to *
    * http://edocs.bea.com/jrockit/go2troubleshooting.html *
    * for troubleshooting information. *
    ===== END DUMP ===============================================================                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hello Rakesh,
    The crash is in GC code, possiibly caused by an incorrect reference on the heap. This could have been caused by an earlier JIT optimization issue or by a bug in GC or something else - we would need to analyze the full core to know for sure. If you want to pursue this, contact Oracle Support and provide us with the core.
    Another tip is to upgrade to the latest JRockit version. The latest version available bundled with Oracle products is R27.6.0, I believe R27.6.1 is on its way out with a WLS 10 service pack but don't know the exact date.
    Regards,
    Henrik

  • JRockit JVM crash using RHEL 4 (update 5)

    Hi,
    I am using BEA JRockit(R) R27.5.0-110-94909-1.5.0_14-20080204-1558-linux-x86_64 on RHEL 4 (update 5) running 64 bit AMD Athlon processor. I got a JVM crash from an application which has been running stable all this time. The crash occured 1 hour after the application was started. The error message is "Illegal memory access". From the older discussion forums in BEA I found that this crash is possibly due to a bug in JIT optimization. Below is the complete dump from the crash. It would be great if someone can confirm that this crash is due to the same bug or something else.
    Thanks,
    Rakesh
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 01:06:20 on Tue Jan 20 10:23:21 2009
    * If you see this dump, please go to *
    * http://edocs.bea.com/jrockit/go2troubleshooting.html *
    * for troubleshooting information. *
    Additional information is available in:
    /ha/apps/bin/jrockit.2041.dump
    No snapshot file (core dump) will be created because core dumps have been
    disabled. To enable core dumping, try "ulimit -c unlimited"
    before starting JRockit again.
    Error Message: Illegal memory access. [54]
    Signal info : si_signo=11, si_code=128 si_addr=(nil)
    Version : BEA JRockit(R) R27.5.0-110-94909-1.5.0_14-20080204-1558-linux-x86_64
    GC Strategy : Mode: static, with strategy: singleconcon
    GC Status : OC currently running, in phase: marking. This is OC#746.
    Heap : 0x2d00000 - 0x22d00000 (Size: 512 MB)
    Compaction : 0xdd00000 - 0xe100000 (Current compaction type: internal)
    CompRefs : References are compressed, with heap base 0x0.
    CPU : AMD Opteron/Athlon64 SSE SSE2 SSE3 EM64T
    Number CPUs : 8
    Tot Phys Mem : 67561517056 (64431 MB)
    OS version : Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
    Linux version 2.6.9-42.0.8.ELsmp ([email protected]) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Tue Jan 23 12:49:51 EST 2007 (x86_64)
    Thread System: NPTL
    Java locking : Normal
    State : JVM is running
    Command Line : -Xms512M -Xmx1024M -Xss128M -Xgc:singlecon -XXcompactratio:1 -Djava.ext.dirs=/cms/lib/:/cms/ext/:/ha/apps/lib/:/ha/OracleJar/:/ha/dbwrapper/:.: -DserverID=prod -DSystemProperties=/ha/hi/properties/HITcpBootstrap.prp -Dpid=2041 -Dsun.java.launcher=SUN_STANDARD com.ups.coii.tos.server.TOSServer
    java.home : /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre
    j.class.path : .
    j.lib.path : /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/jrockit:/opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64:/opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/../lib/amd64::/opt/mqm/java/lib64/:/opt/mqm/java/lib/
    JAVA_HOME : <not set>
    JAVAOPTIONS: <not set>
    LD_LIBRARY_PATH: /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/jrockit:/opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64:/opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/../lib/amd64::/opt/mqm/java/lib64/:/opt/mqm/java/lib/
    LD_ASSUME_KERNEL: <not set>
    C Heap : Good; no memory allocations have failed
    StackOverFlow: 0 StackOverFlowErrors have occured
    OutOfMemory : 0 OutOfMemoryErrors have occured
    Registers (from ThreadContext: 0x42d82960 / OS context: 0x42d82a20):
    rax = 040000000174c008 rcx = 0000000000000000
    rdx = 0000002a95fe6b70 rbx = 0000000000000002
    rsp = 0000000042d82e60 rbp = 0000000042d82fc0
    rsi = 000000001450000c rdi = 0000000042d82ec0
    r8 = 0000000000000001 r9 = 0000002a96002dac
    r10 = 0000002c7a72c140 r11 = 0000000000000021
    r12 = 0000000000000002 r13 = 0000000042d82ec0
    r14 = 0000002ad6893ff0 r15 = 0000000014500000
    cs = 000000000000ab30 fs = 0000000000000000
    gs = 0000000000000000
    rip = 0000002a95df7d2d flags = 0000000000000246
    Stack:
    (* marks the word pointed to by the stack pointer)
    0000000042d82e60: 0000002ad6893ff0* 0000002ad6893ff0 0000000042d82ec0 0000000042d82f60
    0000000042d82e80: 0000002a961222c0 0000002ad6893ff0 0000000014500008 0000002d00000000
    0000000042d82ea0: 0000000014500008 0000002d00000000 0000000014500008 0000002d00000000
    0000000042d82ec0: 0000000000000000 0000002d00000000 0000000014500008 0000002a00000000
    0000000042d82ee0: 0000000014500000 0000000000000000 00000000004ce628 0000000000000001
    0000000042d82f00: 0000002a00000000 000000001450000c 00000000059165d8 00000000059167d8
    Code:
    (* marks the word pointed to by the instruction pointer)
    0000002a95df7cc8: bd831ceb028b4821 48097503fffffed8 0aebfffffed0858b 48fffffed0858b48
    0000002a95df7ce8: c08548c38948008b 8b4c00000102840f c48949fffffea8b5 48002c1a69058b48
    0000002a95df7d08: e9c148082b48d989 06e8c148c8894803 00000008c5048d48 48002c12b9158b48
    0000002a95df7d28: 008b483fe1830203* 485a7501a8e8d348 8948002c1a32058b 03e9c148082b48d9
    0000002a95df7d48: 8306e8c148c88948 4800000001ba3fe1 048d48d18948e2d3 158b4800000008c5
    0000002a95df7d68: 48020348002c1274 2c1837058b480809 8948087400388300 894cfff7ffa2e8df
    Loaded modules:
    (* denotes the module causing the exception)
    0000000000400000-000000000041196b /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/bin/java
    0000002a9566c000-0000002a9567aff9 /lib64/tls/libpthread.so.0
    0000002a95782000-0000002a9580659b /lib64/tls/libm.so.6
    0000002a95908000-0000002a95909c73 /lib64/libdl.so.2
    0000002a95a0b000-0000002a95b35df9 /lib64/tls/libc.so.6
    0000002a95556000-0000002a9556a34f /lib64/ld-linux-x86-64.so.2
    0000002a95c41000-0000002a95ee448f */opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/jrockit/libjvm.so
    0000002a96137000-0000002a9613f95a /lib64/tls/librt.so.1
    0000002a96251000-0000002a9625497b /usr/lib64/libnuma.so
    0000002a96356000-0000002a9635ff13 /lib64/libnss_files.so.2
    0000002a964c1000-0000002a964cd467 /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/libverify.so
    0000002a965d0000-0000002a965f321b /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/libjava.so
    0000002a96707000-0000002a9671a503 /lib64/libnsl.so.1
    0000002ad69ae000-0000002ad69b463f /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/native_threads/libhpi.so
    0000002ad9a30000-0000002ad9a3dd93 /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/libzip.so
    0000002ad9db4000-0000002ad9dc55cf /opt/bea/jrockit-R27.5.0-jdk1.5.0_14/jre/lib/amd64/libnet.so
    Scan Dump Helper:
    Iterating in objIter over object at address 0x14500000 (seems to be real).
    The reference that caused the crash is a normal field.
    Scanned object [0000000014500000 0000000014500018) of class java/lang/ThreadLocal$ThreadLocalMap
    0x14500000 : 0x004ce580 [classblock]
    0x14500004 : 0x00000000 [flags]
    ===> 0x14500008 : 0x00000002 .table [Ljava/lang/ThreadLocal$ThreadLocalMap$Entry; (java/lang/ThreadLocal$ThreadLocalMap)
          0x1450000c : 0x00000002
          0x14500010 : 0x0000000a
          0x14500014 : 0x00000000
         The field that caused the crash is marked with "===>"
       The reference is bogus and pointing outside the heap.
       Only reference to this object from another object is
    object [00000000059191e8 0000000005919278) of class com/ups/coii/thread/util/ThreadPool$PooledThread
          0x59191e8 : 0x017b55f0 [classblock]
    0x59191ec : 0x80000000 [flags]
    0x59191f0 : 0x05919280 .name [C (java/lang/Thread)
          0x59191f4 : 0x00000000 .threadQ Ljava/lang/Thread; (java/lang/Thread)
          0x59191f8 : 0x00000000 .target Ljava/lang/Runnable; (java/lang/Thread)
          0x59191fc : 0x02d02ae8 .group Ljava/lang/ThreadGroup; (java/lang/Thread)
          0x5919200 : 0x05d50b48 .contextClassLoader Ljava/lang/ClassLoader; (java/lang/Thread)
          0x5919204 : 0x059192c0 .inheritedAccessControlContext Ljava/security/AccessControlContext; (java/lang/Thread)
    ===> 0x5919208 : 0x14500000 .threadLocals Ljava/lang/ThreadLocal$ThreadLocalMap; (java/lang/Thread)
          0x591920c : 0x059192d8 .inheritableThreadLocals Ljava/lang/ThreadLocal$ThreadLocalMap; (java/lang/Thread)
          0x5919210 : 0x00000000 .blocker Lsun/nio/ch/Interruptible; (java/lang/Thread)
          0x5919214 : 0x05919278 .blockerLock Ljava/lang/Object; (java/lang/Thread)
          0x5919218 : 0x00000000 .uncaughtExceptionHandler Ljava/lang/Thread$UncaughtExceptionHandler; (java/lang/Thread)
          0x591921c : 0x05916d38 .cwObj Ljava/lang/Object; (java/lang/Thread)
          0x5919220 : 0x00000000 .blockObj Ljava/lang/Object; (java/lang/Thread)
          0x5919224 : 0x04102cf0 .waitNext Ljava/lang/Thread; (java/lang/Thread)
          0x5919228 : 0x00000000 .lockNext Ljava/lang/Thread; (java/lang/Thread)
          0x591922c : 0x059191e8 .blockThreadStop Ljava/lang/Object; (java/lang/Thread)
          0x5919230 : 0x00000000 .accessControlContext Ljava/security/AccessControlContext; (java/lang/Thread)
          0x5919234 : 0x00000005
          0x5919238 : 0x00000000
          0x591923c : 0x00000000
          0x5919240 : 0x00000000
          0x5919244 : 0x00000000
          0x5919248 : 0x00000026
          0x591924c : 0x00000000
          0x5919250 : 0xda213db0
          0x5919254 : 0x0000002a
          0x5919258 : 0x00000000
          0x591925c : 0x00000000
          0x5919260 : 0x000001a1
          0x5919264 : 0x00000000
          0x5919268 : 0x00000001
          0x591926c : 0x05916150 .this$0 Lcom/ups/coii/thread/util/ThreadPool; (com/ups/coii/thread/util/ThreadPool$PooledThread)
          0x5919270 : 0x00000000
          0x5919274 : 0x00000000
    "(GC Main Thread)" id=3 idx=0xc tid=2058 lastJavaFrame=0xfffffffffffffffc
    Stack 0: start=0x42d42000, end=0x42d84000, guards=0x42d47000 (ok), forbidden=0x42d45000
    Thread Stack Trace:
        at mmSingleConFollowReferences+481()@0x2a95df7d2d
        at mmSingleConMark+220()@0x2a95df87ab
        at mmMark+82()@0x2a95cab846
        at mmGCMainLoop+101()@0x2a95cab8eb
        at mmGCMainThread+51()@0x2a95ce826e
        at tsiCallStartFunction+67()@0x2a95d62bfb
        at tsiThreadStub+308()@0x2a95d63e05
        at ptiThreadStub+14()@0x2a95dcb277
        at start_thread+138()@0x2a9567210a
        -- Java stack --
    Extended, platform specific info:
    libc release: 2.3.4-stable
    Elf headers:
    libc       ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 000000000001c4a0 PHOFF: 0000000000000040 SHOFF: 000000000013c290 EF: 0x0 HS: 64 PS: 56 PHN; 10 SS: 64 SHN: 66 STIDX: 63
    libpthread ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 0000000000005620 PHOFF: 0000000000000040 SHOFF: 0000000000011e48 EF: 0x0 HS: 64 PS: 56 PHN; 9 SS: 64 SHN: 35 STIDX: 32
    libjvm     ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 000000000003f820 PHOFF: 0000000000000040 SHOFF: 000000000037bd90 EF: 0x0 HS: 64 PS: 56 PHN; 3 SS: 64 SHN: 22 STIDX: 19
        *  If you see this dump, please go to                    *
        *  http://edocs.bea.com/jrockit/go2troubleshooting.html  *
        *  for troubleshooting information.                      *
    ===== END DUMP ===============================================================                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    You should open a tar with support (http://metalink.oracle.com ; I am not sure if that is the correct support site for jrockit)
    Because the information is all about jrockit and not linux, you probably are not going to get much help here.
    You could try the jrockit forum: JRockit

  • 1.2 JVM crashes using XML SQL Utility 1.1.10 (NT 8.1.5)

    I am trying to use the XML SQL Utility for Java (Oracle 8.1.5) to obtain a DTD or XML schema for tables in our database.
    I have installed the XSU111.ZIP archive,
    set the CLASSPATH and stuff, loaded the JAR
    files (xmlparserv2.jar, oraclexmlsql.jar)
    processed the xmlgenpkg.sql script (following the installation instructions)
    When I execute the samples in Java, the JVM (JDK 1.2.2) crashes in javai.dll.
    The same error occurs when I run java OracleXML getXML ....
    The installation file (env.bat) lists the JDBC driver ZIP as CLASSES12.ZIP, which is of course, not available for 8.1.5, which is what the download instructions indicated is appropriate for XSU 1.1.1.
    Any ideas? Do I need to upgrade to 8.1.6?
    Can I patch the JDBC with classes12.ZIP.
    By the way, when I execute the commands in PL/SQL using xmlgen package, everything is fine.
    Regards and Much thanks

    Set JDK_HOME to the directory where you install your JDK (Java Development Kit).
    So instance, I've install JDK1.1.8 on my
    C drive so
    set JDK_HOME=c:\jdk1.1.8;c:\jdk1.1.8\bin

  • 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 while using JPAM in SUSE 10.1 Linux

    Hi,
    I had done the necessary settings as specified in the manual to setup JPAM. when i access from my Java program, im getting the following error messages,
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGFPE (0x8) at pc=0xb7f9326b, pid=3886, tid=3085153968
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode, sharing)
    # Problematic frame:
    # C [ld-linux.so.2+0x926b]
    # An error report file with more information is saved as hs_err_pid3886.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    in order to check the flow, i just commented the System.LoadLibrary( ); call in the Pam.java file of JPAM, the flow works fine.
    So, the JVM crash happens during Native call.
    The error log is as follows ,
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGFPE (0x8) at pc=0xb7f2b26b, pid=4325, tid=3084727984
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_15-b04 mixed mode, sharing)
    # Problematic frame:
    # C [ld-linux.so.2+0x926b]
    --------------- T H R E A D ---------------
    Current thread (0x0805cb40): JavaThread "main" [_thread_in_vm, id=4325]
    siginfo:si_signo=8, si_errno=0, si_code=1, si_addr=0xb7f2b26b
    Registers:
    EAX=0x031c8354, EBX=0xb7f3cff4, ECX=0x08187aa8, EDX=0x00000000
    ESP=0xbfbe0e98, EBP=0xbfbe0ef4, ESI=0x0817add4, EDI=0xbfbe0f80
    EIP=0xb7f2b26b, CR2=0x00000000, EFLAGS=0x00210246
    Top of Stack: (sp=0xbfbe0e98)
    0xbfbe0e98: b762ff45 b1fac066 b7f3cff4 bfbe109c
    0xbfbe0ea8: b1fab680 031c8354 b1fac066 00000010
    0xbfbe0eb8: 00000007 08187aa8 b1fdd104 b1fdd384
    0xbfbe0ec8: b1fdd550 00000000 00000000 081881c0
    0xbfbe0ed8: bfbe0fb0 b1fdd4fd b7f218f8 0817ac28
    0xbfbe0ee8: b7f3cff4 0817add4 bfbe0f80 bfbe0f94
    0xbfbe0ef8: b7f2b5f7 bfbe0f80 08187c00 00000000
    0xbfbe0f08: 00000000 00000001 00000000 00000000
    Instructions: (pc=0xb7f2b26b)
    0xb7f2b25b: 8b 8a 94 01 00 00 8b 45 b8 89 4d d4 89 d1 31 d2
    0xb7f2b26b: f7 b1 6c 01 00 00 8b 81 70 01 00 00 8b 3c 90 85
    Stack: [0xbf9e6000,0xbfbe6000), sp=0xbfbe0e98, free space=2027k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [ld-linux.so.2+0x926b]
    C [ld-linux.so.2+0x95f7]
    C [ld-linux.so.2+0xac6f]
    C [ld-linux.so.2+0x114e1]
    C [ld-linux.so.2+0xd416]
    C [ld-linux.so.2+0x10d2e]
    C [libdl.so.2+0xe4d]
    C [ld-linux.so.2+0xd416]
    C [libdl.so.2+0x12fc]
    C [libdl.so.2+0xd84] dlopen+0x44
    V [libjvm.so+0x28d059]
    V [libjvm.so+0x1eb722]
    C [libjava.so+0xa64c] Java_java_lang_ClassLoader_00024NativeLibrary_load+0x6c
    j java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;)V+0
    j java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+300
    j java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+268
    j java.lang.Runtime.loadLibrary0(Ljava/lang/Class;Ljava/lang/String;)V+54
    j java.lang.System.loadLibrary(Ljava/lang/String;)V+7
    j net.sf.jpam.Pam.<clinit>()V+14
    v ~StubRoutines::call_stub
    V [libjvm.so+0x17b2bc]
    V [libjvm.so+0x28fed8]
    V [libjvm.so+0x17b0ef]
    V [libjvm.so+0x158e21]
    V [libjvm.so+0x157920]
    V [libjvm.so+0x156997]
    V [libjvm.so+0x16cd96]
    j Test.main([Ljava/lang/String;)V+14
    v ~StubRoutines::call_stub
    V [libjvm.so+0x17b2bc]
    V [libjvm.so+0x28fed8]
    V [libjvm.so+0x17b0ef]
    V [libjvm.so+0x1a5cc2]
    V [libjvm.so+0x196ed2]
    C [java+0x1873]
    C [libc.so.6+0x1587c] __libc_start_main+0xdc
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j java.lang.ClassLoader$NativeLibrary.load(Ljava/lang/String;)V+0
    j java.lang.ClassLoader.loadLibrary0(Ljava/lang/Class;Ljava/io/File;)Z+300
    j java.lang.ClassLoader.loadLibrary(Ljava/lang/Class;Ljava/lang/String;Z)V+268
    j java.lang.Runtime.loadLibrary0(Ljava/lang/Class;Ljava/lang/String;)V+54
    j java.lang.System.loadLibrary(Ljava/lang/String;)V+7
    j net.sf.jpam.Pam.<clinit>()V+14
    v ~StubRoutines::call_stub
    j Test.main([Ljava/lang/String;)V+14
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x080a5810 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4335]
    0x080a42b8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4334]
    0x080a3400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4333]
    0x0809c2e0 JavaThread "Finalizer" daemon [_thread_blocked, id=4332]
    0x0809b630 JavaThread "Reference Handler" daemon [_thread_blocked, id=4331]
    =>0x0805cb40 JavaThread "main" [_thread_in_vm, id=4325]
    Other Threads:
    0x0809a1b8 VMThread [id=4330]
    0x080a6ca8 WatcherThread [id=4336]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 576K, used 312K [0x889f0000, 0x88a90000, 0x88ed0000)
    eden space 512K, 48% used [0x889f0000, 0x88a2e228, 0x88a70000)
    from space 64K, 100% used [0x88a80000, 0x88a90000, 0x88a90000)
    to space 64K, 0% used [0x88a70000, 0x88a70000, 0x88a80000)
    tenured generation total 1408K, used 84K [0x88ed0000, 0x89030000, 0x8c9f0000)
    the space 1408K, 6% used [0x88ed0000, 0x88ee5268, 0x88ee5400, 0x89030000)
    compacting perm gen total 8192K, used 126K [0x8c9f0000, 0x8d1f0000, 0x909f0000)
    the space 8192K, 1% used [0x8c9f0000, 0x8ca0f8b0, 0x8ca0fa00, 0x8d1f0000)
    ro space 8192K, 68% used [0x909f0000, 0x90f72e10, 0x90f73000, 0x911f0000)
    rw space 12288K, 48% used [0x911f0000, 0x917c1640, 0x917c1800, 0x91df0000)
    Dynamic libraries:
    08048000-08057000 r-xp 00000000 08:02 286281 /usr/java/jdk1.5.0_15/bin/java
    08057000-08059000 rwxp 0000e000 08:02 286281 /usr/java/jdk1.5.0_15/bin/java
    08059000-081a8000 rwxp 08059000 00:00 0 [heap]
    889f0000-88a90000 rwxp 889f0000 00:00 0
    88a90000-88ed0000 rwxp 88a90000 00:00 0
    88ed0000-89030000 rwxp 88ed0000 00:00 0
    89030000-8c9f0000 rwxp 89030000 00:00 0
    8c9f0000-8d1f0000 rwxp 8c9f0000 00:00 0
    8d1f0000-909f0000 rwxp 8d1f0000 00:00 0
    909f0000-90f73000 r-xs 00001000 08:02 288265 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    90f73000-911f0000 rwxp 90f73000 00:00 0
    911f0000-917c2000 rwxp 00584000 08:02 288265 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    917c2000-91df0000 rwxp 917c2000 00:00 0
    91df0000-91ec0000 rwxp 00b56000 08:02 288265 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    91ec0000-921f0000 rwxp 91ec0000 00:00 0
    921f0000-921f4000 r-xs 00c26000 08:02 288265 /usr/java/jdk1.5.0_15/jre/lib/i386/client/classes.jsa
    921f4000-925f0000 rwxp 921f4000 00:00 0
    b1fab000-b1fbc000 r-xp 00000000 08:02 20525 /lib/libaudit.so.0.0.0
    b1fbc000-b1fbe000 rwxp 00010000 08:02 20525 /lib/libaudit.so.0.0.0
    b1fbe000-b1fc0000 r-xp 00000000 08:02 24178 /lib/libpam_misc.so.0.81.2
    b1fc0000-b1fc1000 rwxp 00001000 08:02 24178 /lib/libpam_misc.so.0.81.2
    b1fc1000-b1fcb000 r-xp 00000000 08:02 24176 /lib/libpam.so.0.81.5
    b1fcb000-b1fcc000 rwxp 00009000 08:02 24176 /lib/libpam.so.0.81.5
    b1fcc000-b1fdd000 r-xp 00000000 08:02 288864 /etc/ld.so.cache
    b1fdd000-b1fdf000 r-xp 00000000 08:02 289295 /usr/java/jdk1.5.0_15/jre/lib/i386/client/libjpam.so
    b1fdf000-b1fe0000 rwxp 00001000 08:02 289295 /usr/java/jdk1.5.0_15/jre/lib/i386/client/libjpam.so
    b1fe0000-b1fef000 r-xs 00000000 08:02 288759 /root/Desktop/JPAM/Commons Logging/commons-logging-1.1.1.jar
    b1fef000-b1ff1000 r-xs 00000000 08:02 221459 /root/Desktop/JPAM/jpam-1.1/JPam-1.1.jar
    b1ff1000-b20b7000 r-xs 00000000 08:02 286254 /usr/java/jdk1.5.0_15/jre/lib/ext/localedata.jar
    b20b7000-b20de000 r-xs 00000000 08:02 285647 /usr/java/jdk1.5.0_15/jre/lib/ext/sunjce_provider.jar
    b20de000-b2109000 r-xs 00000000 08:02 285648 /usr/java/jdk1.5.0_15/jre/lib/ext/sunpkcs11.jar
    b2109000-b210c000 r-xs 00000000 08:02 285649 /usr/java/jdk1.5.0_15/jre/lib/ext/dnsns.jar
    b210c000-b210d000 ---p b210c000 00:00 0
    b210d000-b218d000 rwxp b210d000 00:00 0
    b218d000-b2190000 ---p b218d000 00:00 0
    b2190000-b220e000 rwxp b2190000 00:00 0
    b220e000-b2211000 ---p b220e000 00:00 0
    b2211000-b228f000 rwxp b2211000 00:00 0
    b228f000-b2292000 ---p b228f000 00:00 0
    b2292000-b2310000 rwxp b2292000 00:00 0
    b2310000-b2317000 r-xs 00000000 08:02 17580 /usr/lib/gconv/gconv-modules.cache
    b2317000-b234a000 r-xp 00000000 08:02 20472 /usr/lib/locale/en_US.utf8/LC_CTYPE
    b234a000-b234d000 ---p b234a000 00:00 0
    b234d000-b23cb000 rwxp b234d000 00:00 0
    b23cb000-b23ce000 ---p b23cb000 00:00 0
    b23ce000-b244c000 rwxp b23ce000 00:00 0
    b244c000-b244d000 ---p b244c000 00:00 0
    b244d000-b24d9000 rwxp b244d000 00:00 0
    b24d9000-b24f5000 rwxp b24d9000 00:00 0
    b24f5000-b24f6000 rwxp b24f5000 00:00 0
    b24f6000-b2513000 rwxp b24f6000 00:00 0
    b2513000-b2514000 rwxp b2513000 00:00 0
    b2514000-b2515000 rwxp b2514000 00:00 0
    b2515000-b2517000 rwxp b2515000 00:00 0
    b2517000-b2533000 rwxp b2517000 00:00 0
    b2533000-b2537000 rwxp b2533000 00:00 0
    b2537000-b2553000 rwxp b2537000 00:00 0
    b2553000-b2561000 rwxp b2553000 00:00 0
    b2561000-b25de000 rwxp b2561000 00:00 0
    b25de000-b266e000 rwxp b25de000 00:00 0
    b266e000-b45de000 rwxp b266e000 00:00 0
    b45de000-b4e4d000 r-xs 00000000 08:02 286253 /usr/java/jdk1.5.0_15/jre/lib/charsets.jar
    b4e4d000-b4e62000 r-xs 00000000 08:02 285651 /usr/java/jdk1.5.0_15/jre/lib/jce.jar
    b4e62000-b4ee7000 r-xs 00000000 08:02 286194 /usr/java/jdk1.5.0_15/jre/lib/jsse.jar
    b4ee7000-b4f50000 rwxp b4ee7000 00:00 0
    b4f50000-b7578000 r-xs 00000000 08:02 286275 /usr/java/jdk1.5.0_15/jre/lib/rt.jar
    b7578000-b7587000 r-xp 00000000 08:02 285347 /usr/java/jdk1.5.0_15/jre/lib/i386/libzip.so
    b7587000-b7589000 rwxp 0000e000 08:02 285347 /usr/java/jdk1.5.0_15/jre/lib/i386/libzip.so
    b7589000-b75aa000 r-xp 00000000 08:02 285342 /usr/java/jdk1.5.0_15/jre/lib/i386/libjava.so
    b75aa000-b75ac000 rwxp 00020000 08:02 285342 /usr/java/jdk1.5.0_15/jre/lib/i386/libjava.so
    b75ac000-b75e1000 r-xs 00000000 08:02 121742 /var/run/nscd/passwd
    b75e1000-b75f2000 r-xp 00000000 08:02 9264 /lib/libnsl-2.4.so
    b75f2000-b75f4000 rwxp 00010000 08:02 9264 /lib/libnsl-2.4.so
    b75f4000-b75fb000 rwxp b75f4000 00:00 0
    b75fb000-b7606000 r-xp 00000000 08:02 285341 /usr/java/jdk1.5.0_15/jre/lib/i386/libverify.so
    b7606000-b7607000 rwxp 0000b000 08:02 285341 /usr/java/jdk1.5.0_15/jre/lib/i386/libverify.so
    b7607000-b762a000 r-xp 00000000 08:02 9261 /lib/libm-2.4.so
    b762a000-b762c000 rwxp 00022000 08:02 9261 /lib/libm-2.4.so
    b762c000-b799e000 r-xp 00000000 08:02 283724 /usr/java/jdk1.5.0_15/jre/lib/i386/client/libjvm.so
    b799e000-b79bc000 rwxp 00372000 08:02 283724 /usr/java/jdk1.5.0_15/jre/lib/i386/client/libjvm.so
    b79bc000-b7dd5000 rwxp b79bc000 00:00 0
    b7dd5000-b7ef0000 r-xp 00000000 08:02 9253 /lib/libc-2.4.so
    b7ef0000-b7ef2000 r-xp 0011a000 08:02 9253 /lib/libc-2.4.so
    b7ef2000-b7ef4000 rwxp 0011c000 08:02 9253 /lib/libc-2.4.so
    b7ef4000-b7ef7000 rwxp b7ef4000 00:00 0
    b7ef7000-b7ef9000 r-xp 00000000 08:02 9259 /lib/libdl-2.4.so
    b7ef9000-b7efb000 rwxp 00001000 08:02 9259 /lib/libdl-2.4.so
    b7efb000-b7f0c000 r-xp 00000000 08:02 9279 /lib/libpthread-2.4.so
    b7f0c000-b7f0e000 rwxp 00010000 08:02 9279 /lib/libpthread-2.4.so
    b7f0e000-b7f10000 rwxp b7f0e000 00:00 0
    b7f10000-b7f18000 rwxs 00000000 08:02 289230 /tmp/hsperfdata_root/4325
    b7f18000-b7f1e000 r-xp 00000000 08:02 283681 /usr/java/jdk1.5.0_15/jre/lib/i386/native_threads/libhpi.so
    b7f1e000-b7f1f000 rwxp 00006000 08:02 283681 /usr/java/jdk1.5.0_15/jre/lib/i386/native_threads/libhpi.so
    b7f1f000-b7f20000 rwxp b7f1f000 00:00 0
    b7f20000-b7f21000 r-xp b7f20000 00:00 0
    b7f21000-b7f22000 rwxp b7f21000 00:00 0
    b7f22000-b7f3c000 r-xp 00000000 08:02 9246 /lib/ld-2.4.so
    b7f3c000-b7f3e000 rwxp 0001a000 08:02 9246 /lib/ld-2.4.so
    bf9e6000-bf9e9000 ---p bf9e6000 00:00 0
    bf9e9000-bfbe6000 rwxp bf9e9000 00:00 0 [stack]
    ffffe000-fffff000 ---p 00000000 00:00 0 [vdso]
    VM Arguments:
    java_command: Test
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=/usr/java/jdk1.5.0_15
    JRE_HOME=/usr/java/jdk1.5.0_15/jre
    PATH=/sbin:/usr/sbin:/usr/local/sbin:/opt/gnome/sbin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/java/jdk1.5.0_15/bin:/usr/java/jdk1.5.0_15/bin
    USERNAME=root
    LD_LIBRARY_PATH=/usr/java/jdk1.5.0_15/jre/lib/i386/client:/usr/java/jdk1.5.0_15/jre/lib/i386:/usr/java/jdk1.5.0_15/jre/../lib/i386:/usr/lib/jvm/java-1_4_2-sun-1.4.2.13/jre/lib/i386/client::/usr/lib/jvm/java-1_4_2-sun-1.4.2.13/jre/lib/i386::/usr/lib/xulrunner-1.8.0.1:/usr/lib/xulrunner-1.8.0.1
    SHELL=/bin/bash
    DISPLAY=:0.0
    HOSTTYPE=i386
    OSTYPE=linux
    MACHTYPE=i686-suse-linux
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x32b740], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGBUS: [libjvm.so+0x32b740], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGFPE: [libjvm.so+0x28ef10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGPIPE: [libjvm.so+0x28ef10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGILL: [libjvm.so+0x28ef10], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x291360], sa_mask[0]=0x00000004, sa_flags=0x10000004
    SIGHUP: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGINT: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGQUIT: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGTERM: [libjvm.so+0x290d90], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    --------------- S Y S T E M ---------------
    OS:SUSE Linux Enterprise Desktop 10 (i586)
    VERSION = 10
    PATCHLEVEL = 1
    uname:Linux 2.6.16.46-0.12-smp #1 SMP Thu May 17 14:00:09 UTC 2007 i686
    libc:glibc 2.4 NPTL 2.4
    rlimit: STACK 8192k, CORE 0k, NPROC 7672, NOFILE 8192, AS 1180320k
    load average:0.28 0.16 0.10
    CPU:total 2 (cores per cpu 2, threads per core 1) family 15 model 75 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnowext, 3dnow
    Memory: 4k page, physical 969320k(57780k free), swap 506008k(506008k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_15-b04) for linux-x86, built on Feb 9 2008 01:37:00 by java_re with gcc 3.2.1-7a (J2SE release)
    Please, can any one Help me out to fix this error .
    Thanks,
    Prabu

    Did you find any solution to this problem

  • Freqent JVM crash when using OCI

    I have been experiencing the following JVM crashes frequently. We are using OCI to access database because of failover ability, OS is Suse 9. Any help is appreciated. Here's the log file.
    Thank you.
    Anita
    ===============================
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x00000000, pid=18784, tid=24601
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_13-b06 mixed mode)
    # Problematic frame:
    # C 0x00000000
    --------------- T H R E A D ---------------
    Current thread (0x53588fd0): JavaThread "Thread-10" daemon [_thread_in_native, id=18809]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
    Registers:
    EAX=0x0810619c, EBX=0x555cec38, ECX=0x5510192d, EDX=0x08107dac
    ESP=0x548350fc, EBP=0x54835958, ESI=0x0810619c, EDI=0x08107dac
    EIP=0x00000000, CR2=0x00000000, EFLAGS=0x00010283
    Top of Stack: (sp=0x548350fc)
    0x548350fc: 5510194b 0810619c 08107dac 00000000
    0x5483510c: 08379300 4d176b08 548351d8 00000000
    0x5483511c: 00000003 08382b7c 08382aa8 08125788
    0x5483512c: 00000000 083808e0 00000002 08363c00
    0x5483513c: 08164f48 08382abc 54835100 54f31700
    0x5483514c: 00000040 4d176b08 00000000 0810e650
    0x5483515c: 080b3720 08382b08 00000055 08382b74
    0x5483516c: 00000000 080b36f8 08363cd8 08382aa8
    Instructions: (pc=0x00000000)
    0xfffffff0:
    Stack: [0x547c9000,0x5483b000), sp=0x548350fc, free space=432k
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j oracle.jdbc.oci8.OCIDBAccess.do_execute(Loracle/jdbc/oci8/OCIDBStatement;I)I+0
    j oracle.jdbc.oci8.OCIDBAccess.executeFetch(Loracle/jdbc/dbaccess/DBStatement;BLoracle/jdbc/dbaccess/DBDataSet;ILoracle/jdbc/dbaccess/DBDataSet;I)I+1335
    j oracle.jdbc.driver.OracleStatement.doExecuteQuery()V+625
    j oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout()V+186
    j oracle.jdbc.driver.OraclePreparedStatement.executeUpdate()I+70
    j oracle.jdbc.driver.OraclePreparedStatement.executeQuery()Ljava/sql/ResultSet;+17
    j org.apache.catalina.realm.DualRealm.getDBRoles(Ljava/sql/Connection;Ljava/lang/String;)Ljava/util/List;+27
    j org.apache.catalina.realm.DualRealm.authorizeViaDB(Ljava/lang/String;)Ljava/util/List;+29
    j org.apache.catalina.realm.DualRealm.authenticate(Ljavax/naming/directory/DirContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/security/Principal;+275
    j org.apache.catalina.realm.DualRealm.authenticateJNDI(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/security/Principal;+250
    j org.apache.catalina.realm.DualRealm.authenticate(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/security/Principal;+62
    j org.apache.catalina.authenticator.DualRealmFormAuthenticator.authenticate(Lorg/apache/catalina/HttpRequest;Lorg/apache/catalina/HttpResponse;Lorg/apache/catalina/deploy/LoginConfig;)Z+951
    j org.apache.catalina.authenticator.AuthenticatorBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+322
    j org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+39
    j org.apache.catalina.core.StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+10
    j org.apache.catalina.core.ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+6
    j org.apache.catalina.core.StandardContext.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+81
    j org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+171
    j org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+79
    j org.apache.catalina.valves.ErrorDispatcherValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+3
    j org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+39
    j org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+3
    j org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+39
    j org.apache.catalina.core.StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+10
    j org.apache.catalina.core.ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+6
    j org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;Lorg/apache/catalina/ValveContext;)V+160
    j org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+79
    j org.apache.catalina.core.StandardPipeline.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+10
    j org.apache.catalina.core.ContainerBase.invoke(Lorg/apache/catalina/Request;Lorg/apache/catalina/Response;)V+6
    j org.apache.coyote.tomcat4.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+101
    j org.apache.jk.server.JkCoyoteHandler.invoke(Lorg/apache/jk/core/Msg;Lorg/apache/jk/core/MsgContext;)I+165
    j org.apache.jk.common.HandlerRequest.invoke(Lorg/apache/jk/core/Msg;Lorg/apache/jk/core/MsgContext;)I+249
    j org.apache.jk.common.ChannelSocket.invoke(Lorg/apache/jk/core/Msg;Lorg/apache/jk/core/MsgContext;)I+59
    j org.apache.jk.common.ChannelSocket.processConnection(Lorg/apache/jk/core/MsgContext;)V+87
    j org.apache.jk.common.SocketConnection.runIt([Ljava/lang/Object;)V+8
    j org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+152
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x080b2580 JavaThread "Thread-122" daemon [_thread_in_native, id=29611]
    0x535947a8 JavaThread "MonitorRunnable" daemon [_thread_blocked, id=18811]
    0x5358a128 JavaThread "Thread-11" daemon [_thread_in_native, id=18810]
    =>0x53588fd0 JavaThread "Thread-10" daemon [_thread_in_native, id=18809]
    0x535884b8 JavaThread "Thread-9" daemon [_thread_in_native, id=18808]
    0x535882c0 JavaThread "Thread-8" daemon [_thread_blocked, id=18807]
    0x5357f890 JavaThread "MonitorRunnable" daemon [_thread_blocked, id=18806]
    0x53594a58 JavaThread "Thread-6" daemon [_thread_in_native, id=18805]
    0x53581108 JavaThread "Thread-5" daemon [_thread_blocked, id=18804]
    0x5358d410 JavaThread "Thread-4" daemon [_thread_blocked, id=18803]
    0x535773a8 JavaThread "Thread-3" daemon [_thread_blocked, id=18802]
    0x53585508 JavaThread "HostConfig[localhost]" daemon [_thread_blocked, id=18801]
    0x535851a8 JavaThread "StandardManager[webdav]" daemon [_thread_blocked, id=18800]
    0x53595330 JavaThread "StandardManager[]" daemon [_thread_blocked, id=18799]
    0x53599cf0 JavaThread "StandardManager[manager]" daemon [_thread_blocked, id=18798]
    0x5357a450 JavaThread "StandardManager[compliance]" daemon [_thread_blocked, id=18797]
    0x53575340 JavaThread "WebappLoader[compliance]" daemon [_thread_blocked, id=18796]
    0x523f8f80 JavaThread "StandardManager[examples]" daemon [_thread_blocked, id=18795]
    0x523fcef8 JavaThread "WebappLoader[examples]" daemon [_thread_blocked, id=18794]
    0x51405480 JavaThread "CompilerThread0" daemon [_thread_blocked, id=18791]
    0x51404730 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=18790]
    0x514005f8 JavaThread "Finalizer" daemon [_thread_blocked, id=18788]
    0x080a5668 JavaThread "Reference Handler" daemon [_thread_blocked, id=18787]
    0x08057c98 JavaThread "main" [_thread_in_native, id=18784]
    Other Threads:
    0x080a24f0 VMThread [id=18786]
    0x51406f00 WatcherThread [id=18792]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 9088K, used 412K [0x45170000, 0x45b40000, 0x45b40000)
    eden space 8128K, 1% used [0x45170000, 0x45192400, 0x45960000)
    from space 960K, 28% used [0x45960000, 0x459a4d10, 0x45a50000)
    to space 960K, 0% used [0x45a50000, 0x45a50000, 0x45b40000)
    tenured generation total 121024K, used 15706K [0x45b40000, 0x4d170000, 0x4d170000)
    the space 121024K, 12% used [0x45b40000, 0x46a96b38, 0x46a96c00, 0x4d170000)
    compacting perm gen total 11264K, used 11218K [0x4d170000, 0x4dc70000, 0x51170000)
    the space 11264K, 99% used [0x4d170000, 0x4dc64880, 0x4dc64a00, 0x4dc70000)
    Dynamic libraries:
    08048000-08053000 r-xp 00000000 68:06 69898 /usr/java/j2sdk1.4.2_13/bin/java
    08053000-08055000 rw-p 0000a000 68:06 69898 /usr/java/j2sdk1.4.2_13/bin/java
    08055000-08446000 rwxp 00000000 00:00 0
    40000000-40013000 r-xp 00000000 68:05 11538 /lib/ld-2.2.5.so
    40013000-40014000 rw-p 00013000 68:05 11538 /lib/ld-2.2.5.so
    40014000-4001a000 r-xp 00000000 68:06 62540 /usr/java/j2sdk1.4.2_13/jre/lib/i386/native_threads/libhpi.so
    4001a000-4001c000 rw-p 00005000 68:06 62540 /usr/java/j2sdk1.4.2_13/jre/lib/i386/native_threads/libhpi.so
    4001c000-40020000 rw-s 00000000 68:07 110 /tmp/hsperfdata_tc_cmpdv/18784
    40021000-4002e000 r-xp 00000000 68:05 11466 /lib/i686/libpthread.so.0
    4002e000-40035000 rw-p 0000d000 68:05 11466 /lib/i686/libpthread.so.0
    40035000-40036000 rw-p 00000000 00:00 0
    40036000-40038000 r-xp 00000000 68:05 11500 /lib/libdl.so.2
    40038000-40039000 rw-p 00001000 68:05 11500 /lib/libdl.so.2
    40039000-4014d000 r-xp 00000000 68:05 11529 /lib/i686/libc.so.6
    4014d000-40153000 rw-p 00113000 68:05 11529 /lib/i686/libc.so.6
    40153000-40157000 rw-p 00000000 00:00 0
    40157000-40570000 r-xp 00000000 68:06 69111 /usr/java/j2sdk1.4.2_13/jre/lib/i386/client/libjvm.so
    40570000-4058c000 rw-p 00418000 68:06 69111 /usr/java/j2sdk1.4.2_13/jre/lib/i386/client/libjvm.so
    4058c000-405a1000 rw-p 00000000 00:00 0
    405a1000-405b3000 r-xp 00000000 68:05 11541 /lib/libnsl.so.1
    405b3000-405b4000 rw-p 00011000 68:05 11541 /lib/libnsl.so.1
    405b4000-405b6000 rw-p 00000000 00:00 0
    405b6000-405d8000 r-xp 00000000 68:05 11457 /lib/i686/libm.so.6
    405d8000-405d9000 rw-p 00021000 68:05 11457 /lib/i686/libm.so.6
    405d9000-405e6000 r-xp 00000000 68:06 69119 /usr/java/j2sdk1.4.2_13/jre/lib/i386/libverify.so
    405e6000-405e8000 rw-p 0000c000 68:06 69119 /usr/java/j2sdk1.4.2_13/jre/lib/i386/libverify.so
    405e8000-40604000 r-xp 00000000 68:06 69121 /usr/java/j2sdk1.4.2_13/jre/lib/i386/libjava.so
    40604000-40606000 rw-p 0001b000 68:06 69121 /usr/java/j2sdk1.4.2_13/jre/lib/i386/libjava.so
    40606000-40614000 r-xp 00000000 68:06 69123 /usr/java/j2sdk1.4.2_13/jre/lib/i386/libzip.so
    40614000-40616000 rw-p 0000d000 68:06 69123 /usr/java/j2sdk1.4.2_13/jre/lib/i386/libzip.so
    40616000-40619000 r--s 00000000 3a:00 460370 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/bin/tomcat-jni.jar
    40619000-4061c000 r--s 00000000 3a:00 460384 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/bin/commons-daemon.jar
    4061c000-40623000 r--s 00000000 3a:00 460393 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/bin/bootstrap.jar
    40623000-40633000 r--s 00000000 3a:00 369241 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/endorsed/dom.jar
    40633000-4064b000 r--s 00000000 3a:00 474022 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/endorsed/sax.jar
    4064b000-408fa000 r--s 00000000 3a:00 587835 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/endorsed/xercesImpl.jar
    408fa000-40fbf000 r--s 00000000 3a:00 479234 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/endorsed/xalan.jar
    40fbf000-40ff5000 r--s 00000000 3a:00 386319 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/endorsed/jaxp-api.jar
    40ff5000-429a3000 r--s 00000000 68:06 69889 /usr/java/j2sdk1.4.2_13/jre/lib/rt.jar
    429a3000-429ed000 rw-p 00000000 00:00 0
    429ed000-42a03000 r--s 00000000 68:06 69153 /usr/java/j2sdk1.4.2_13/jre/lib/sunrsasign.jar
    42a03000-42ae0000 r--s 00000000 68:06 69763 /usr/java/j2sdk1.4.2_13/jre/lib/jsse.jar
    42ae0000-42af2000 r--s 00000000 68:06 69154 /usr/java/j2sdk1.4.2_13/jre/lib/jce.jar
    42af2000-430c7000 r--s 00000000 68:06 69814 /usr/java/j2sdk1.4.2_13/jre/lib/charsets.jar
    430c7000-45147000 rwxp 00000000 00:00 0
    45147000-4516f000 rw-p 00000000 00:00 0
    45170000-5122e000 rwxp 00000000 00:00 0
    5122e000-5122f000 ---p 0c0be000 00:00 0
    5122f000-512af000 rwxp 0c0bf000 00:00 0
    512af000-512b0000 ---p 0c13f000 00:00 0
    512b0000-512be000 rwxp 0c140000 00:00 0
    512be000-512c1000 ---p 0c14e000 00:00 0
    512c1000-51330000 rwxp 0c151000 00:00 0
    51330000-51331000 ---p 0c1c0000 00:00 0
    51331000-5133f000 rwxp 0c1c1000 00:00 0
    5133f000-51342000 ---p 0c1cf000 00:00 0
    51342000-513b1000 rwxp 0c1d2000 00:00 0
    513b1000-513dc000 r--p 00000000 68:06 87085 /usr/lib/locale/en_GB/LC_CTYPE
    513dc000-513df000 r--s 00000000 68:06 69150 /usr/java/j2sdk1.4.2_13/jre/lib/ext/dnsns.jar
    513df000-513fb000 r--s 00000000 68:06 69149 /usr/java/j2sdk1.4.2_13/jre/lib/ext/sunjce_provider.jar
    513fb000-513fe000 r--s 00000000 3a:00 515615 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/jta.jar
    513fe000-51400000 r--s 00000000 3a:00 515649 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/servlets-common.jar
    51400000-514ff000 rw-p 00000000 00:00 0
    514ff000-51501000 ---p 000eb000 00:00 0
    51501000-51581000 rwxp 00000000 00:00 0
    51581000-51582000 ---p 00080000 00:00 0
    51582000-51590000 rwxp 00081000 00:00 0
    51590000-51593000 ---p 0008f000 00:00 0
    51593000-51602000 rwxp 00092000 00:00 0
    51602000-51603000 ---p 00101000 00:00 0
    51603000-51611000 rwxp 00102000 00:00 0
    51611000-51614000 ---p 00110000 00:00 0
    51614000-51683000 rwxp 00113000 00:00 0
    51683000-51684000 ---p 00182000 00:00 0
    51684000-51704000 rwxp 00183000 00:00 0
    51704000-51711000 r--s 00000000 68:06 69152 /usr/java/j2sdk1.4.2_13/jre/lib/ext/ldapsec.jar
    51711000-517cd000 r--s 00000000 68:06 69815 /usr/java/j2sdk1.4.2_13/jre/lib/ext/localedata.jar
    517cd000-51ca9000 r--s 00000000 68:06 10327 /usr/java/j2sdk1.4.2_13/lib/tools.jar
    51ca9000-51cb5000 r--s 00000000 3a:00 515616 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/activation.jar
    51cb5000-51ccc000 r--s 00000000 3a:00 515617 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/commons-collections.jar
    51ccc000-51ce0000 r--s 00000000 3a:00 515621 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/servlet.jar
    51ce0000-51cf5000 r--s 00000000 3a:00 515622 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/jdbc2_0-stdext.jar
    51cf5000-51d22000 r--s 00000000 3a:00 515623 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/jasper-compiler.jar
    51d22000-51d41000 r--s 00000000 3a:00 515624 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/Opta2000.jar
    51d41000-51d86000 r--s 00000000 3a:00 515625 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/mail.jar
    51d86000-51d9f000 r--s 00000000 3a:00 515626 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/jndi.jar
    51d9f000-51da4000 r--s 00000000 3a:00 515627 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/naming-factory.jar
    51da4000-51ec7000 r--s 00000000 3a:00 515619 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/ojdbc14.jar
    51ec7000-51ed8000 r--s 00000000 3a:00 515628 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/jasper-runtime.jar
    51ed8000-51ee2000 r--s 00000000 3a:00 515629 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/naming-resources.jar
    51ee2000-51f92000 r--s 00000000 3a:00 515630 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/ant.jar
    51f92000-51f97000 r--s 00000000 3a:00 515631 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/commons-logging-api.jar
    51f97000-51f9e000 r--s 00000000 3a:00 515632 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/naming-common.jar
    51f9e000-51fb7000 r--s 00000000 3a:00 515370 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/commons-dbcp-1.1.jar
    51fb7000-51fc1000 r--s 00000000 3a:00 515372 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/common/lib/commons-pool-1.1.jar
    51fc1000-51fc5000 r--s 00000000 3a:00 515641 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/catalina-ant.jar
    51fc5000-51fd9000 r--s 00000000 3a:00 515642 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/tomcat-jk2.jar
    51fd9000-51fff000 r--s 00000000 3a:00 515645 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/tomcat-util.jar
    52000000-520fd000 rw-p 00000000 00:00 0
    520fd000-52100000 ---p 0015f000 00:00 0
    52100000-52107000 r--s 00000000 3a:00 515654 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/commons-logging.jar
    52107000-52116000 r--s 00000000 3a:00 515643 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/tomcat-coyote.jar
    52116000-5211f000 r--s 00000000 3a:00 515646 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/tomcat-http11.jar
    5211f000-52139000 r--s 00000000 3a:00 515647 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/jaas.jar
    52139000-52140000 r--s 00000000 3a:00 515652 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/DualRealm.jar
    52140000-52142000 r--s 00000000 3a:00 515653 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/servlets-invoker.jar
    52142000-52187000 r--s 00000000 3a:00 515655 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/mx4j-jmx.jar
    52187000-5219e000 r--s 00000000 3a:00 515656 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/commons-digester.jar
    5219e000-52257000 r--s 00000000 3a:00 516898 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/catalina.jar
    52257000-5225c000 r--s 00000000 3a:00 515657 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/servlets-default.jar
    5225c000-52260000 r--s 00000000 3a:00 515658 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/servlets-manager.jar
    52260000-52268000 r--s 00000000 3a:00 515659 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/jakarta-regexp-1.2.jar
    52268000-5226e000 r--s 00000000 3a:00 515660 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/tomcat-warp.jar
    5226e000-52276000 r--s 00000000 3a:00 515661 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/commons-modeler.jar
    52276000-52286000 r--s 00000000 3a:00 515662 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/tomcat-jk.jar
    52286000-5229a000 r--s 00000000 3a:00 515663 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/commons-beanutils.jar
    5229a000-522a0000 r--s 00000000 3a:00 515664 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/server/lib/servlets-webdav.jar
    522a0000-522ae000 r-xp 00000000 68:06 69127 /usr/java/j2sdk1.4.2_13/jre/lib/i386/libnet.so
    522ae000-522af000 rw-p 0000d000 68:06 69127 /usr/java/j2sdk1.4.2_13/jre/lib/i386/libnet.so
    522af000-522b7000 r--s 00000000 3a:00 1757684 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/CompCommon.jar
    522b7000-522bc000 r--s 00000000 3a:00 1757686 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/CompDBUtil.jar
    522bc000-522c5000 r-xp 00000000 68:05 11512 /lib/libnss_files.so.2
    522c5000-522c6000 rw-p 00008000 68:05 11512 /lib/libnss_files.so.2
    522c6000-522c9000 r-xp 00000000 68:05 11511 /lib/libnss_dns.so.2
    522c9000-522ca000 rw-p 00003000 68:05 11511 /lib/libnss_dns.so.2
    522ca000-522d8000 r-xp 00000000 68:05 11515 /lib/libresolv.so.2
    522d8000-522d9000 rw-p 0000e000 68:05 11515 /lib/libresolv.so.2
    522d9000-522db000 rw-p 00000000 00:00 0
    522db000-522fa000 r--s 00000000 3a:00 1757687 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/CompPrivateXMLMessage.jar
    522fa000-52300000 r--s 00000000 3a:00 1757697 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/commons-fileupload.jar
    52300000-523ff000 rw-p 00000000 00:00 0
    523ff000-52400000 ---p 00000000 00:00 0
    52400000-52415000 r-xp 00000000 3a:00 80003 /local/oracle/apps/oracle/product/9ir2/lib/libocijdbc9.so
    52415000-52417000 rw-p 00014000 3a:00 80003 /local/oracle/apps/oracle/product/9ir2/lib/libocijdbc9.so
    52417000-52419000 r-xp 00000000 3a:00 79911 /local/oracle/apps/oracle/product/9ir2/lib/libwtc9.so
    52419000-5241a000 rw-p 00001000 3a:00 79911 /local/oracle/apps/oracle/product/9ir2/lib/libwtc9.so
    5241a000-52465000 rw-p 00000000 00:00 0
    52481000-5249d000 r--s 00000000 3a:00 1757688 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/CompSharedXMLMessage.jar
    5249d000-524a4000 r--s 00000000 3a:00 1757689 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/DualRealm.jar
    524a4000-524af000 r--s 00000000 3a:00 1757690 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/activation.jar
    524af000-524de000 r--s 00000000 3a:00 1757693 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/commons-beanutils.jar
    524de000-524f9000 r--s 00000000 3a:00 1757695 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/commons-dbcp-1.2.1.jar
    524f9000-524fb000 r--s 00000000 3a:00 1757704 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jax-qname.jar
    524fb000-524fd000 r--s 00000000 3a:00 1757711 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jdbc2_0-stdext.jar
    524fd000-524ff000 r--s 00000000 3a:00 1757717 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/namespace.jar
    52500000-52600000 rw-p 00000000 00:00 0
    52600000-52601000 ---p 000da000 00:00 0
    52601000-5260f000 rwxp 00000000 00:00 0
    5260f000-52612000 ---p 0000e000 00:00 0
    52612000-52681000 rwxp 00011000 00:00 0
    52681000-52682000 ---p 00080000 00:00 0
    52682000-52690000 rwxp 00081000 00:00 0
    52690000-52693000 ---p 0008f000 00:00 0
    52693000-52702000 rwxp 00092000 00:00 0
    52702000-5280a000 r--s 00000000 3a:00 1757685 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/CompDAO.jar
    5280a000-52862000 r--s 00000000 3a:00 1757691 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/antlr.jar
    52862000-5291b000 r--s 00000000 3a:00 1757692 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/catalina.jar
    5291b000-52946000 r--s 00000000 3a:00 1757694 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/commons-collections.jar
    52946000-52970000 r--s 00000000 3a:00 1757696 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/commons-digester.jar
    52970000-5297a000 r--s 00000000 3a:00 1757698 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/commons-logging.jar
    5297a000-5298f000 r--s 00000000 3a:00 1757699 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/commons-validator.jar
    5298f000-5299f000 r--s 00000000 3a:00 1757700 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/dom.jar
    5299f000-52a5b000 r--s 00000000 3a:00 1757701 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/iText.jar
    52a5b000-52a89000 r--s 00000000 3a:00 1757702 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jaas.jar
    52a89000-52a99000 r--s 00000000 3a:00 1757703 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jakarta-oro.jar
    52a99000-52aaf000 r--s 00000000 3a:00 1757705 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jaxb-api.jar
    52aaf000-52ade000 r--s 00000000 3a:00 1757709 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jaxen-full.jar
    52ade000-52ae4000 r--s 00000000 3a:00 1757713 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jstl.jar
    52ae4000-52ae9000 r--s 00000000 3a:00 1757714 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jta-spec1_0_1.jar
    52ae9000-52af1000 r--s 00000000 3a:00 1757719 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/relaxngDatatype.jar
    52af1000-52af7000 r--s 00000000 3a:00 1757721 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/saxpath.jar
    52af7000-52afb000 r--s 00000000 3a:00 1757724 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/td_ie_util.jar
    52b00000-52c00000 rw-p 00000000 00:00 0
    52c00000-52c54000 r--s 00000000 3a:00 1757706 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jaxb-impl.jar
    52c54000-52e0d000 r--s 00000000 3a:00 1757707 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jaxb-libs.jar
    52e0d000-53167000 r--s 00000000 3a:00 1757708 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jaxb-xjc.jar
    53167000-5319d000 r--s 00000000 3a:00 1757710 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jaxp-api.jar
    5319d000-53216000 r--s 00000000 3a:00 1757712 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/jfreechart-0.9.11.jar
    53216000-53273000 r--s 00000000 3a:00 1757715 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/log4j-1.2.4.jar
    53273000-532c3000 r--s 00000000 3a:00 1757716 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/mail.jar
    532c3000-53387000 r--s 00000000 3a:00 1757718 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/poi-2.5.1-final-20040804.jar
    53387000-5339f000 r--s 00000000 3a:00 1757720 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/sax.jar
    5339f000-5341c000 r--s 00000000 3a:00 1757722 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/standard.jar
    5341c000-534a3000 r--s 00000000 3a:00 1757723 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/struts.jar
    534a3000-534c2000 r--s 00000000 3a:00 1757727 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/xml-apis.jar
    53500000-535fc000 rw-p 00000000 00:00 0
    535fc000-53600000 ---p 000be000 00:00 0
    53600000-53cc5000 r--s 00000000 3a:00 1757725 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/xalan.jar
    53cc5000-53f74000 r--s 00000000 3a:00 1757726 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/xercesImpl.jar
    53f74000-54031000 r--s 00000000 3a:00 1757728 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/xmlsec.jar
    54031000-540a6000 r--s 00000000 3a:00 1757729 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/xsdlib.jar
    540a6000-540a7000 ---p 00000000 00:00 0
    540a7000-540b5000 rwxp 00001000 00:00 0
    540b5000-540b8000 ---p 0000f000 00:00 0
    540b8000-54127000 rwxp 00012000 00:00 0
    54127000-54128000 ---p 00081000 00:00 0
    54128000-54136000 rwxp 00082000 00:00 0
    54136000-54139000 ---p 00090000 00:00 0
    54139000-541a8000 rwxp 00093000 00:00 0
    541a8000-5422f000 r--s 00000000 3a:00 1757723 /local/home/tc_cmpdv/pkg/jakarta-tomcat-4.1.18/webapps/compliance/WEB-INF/lib/struts.jar
    5422f000-54230000 ---p 00000000 00:00 0
    54230000-5423e000 rwxp 00001000 00:00 0
    5423e000-54241000 ---p 0000f000 00:00 0
    54241000-542b0000 rwxp 00012000 00:00 0
    542b0000-542b1000 ---p 00081000 00:00 0
    542b1000-542bf000 rwxp 00082000 00:00 0
    542bf000-542c2000 ---p 00090000 00:00 0
    542c2000-54331000 rwxp 00093000 00:00 0
    54331000-54332000 ---p 00102000 00:00 0
    54332000-54340000 rwxp 00103000 00:00 0
    54340000-54343000 ---p 00111000 00:00 0
    54343000-543b2000 rwxp 00114000 00:00 0
    543b2000-543b3000 ---p 00183000 00:00 0
    543b3000-543c1000 rwxp 00184000 00:00 0
    543c1000-543c4000 ---p 00192000 00:00 0
    543c4000-54433000 rwxp 00195000 00:00 0
    54433000-54434000 ---p 00204000 00:00 0
    54434000-54442000 rwxp 00205000 00:00 0
    54442000-54445000 ---p 00213000 00:00 0
    54445000-544b4000 rwxp 00216000 00:00 0
    544b4000-544b5000 ---p 00285000 00:00 0
    544b5000-544c3000 rwxp 00286000 00:00 0
    544c3000-544c6000 ---p 00294000 00:00 0
    544c6000-54535000 rwxp 00297000 00:00 0
    54535000-54536000 ---p 00306000 00:00 0
    54536000-54544000 rwxp 00307000 00:00 0
    54544000-54547000 ---p 00315000 00:00 0
    54547000-545b6000 rwxp 00318000 00:00 0
    545b6000-545b7000 ---p 00387000 00:00 0
    545b7000-545c5000 rwxp 00388000 00:00 0
    545c5000-545c8000 ---p 00396000 00:00 0
    545c8000-54637000 rwxp 00399000 00:00 0
    54637000-54638000 ---p 00408000 00:00 0
    54638000-54646000 rwxp 00409000 00:00 0
    54646000-54649000 ---p 00417000 00:00 0
    54649000-546b8000 rwxp 0041a000 00:00 0
    546b8000-546b9000 ---p 00489000 00:00 0
    546b9000-546c7000 rwxp 0048a000 00:00 0
    546c7000-546ca000 ---p 00498000 00:00 0
    546ca000-54739000 rwxp 0049b000 00:00 0
    54739000-5473a000 ---p 0050a000 00:00 0
    5473a000-54748000 rwxp 0050b000 00:00 0
    54748000-5474b000 ---p 00519000 00:00 0
    5474b000-547ba000 rwxp 0051c000 00:00 0
    547ba000-547bb000 ---p 0058b000 00:00 0
    547bb000-547c9000 rwxp 0058c000 00:00 0
    547c9000-547cc000 ---p 0059a000 00:00 0
    547cc000-5483b000 rwxp 0059d000 00:00 0
    5483b000-5483c000 ---p 0060c000 00:00 0
    5483c000-5484a000 rwxp 0060d000 00:00 0
    5484a000-5484d000 ---p 0061b000 00:00 0
    5484d000-548bc000 rwxp 0061e000 00:00 0
    548bc000-548fd000 rw-p 00000000 00:00 0
    548fd000-548fe000 ---p 00000000 00:00 0
    548fe000-5490c000 rwxp 00001000 00:00 0
    5490c000-5490f000 ---p 0000f000 00:00 0
    5490f000-5497e000 rwxp 00012000 00:00 0
    54a00000-54a49000 rw-p 00000000 00:00 0
    54a49000-54b00000 ---p 000cb000 00:00 0
    54b9b000-54b9c000 ---p 00000000 00:00 0
    54b9c0

    Hello,
    Hi,
    My application server(apache-tomcat-5.5.27) is running on linux box with Jdk1.6_13,64 bit server, It's crashing frequently like every 12- 15 hrs once. I am using OCI dirver to connect to the oracle database, here with I have enclosed the dump file generated.
    Any one faced such issues or have workaround or help on this issue to resolve is highly appreciated...
    Please help me as soon as possible//
    # An unexpected error has been detected by Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x0000002c35f26e7e, pid=11354, tid=1074588000
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.3-b02 mixed mode linux-amd64)
    # Problematic frame:
    # C [libclntsh.so.10.1+0x552e7e] gslcrqwWrite+0x40
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x0000002c343ff000): JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_in_native, id=11383, stack(0x00000000400ae000,0x00000000400cf000)]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x000000000000019c
    Registers:
    RAX=0x0000002c34310f80, RBX=0x0000000000000000, RCX=0x0000002c33744d80, RDX=0x0000000000000000
    RSP=0x00000000400c4d60, RBP=0x00000000400c4da0, RSI=0x0000002c3355e5f0, RDI=0x0000000000000000
    R8 =0x0000000000000000, R9 =0x0000000000000000, R10=0x0000002c36cf00a0, R11=0x0000002c35f41800
    R12=0x0000000000000000, R13=0x0000000000000000, R14=0x0000002c3355e5f0, R15=0x0000000000000000
    RIP=0x0000002c35f26e7e, EFL=0x0000000000010202, CSGSFS=0x0000000000000000, ERR=0x0000000000000004
    TRAPNO=0x000000000000000e
    time: Mon Apr 20 05:16:14 2009
    elapsed time: 42930 seconds

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

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

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

  • JVM Crash: 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 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

  • JVM Crash: with jre 1.6.0_18 but not with 1.5.0_14

    Hello everyone,
    I got the problem that my JVM crashes when I am using the jre 1.6.0_18 but the same code runs with an jre 1.5.0_14. The code contains some JNI parts and
    is compiled with a JDK 1.5.0_14. The crash can not be reporduced within a debugger. The crash either occurs in the jvm.dll - as in the error log below - or when acessing the ntdll.dll.
    Any help is appreciated!
    Thanks in Advance!
    Here is the JVM crash report:
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d979ba7, pid=10932, tid=12276
    # JRE version: 6.0_18-b07
    # Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode, sharing windows-x86 )
    # Problematic frame:
    # V [jvm.dll+0x179ba7]
    # 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 (0x02afa800): VMThread [stack: 0x02be0000,0x02c30000] [id=12276]
    siginfo: ExceptionCode=0xc0000005, reading address 0x706d7953
    Registers:
    EAX=0x706d7953, EBX=0x00000000, ECX=0x37387a88, EDX=0x00000000
    ESP=0x02c2f79c, EBP=0x02c2f7ac, ESI=0x00000080, EDI=0x02bc7460
    EIP=0x6d979ba7, EFLAGS=0x00010246
    Top of Stack: (sp=0x02c2f79c)
    0x02c2f79c: 02c2f890 373851d0 02c2fa8c 02bc7464
    0x02c2f7ac: 02c2f7c4 6d8d8c66 02afaab4 00000000
    0x02c2f7bc: 02c2f7f8 37387a88 02c2f7dc 6d96b704
    0x02c2f7cc: 02afaab4 00000000 02c2f7f8 02afaab0
    0x02c2f7dc: 02c2f840 6d8b3449 00000000 02c2f7f8
    0x02c2f7ec: 05b30400 02c2f890 00000001 00000000
    0x02c2f7fc: 02c20000 0000ffff 00000000 00000000
    0x02c2f80c: 00000000 6da187a4 02c2f890 02c2fa8c
    Instructions: (pc=0x6d979ba7)
    0x6d979b97: 80 79 05 48 83 c8 e0 40 8d 1c 40 8b 07 8d 04 d8
    0x6d979ba7: 39 08 75 09 0f b7 58 04 3b 5d 0c 74 34 42 83 fa
    Stack: [0x02be0000,0x02c30000], sp=0x02c2f79c, free space=13d02c2f310k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x179ba7]
    V [jvm.dll+0xd8c66]
    V [jvm.dll+0x16b704]
    V [jvm.dll+0xb3449]
    V [jvm.dll+0xb3562]
    V [jvm.dll+0x1db5f5]
    V [jvm.dll+0x1db9ca]
    V [jvm.dll+0x1a1af4]
    V [jvm.dll+0xc834f]
    V [jvm.dll+0xa443c]
    V [jvm.dll+0xc9398]
    V [jvm.dll+0x7e7cb]
    V [jvm.dll+0x1f442b]
    V [jvm.dll+0x1f6ed3]
    V [jvm.dll+0x1f615e]
    V [jvm.dll+0x1f64ac]
    V [jvm.dll+0x1f68d2]
    V [jvm.dll+0x17f9cc]
    C [msvcr71.dll+0x9565]
    C [kernel32.dll+0xb50b]
    VM_Operation (0x0a09e2dc): GenCollectForAllocation, mode: safepoint, requested by thread 0x05c54800
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x05b30400 JavaThread "persistance manager service activator" daemon [_thread_blocked, id=6588, stack(0x0a230000,0x0a280000)]
    0x05b38400 JavaThread "task queue worker" daemon [_thread_blocked, id=9788, stack(0x0a1e0000,0x0a230000)]
    0x05c5b800 JavaThread "PSJ-Subsystem" [_thread_blocked, id=11024, stack(0x0a140000,0x0a190000)]
    0x05c5a400 JavaThread "HDM-Subsystem" [_thread_blocked, id=8296, stack(0x0a0f0000,0x0a140000)]
    0x05c61000 JavaThread "CSM-Subsystem" [_thread_blocked, id=5272, stack(0x0a0a0000,0x0a0f0000)]
    0x05c54800 JavaThread "XPS-Subsystem" [_thread_blocked, id=10064, stack(0x0a050000,0x0a0a0000)]
    0x05c59400 JavaThread "GUI-Subsystem" [_thread_blocked, id=7596, stack(0x0a000000,0x0a050000)]
    0x05c5f800 JavaThread "TimerServices" [_thread_blocked, id=5760, stack(0x09fb0000,0x0a000000)]
    0x05af9800 JavaThread "Thread-2" [_thread_in_native, id=11624, stack(0x03d30000,0x03d80000)]
    0x02b0b000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=8092, stack(0x02dc0000,0x02e10000)]
    0x02b07c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2696, stack(0x02d70000,0x02dc0000)]
    0x02b06400 JavaThread "Attach Listener" daemon [_thread_blocked, id=1444, stack(0x02d20000,0x02d70000)]
    0x02b05000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10896, stack(0x02cd0000,0x02d20000)]
    0x02afd000 JavaThread "Finalizer" daemon [_thread_blocked, id=8084, stack(0x02c80000,0x02cd0000)]
    0x02afbc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=10636, stack(0x02c30000,0x02c80000)]
    0x002a7000 JavaThread "MasterControl" [_thread_blocked, id=11412, stack(0x008c0000,0x00910000)]
    Other Threads:
    =>0x02afa800 VMThread [stack: 0x02be0000,0x02c30000] [id=12276]
    0x02b0d000 WatcherThread [stack: 0x02e10000,0x02e60000] [id=11048]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x002a61c0] Threads_lock - owner thread: 0x02afa800
    [0x002a65d0] Heap_lock - owner thread: 0x05c54800
    Heap
    def new generation total 4928K, used 4783K [0x22970000, 0x22ec0000, 0x27ec0000)
    eden space 4416K, 100% used [0x22970000, 0x22dc0000, 0x22dc0000)
    from space 512K, 71% used [0x22dc0000, 0x22e1bf30, 0x22e40000)
    to space 512K, 0% used [0x22e40000, 0x22e40000, 0x22ec0000)
    tenured generation total 10944K, used 697K [0x27ec0000, 0x28970000, 0x32970000)
    the space 10944K, 6% used [0x27ec0000, 0x27f6e4e0, 0x27f6e600, 0x28970000)
    compacting perm gen total 12288K, used 5037K [0x32970000, 0x33570000, 0x36970000)
    the space 12288K, 40% used [0x32970000, 0x32e5b4c8, 0x32e5b600, 0x33570000)
    ro space 10240K, 51% used [0x36970000, 0x36e97b58, 0x36e97c00, 0x37370000)
    rw space 12288K, 54% used [0x37370000, 0x37a04ce0, 0x37a04e00, 0x37f70000)
    Dynamic libraries:
    0x00400000 - 0x00424000      c:\windows\system32\java.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jre6\bin\msvcr71.dll
    0x6d800000 - 0x6da97000      C:\Program Files\Java\jre6\bin\client\jvm.dll
    0x77d40000 - 0x77dd0000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000      C:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000      c:\windows\system32\WINMM.dll
    0x6d7b0000 - 0x6d7bc000      C:\Program Files\Java\jre6\bin\verify.dll
    0x6d330000 - 0x6d34f000      C:\Program Files\Java\jre6\bin\java.dll
    0x6d290000 - 0x6d298000      C:\Program Files\Java\jre6\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      c:\windows\system32\PSAPI.DLL
    0x6d7f0000 - 0x6d7ff000      C:\Program Files\Java\jre6\bin\zip.dll
    0x6d610000 - 0x6d623000      C:\Program Files\Java\jre6\bin\net.dll
    0x71ab0000 - 0x71ac7000      c:\windows\system32\WS2_32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    0x71aa0000 - 0x71aa8000      c:\windows\system32\WS2HELP.dll
    0x6d630000 - 0x6d639000      C:\Program Files\Java\jre6\bin\nio.dll
    0x02eb0000 - 0x02f59000      C:\mod_s14\bin\stlport.5.2.dll
    0x7c3a0000 - 0x7c41b000      c:\windows\system32\MSVCP71.dll
    [snip]
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 2094652k(589592k free), swap 4032296k(2558960k free
    vm_info: Java HotSpot(TM) Client VM (16.0-b13) for windows-x86 JRE (1.6.0_18-b07), built on Dec 17 2009 13:35:55 by "java_re" with MS VC++ 7.1 (VS2003)

    I have the Java console open and after 10 seconds it closes and the applet becomes unresponsive. Usually when an applet crashes, some error messages show up in the console before it closes. That does not appear to happen in this case.
    If I load a webpage with an applet (http://java.sun.com/applets/jdk/1.4/demo/applets/Fractal/example1.html) and then move to a non-applet webpage, and have the Java console up, it stays up (alive) for about a minute before it closes. In the case of my applet it closes much faster.
    When I refresh, the second instance of the applet might be starting in the same process as the first process which is in the middle of closing (I am new to Java and JNI, so I might be using the wrong terminology). But with JRE 1.6.0.25 I was not seeing the crash on refresh. It manifested itself with the update to JRE 1.6.0.31
    I did realize the codebase was wrong. This is what I have now:
    <!--[if IE 9]>
    <object
    id="myApplet"
    name="myApplet"
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase="http://java.sun.com/update/1.6.0/jinstall-6u31-windows-i586.cab"
    type="application/x-java-applet;version=1.6"
    width="800"
    height="600">
    <![endif]-->
    <!--[if IE 8]>
    <object
    id="myApplet"
    name="myApplet"
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase="http://java.sun.com/update/1.6.0/jinstall-6u31-windows-i586.cab"
    type="application/x-java-applet;version=1.6"
    width="800"
    height="600">
    <![endif]-->
    <!--[if IE 7]>
    <object
    id="myApplet"
    name="myApplet"
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase="http://java.sun.com/update/1.6.0/jinstall-6u31-windows-i586.cab"
         type="application/x-java-applet;version=1.6"
    width="100%"
    height="90%">
    <![endif]-->
    <![if !IE]>
    <object
    id="myApplet"
    name="myApplet"
    type="application/x-java-applet;version=1.6"
    width="800"
    height="600">
    <![endif]>

Maybe you are looking for