以下为错误日志#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x765ee26f, pid=4044, tid=780
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode)
# Problematic frame:
# C  [CRYPT32.dll+0xe26f]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#---------------  T H R E A D  ---------------Current thread (0x00306000):  JavaThread "main" [_thread_in_native, id=780]siginfo: ExceptionCode=0xc0000005, reading address 0x00000044Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x77db7f61, EDX=0x00000000
ESP=0x0094e800, EBP=0x0094e80c, ESI=0x00000000, EDI=0x00000044
EIP=0x765ee26f, EFLAGS=0x00010246Top of Stack: (sp=0x0094e800)
0x0094e800:   00000000 7660178d 00000000 0094e818
0x0094e810:   765ee2ef 00000000 0094e830 766017af
0x0094e820:   00000000 00000000 765ec7f8 00000000
0x0094e830:   0c1f48d0 0c1d2c97 00000000 00000000
0x0094e840:   0c2107b3 0c1f48d0 00000000 0c1f48d0
0x0094e850:   00306000 02bb8088 6d7c8256 00000001
0x0094e860:   02bb8058 ffffffff 00000004 0094e908
0x0094e870:   00000001 6d960a91 0094e8a8 00a26114 Instructions: (pc=0x765ee26f)
0x765ee25f:   90 90 8b ff 55 8b ec 53 56 8b 75 08 57 8d 7e 44
0x765ee26f:   8b 07 33 db 3b c3 0f 85 0a b8 00 00 83 3e 03 75 
Stack: [0x00900000,0x00950000),  sp=0x0094e800,  free space=314k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [CRYPT32.dll+0xe26f]
C  [CRYPT32.dll+0xe2ef]
C  [CRYPT32.dll+0x217af]Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  cn.com.jit.assp.dsign.jni.DSignJNI.SetCert(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I+0
j  com.cfcc.jaf.common.cautil.CAClientUtil.SetCertChooseType(I)V+78
j  com.cf.kk.client.login.KKLoginModel.login()Z+70
j  com.cf.kk.client.login.KKLoginDialog.buttonPressed(I)V+165
j  org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Lorg/eclipse/swt/events/SelectionEvent;)V+17
j  org.eclipse.swt.widgets.TypedListener.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+198
J  org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V
j  org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/widgets/Event;)V+25
j  org.eclipse.swt.widgets.Display.runDeferredEvents()Z+84
j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+55
j  org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;)V+23
j  org.eclipse.jface.window.Window.open()I+49
j  com.cf.kk.client.Application.login(Lorg/eclipse/swt/widgets/Display;)Z+25
j  com.cf.kk.client.Application.run(Ljava/lang/Object;)Ljava/lang/Object;+16
j  org.eclipse.core.internal.runtime.PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;+219
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+60
v  ~StubRoutines::call_stub
j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j  org.eclipse.core.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+181
j  org.eclipse.core.launcher.Main.basicRun([Ljava/lang/String;)V+107
j  org.eclipse.core.launcher.Main.run([Ljava/lang/String;)I+4
j  org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+10
v  ~StubRoutines::call_stub---------------  P R O C E S S  ---------------Java Threads: ( => current thread )
  0x0b1d8800 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=1372]
  0x0b036400 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=196]
  0x0ab39800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=888]
  0x0ab34c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2532]
  0x0ab30400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3384]
  0x0ab2fc00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3948]
  0x0ab1ec00 JavaThread "Finalizer" daemon [_thread_blocked, id=3468]
  0x0ab1a800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3732]
=>0x00306000 JavaThread "main" [_thread_in_native, id=780]Other Threads:
  0x0ab17400 VMThread [id=1148]
  0x0ab3ac00 WatcherThread [id=3628]VM state:not at safepoint (normal execution)VM Mutex/Monitor currently owned by a thread: NoneHeap
 def new generation   total 2752K, used 2023K [0x02a00000, 0x02cf0000, 0x02ee0000)
  eden space 2496K,  70% used [0x02a00000, 0x02bba2d8, 0x02c70000)
  from space 256K,  99% used [0x02c70000, 0x02cafae0, 0x02cb0000)
  to   space 256K,   0% used [0x02cb0000, 0x02cb0000, 0x02cf0000)
 tenured generation   total 35444K, used 35336K [0x02ee0000, 0x0517d000, 0x06a00000)
   the space 35444K,  99% used [0x02ee0000, 0x05162350, 0x05162400, 0x0517d000)
 compacting perm gen  total 14080K, used 13832K [0x06a00000, 0x077c0000, 0x0aa00000)
   the space 14080K,  98% used [0x06a00000, 0x07782080, 0x07782200, 0x077c0000)
