This discussion is archived
0 Replies Latest reply: Feb 1, 2009 9:47 AM by 843829 RSS

JVM Crash : EXCEPTION_ACCESS_VIOLATION

843829 Newbie
Currently Being Moderated
We have a java process that talks to a native DLL via JNI. This native DLL creates a COM Objects and returns control back to the Java process by setting some variables in the java process. This java process works fine in Windows 2000 but in Windows 2003 the JVM Crashes consistently and gives the following dump. Would really appreciate any suggestions on how to root cause this issue

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x76aa28db, pid=1740, tid=632
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode)
# Problematic frame:
# C [WINMM.dll+0x28db]
#

--------------- T H R E A D ---------------

Current thread (0x00037da8): JavaThread "main" [_thread_blocked, id=632]

siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x00000008 0x76aa28db

Registers:
EAX=0x00000001, EBX=0x00000000, ECX=0x0000000a, EDX=0x00000000
ESP=0x0007f8c0, EBP=0x0007f8dc, ESI=0x29ba1a40, EDI=0x00035e80
EIP=0x76aa28db, EFLAGS=0x00010202




Stack: [0x00040000,0x00080000), sp=0x0007f8c0, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [WINMM.dll+0x28db]
V [jvm.dll+0xa1a57]
j java.lang.Thread.sleep(J)V+0
j yodlee.util.STAHelper.waitForInitialization()V+8
j yodlee.util.STAHelper.createComObject(Ljava/lang/String;ZLyodlee/util/STAListener;)Lyodlee/util/STAHelper;+70
j yodlee.gather.YBrowser.<init>(I)V+415
j yodlee.gather.RobotController.<init>(I)V+203
j yodlee.gather.IEGather2.<init>(I)V+649
j yodlee.gather.IEGather2.main([Ljava/lang/String;)V+1013
v ~StubRoutines::call_stub
V [jvm.dll+0x86e84]
V [jvm.dll+0xddead]
V [jvm.dll+0x86d55]
V [jvm.dll+0x8dda7]
C [java.exe+0x14c5]
C [java.exe+0x69cd]
C [kernel32.dll+0x2f23b]


[error occurred during error reporting, step 120, id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.lang.Thread.sleep(J)V+0
j yodlee.util.STAHelper.waitForInitialization()V+8
j yodlee.util.STAHelper.createComObject(Ljava/lang/String;ZLyodlee/util/STAListener;)Lyodlee/util/STAHelper;+70
j yodlee.gather.YBrowser.<init>(I)V+415
j yodlee.gather.RobotController.<init>(I)V+203
j yodlee.gather.IEGather2.<init>(I)V+649
j yodlee.gather.IEGather2.main([Ljava/lang/String;)V+1013
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x296df778 JavaThread "yodlee.util.STAHelper Thread 1" [_thread_in_native, id=2296]
0x00a49748 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=688]
0x295b8420 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2572]
0x00a48ad0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1880]
0x00a46630 JavaThread "Finalizer" daemon [_thread_blocked, id=4032]
0x00a459d0 JavaThread "Reference Handler" daemon [_thread_blocked, id=1588]
=>0x00037da8 JavaThread "main" [_thread_blocked, id=632]

Other Threads:
0x00a42f90 VMThread [id=3764]
0x00a4c3b0 WatcherThread [id=3116]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
PSYoungGen total 6656K, used 3250K [0x242f0000, 0x25090000, 0x26a50000)
eden space 6144K, 44% used [0x242f0000,0x2459f510,0x248f0000)
from space 512K, 97% used [0x248f0000,0x2496d2f8,0x24970000)
to space 832K, 0% used [0x24fc0000,0x24fc0000,0x25090000)
ParOldGen total 30272K, used 509K [0x06a50000, 0x087e0000, 0x242f0000)
object space 30272K, 1% used [0x06a50000,0x06acf7b0,0x087e0000)
PSPermGen total 8192K, used 4899K [0x02a50000, 0x03250000, 0x06a50000)
object space 8192K, 59% used [0x02a50000,0x02f18d68,0x03250000)

Dynamic libraries:

[error occurred during error reporting, step 200, id 0xc0000005]

VM Arguments:
jvm_args: -XX:+UseParallelOldGC
java_command: yodlee.gather.IEGather2 -c dummy -u 4 -d ./processes_cookies/4 -l ./processes_logs/4 iegather2.cfg
Launcher Type: SUN_STANDARD




--------------- S Y S T E M ---------------

OS: Windows Server 2003 family Build 3790 Service Pack 2

CPU:total 4 (cores per cpu 4, threads per core 1) family 31 model 2 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnowext, 3dnow

Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_09-b03) for windows-x86, built on Oct 12 2006 01:20:10 by "java_re" with MS VC++ 6.0