File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes HotSpot EXCEPTION_ACCESS_VIOLATION Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "HotSpot EXCEPTION_ACCESS_VIOLATION" Watch "HotSpot EXCEPTION_ACCESS_VIOLATION" New topic
Author

HotSpot EXCEPTION_ACCESS_VIOLATION

Alan Shiers
Ranch Hand

Joined: Sep 24, 2003
Posts: 237
Hi there,

I created a web site where several pages have applets embedded. I'm running Windows2K here at home as my development platform. When I view the webpages with the applets on my own machine they load just fine. However, when I go to other computers that are running WindowsXP Pro, Internet Explorer begins to load the page with the applet then crashes. An error log gets placed on the Desktop by HotSpot that states an EXCEPTION_ACCESS_VIOLATION. I don't get it. Would someone please help. It is critical that I get a solution to this problem.

The full error log is below.
The following line in the log is in reference to the class I built:
0x0fa66460 JavaThread "thread applet-mvcs.TableForm.class" [_thread_blocked, id=2572]

It says _thread_blocked, why? Why would the thread be blocked. Would that have anything to do with the fact that I was behind a firewall when trying to access the webpage?

Thanks,

Alan

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d0d1dda, pid=3884, tid=4064
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
# Problematic frame:
# C [awt.dll+0xd1dda]
#

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

Current thread (0x04fc0170): JavaThread "AWT-Windows" daemon [_thread_in_native, id=4064]

siginfo: ExceptionCode=0xc0000005, writing address 0x000000fc

Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00000001, EDX=0x7c90eb94
ESP=0x0f46f7ac, EBP=0x0f46f7e8, ESI=0x04fc0230, EDI=0x00008025
EIP=0x6d0d1dda, EFLAGS=0x00010212

Top of Stack: (sp=0x0f46f7ac)
0x0f46f7ac: 6d0d1da5 00070198 00000001 6d0e3f36
0x0f46f7bc: 00080196 0f46f850 6d0e39b0 00000000
0x0f46f7cc: 04fc0170 6d6f45e6 04fc0230 0f46f7c0
0x0f46f7dc: 0f46f86c 6d0f4498 00000001 0f46f814
0x0f46f7ec: 77d48734 00080122 00008025 6d0d1d91
0x0f46f7fc: 00080196 6d0e39b0 dcbaabcd 00000000
0x0f46f80c: 0f46f850 6d0e39b0 0f46f87c 77d48816
0x0f46f81c: 6d0e39b0 00080122 00008025 6d0d1d91

Instructions: (pc=0x6d0d1dda)
0x6d0d1dca: c0 74 2e ff 74 24 04 e8 8a ea fe ff 59 6a 01 59
0x6d0d1dda: 89 88 fc 00 00 00 33 c0 39 4c 24 08 6a 00 0f 94


Stack: [0x0f370000,0x0f470000), sp=0x0f46f7ac, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [awt.dll+0xd1dda]
C [USER32.dll+0x8734]
C [USER32.dll+0x8816]
C [USER32.dll+0xb4c0]
C [USER32.dll+0xb50c]
C [ntdll.dll+0xeae3]
C [USER32.dll+0x9402]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.windows.WToolkit.eventLoop()V+0
j sun.awt.windows.WToolkit.run()V+69
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
0x0fa66068 JavaThread "AWT-EventQueue-2" [_thread_in_native, id=1884]
0x0516fe58 JavaThread "TimerQueue" daemon [_thread_blocked, id=3948]
0x04fdffb8 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=768]
0x0fa72468 JavaThread "Thread-3" [_thread_in_native, id=1332]
0x0fa66460 JavaThread "thread applet-mvcs.TableForm.class" [_thread_blocked, id=2572]
0x04fd68f0 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3928]
0x04fc4a08 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=2252]
=>0x04fc0170 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4064]
0x04fbfb20 JavaThread "AWT-Shutdown" [_thread_blocked, id=1676]
0x04fbe958 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4052]
0x02168cc0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3428]
0x02194fc8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2016]
0x0218aca8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1156]
0x0003a400 JavaThread "Finalizer" daemon [_thread_blocked, id=2348]
0x021706a0 JavaThread "Reference Handler" daemon [_thread_blocked, id=3916]
0x0003c0d0 JavaThread "main" [_thread_in_native, id=1560]