No shared spaces configured.Dynamic libraries:
0x00400000 - 0x00423000  D:\WINDOWS\system32\java.exe
0x7c920000 - 0x7c9b6000  D:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c91d000  D:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e49000  D:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 - 0x77ee2000  D:\WINDOWS\system32\RPCRT4.dll
0x77fc0000 - 0x77fd1000  D:\WINDOWS\system32\Secur32.dll
0x7c340000 - 0x7c396000  D:\Program Files\Java\jre1.6.0\bin\msvcr71.dll
0x6d7c0000 - 0x6da07000  D:\Program Files\Java\jre1.6.0\bin\client\jvm.dll
0x77d10000 - 0x77d9f000  D:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f38000  D:\WINDOWS\system32\GDI32.dll
0x76b10000 - 0x76b3a000  D:\WINDOWS\system32\WINMM.dll
0x76300000 - 0x7631d000  D:\WINDOWS\system32\IMM32.DLL
0x62c20000 - 0x62c29000  D:\WINDOWS\system32\LPK.DLL
0x73fa0000 - 0x7400b000  D:\WINDOWS\system32\USP10.dll
0x77be0000 - 0x77c38000  D:\WINDOWS\system32\msvcrt.dll
0x10000000 - 0x10017000  D:\WINDOWS\system32\PrinterCtrl.dll
0x76990000 - 0x76acd000  D:\WINDOWS\system32\ole32.dll
0x6d310000 - 0x6d318000  D:\Program Files\Java\jre1.6.0\bin\hpi.dll
0x76bc0000 - 0x76bcb000  D:\WINDOWS\system32\PSAPI.DLL
0x6d770000 - 0x6d77c000  D:\Program Files\Java\jre1.6.0\bin\verify.dll
0x6d3b0000 - 0x6d3cf000  D:\Program Files\Java\jre1.6.0\bin\java.dll
0x6d7b0000 - 0x6d7bf000  D:\Program Files\Java\jre1.6.0\bin\zip.dll
0x6d570000 - 0x6d583000  D:\Program Files\Java\jre1.6.0\bin\net.dll
0x71a20000 - 0x71a37000  D:\WINDOWS\system32\WS2_32.dll
0x71a10000 - 0x71a18000  D:\WINDOWS\system32\WS2HELP.dll
0x6d590000 - 0x6d599000  D:\Program Files\Java\jre1.6.0\bin\nio.dll
0x0b520000 - 0x0b572000  D:\Program Files\KK\configuration\org.eclipse.osgi\bundles\31\1\.cp\swt-win32-3235.dll
0x77180000 - 0x77283000  D:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.dll
0x77f40000 - 0x77fb6000  D:\WINDOWS\system32\SHLWAPI.dll
0x76320000 - 0x76367000  D:\WINDOWS\system32\comdlg32.dll
0x7d590000 - 0x7dd83000  D:\WINDOWS\system32\SHELL32.dll
0x770f0000 - 0x7717b000  D:\WINDOWS\system32\OLEAUT32.dll
0x76680000 - 0x76724000  D:\WINDOWS\system32\WININET.dll
0x765e0000 - 0x76673000  D:\WINDOWS\system32\CRYPT32.dll
0x76db0000 - 0x76dc2000  D:\WINDOWS\system32\MSASN1.dll
0x73b40000 - 0x73b60000  D:\WINDOWS\system32\MSVFW32.dll
0x5d170000 - 0x5d20a000  D:\WINDOWS\system32\comctl32.dll
0x5adc0000 - 0x5adf7000  D:\WINDOWS\system32\uxtheme.dll
0x74680000 - 0x746cb000  D:\WINDOWS\system32\MSCTF.dll
0x73640000 - 0x7366e000  D:\WINDOWS\system32\msctfime.ime
0x0c1d0000 - 0x0c1fd000  D:\WINDOWS\system32\JITDSign.dll
0x72f70000 - 0x72f96000  D:\WINDOWS\system32\WINSPOOL.DRV
0x0ffd0000 - 0x0fff8000  D:\WINDOWS\system32\rsaenh.dll
0x759d0000 - 0x75a7e000  D:\WINDOWS\system32\USERENV.dll
0x5fdd0000 - 0x5fe24000  D:\WINDOWS\system32\netapi32.dllVM Arguments:
java_command: startup.jar
Launcher Type: SUN_STANDARDEnvironment Variables:
PATH=D:\WINDOWS\system32;D:\WINDOWS;D:\WINDOWS\System32\Wbem;D:\Program Files\Intel\DMIX;D:\Program Files\Java\jdk1.6.0\bin;
USERNAME=HP
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel---------------  S Y S T E M  ---------------OS: Windows XP Build 2600 Service Pack 2CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2Memory: 4k page, physical 2069736k(1042732k free), swap 4008288k(3101640k free)vm_info: Java HotSpot(TM) Client VM (1.6.0-b105) for windows-x86, built on Nov 29 2006 00:48:48 by "java_re" with unknown MS VC++:1310

解决方案 »

  1.   

    Heap
     def new generation total 2752K, used 2023K [0x02a00000, 0x02cf0000, 0x02ee0000)
      eden space 2496K, 70% used [0x02a00000, 0x02bba2d8, 0x02c70000)
      from space 256K, 99% used [0x02c70000, 0x02cafae0, 0x02cb0000)
      to space 256K, 0% used [0x02cb0000, 0x02cb0000, 0x02cf0000)
     tenured generation total 35444K, used 35336K [0x02ee0000, 0x0517d000, 0x06a00000)
      the space 35444K, 99% used [0x02ee0000, 0x05162350, 0x05162400, 0x0517d000)
     compacting perm gen total 14080K, used 13832K [0x06a00000, 0x077c0000, 0x0aa00000)
      the space 14080K, 98% used [0x06a00000, 0x07782080, 0x07782200, 0x077c0000)
    No shared spaces configured.觉得重点关注下这几行吧,看下那些占用率高的。然后查是什么问题。
    比如那些占99% 98%的
      

  2.   

    运行时出错吗,看看dll写的有没有问题
      

  3.   

    问题已经得到解决。在大部分机器运行不会出现这个错误。我们通过对出现问题的机器已经多方面研究,最终发现新建用户,在新用户下运行程序即可解决。虽然问题解决了,但是对这个解决办法甚感疑惑。另外,我们通过查看CRYPT32.dll的偏移地址0xe26f,确定了函数TlsSetValue出错,TLS是微软的一套认证框架。请有兴趣的朋友研究下,产生这个问题的根源,但愿能找到更好的取代办法,毕竟建立一个新用户也不是很好,半个月后结贴。谢谢。
      

  4.   

    上面已经说明dll组件没有错误,是组件调用系统服务(估计)时由于系统设置错误出错,请大家集思广益,多参与讨论