Discussion:
Need help: EXCEPTION_ACCESS_VIOLATION
(too old to reply)
Dan Hansen
2004-11-20 07:39:42 UTC
Permalink
Sorry, I meant to elaborate on the previous post:

He is running 2000 Pro, and attempting to use the 8.1sp2 version of the platform. Also, it is Workshop that is crashing - which it does anytime an attempt to open a JSP is made. He also has another version of the platform ( 7.0) install on his PC, in case that helps.
Thanks.
Dan Hansen
2004-11-20 07:26:24 UTC
Permalink
Hello,

Has anyone else experienced this same issue? Any resolution?
A guy I work with is experiencing the same problem. Any time he tries to open a JSP file, Workshop shuts down. The following is his log:


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x7C5B89AE
Function=MultiByteToWideChar+0x20F
Library=C:\WINNT\system32\KERNEL32.DLL

Current Java thread:
at workshop.util.jni.ide.jspdesigner.Browser.setHTML(Native Method)
at workshop.jspdesigner.browser.BrowserWindow$UpdateTask.run(BrowserWindow.java:704)
- locked <05846BA0>
(a workshop.jspdesigner.browser.BrowserWindow$UpdateTask)
at workshop.util.jni.ide.jspdesigner.TaskList.doWork(TaskList.java:99)
at workshop.util.jni.ide.jspdesigner.TaskList.threadProc(Native Method)
at workshop.util.jni.ide.jspdesigner.TaskList$TaskListThread.run(TaskList.java:60)
at java.lang.Thread.run(Thread.java:536)

