JDK 1.6.0_45 Vs JDK 1.7.0_21 - Jacob API
I used the Jacob API with JDK 1.6.0_45 and JDK 1.7.0_21.
In JDK 1.6.0_45.When I executed the List Users Code with Jacob API,
Refer ,
http://blogforopensource.blogspot.com/2014/01/list-windows-users-java.html
the code crashed exactly while running for 12th Time.
I run this code in Windows Server 2008 R2, 64 bit in a Virtual Machine created Under Xen.
Here is the crash report.
When I run the same code in JDK 1.7.0_21, this error does not arise.
I run this code for 200 Times, upto which the program never crashed.
So Is this a JDK version problem ? or the Jacob API compatibility problem with JDK ?
I used the Jacob API with JDK 1.6.0_45 and JDK 1.7.0_21.
In JDK 1.6.0_45.When I executed the List Users Code with Jacob API,
Refer ,
http://blogforopensource.blogspot.com/2014/01/list-windows-users-java.html
the code crashed exactly while running for 12th Time.
I run this code in Windows Server 2008 R2, 64 bit in a Virtual Machine created Under Xen.
Here is the crash report.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x9090fff6, pid=2292, tid=3836
#
# JRE version: 6.0_45-b06
# Java VM: Java HotSpot(TM) Client VM (20.45-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C 0x9090fff6
#
# 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 (0x0210ec00): JavaThread "Finalizer" daemon [_thread_in_native, id=3836, stack(0x043b0000,0x04400000)]
siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x00000008 0x9090fff6
Registers:
EAX=0x76ba85e8, EBX=0x0030db68, ECX=0x76c355e1, EDX=0x00000000
ESP=0x043ff5f8, EBP=0x043ff618, ESI=0x002e7fb0, EDI=0x002f9a54
EIP=0x9090fff6, EFLAGS=0x00010206
Top of Stack: (sp=0x043ff5f8)
0x043ff5f8: 76b9b1d7 76ba85e8 002f9a54 002f9a54
0x043ff608: 00000000 76b9a8a7 002f9a50 002f9a54
0x043ff618: 043ff630 76b9a838 002f9af8 002f9a50
0x043ff628: 043ff6d8 002e5410 043ff63c 76b9a781
0x043ff638: 002f9a50 043ff650 76b9aaf3 00000001
0x043ff648: 00000009 04cd97a8 043ff65c 76c9d380
0x043ff658: 80000000 043ff670 75e64977 00312a8c
0x043ff668: 04cd97a8 0210ed28 00000022 1000d60b
Instructions: (pc=0x9090fff6)
0x9090ffd6:
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]
Register to memory mapping:
EAX=0x76ba85e8 is an unknown value
EBX=0x0030db68 is an unknown value
ECX=0x76c355e1 is an unknown value
EDX=0x00000000 is an unknown value
ESP=0x043ff5f8 is pointing into the stack for thread: 0x0210ec00
EBP=0x043ff618 is pointing into the stack for thread: 0x0210ec00
ESI=0x002e7fb0 is an unknown value
EDI=0x002f9a54 is an unknown value
Stack: [0x043b0000,0x04400000], sp=0x043ff5f8, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x9090fff6
C [ole32.dll+0x3a838] CoRegisterMessageFilter+0x423f
C [ole32.dll+0x3a781] CoRegisterMessageFilter+0x4188
C [ole32.dll+0x3aaf3] CoRegisterMessageFilter+0x44fa
C [ole32.dll+0x13d380] WdtpInterfacePointer_UserUnmarshal+0x2109
C [OLEAUT32.dll+0x4977] VariantCopy+0x86
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.jacob.com.Variant.release()V+0
j com.jacob.com.Variant.safeRelease()V+22
j com.jacob.com.Variant.finalize()V+1
v ~StubRoutines::call_stub
j java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V+0
j java.lang.ref.Finalizer.runFinalizer()V+45
j java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V+1
j java.lang.ref.Finalizer$FinalizerThread.run()V+24
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0472e400 JavaThread "Thread-11" daemon [_thread_in_native, id=3492, stack(0x04a30000,0x04a80000)]
0x02120800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=964, stack(0x045f0000,0x04640000)]
0x0211a000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3184, stack(0x04560000,0x045b0000)]
0x02118c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2660, stack(0x044d0000,0x04520000)]
0x02115c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4020, stack(0x04440000,0x04490000)]
=>0x0210ec00 JavaThread "Finalizer" daemon [_thread_in_native, id=3836, stack(0x043b0000,0x04400000)]
0x0210d000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3788, stack(0x04320000,0x04370000)]
0x00a09000 JavaThread "main" [_thread_in_native, id=2636, stack(0x00380000,0x003d0000)]
Other Threads:
0x020d0c00 VMThread [stack: 0x04290000,0x042e0000] [id=3472]
0x0213a800 WatcherThread [stack: 0x04680000,0x046d0000] [id=1196]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4928K, used 750K [0x24290000, 0x247e0000, 0x297e0000)
eden space 4416K, 5% used [0x24290000, 0x242cb958, 0x246e0000)
from space 512K, 100% used [0x24760000, 0x247e0000, 0x247e0000)
to space 512K, 0% used [0x246e0000, 0x246e0000, 0x24760000)
tenured generation total 10944K, used 1465K [0x297e0000, 0x2a290000, 0x34290000)
the space 10944K, 13% used [0x297e0000, 0x2994e738, 0x2994e800, 0x2a290000)
compacting perm gen total 12288K, used 1821K [0x34290000, 0x34e90000, 0x38290000)
the space 12288K, 14% used [0x34290000, 0x344576b8, 0x34457800, 0x34e90000)
ro space 10240K, 55% used [0x38290000, 0x38813dd8, 0x38813e00, 0x38c90000)
rw space 12288K, 55% used [0x38c90000, 0x39336cd0, 0x39336e00, 0x39890000)
Code Cache [0x021a0000, 0x02288000, 0x041a0000)
total_blobs=387 nmethods=252 adapters=71 free_code_cache=32629376 largest_free_block=0
Dynamic libraries:
0x00400000 - 0x00425000 c:\Program Files (x86)\Java\jdk1.6.0_45\bin\java.exe
0x77d20000 - 0x77ea0000 C:\Windows\SysWOW64\ntdll.dll
0x75cc0000 - 0x75dd0000 C:\Windows\syswow64\kernel32.dll
0x755d0000 - 0x75616000 C:\Windows\syswow64\KERNELBASE.dll
0x76fb0000 - 0x77050000 C:\Windows\syswow64\ADVAPI32.dll
0x75520000 - 0x755cc000 C:\Windows\syswow64\msvcrt.dll
0x75ef0000 - 0x75f09000 C:\Windows\SysWOW64\sechost.dll
0x75620000 - 0x75710000 C:\Windows\syswow64\RPCRT4.dll
0x75400000 - 0x75460000 C:\Windows\syswow64\SspiCli.dll
0x753f0000 - 0x753fc000 C:\Windows\syswow64\CRYPTBASE.dll
0x7c340000 - 0x7c396000 c:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\msvcr71.dll
0x6d8e0000 - 0x6db90000 c:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\client\jvm.dll
0x77110000 - 0x77210000 C:\Windows\syswow64\USER32.dll
0x77330000 - 0x773c0000 C:\Windows\syswow64\GDI32.dll
0x77100000 - 0x7710a000 C:\Windows\syswow64\LPK.dll
0x77060000 - 0x770fd000 C:\Windows\syswow64\USP10.dll
0x74f60000 - 0x74f92000 C:\Windows\system32\WINMM.dll
0x773c0000 - 0x77420000 C:\Windows\system32\IMM32.DLL
0x759f0000 - 0x75abc000 C:\Windows\syswow64\MSCTF.dll
0x74440000 - 0x7448c000 C:\Windows\system32\apphelp.dll
0x6d890000 - 0x6d89c000 c:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 c:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\java.dll
0x6d8d0000 - 0x6d8df000 c:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\zip.dll
0x6d870000 - 0x6d878000 C:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\sunmscapi.dll
0x77210000 - 0x7732e000 C:\Windows\syswow64\CRYPT32.dll
0x76e20000 - 0x76e2c000 C:\Windows\syswow64\MSASN1.dll
0x6d6c0000 - 0x6d6d3000 C:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\net.dll
0x77420000 - 0x77455000 C:\Windows\syswow64\WS2_32.dll
0x77050000 - 0x77056000 C:\Windows\syswow64\NSI.dll
0x742e0000 - 0x7431c000 C:\Windows\system32\mswsock.dll
0x742d0000 - 0x742d6000 C:\Windows\System32\wship6.dll
0x74530000 - 0x74546000 C:\Windows\system32\CRYPTSP.dll
0x744f0000 - 0x7452b000 C:\Windows\system32\rsaenh.dll
0x728e0000 - 0x728f7000 C:\Windows\system32\USERENV.dll
0x74670000 - 0x7467b000 C:\Windows\system32\profapi.dll
0x74550000 - 0x74560000 C:\Windows\system32\NLAapi.dll
0x74fd0000 - 0x74fe0000 C:\Windows\system32\napinsp.dll
0x745f0000 - 0x74634000 C:\Windows\system32\DNSAPI.dll
0x74fe0000 - 0x74fe8000 C:\Windows\System32\winrnr.dll
0x729f0000 - 0x729f5000 C:\Windows\System32\wshtcpip.dll
0x745d0000 - 0x745ec000 C:\Windows\system32\IPHLPAPI.DLL
0x745c0000 - 0x745c7000 C:\Windows\system32\WINNSI.DLL
0x729e0000 - 0x729e6000 C:\Windows\system32\rasadhlp.dll
0x729a0000 - 0x729d8000 C:\Windows\System32\fwpuclnt.dll
0x10000000 - 0x1002c000 C:\Users\Administrator\Desktop\T\lib\jacob-1.17\jacob-1.17-x86.dll
0x76b60000 - 0x76cbc000 C:\Windows\syswow64\ole32.dll
0x75e60000 - 0x75eef000 C:\Windows\syswow64\OLEAUT32.dll
0x76d90000 - 0x76e13000 C:\Windows\syswow64\CLBCatQ.DLL
0x744e0000 - 0x744ee000 C:\Windows\system32\RpcRtRemote.dll
0x74040000 - 0x7409f000 C:\Windows\system32\SXS.DLL
0x754b0000 - 0x754b5000 C:\Windows\system32\PSAPI.DLL
VM Arguments:
jvm_args: -Djava.library.path=C:\Users\Administrator\Desktop\T\lib\jacob-1.17
java_command: sslserverclient.SSLServerMain
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Java\jdk1.6.0_45\bin
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows NT 6.1 , 64 bit Build 7601 Service Pack 1
CPU:total 2 (4 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1
Memory: 4k page, physical 1048180k(324920k free), swap 2096756k(1238132k free)
vm_info: Java HotSpot(TM) Client VM (20.45-b01) for windows-x86 JRE (1.6.0_45-b06), built on Mar 26 2013 13:40:03 by "java_re" with MS VC++ 7.1 (VS2003)
time: Thu Jan 02 09:08:23 2014
elapsed time: 32 seconds
When I run the same code in JDK 1.7.0_21, this error does not arise.
I run this code for 200 Times, upto which the program never crashed.
So Is this a JDK version problem ? or the Jacob API compatibility problem with JDK ?
No comments:
Post a Comment