Jump to content

java client program on J2SE jdk1.6.0_06, windows 2000 SP4 result in aEXCEPTION_ACCESS_VIOLATION


Recommended Posts

Guest wong_powah@yahoo.ca
Posted

java client program on J2SE jdk1.6.0_06, windows 2000 SP4 result in aEXCEPTION_ACCESS_VIOLATION

 

Running my java client program on J2SE jdk1.6.0_06, windows 2000 SP4

result in a EXCEPTION_ACCESS_VIOLATION.

How to determine where in the source file cause this exception?

encry.dll is compiled with Visual C++ 6.

 

C:\SA44java1.6\JavaSP\JavaSP\Samples>java CertificateDemo

 

# An unexpected error has been detected by Java Runtime Environment:

#

# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x02f6b6fe, pid=2224,

tid=2120

#

# Java VM: Java HotSpot Client VM (10.0-b22 mixed mode, sharing

windows-x86)

# Problematic frame:

# C [encry.dll+0x1b6fe]

#

# An error report file with more information is saved as:

# C:\SA44java1.6\JavaSP\JavaSP\Samples\hs_err_pid2224.log

#

# 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 (0x002c5c00): JavaThread "main" [_thread_in_native,

id=2120, stack(0x00900000,0x00950000)]

 

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

 

Registers:

EAX=0x03346c98, EBX=0x26975e78, ECX=0x00000000, EDX=0x00000000

ESP=0x0094f8cc, EBP=0x0094f940, ESI=0x0094f8d4, EDI=0x0094f940

EIP=0x02f6b6fe, EFLAGS=0x00010206

 

Top of Stack: (sp=0x0094f8cc)

0x0094f8cc: 0094f920 00940000 0094f9b0 0094f9c0

0x0094f8dc: 26975e78 cccccccc cccccccc cccccccc

0x0094f8ec: cccccccc cccccccc cccccccc cccccccc

0x0094f8fc: cccccccc cccccccc cccccccc cccccccc

0x0094f90c: cccccccc cccccccc cccccccc cccccccc

0x0094f91c: cccccccc cccccccc 00000000 00000000

0x0094f92c: 00000001 00000001 00000001 00000000

0x0094f93c: 03346c98 0094f9b0 02f6db8f 0094f99c

 

Instructions: (pc=0x02f6b6fe)

0x02f6b6ee: 8d 4d e0 51 8b 55 fc 8b 4a 0c 8b 45 fc 8b 50 0c

0x02f6b6fe: 8b 02 ff 50 04 3b f4 e8 76 a6 0c 00 8d 4d f8 e8

 

 

Stack: [0x00900000,0x00950000], sp=0x0094f8cc, free space=318k

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,

C=native code)

C [encry.dll+0x1b6fe]

C [encry.dll+0x1db8f]

C [encry.dll+0x251c4]

C [encry.dll+0xcf8e]

C [LunaAPI.dll+0x4bdc]

C [LunaAPI.dll+0xdd86]

C [LunaAPI.dll+0x110ab]

v ~BufferBlob::Interpreter

v ~BufferBlob::Interpreter

v ~BufferBlob::Interpreter

v ~BufferBlob::Interpreter

v ~BufferBlob::Interpreter

v ~BufferBlob::StubRoutines (1)

 

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)

v ~BufferBlob::Interpreter

v ~BufferBlob::Interpreter

v ~BufferBlob::Interpreter

v ~BufferBlob::Interpreter

v ~BufferBlob::Interpreter

v ~BufferBlob::StubRoutines (1)

 

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

 

Java Threads: ( => current thread )

0x02af2c00 JavaThread "Low Memory Detector" daemon [_thread_blocked,

id=2260, stack(0x02da0000,0x02df0000)]

0x02ae8000 JavaThread "CompilerThread0" daemon [_thread_blocked,

id=2140, stack(0x02d50000,0x02da0000)]

