Java-通过JAVA 访问OPCServer 运行一段时间后JVM crash了

UI设计界面 UI设计界面 主题:1059 回复:2190

Java-通过JAVA 访问OPCServer 运行一段时间后JVM crash了

甜柠檬 发布于 2017-06-23 字数 15394 浏览 1152 回复 2

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1ae06a34, pid=724, tid=636
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode)
# Problematic frame:
# C [JCustomOpc.dll+0x56a34]
#
--------------- T H R E A D ---------------
Current thread (0x0663cd90): JavaThread "Thread-27" [_thread_in_native, id=636]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000024
Registers:
EAX=0x00000010, EBX=0x1ae329e4, ECX=0x1b5afb64, EDX=0x03bb8a90
ESP=0x1b5af9dc, EBP=0x1b5afa08, ESI=0x073a6e64, EDI=0x00000003
EIP=0x1ae06a34, EFLAGS=0x00010286
Top of Stack: (sp=0x1b5af9dc)
0x1b5af9dc: 1ae16e1f 1b5afa78 00000004 0663cd90
0x1b5af9ec: 1a180d6d 00000000 00000000 073a6e60
0x1b5af9fc: 1ae32bc4 00000010 00000000 1b5afa20
0x1b5afa0c: 0442b5c0 0663ce50 1b5afa28 16072c30
0x1b5afa1c: 00000000 1b5afa38 0442b7f8 115d3888
0x1b5afa2c: 041e2923 00000000 1b5afa68 1b5afa68
0x1b5afa3c: 041e29fa 115d3888 00000009 115d3888
0x1b5afa4c: 1b5afa44 17856c43 1b5afa78 17861300
Instructions: (pc=0x1ae06a34)
0x1ae06a24: 00 83 c4 0c 8b c3 5f 5e 5b 59 59 5d c3 8d 40 00
0x1ae06a34: 8b 40 14 c3 8b 40 08 c3 53 56 57 55 8b ea 8b f8
Stack: [0x1b4b0000,0x1b5b0000), sp=0x1b5af9dc, free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [JCustomOpc.dll+0x56a34]
J javafish.clients.opc.JOpc.getDownloadGroupNative()Ljavafish/clients/opc/component/OpcGroup;
J javafish.clients.opc.JOpc.getDownloadGroup()Ljavafish/clients/opc/component/OpcGroup;
j nc.ui.meam.pub.comm.opcserver.JOpcMeamServer.run()V+155
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0x86401]
V [jvm.dll+0xdb172]
V [jvm.dll+0x862d2]
V [jvm.dll+0x8602f]
V [jvm.dll+0xa0bcb]
V [jvm.dll+0x10bdad]
V [jvm.dll+0x10bd7b]
C [msvcrt.dll+0x2a3b0]
C [kernel32.dll+0xb729]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J javafish.clients.opc.JOpc.getDownloadGroupNative()Ljavafish/clients/opc/component/OpcGroup;
J javafish.clients.opc.JOpc.getDownloadGroup()Ljavafish/clients/opc/component/OpcGroup;
j nc.ui.meam.pub.comm.opcserver.JOpcMeamServer.run()V+155
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x0663cd90 JavaThread "Thread-27" [_thread_in_native, id=636]
0x1a391308 JavaThread "Thread-26" [_thread_blocked, id=5884]
0x073c5d10 JavaThread "Thread-24" [_thread_blocked, id=4288]
0x0756d1e0 JavaThread "Thread-23" [_thread_blocked, id=4592]
0x0663ad10 JavaThread "Thread-21" [_thread_blocked, id=5380]
0x1a1b92d0 JavaThread "DBCache-and-Version-Update-Thread" [_thread_blocked, id=2732]
0x073a6f58 JavaThread "Desktop_Timer" [_thread_blocked, id=4992]
0x1a232e00 JavaThread "OUTPUT FLUSHER" [_thread_blocked, id=5156]
0x1a180e28 JavaThread "Thread-13" [_thread_blocked, id=5360]
0x074b00d0 JavaThread "Thread-12" [_thread_in_native, id=2588]
0x076c8790 JavaThread "HSQLDB Timer @64160e" daemon [_thread_blocked, id=4860]
0x0652a730 JavaThread "VersionFileSaveThread" daemon [_thread_blocked, id=3696]
0x07521dc8 JavaThread "Thread-6" daemon [_thread_blocked, id=1156]
0x0745d6f0 JavaThread "Thread-5" daemon [_thread_blocked, id=4808]
0x07440e30 JavaThread "TimerQueue" daemon [_thread_blocked, id=244]
0x074455d8 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=5104]
0x0652a238 JavaThread "thread applet-nc.ui.sm.login.AppletContainer.class" [_thread_blocked, id=5824]
0x0652fc68 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=4744]
0x064be1c8 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=5664]
0x064ae830 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2092]
0x064ae3f8 JavaThread "AWT-Shutdown" [_thread_blocked, id=5900]
0x064a8228 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2436]
0x06440e08 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2404]
0x027daa28 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4824]
0x06489c60 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5524]
0x027cca98 JavaThread "Finalizer" daemon [_thread_blocked, id=640]
0x027cbea0 JavaThread "Reference Handler" daemon [_thread_blocked, id=5960]
0x02704b20 JavaThread "main" [_thread_in_native, id=3788]
Other Threads:
0x0039a568 VMThread [id=5780]
0x027dc120 WatcherThread [id=4564]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 2816K, used 2179K [0x10010000, 0x10310000, 0x10770000)
eden space 2560K, 81% used [0x10010000, 0x1021a220, 0x10290000)
from space 256K, 35% used [0x10290000, 0x102a6c10, 0x102d0000)
to space 256K, 0% used [0x102d0000, 0x102d0000, 0x10310000)
tenured generation total 35508K, used 22358K [0x10770000, 0x12a1d000, 0x16010000)
the space 35508K, 62% used [0x10770000, 0x11d45b38, 0x11d45c00, 0x12a1d000)
compacting perm gen total 28672K, used 28502K [0x16010000, 0x17c10000, 0x1a010000)
the space 28672K, 99% used [0x16010000, 0x17be59e0, 0x17be5a00, 0x17c10000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00419000 C:Program FilesInternet ExplorerIEXPLORE.EXE
0x7c920000 - 0x7c9b6000 C:WINDOWSsystem32ntdll.dll
0x7c800000 - 0x7c91e000 C:WINDOWSsystem32kernel32.dll
0x77be0000 - 0x77c38000 C:WINDOWSsystem32msvcrt.dll
0x77d10000 - 0x77da0000 C:WINDOWSsystem32USER32.dll
0x77ef0000 - 0x77f39000 C:WINDOWSsystem32GDI32.dll
0x77f40000 - 0x77fb6000 C:WINDOWSsystem32SHLWAPI.dll
0x77da0000 - 0x77e49000 C:WINDOWSsystem32ADVAPI32.dll
0x77e50000 - 0x77ee3000 C:WINDOWSsystem32RPCRT4.dll
0x77fc0000 - 0x77fd1000 C:WINDOWSsystem32Secur32.dll
0x7e550000 - 0x7e6c3000 C:WINDOWSsystem32SHDOCVW.dll
0x765e0000 - 0x76673000 C:WINDOWSsystem32CRYPT32.dll
0x76db0000 - 0x76dc2000 C:WINDOWSsystem32MSASN1.dll
0x75430000 - 0x754a1000 C:WINDOWSsystem32CRYPTUI.dll
0x5fdd0000 - 0x5fe25000 C:WINDOWSsystem32NETAPI32.dll
0x770f0000 - 0x7717b000 C:WINDOWSsystem32OLEAUT32.dll
0x76990000 - 0x76ace000 C:WINDOWSsystem32ole32.dll
0x77bd0000 - 0x77bd8000 C:WINDOWSsystem32VERSION.dll
0x76680000 - 0x76726000 C:WINDOWSsystem32WININET.dll
0x76c00000 - 0x76c2e000 C:WINDOWSsystem32WINTRUST.dll
0x76c60000 - 0x76c88000 C:WINDOWSsystem32IMAGEHLP.dll
0x76f30000 - 0x76f5c000 C:WINDOWSsystem32WLDAP32.dll
0x76300000 - 0x7631d000 C:WINDOWSsystem32IMM32.DLL
0x62c20000 - 0x62c29000 C:WINDOWSsystem32LPK.DLL
0x73fa0000 - 0x7400b000 C:WINDOWSsystem32USP10.dll
0x77180000 - 0x77283000 C:WINDOWSWinSxSx86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202comctl32.dll
0x7d590000 - 0x7dd84000 C:WINDOWSsystem32SHELL32.dll
0x5d170000 - 0x5d20a000 C:WINDOWSsystem32comctl32.dll
0x74680000 - 0x746cc000 C:WINDOWSsystem32MSCTF.dll
0x75ef0000 - 0x75fed000 C:WINDOWSsystem32BROWSEUI.dll
0x71600000 - 0x7160f000 C:WINDOWSsystem32browselc.dll
0x76d70000 - 0x76d92000 C:WINDOWSsystem32appHelp.dll
0x76fa0000 - 0x7701f000 C:WINDOWSsystem32CLBCATQ.DLL
0x77020000 - 0x770ba000 C:WINDOWSsystem32COMRes.dll
0x73640000 - 0x7366e000 C:WINDOWSsystem32msctfime.ime
0x5adc0000 - 0x5adf7000 C:WINDOWSsystem32UxTheme.dll
0x76590000 - 0x765de000 C:WINDOWSSystem32cscui.dll
0x76570000 - 0x7658c000 C:WINDOWSSystem32CSCDLL.dll
0x76060000 - 0x761b6000 C:WINDOWSsystem32SETUPAPI.dll
0x759d0000 - 0x75a7f000 C:WINDOWSsystem32USERENV.dll
0x7eae0000 - 0x7eb81000 C:WINDOWSsystem32urlmon.dll
0x10000000 - 0x1000c000 C:Program FilesAdobeAcrobat 6.0ReaderActiveXAcroIEHelper.dll
0x7e210000 - 0x7e50c000 C:WINDOWSsystem32mshtml.dll
0x74620000 - 0x74647000 C:WINDOWSsystem32msls31.dll
0x76bc0000 - 0x76bcb000 C:WINDOWSsystem32PSAPI.DLL
0x75e00000 - 0x75eae000 C:WINDOWSsystem32SXS.DLL
0x71800000 - 0x7187c000 C:WINDOWSsystem32shdoclc.dll
0x01610000 - 0x01b59000 C:WINDOWSsystem32xpsp2res.dll
0x74cf0000 - 0x74d81000 C:WINDOWSsystem32mlang.dll
0x74650000 - 0x7467a000 C:WINDOWSsystem32msimtf.dll
0x325c0000 - 0x325d2000 C:Program FilesMicrosoft OfficeOFFICE11msohev.dll
0x71a90000 - 0x71aa2000 C:WINDOWSsystem32MPR.dll
0x75ed0000 - 0x75ed7000 C:WINDOWSSystem32drprov.dll
0x71b90000 - 0x71b9e000 C:WINDOWSSystem32ntlanman.dll
0x71c50000 - 0x71c65000 C:WINDOWSSystem32NETUI0.dll
0x71c10000 - 0x71c50000 C:WINDOWSSystem32NETUI1.dll
0x71c00000 - 0x71c07000 C:WINDOWSSystem32NETRAP.dll
0x71b70000 - 0x71b83000 C:WINDOWSSystem32SAMLIB.dll
0x75ee0000 - 0x75eea000 C:WINDOWSSystem32davclnt.dll
0x73ce0000 - 0x73cf3000 C:WINDOWSsystem32shgina.dll
0x758d0000 - 0x759c1000 C:WINDOWSsystem32MSGINA.dll
0x73540000 - 0x7357d000 C:WINDOWSsystem32ODBC32.dll
0x76320000 - 0x76367000 C:WINDOWSsystem32comdlg32.dll
0x762d0000 - 0x762e0000 C:WINDOWSsystem32WINSTA.dll
0x1f840000 - 0x1f857000 C:WINDOWSsystem32odbcint.dll
0x5a540000 - 0x5a5d0000 C:WINDOWSsystem32wiashext.dll
0x4ae90000 - 0x4b03b000 C:WINDOWSWinSxSx86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6002.22509_x-ww_c7dad023gdiplus.dll
0x73b10000 - 0x73b23000 C:WINDOWSsystem32sti.dll
0x74a40000 - 0x74a47000 C:WINDOWSsystem32CFGMGR32.dll
0x76b10000 - 0x76b3a000 C:WINDOWSsystem32WINMM.dll
0x72c90000 - 0x72c99000 C:WINDOWSsystem32wdmaud.drv
0x72c80000 - 0x72c88000 C:WINDOWSsystem32msacm32.drv
0x77bb0000 - 0x77bc5000 C:WINDOWSsystem32MSACM32.dll
0x77ba0000 - 0x77ba7000 C:WINDOWSsystem32midimap.dll
0x71a40000 - 0x71a4b000 C:WINDOWSsystem32wsock32.dll
0x71a20000 - 0x71a37000 C:WINDOWSsystem32WS2_32.dll
0x71a10000 - 0x71a18000 C:WINDOWSsystem32WS2HELP.dll
0x719c0000 - 0x719fe000 C:WINDOWSsystem32mswsock.dll
0x60fd0000 - 0x61025000 C:WINDOWSsystem32hnetcfg.dll
0x71a00000 - 0x71a08000 C:WINDOWSSystem32wshtcpip.dll
0x76eb0000 - 0x76eec000 C:WINDOWSsystem32RASAPI32.DLL
0x76e60000 - 0x76e72000 C:WINDOWSsystem32rasman.dll
0x76e80000 - 0x76eaf000 C:WINDOWSsystem32TAPI32.dll
0x76e50000 - 0x76e5e000 C:WINDOWSsystem32rtutils.dll
0x77c40000 - 0x77c65000 C:WINDOWSsystem32msv1_0.dll
0x76760000 - 0x7676c000 C:WINDOWSsystem32cryptdll.dll
0x76d30000 - 0x76d48000 C:WINDOWSsystem32iphlpapi.dll
0x72240000 - 0x72245000 C:WINDOWSsystem32sensapi.dll
0x75bc0000 - 0x75c3d000 C:WINDOWSsystem32jscript.dll
0x66b50000 - 0x66b5c000 C:WINDOWSsystem32ImgUtil.dll
0x5e400000 - 0x5e40c000 C:WINDOWSsystem32pngfilt.dll
0x6c140000 - 0x6c176000 C:WINDOWSsystem32dxtrans.dll
0x76af0000 - 0x76b01000 C:WINDOWSsystem32ATL.DLL
0x6d7c0000 - 0x6d7ca000 C:WINDOWSsystem32ddrawex.dll
0x736d0000 - 0x7371b000 C:WINDOWSsystem32DDRAW.dll
0x73b30000 - 0x73b36000 C:WINDOWSsystem32DCIMAN32.dll
0x6c180000 - 0x6c1da000 C:WINDOWSsystem32dxtmsft.dll
0x753b0000 - 0x75421000 C:WINDOWSsystem32mshtmled.dll
0x6d590000 - 0x6d5a2000 C:Program Filesjre1.5.0_07binnpjpi150_07.dll
0x5efe0000 - 0x5eff7000 C:WINDOWSsystem32OLEPRO32.DLL
0x6d400000 - 0x6d417000 C:Program Filesjre1.5.0_07binjpiexp32.dll
0x76ef0000 - 0x76f17000 C:WINDOWSsystem32DNSAPI.dll
0x76f80000 - 0x76f88000 C:WINDOWSSystem32winrnr.dll
0x6d450000 - 0x6d468000 C:Program Filesjre1.5.0_07binjpishare.dll
0x03a40000 - 0x03bd7000 C:PROGRA~1JRE15~1.0_0binclientjvm.dll
0x6d280000 - 0x6d288000 C:PROGRA~1JRE15~1.0_0binhpi.dll
0x6d690000 - 0x6d69c000 C:PROGRA~1JRE15~1.0_0binverify.dll
0x6d300000 - 0x6d31d000 C:PROGRA~1JRE15~1.0_0binjava.dll
0x6d6b0000 - 0x6d6bf000 C:PROGRA~1JRE15~1.0_0binzip.dll
0x6d000000 - 0x6d167000 C:Program Filesjre1.5.0_07binawt.dll
0x72f70000 - 0x72f96000 C:WINDOWSsystem32WINSPOOL.DRV
0x738b0000 - 0x73980000 C:WINDOWSsystem32D3DIM700.DLL
0x6d240000 - 0x6d27f000 C:Program Filesjre1.5.0_07binfontmanager.dll
0x6d1f0000 - 0x6d203000 C:Program Filesjre1.5.0_07bindeploy.dll
0x6d5d0000 - 0x6d5f2000 C:Program Filesjre1.5.0_07binRegUtils.dll
0x7c9c0000 - 0x7cc7c000 C:WINDOWSsystem32msi.dll
0x6d3e0000 - 0x6d3f5000 C:Program Filesjre1.5.0_07binjpicom32.dll
0x6d4c0000 - 0x6d4d3000 C:Program Filesjre1.5.0_07binnet.dll
0x76f90000 - 0x76f96000 C:WINDOWSsystem32rasadhlp.dll
0x6d4e0000 - 0x6d4e9000 C:Program Filesjre1.5.0_07binnio.dll
0x6d1c0000 - 0x6d1e3000 C:Program Filesjre1.5.0_07bindcpr.dll
0x1aa90000 - 0x1aaaa000 C:WINDOWSsystem32hccutils.DLL
0x1adb0000 - 0x1ae2c000 C:Program Filesjre1.5.0_07binJCustomOpc.dll
0x58a00000 - 0x58a07000 C:WINDOWSsystem32Wship6.dll
0x1af40000 - 0x1af5a000 C:WINDOWSsystem32opcproxy.dll
0x68000000 - 0x68036000 C:WINDOWSsystem32rsaenh.dll
VM Arguments:
jvm_args: -Xbootclasspath/a:C:PROGRA~1JRE15~1.0_0libdeploy.jar;C:PROGRA~1JRE15~1.0_0libplugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0_07 -Djavaplugin.nodotversion=150_07 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:PROGRA~1JRE15~1.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=C:PROGRA~1JRE15~1.0_0classes -Xbootclasspath/a:C:PROGRA~1JRE15~1.0_0libdeploy.jar;C:PROGRA~1JRE15~1.0_0libplugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0_07 -Djavaplugin.nodotversion=150_07 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:PROGRA~1JRE15~1.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol vfprintf
java_command: <unknown>
Launcher Type: generic
Environment Variables:
JAVA_HOME=C:jdk1.6.0_25
CLASSPATH=.;C:jdk1.6.0_25lib
PATH=C:PROGRA~1JRE15~1.0_0bin;C:Program FilesInternet Explorer;;C:jdk1.6.0_25bin;d:Oracleproduct10.1.0Client_1bin;d:Oracleproduct10.1.0Client_1jre1.4.2binclient;d:Oracleproduct10.1.0Client_1jre1.4.2bin;C:Program FilesSIEMENSSIMATIC.NCMs7bin;C:Program FilesSIEMENSSIMATIC.NETSimNetCom;C:Program FilesCommon FilesSiemensACEBin;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesSymantecpcAnywhere;"C:Program FilesPKWAREpkzipc";c:Program FilesMicrosoft SQL Server90Toolsbinn;.
USERNAME=TOLEDO
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 3
CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2, ht
Memory: 4k page, physical 512916k(75868k free), swap 1243280k(414708k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for windows-x86, built on May 3 2006 01:04:38 by "java_re" with MS VC++ 6.0

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

支持 Markdown 语法,需要帮助?

评论(2

灵芸 2017-09-15 2 楼

C [JCustomOpc.dll+0x56a34]

调用dll出现问题,getDownloadGroupNative
尝试去掉,如果没问题,
1.改dll这个方法
2.调用其他可以满足需求的方法

甜柠檬 2017-08-17 1 楼

JVM的持久代已经快满了, compacting perm gen total 28672K, used 28502K
最大堆内存只配了96m, 试下分配更多的内存