Exception_Access_Violation occurs when using JBrowser
<p>When using JBrowser, sometimes Exception_Access_Violation is thrown. Not sure what is causing the actual issue, since it is occurring randomly. My application has lot of DB transactions.</p>

<p>Following log is shown in console:</p>

<pre><code>#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x724bae87, pid=264, tid=4656
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode, sharing)
# Problematic frame:
# C  [ieframe.dll+0x5ae87]
#
# An error report file with more information is saved as hs_err_pid264.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
</code></pre>

<p>I am using JDK 1.5, Tomcat 5.0, Windows 7, MySql 5.0.</p>

<p>Any solutions or suggestions?</p>

<p>Stack Trace of hs_err_pid.log file:</p>

<pre><code>#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x724bae87, pid=264, tid=4656
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode, sharing)
# Problematic frame:
# C  [ieframe.dll+0x5ae87]
#

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

Current thread (0x03ec8d10):  JavaThread "WebBrowser.Pump" [_thread_in_native, id=4656]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x0465f974, EBX=0x0465f964, ECX=0x72586198, EDX=0x0465f93c
ESP=0x0465f900, EBP=0x0465f90c, ESI=0x00000000, EDI=0x0465f954
EIP=0x724bae87, EFLAGS=0x00010246

Top of Stack: (sp=0x0465f900)
0x0465f900:   0465f93c 0465f954 0032c048 0465f994
0x0465f910:   082cdc25 0032c048 0037ec8c 0465f974
0x0465f920:   0465f964 0465f93c 0465f954 b70ed37c
0x0465f930:   046fda10 03ec8dcc 0465fa08 00000000
0x0465f940:   00000000 00000000 00000000 00000000
0x0465f950:   00000000 00000008 0000002a 00000000
0x0465f960:   0465fa08 00000008 0465f9a8 00000000
0x0465f970:   03ec8d10 04650003 6d73aa55 00000000 

Instructions: (pc=0x724bae87)
0x724bae77:   00 0f 85 f4 81 0e 00 ff 75 1c 8b 76 2c ff 75 18
0x724bae87:   8b 06 ff 75 14 ff 75 10 ff 75 0c 56 ff 50 2c 5e 


Stack: [0x04620000,0x04660000),  sp=0x0465f900,  free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ieframe.dll+0x5ae87]
C  [JBrowser.dll+0xdc25]
C  [JBrowser.dll+0x1398]
j  com.retailJava.javaPOS.UI.TPOS.WebBrowser.access$4(Lcom/retailJava/javaPOS/UI/TPOS/WebBrowser;Ljava/lang/String;)V+2
j  com.retailJava.javaPOS.UI.TPOS.WebBrowser$Pump.run()V+57
v  ~StubRoutines::call_stub
V  [jvm.dll+0x82696]
V  [jvm.dll+0xd6fd9]
V  [jvm.dll+0x82567]
V  [jvm.dll+0x822c4]
V  [jvm.dll+0x9d216]
V  [jvm.dll+0x101489]
V  [jvm.dll+0x101457]
C  [msvcrt.dll+0x11287]
C  [msvcrt.dll+0x11328]
C  [kernel32.dll+0x4ed6c]
C  [ntdll.dll+0x6377b]
C  [ntdll.dll+0x6374e]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.retailJava.javaPOS.UI.TPOS.WebBrowser.jbNavigate(Ljava/lang/String;)V+0
j  com.retailJava.javaPOS.UI.TPOS.WebBrowser.access$4(Lcom/retailJava/javaPOS/UI/TPOS/WebBrowser;Ljava/lang/String;)V+2
j  com.retailJava.javaPOS.UI.TPOS.WebBrowser$Pump.run()V+57
v  ~StubRoutines::call_stub

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