Dynamic libraries:
0x00400000 - 0x00407000 D:\bea\jdk141_05\jre\bin\javaw.exe
0x77F80000 - 0x77FFD000 C:\WINNT\system32\ntdll.dll
0x7C2D0000 - 0x7C332000 C:\WINNT\system32\ADVAPI32.dll
0x7C570000 - 0x7C623000 C:\WINNT\system32\KERNEL32.DLL
0x77D30000 - 0x77DA1000 C:\WINNT\system32\RPCRT4.DLL
0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7B000 C:\WINNT\system32\GDI32.DLL
0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x75E60000 - 0x75E7A000 C:\WINNT\system32\IMM32.DLL
0x6CA60000 - 0x6CA68000 C:\WINNT\system32\LPK.DLL
0x66650000 - 0x666A4000 C:\WINNT\system32\USP10.dll
0x6D340000 - 0x6D46C000 D:\bea\jdk141_05\jre\bin\client\jvm.dll
0x77570000 - 0x775A0000 C:\WINNT\system32\WINMM.dll
0x6D1E0000 - 0x6D1E7000 D:\bea\jdk141_05\jre\bin\hpi.dll
0x6D310000 - 0x6D31E000 D:\bea\jdk141_05\jre\bin\verify.dll
0x6D220000 - 0x6D239000 D:\bea\jdk141_05\jre\bin\java.dll
0x6D330000 - 0x6D33D000 D:\bea\jdk141_05\jre\bin\zip.dll
0x6D000000 - 0x6D106000 D:\bea\jdk141_05\jre\bin\awt.dll
0x77800000 - 0x7781E000 C:\WINNT\system32\WINSPOOL.DRV
0x76620000 - 0x76630000 C:\WINNT\system32\MPR.DLL
0x77A50000 - 0x77B3F000 C:\WINNT\system32\ole32.dll
0x6D190000 - 0x6D1E0000 D:\bea\jdk141_05\jre\bin\fontmanager.dll
0x60000000 - 0x60045000 C:\WINNT\system32\MSCTF.dll
0x18500000 - 0x18533000 C:\Program Files\Stop-the-Pop-Up\system\hook.dll
0x6D290000 - 0x6D2AE000 D:\bea\jdk141_05\jre\bin\jpeg.dll
0x6D110000 - 0x6D133000 D:\bea\jdk141_05\jre\bin\cmm.dll
0x22200000 - 0x22228000 D:\bea\weblogic81\workshop\ws_native.dll
0x779B0000 - 0x77A4B000 C:\WINNT\system32\OLEAUT32.dll
0x63000000 - 0x63096000 C:\WINNT\system32\WININET.dll
0x7C740000 - 0x7C7C7000 C:\WINNT\system32\CRYPT32.dll
0x77430000 - 0x77440000 C:\WINNT\system32\MSASN1.DLL
0x70A70000 - 0x70AD9000 C:\WINNT\system32\SHLWAPI.dll
0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.dll
0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.DLL
0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL
0x6D2E0000 - 0x6D2EE000 D:\bea\jdk141_05\jre\bin\net.dll
0x6D2F0000 - 0x6D2F8000 D:\bea\jdk141_05\jre\bin\nio.dll
0x77340000 - 0x77353000 C:\WINNT\system32\iphlpapi.dll
0x77520000 - 0x77525000 C:\WINNT\system32\ICMP.DLL
0x77320000 - 0x77337000 C:\WINNT\system32\MPRAPI.DLL
0x75150000 - 0x7515F000 C:\WINNT\system32\SAMLIB.DLL
0x75170000 - 0x751BF000 C:\WINNT\system32\NETAPI32.DLL
0x7C340000 - 0x7C34F000 C:\WINNT\system32\Secur32.dll
0x77BF0000 - 0x77C01000 C:\WINNT\system32\NTDSAPI.dll
0x77980000 - 0x779A4000 C:\WINNT\system32\DNSAPI.DLL
0x77950000 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL
0x751C0000 - 0x751C6000 C:\WINNT\system32\NETRAP.dll
0x773B0000 - 0x773DF000 C:\WINNT\system32\ACTIVEDS.DLL
0x77380000 - 0x773A3000 C:\WINNT\system32\ADSLDPC.DLL
0x77830000 - 0x7783E000 C:\WINNT\system32\RTUTILS.DLL
0x77880000 - 0x7790E000 C:\WINNT\system32\SETUPAPI.DLL
0x7C0F0000 - 0x7C151000 C:\WINNT\system32\USERENV.DLL
0x774E0000 - 0x77513000 C:\WINNT\system32\RASAPI32.DLL
0x774C0000 - 0x774D1000 C:\WINNT\system32\rasman.dll
0x77530000 - 0x77552000 C:\WINNT\system32\TAPI32.dll
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.DLL
0x77360000 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL
0x1B000000 - 0x1B007000 C:\Program Files\Lotus\Sametime Client\autoaway.dll
0x782C0000 - 0x782CC000 C:\WINNT\System32\rnr20.dll
0x777E0000 - 0x777E8000 C:\WINNT\System32\winrnr.dll
0x777F0000 - 0x777F5000 C:\WINNT\system32\rasadhlp.dll
0x74FD0000 - 0x74FED000 C:\WINNT\system32\msafd.dll
0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll
0x6D140000 - 0x6D162000 D:\bea\jdk141_05\jre\bin\dcpr.dll
0x775A0000 - 0x77630000 C:\WINNT\system32\CLBCATQ.DLL
0x1C970000 - 0x1CAB9000 C:\WINNT\system32\shdocvw.dll
0x782F0000 - 0x78535000 C:\WINNT\system32\shell32.dll
0x718C0000 - 0x71944000 C:\WINNT\system32\shdoclc.dll
0x1D030000 - 0x1D0AB000 C:\WINNT\system32\urlmon.dll
0x77820000 - 0x77827000 C:\WINNT\system32\VERSION.dll
0x759B0000 - 0x759B6000 C:\WINNT\system32\LZ32.DLL
0x63580000 - 0x63833000 C:\WINNT\system32\mshtml.dll
0x70440000 - 0x704CF000 C:\WINNT\system32\MLANG.dll
0x77840000 - 0x7787E000 C:\WINNT\system32\cscui.dll
0x770C0000 - 0x770E3000 C:\WINNT\system32\CSCDLL.DLL
0x60280000 - 0x602AB000 C:\WINNT\system32\msimtf.dll
0x75AC0000 - 0x75AE8000 C:\WINNT\system32\MSLS31.DLL
0x1D610000 - 0x1D64C000 C:\WINNT\system32\atlyl.dll
0x773E0000 - 0x773F5000 C:\WINNT\system32\ATL.DLL
0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000 C:\WINNT\system32\PSAPI.DLL
Local Time = Fri Nov 19 12:48:55 2004
Elapsed Time = 306
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.1_05-b01 mixed mode)

-------------------------------------
Any help with this will be greatly appreciated. Thanks in advance.
Cheers.
Ashok Banerjee
2005-01-14 23:56:14 UTC
Permalink
Hi All,
Most VM crashes I have seen are the result of very aggressive JITting. To confirm that please try with -Xint or -Xnojit or -Djava.compiler=NONE. If you see no crash with JITting disabled and a crash with JITting enabled then we need to isolate which method when JITted gives the error. Please use -XX:+PrintCompilation (add to the java command line) and then the last 10 methods JITted are typically the suspect methods.

Find out the offending method that was compiled,
let us say, indexOf() method of java.lang.String class Create a file called ".hotspot_compiler" in the current directory with content:
e.g. .hotspot_compiler contents as below:
----------------
exclude java/lang/String indexOf
-----------------
to exclude the compilation of indexOf() method. Once you narrow down the method you have a workaround and then I will share with you how to get a native stacktrace to get to SUN so they may fix it.
Loading...