Other Threads:
0x0216f310 VMThread [id=1240]
0x0003e828 WatcherThread [id=3496]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 576K, used 545K [0x20a70000, 0x20b10000, 0x211d0000)
eden space 512K, 93% used [0x20a70000, 0x20ae8480, 0x20af0000)
from space 64K, 100% used [0x20af0000, 0x20b00000, 0x20b00000)
to space 64K, 0% used [0x20b00000, 0x20b00000, 0x20b10000)
tenured generation total 1408K, used 678K [0x211d0000, 0x21330000, 0x26a70000)
the space 1408K, 48% used [0x211d0000, 0x21279bf0, 0x21279c00, 0x21330000)
compacting perm gen total 8192K, used 1224K [0x26a70000, 0x27270000, 0x2aa70000)
the space 8192K, 14% used [0x26a70000, 0x26ba2380, 0x26ba2400, 0x27270000)
ro space 8192K, 63% used [0x2aa70000, 0x2af7b178, 0x2af7b200, 0x2b270000)
rw space 12288K, 46% used [0x2b270000, 0x2b809fa8, 0x2b80a000, 0x2be70000)

Dynamic libraries:
0x00400000 - 0x00419000 C:\Program Files\Internet Explorer\iexplore.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77760000 - 0x778cf000 C:\WINDOWS\system32\SHDOCVW.dll
0x77a80000 - 0x77b14000 C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
0x754d0000 - 0x75550000 C:\WINDOWS\system32\CRYPTUI.dll
0x76c30000 - 0x76c5e000 C:\WINDOWS\system32\WINTRUST.dll
0x76c90000 - 0x76cb8000 C:\WINDOWS\system32\IMAGEHLP.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\NETAPI32.dll
0x771b0000 - 0x77259000 C:\WINDOWS\system32\WININET.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x7c9c0000 - 0x7d1d5000 C:\WINDOWS\system32\SHELL32.dll
0x5d090000 - 0x5d127000 C:\WINDOWS\system32\comctl32.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x75f80000 - 0x7607d000 C:\WINDOWS\system32\BROWSEUI.dll
0x20000000 - 0x20012000 C:\WINDOWS\system32\browselc.dll
0x77b40000 - 0x77b62000 C:\WINDOWS\system32\appHelp.dll
0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x77260000 - 0x77300000 C:\WINDOWS\system32\urlmon.dll
0x77a20000 - 0x77a74000 C:\WINDOWS\System32\cscui.dll
0x76600000 - 0x7661d000 C:\WINDOWS\System32\CSCDLL.dll
0x77920000 - 0x77a13000 C:\WINDOWS\system32\SETUPAPI.dll
0x10000000 - 0x1000c000 C:\Program Files\Adobe\Acrobat 6.0\Reader\ActiveX\AcroIEHelper.dll
0x00d40000 - 0x01005000 C:\WINDOWS\system32\xpsp2res.dll
0x71d40000 - 0x71d5c000 C:\WINDOWS\system32\actxprxy.dll
0x75e90000 - 0x75f40000 C:\WINDOWS\system32\SXS.DLL
0x01320000 - 0x013a8000 C:\WINDOWS\system32\shdoclc.dll
0x75cf0000 - 0x75d81000 C:\WINDOWS\system32\mlang.dll
0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\wsock32.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\system32\mswsock.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
0x745e0000 - 0x748a6000 C:\WINDOWS\system32\msi.dll
0x76ee0000 - 0x76f1c000 C:\WINDOWS\system32\RASAPI32.DLL
0x76e90000 - 0x76ea2000 C:\WINDOWS\system32\rasman.dll
0x76eb0000 - 0x76edf000 C:\WINDOWS\system32\TAPI32.dll
0x76e80000 - 0x76e8e000 C:\WINDOWS\system32\rtutils.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x77c70000 - 0x77c93000 C:\WINDOWS\system32\msv1_0.dll
0x76d60000 - 0x76d79000 C:\WINDOWS\system32\iphlpapi.dll
0x722b0000 - 0x722b5000 C:\WINDOWS\system32\sensapi.dll
0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x7dc30000 - 0x7df24000 C:\WINDOWS\system32\mshtml.dll
0x013f0000 - 0x01417000 C:\WINDOWS\system32\msls31.dll
0x01d50000 - 0x01d7a000 C:\WINDOWS\system32\msimtf.dll
0x01d80000 - 0x01dcb000 C:\WINDOWS\system32\MSCTF.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x325c0000 - 0x325d2000 C:\Program Files\Microsoft Office\OFFICE11\msohev.dll
0x75c50000 - 0x75cbe000 c:\windows\system32\jscript.dll
0x73300000 - 0x73367000 c:\windows\system32\vbscript.dll
0x73dd0000 - 0x73ece000 c:\windows\system32\MFC42.DLL
0x30000000 - 0x30224000 C:\WINDOWS\system32\Macromed\Flash\Flash8a.ocx
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x72d20000 - 0x72d29000 C:\WINDOWS\system32\wdmaud.drv
0x72d10000 - 0x72d18000 C:\WINDOWS\system32\msacm32.drv
0x77be0000 - 0x77bf5000 C:\WINDOWS\system32\MSACM32.dll
0x77bd0000 - 0x77bd7000 C:\WINDOWS\system32\midimap.dll
0x033e0000 - 0x033e7000 C:\WINDOWS\system32\xpsp3res.dll
0x6d430000 - 0x6d43a000 C:\WINDOWS\system32\ddrawex.dll
0x73760000 - 0x737a9000 C:\WINDOWS\system32\DDRAW.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x71b20000 - 0x71b32000 C:\WINDOWS\system32\MPR.dll
0x75f60000 - 0x75f67000 C:\WINDOWS\System32\drprov.dll
0x71c10000 - 0x71c1e000 C:\WINDOWS\System32\ntlanman.dll
0x71cd0000 - 0x71ce7000 C:\WINDOWS\System32\NETUI0.dll
0x71c90000 - 0x71cd0000 C:\WINDOWS\System32\NETUI1.dll
0x71c80000 - 0x71c87000 C:\WINDOWS\System32\NETRAP.dll
0x71bf0000 - 0x71c03000 C:\WINDOWS\System32\SAMLIB.dll
0x75f70000 - 0x75f79000 C:\WINDOWS\System32\davclnt.dll
0x75970000 - 0x75a67000 C:\WINDOWS\system32\MSGINA.dll
0x76360000 - 0x76370000 C:\WINDOWS\system32\WINSTA.dll
0x74320000 - 0x7435d000 C:\WINDOWS\system32\ODBC32.dll
0x01220000 - 0x01237000 C:\WINDOWS\system32\odbcint.dll
0x76200000 - 0x76271000 C:\WINDOWS\system32\mshtmled.dll
0x66e50000 - 0x66e90000 C:\WINDOWS\system32\iepeers.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x767f0000 - 0x76817000 C:\WINDOWS\system32\schannel.dll
0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
0x68100000 - 0x68124000 C:\WINDOWS\system32\dssenh.dll
0x76990000 - 0x769b5000 C:\WINDOWS\system32\ntshrui.dll
0x76b20000 - 0x76b31000 C:\WINDOWS\system32\ATL.DLL
0x76980000 - 0x76988000 C:\WINDOWS\system32\LINKINFO.dll
0x6d590000 - 0x6d5a2000 C:\Program Files\Java\jre1.5.0_06\bin\npjpi150_06.dll
0x5edd0000 - 0x5ede7000 C:\WINDOWS\system32\OLEPRO32.DLL
0x6d400000 - 0x6d417000 C:\Program Files\Java\jre1.5.0_06\bin\jpiexp32.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x6d450000 - 0x6d468000 C:\Program Files\Java\jre1.5.0_06\bin\jpishare.dll
0x6d670000 - 0x6d804000 C:\PROGRA~1\Java\JRE15~1.0_0\bin\client\jvm.dll
0x6d280000 - 0x6d288000 C:\PROGRA~1\Java\JRE15~1.0_0\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d640000 - 0x6d64c000 C:\PROGRA~1\Java\JRE15~1.0_0\bin\verify.dll
0x6d300000 - 0x6d31d000 C:\PROGRA~1\Java\JRE15~1.0_0\bin\java.dll
0x6d660000 - 0x6d66f000 C:\PROGRA~1\Java\JRE15~1.0_0\bin\zip.dll
0x6d000000 - 0x6d167000 C:\Program Files\Java\jre1.5.0_06\bin\awt.dll
0x73940000 - 0x73a10000 C:\WINDOWS\system32\D3DIM700.DLL
0x6d240000 - 0x6d27d000 C:\Program Files\Java\jre1.5.0_06\bin\fontmanager.dll
0x6d1f0000 - 0x6d203000 C:\Program Files\Java\jre1.5.0_06\bin\deploy.dll
0x6d5d0000 - 0x6d5ef000 C:\Program Files\Java\jre1.5.0_06\bin\RegUtils.dll
0x6d3e0000 - 0x6d3f5000 C:\Program Files\Java\jre1.5.0_06\bin\jpicom32.dll
0x6d4c0000 - 0x6d4d3000 C:\Program Files\Java\jre1.5.0_06\bin\net.dll
0x6d4e0000 - 0x6d4e9000 C:\Program Files\Java\jre1.5.0_06\bin\nio.dll