0x02ae3800 JavaThread "Attach Listener" daemon [_thread_blocked,

id=2272, stack(0x02d00000,0x02d50000)]

0x02ae2c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked,

id=2084, stack(0x02cb0000,0x02d00000)]

0x02ade400 JavaThread "Finalizer" daemon [_thread_blocked, id=2276,

stack(0x02c60000,0x02cb0000)]

0x02add400 JavaThread "Reference Handler" daemon [_thread_blocked,

id=2264, stack(0x02c10000,0x02c60000)]

=>0x002c5c00 JavaThread "main" [_thread_in_native, id=2120,

stack(0x00900000,0x00950000)]

 

Other Threads:

0x02adc000 VMThread [stack: 0x02bc0000,0x02c10000] [id=792]

 

 

VM state:not at safepoint (normal execution)

 

VM Mutex/Monitor currently owned by a thread: None

 

Heap

def new generation total 960K, used 416K [0x22960000, 0x22a60000,

0x22e40000)

eden space 896K, 46% used [0x22960000, 0x229c83d8, 0x22a40000)

from space 64K, 0% used [0x22a40000, 0x22a40000, 0x22a50000)

to space 64K, 0% used [0x22a50000, 0x22a50000, 0x22a60000)

tenured generation total 4096K, used 0K [0x22e40000, 0x23240000,

0x26960000)

the space 4096K, 0% used [0x22e40000, 0x22e40000, 0x22e40200,

0x23240000)

compacting perm gen total 12288K, used 101K [0x26960000, 0x27560000,

0x2a960000)

the space 12288K, 0% used [0x26960000, 0x26979638, 0x26979800,

0x27560000)

ro space 8192K, 66% used [0x2a960000, 0x2aeb0e10, 0x2aeb1000,

0x2b160000)

rw space 12288K, 52% used [0x2b160000, 0x2b7b04c8, 0x2b7b0600,

0x2bd60000)

 

Dynamic libraries:

0x00400000 - 0x00423000 C:\Program Files\Java\jdk1.6.0_06\bin

\java.exe

0x77f80000 - 0x77ffc000 C:\WINNT\system32\ntdll.dll

0x7c2d0000 - 0x7c335000 C:\WINNT\system32\ADVAPI32.dll

0x7c570000 - 0x7c624000 C:\WINNT\system32\KERNEL32.dll

0x77d30000 - 0x77d9f000 C:\WINNT\system32\RPCRT4.dll

0x7c340000 - 0x7c34f000 C:\WINNT\system32\Secur32.dll

0x00260000 - 0x002b6000 C:\Program Files\Java\jdk1.6.0_06\jre\bin

\msvcr71.dll

0x6d870000 - 0x6dac0000 C:\Program Files\Java\jdk1.6.0_06\jre\bin

\client\jvm.dll

0x77e10000 - 0x77e6f000 C:\WINNT\system32\USER32.dll

0x77f40000 - 0x77f7c000 C:\WINNT\system32\GDI32.dll

0x77570000 - 0x775a0000 C:\WINNT\system32\WINMM.dll

0x75e60000 - 0x75e7a000 C:\WINNT\system32\IMM32.DLL

0x6d320000 - 0x6d328000 C:\Program Files\Java\jdk1.6.0_06\jre\bin

\hpi.dll

0x690a0000 - 0x690ab000 C:\WINNT\system32\PSAPI.DLL

0x6d820000 - 0x6d82c000 C:\Program Files\Java\jdk1.6.0_06\jre\bin

\verify.dll

0x6d3c0000 - 0x6d3df000 C:\Program Files\Java\jdk1.6.0_06\jre\bin

\java.dll

0x6d860000 - 0x6d86f000 C:\Program Files\Java\jdk1.6.0_06\jre\bin

\zip.dll

0x10000000 - 0x10039000 C:\Program Files\Prod\JSP\lib\LunaAPI.dll