Java Threads: ( =&gt; current thread )
=&gt;0x03ec8d10 JavaThread "WebBrowser.Pump" [_thread_in_native, id=4656]
  0x03ec8878 JavaThread "DestroyJavaVM" [_thread_blocked, id=4728]
  0x03ec8568 JavaThread "Thread-3" [_thread_in_native, id=3052]
  0x03ec8258 JavaThread "Multicaster.SocketReader" [_thread_in_native, id=4052]
  0x046e9ea8 JavaThread "TimerQueue" daemon [_thread_blocked, id=4428]
  0x03f6bf10 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5552]
  0x03fa0b48 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6080]
  0x03eda2c0 JavaThread "AWT-Shutdown" [_thread_blocked, id=3796]
  0x03edff10 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1820]
  0x01795f78 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2916]
  0x01796198 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3084]
  0x017955f8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2020]
  0x0178c648 JavaThread "Finalizer" daemon [_thread_blocked, id=4980]
  0x0178baa8 JavaThread "Reference Handler" daemon [_thread_blocked, id=6028]

Other Threads:
  0x01769b50 VMThread [id=4636]
  0x01770ef8 WatcherThread [id=5464]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 704K, used 504K [0x22a80000, 0x22b40000, 0x22f60000)
  eden space 640K,  75% used [0x22a80000, 0x22af83b8, 0x22b20000)
  from space 64K,  36% used [0x22b20000, 0x22b25d28, 0x22b30000)
  to   space 64K,   0% used [0x22b30000, 0x22b30000, 0x22b40000)
 tenured generation   total 8868K, used 6089K [0x22f60000, 0x23809000, 0x26a80000)
   the space 8868K,  68% used [0x22f60000, 0x235525f0, 0x23552600, 0x23809000)
 compacting perm gen  total 13312K, used 13167K [0x26a80000, 0x27780000, 0x2aa80000)
   the space 13312K,  98% used [0x26a80000, 0x2775bc78, 0x2775be00, 0x27780000)
    ro space 8192K,  66% used [0x2aa80000, 0x2afd9dc0, 0x2afd9e00, 0x2b280000)
    rw space 12288K,  46% used [0x2b280000, 0x2b817e98, 0x2b818000, 0x2be80000)