VM Arguments:
jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0_06 -Djavaplugin.nodotversion=150_06 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE15~1.0_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0_06 -Djavaplugin.nodotversion=150_06 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol vfprintf
java_command: <unknown>
Launcher Type: generic

Environment Variables:
PATH=C:\PROGRA~1\Java\JRE15~1.0_0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;.
USERNAME=Success College
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 260080k(80128k free), swap 639952k(425328k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
[ April 12, 2006: Message edited by: Alan Shiers ]
Mohammad Farhat
Ranch Hand

Joined: Nov 17, 2005
Posts: 51
Alan,
can we get more information about which jdk you are using to develop your applet?
i would suggest trying to run your applet with jres older than 1.5.0_06 (it might have flaws you know, i had problems with this particular jre myself)
that's one thing, another thing you might consider is to try to build a very simple applet (maybe some code is causing the crash, but really that is unlikely) for example that only displays some output statement, isolating the classes is a good idea always so that you know what is the real cause of crash, is it compatibility issue ...
Maybe it's a display issue, since if i noticed correctly, it involves AWT...
This is what i can think of at the moment...
Best,
Mohammad
Alan Shiers
Ranch Hand

Joined: Sep 24, 2003
Posts: 237
Here's an update. I tried loading the webpage in three other seperate locations, one at Futureshop, second at the Sony store, and third at our local Xerox business where my wife works. In all three locations they have the latest jre and the applet loaded just fine. I have a sneeky suspician that this has something more to do with firewalls. Do you think that is a valid assumption? Do you know of any incompatibility issues or bugs with WindowsXP Pro regarding this issue?

Alan

[ April 12, 2006: Message edited by: Alan Shiers ]
[ April 12, 2006: Message edited by: Alan Shiers ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HotSpot EXCEPTION_ACCESS_VIOLATION