0x02f50000 - 0x03079000 C:\Program Files\Prod\encry.dll

0x75050000 - 0x75058000 C:\WINNT\system32\WSOCK32.dll

0x75030000 - 0x75044000 C:\WINNT\system32\WS2_32.DLL

0x78000000 - 0x78045000 C:\WINNT\system32\MSVCRT.DLL

0x75020000 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL

0x74fd0000 - 0x74fee000 C:\WINNT\system32\msafd.dll

0x75010000 - 0x75017000 C:\WINNT\System32\wshtcpip.dll

0x782c0000 - 0x782cc000 C:\WINNT\System32\rnr20.dll

0x77980000 - 0x779a4000 C:\WINNT\system32\DNSAPI.DLL

0x77340000 - 0x77353000 C:\WINNT\system32\iphlpapi.dll

0x77520000 - 0x77525000 C:\WINNT\system32\ICMP.dll

0x77320000 - 0x77337000 C:\WINNT\system32\MPRAPI.dll

0x75150000 - 0x75160000 C:\WINNT\system32\SAMLIB.DLL

0x7cdc0000 - 0x7ce10000 C:\WINNT\system32\NETAPI32.DLL

0x77bf0000 - 0x77c01000 C:\WINNT\system32\NTDSAPI.dll

0x77950000 - 0x7797b000 C:\WINNT\system32\WLDAP32.DLL

0x751c0000 - 0x751c6000 C:\WINNT\system32\NETRAP.dll

0x7ce20000 - 0x7cf0f000 C:\WINNT\system32\OLE32.DLL

0x779b0000 - 0x77a4c000 C:\WINNT\system32\OLEAUT32.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 - 0x7c154000 C:\WINNT\system32\USERENV.DLL

0x774e0000 - 0x77514000 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

0x70a70000 - 0x70ad6000 C:\WINNT\system32\SHLWAPI.DLL

0x77360000 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL

0x777e0000 - 0x777e8000 C:\WINNT\System32\winrnr.dll

0x777f0000 - 0x777f5000 C:\WINNT\system32\rasadhlp.dll

0x7ca00000 - 0x7ca23000 C:\WINNT\system32\rsaenh.dll

0x7c740000 - 0x7c7cc000 C:\WINNT\system32\CRYPT32.dll

0x77430000 - 0x77441000 C:\WINNT\system32\MSASN1.dll

 

VM Arguments:

java_command: CertificateDemo

Launcher Type: SUN_STANDARD

 

Environment Variables:

JAVA_HOME=C:\Program Files\Java\jdk1.6.0_06

CLASSPATH=.;C:\Program Files\Prod\JSP\lib;C:\SA44java1.6\JavaSP_vob

\JavaSP;C:\SA44java1.6\JavaSP_vob\JavaSP\ibmpkcs.jar

PATH=C:\Program Files\MKS\IntegrityClient\bin;C:\Program Files\Java

\jdk1.6.0_06\bin;Files\MKS\IntegrityClient\bin;C:\WINNT\system32;C:

\WINNT;C:\WINNT\System32\Wbem;c:\perl\bin;.;C:\netsnmp\bin;C:\Program

Files\Prod\JSP\lib;C:\Program Files\apache-ant-1.7.0\bin

USERNAME=powah

OS=Windows_NT

PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel

 

 

 

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

 

OS: Windows 2000 Build 2195 Service Pack 4

 

CPU:total 1 (1 cores per cpu, 2 threads per core) family 15 model 4

stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht

 

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

4012704k(3546656k free)

 

vm_info: Java HotSpot Client VM (10.0-b22) for windows-x86 JRE

(1.6.0_06-b02), built on Mar 25 2008 01:22:05 by "java_re" with MS VC+

+ 7.1

 

time: Thu Jun 05 10:51:20 2008

elapsed time: 0 seconds

  • Replies 0
  • Created
  • Last Reply

Popular Days

Popular Days


×
×
  • Create New...