Dynamic libraries:
0x00400000 - 0x0040c000     E:\GenericBuilds\Store\jdk1.5\bin\javaw.exe
0x77d70000 - 0x77eac000     C:\Windows\SYSTEM32\ntdll.dll
0x77b60000 - 0x77c34000     C:\Windows\system32\kernel32.dll
0x76150000 - 0x7619a000     C:\Windows\system32\KERNELBASE.dll
0x6ef90000 - 0x6efff000     C:\Windows\SYSTEM32\SYSFER.DLL
0x77ef0000 - 0x77f90000     C:\Windows\system32\ADVAPI32.dll
0x76770000 - 0x7681c000     C:\Windows\system32\msvcrt.dll
0x77ed0000 - 0x77ee9000     C:\Windows\SYSTEM32\sechost.dll
0x76ac0000 - 0x76b61000     C:\Windows\system32\RPCRT4.dll
0x77c40000 - 0x77d09000     C:\Windows\system32\USER32.dll
0x76820000 - 0x7686e000     C:\Windows\system32\GDI32.dll
0x765b0000 - 0x765ba000     C:\Windows\system32\LPK.dll
0x76b70000 - 0x76c0d000     C:\Windows\system32\USP10.dll
0x76aa0000 - 0x76abf000     C:\Windows\system32\IMM32.DLL
0x761c0000 - 0x7628c000     C:\Windows\system32\MSCTF.dll
0x6d6b0000 - 0x6d839000     E:\GenericBuilds\Store\jdk1.5\jre\bin\client\jvm.dll
0x74760000 - 0x74792000     C:\Windows\system32\WINMM.dll
0x75df0000 - 0x75e3c000     C:\Windows\system32\apphelp.dll
0x6d2f0000 - 0x6d2f8000     E:\GenericBuilds\Store\jdk1.5\jre\bin\hpi.dll
0x77ec0000 - 0x77ec5000     C:\Windows\system32\PSAPI.DLL
0x6d680000 - 0x6d68c000     E:\GenericBuilds\Store\jdk1.5\jre\bin\verify.dll
0x6d370000 - 0x6d38d000     E:\GenericBuilds\Store\jdk1.5\jre\bin\java.dll
0x6d6a0000 - 0x6d6af000     E:\GenericBuilds\Store\jdk1.5\jre\bin\zip.dll
0x6d530000 - 0x6d543000     E:\GenericBuilds\Store\jdk1.5\jre\bin\net.dll
0x76290000 - 0x762c5000     C:\Windows\system32\WS2_32.dll
0x77f90000 - 0x77f96000     C:\Windows\system32\NSI.dll
0x75900000 - 0x7593c000     C:\Windows\system32\mswsock.dll
0x758f0000 - 0x758f6000     C:\Windows\System32\wship6.dll
0x747f0000 - 0x74800000     C:\Windows\system32\NLAapi.dll
0x73220000 - 0x73230000     C:\Windows\system32\napinsp.dll
0x71540000 - 0x71552000     C:\Windows\system32\pnrpnsp.dll
0x757c0000 - 0x75804000     C:\Windows\system32\DNSAPI.dll
0x73210000 - 0x73218000     C:\Windows\System32\winrnr.dll
0x75440000 - 0x75445000     C:\Windows\System32\wshtcpip.dll
0x74540000 - 0x7455c000     C:\Windows\system32\IPHLPAPI.DLL
0x74530000 - 0x74537000     C:\Windows\system32\WINNSI.DLL
0x73230000 - 0x73236000     C:\Windows\system32\rasadhlp.dll
0x73890000 - 0x738c8000     C:\Windows\System32\fwpuclnt.dll
0x6d070000 - 0x6d1d7000     E:\GenericBuilds\Store\jdk1.5\jre\bin\awt.dll
0x71610000 - 0x71661000     C:\Windows\system32\WINSPOOL.DRV
0x76870000 - 0x769cc000     C:\Windows\system32\ole32.dll
0x74cf0000 - 0x74d30000     C:\Windows\system32\uxtheme.dll
0x6b930000 - 0x6ba17000     C:\Windows\system32\ddraw.dll
0x6b920000 - 0x6b926000     C:\Windows\system32\DCIMAN32.dll
0x76410000 - 0x765ad000     C:\Windows\system32\SETUPAPI.dll
0x76120000 - 0x76147000     C:\Windows\system32\CFGMGR32.dll
0x76620000 - 0x766af000     C:\Windows\system32\OLEAUT32.dll
0x761a0000 - 0x761b2000     C:\Windows\system32\DEVOBJ.dll
0x74710000 - 0x74723000     C:\Windows\system32\dwmapi.dll
0x10000000 - 0x10092000     C:\Windows\system32\igdumdx32.dll
0x04f90000 - 0x05511000     C:\Windows\system32\igdumd32.dll
0x74d30000 - 0x74d55000     C:\Windows\system32\PowrProf.dll
0x6a940000 - 0x6aa0c000     C:\Windows\system32\D3DIM700.DLL
0x6d2b0000 - 0x6d2ed000     E:\GenericBuilds\Store\jdk1.5\jre\bin\fontmanager.dll
0x75e40000 - 0x75e4c000     C:\Windows\system32\CRYPTBASE.dll
0x76f10000 - 0x77b5a000     C:\Windows\system32\shell32.dll
0x77d10000 - 0x77d67000     C:\Windows\system32\SHLWAPI.dll
0x6d550000 - 0x6d559000     E:\GenericBuilds\Store\jdk1.5\jre\bin\nio.dll
0x75940000 - 0x75956000     C:\Windows\system32\CRYPTSP.dll
0x756e0000 - 0x7571b000     C:\Windows\system32\rsaenh.dll
0x75510000 - 0x75527000     C:\Windows\system32\USERENV.dll
0x75ec0000 - 0x75ecb000     C:\Windows\system32\profapi.dll
0x6d660000 - 0x6d666000     E:\GenericBuilds\Store\jdk1.5\jre\bin\rmi.dll
0x6d3d0000 - 0x6d3d6000     E:\GenericBuilds\Store\jdk1.5\jre\bin\jawt.dll
0x082c0000 - 0x08321000     E:\GenericBuilds\Store\jdk1.5\jre\bin\JBrowser.dll
0x76a20000 - 0x76a9b000     C:\Windows\system32\comdlg32.dll
0x73ef0000 - 0x73f74000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\COMCTL32.dll
0x6b900000 - 0x6b91c000     C:\Windows\system32\oledlg.dll
0x766b0000 - 0x76733000     C:\Windows\system32\CLBCatQ.DLL
0x72460000 - 0x72ee0000     C:\Windows\System32\ieframe.dll
0x6c000000 - 0x6c03c000     C:\Windows\System32\OLEACC.dll
0x76d10000 - 0x76f0e000     C:\Windows\system32\iertutil.dll
0x74de0000 - 0x74f7e000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\comctl32.dll
0x762d0000 - 0x76407000     C:\Windows\system32\urlmon.dll
0x76c10000 - 0x76d05000     C:\Windows\system32\WININET.dll
0x76000000 - 0x7611d000     C:\Windows\system32\CRYPT32.dll
0x75f30000 - 0x75f3c000     C:\Windows\system32\MSASN1.dll
0x75e50000 - 0x75eaf000     C:\Windows\system32\SXS.DLL
0x75da0000 - 0x75dbb000     C:\Windows\system32\SspiCli.dll
0x740f0000 - 0x74142000     C:\Windows\system32\RASAPI32.dll
0x740d0000 - 0x740e5000     C:\Windows\system32\rasman.dll
0x744b0000 - 0x744bd000     C:\Windows\system32\rtutils.dll
0x6e720000 - 0x6e726000     C:\Windows\system32\sensapi.dll
0x74250000 - 0x7425f000     C:\Windows\system32\wkscli.dll
0x756d0000 - 0x756d9000     C:\Windows\system32\netutils.dll
0x77eb0000 - 0x77eb3000     C:\Windows\system32\Normaliz.dll
0x6bef0000 - 0x6bf1e000     C:\Windows\system32\MLANG.dll
0x5baf0000 - 0x5c0ac000     C:\Windows\System32\mshtml.dll
0x6e7f0000 - 0x6e81a000     C:\Windows\System32\msls31.dll
0x753b0000 - 0x753b9000     C:\Windows\System32\VERSION.dll
0x744d0000 - 0x744db000     C:\Windows\system32\msimtf.dll
0x59720000 - 0x597d2000     C:\Windows\System32\jscript.dll
0x75eb0000 - 0x75ebe000     C:\Windows\system32\RpcRtRemote.dll
0x74b20000 - 0x74b59000     C:\Windows\system32\MMDevAPI.DLL
0x74a20000 - 0x74b15000     C:\Windows\system32\PROPSYS.dll
0x746e0000 - 0x74710000     C:\Windows\system32\wdmaud.drv
0x746d0000 - 0x746d4000     C:\Windows\system32\ksuser.dll
0x75240000 - 0x75247000     C:\Windows\system32\AVRT.dll

VM Arguments:
jvm_args: -Dfile.encoding=Cp1252
java_command: com.retailJava.javaPOS.UI.TPOS.POSApplication ALL.TWC.S999

Environment Variables:
PATH=C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Imaging\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\
USERNAME=gperiasa
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, GenuineIntel



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

OS: Windows NT 6.1 Build 7601 Service Pack 1

CPU:total 4 family 6, cmov, cx8, fxsr, mmx, sse, sse2, ht

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

vm_info: Java HotSpot(TM) Client VM (1.5.0_04-b05) for windows-x86, built on Jun  3 2005 02:10:41 by "java_re" with MS VC++ 6.0
</code></pre>
