springmvc调用dll第一次可以执行,第二次JVM就崩溃了,什么情况

shzhh1992 2018-07-13 09:39:34
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fef6d6a247, pid=10056, tid=7976
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [SBPCCOMM64.dll+0xa247]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/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 (0x000000001db11800): JavaThread "startQuertz_Worker-2" [_thread_in_native, id=7976, stack(0x0000000025100000,0x0000000025200000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000

Registers:
RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0x000000000000001f, RDX=0x0000000000000001
RSP=0x00000000251fdeb0, RBP=0x00000000251fdf09, RSI=0x0000000027ee16d8, RDI=0x000000002d510040
R8 =0x0000000000000000, R9 =0x0000000000000000, R10=0x000000000465dfa0, R11=0x0000000056967ca0
R12=0x0000000000000000, R13=0x000000002a3ce598, R14=0x00000000251fe050, R15=0x000000001db11800
RIP=0x000007fef6d6a247, EFLAGS=0x0000000000010246

Top of Stack: (sp=0x00000000251fdeb0)
0x00000000251fdeb0: 00000000003f87d8 000007fee68a5870
0x00000000251fdec0: 0000000000000001 0000000000000030
0x00000000251fded0: fffffffffffffffe 000000000000000d
0x00000000251fdee0: 0000000000000000 000007fe00000000
0x00000000251fdef0: 00000000003f87d8 ffffffffffffffff
0x00000000251fdf00: 000000000000000d 00000000003f87d8
0x00000000251fdf10: 00000000004523b8 000000000000000d
0x00000000251fdf20: 00000000004523b8 0000000004647b10
0x00000000251fdf30: 0000000000000000 000000001db11800
0x00000000251fdf40: 00000000251fe050 000000002d510040
0x00000000251fdf50: 0000000027ee16d8 0000000000000000
0x00000000251fdf60: 00000000251fe020 000007fee648d002
0x00000000251fdf70: 0000000000000001 00000000004521f0
0x00000000251fdf80: 000000000000138d 0000000000000000
0x00000000251fdf90: 0000000004647560 000000000465dfcc
0x00000000251fdfa0: 000000002a3ce598 000000002a3ce598

Instructions: (pc=0x000007fef6d6a247)
0x000007fef6d6a227: 00 48 c7 45 c7 fe ff ff ff 8b 0d de 1c 02 00 ff
0x000007fef6d6a237: 15 04 2f 01 00 48 89 45 d7 c7 45 df 00 00 00 00
0x000007fef6d6a247: 83 38 00 75 0d c7 00 01 00 00 00 c7 45 df 01 00
0x000007fef6d6a257: 00 00 83 7d df 00 0f 84 37 03 00 00 8b 45 67 85


Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0x000000000000001f is an unknown value
RDX=0x0000000000000001 is an unknown value
RSP=0x00000000251fdeb0 is pointing into the stack for thread: 0x000000001db11800
RBP=0x00000000251fdf09 is pointing into the stack for thread: 0x000000001db11800
RSI=0x0000000027ee16d8 is an unknown value
RDI=0x000000002d510040 is an unknown value
R8 =0x0000000000000000 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x000000000465dfa0 is at code_begin+1632 in an Interpreter codelet
method entry point (kind = native) [0x000000000465d940, 0x000000000465e960] 4128 bytes
R11=0x0000000056967ca0 is an unknown value
R12=0x0000000000000000 is an unknown value
R13={method} {0x000000002a3ce5a0} 'EnableDevice' '(JZ)Z' in 'smack/comm/SBXPCProxy'
R14=0x00000000251fe050 is pointing into the stack for thread: 0x000000001db11800
R15=0x000000001db11800 is a thread


Stack: [0x0000000025100000,0x0000000025200000], sp=0x00000000251fdeb0, free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [SBPCCOMM64.dll+0xa247]
C [SBXPCDLL64.dll+0xd002]
C 0x000000000465dfcc

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j smack.comm.SBXPCProxy.EnableDevice(JZ)Z+0
j com.h2.attence.dao.EmpPoseDao.synchPoseDataMachine(Z)Ljava/util/List;+22
j com.h2.attence.dao.EmpPoseDao.synchPoseDataMachine(IZ)Lcom/h2/attence/model/EmpPoseSynLog;+6
j com.h2.attence.service.EmpPoseService.synchPoseData(IZ)Lcom/h2/attence/model/EmpPoseSynLog;+106
j com.h2.attence.service.EmpPoseService$$FastClassBySpringCGLIB$$a14e9f2e.invoke(ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+218
j org.springframework.cglib.proxy.MethodProxy.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+19
j org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint()Ljava/lang/Object;+19
j org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava/lang/Object;+19
j org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation()Ljava/lang/Object;+4
j org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(Ljava/lang/reflect/Method;Ljava/lang/Class;Lorg/springframework/transaction/interceptor/TransactionAspectSupport$InvocationCallback;)Ljava/lang/Object;+58
j org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;+40
j org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava/lang/Object;+101
j org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;Lorg/springframework/cglib/proxy/MethodProxy;)Ljava/lang/Object;+112
j com.h2.attence.service.EmpPoseService$$EnhancerBySpringCGLIB$$c668e56d.synchPoseData(IZ)Lcom/h2/attence/model/EmpPoseSynLog;+56
j com.h2.attence.service.EmpPoseService$$FastClassBySpringCGLIB$$a14e9f2e.invoke(ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+218
j org.springframework.cglib.proxy.MethodProxy.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+19
j org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint()Ljava/lang/Object;+19
j org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava/lang/Object;+19
j org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation()Ljava/lang/Object;+4
j org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(Ljava/lang/reflect/Method;Ljava/lang/Class;Lorg/springframework/transaction/interceptor/TransactionAspectSupport$InvocationCallback;)Ljava/lang/Object;+58
j org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Lorg/aopalliance/intercept/MethodInvocation;)Ljava/lang/Object;+40
j org.springframework.aop.framework.ReflectiveMethodInvocation.proceed()Ljava/lang/Object;+101
j org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;Lorg/springframework/cglib/proxy/MethodProxy;)Ljava/lang/Object;+112
j com.h2.attence.service.EmpPoseService$$EnhancerBySpringCGLIB$$5eb16a23.synchPoseData(IZ)Lcom/h2/attence/model/EmpPoseSynLog;+56
j com.h2.attence.task.SynPoseDataTask.synPoseData()V+6
v ~StubRoutines::call_stub
J 2219 sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (0 bytes) @ 0x0000000004972d7f [0x0000000004972d00+0x7f]
J 2218 C1 sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (104 bytes) @ 0x0000000004b398a4 [0x0000000004b386c0+0x11e4]
J 2430 C2 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (62 bytes) @ 0x0000000004931abc [0x0000000004931a00+0xbc]
j org.springframework.util.MethodInvoker.invoke()Ljava/lang/Object;+44
j org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(Lorg/quartz/JobExecutionContext;)V+5
j org.springframework.scheduling.quartz.QuartzJobBean.execute(Lorg/quartz/JobExecutionContext;)V+63
j org.quartz.core.JobRunShell.run()V+271
j org.quartz.simpl.SimpleThreadPool$WorkerThread.run()V+62
v ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
0x000000001dcdc000 JavaThread "http-bio-8080-exec-2" daemon [_thread_blocked, id=9544, stack(0x0000000029600000,0x0000000029700000)]
0x0000000025af6000 JavaThread "http-bio-8080-exec-1" daemon [_thread_blocked, id=9284, stack(0x0000000029cd0000,0x0000000029dd0000)]
0x0000000025af5000 JavaThread "ajp-bio-8009-AsyncTimeout" daemon [_thread_blocked, id=6764, stack(0x000000002a290000,0x000000002a390000)]
0x0000000025af4800 JavaThread "ajp-bio-8009-Acceptor-0" daemon [_thread_in_native, id=3120, stack(0x0000000029b40000,0x0000000029c40000)]
0x0000000025af3800 JavaThread "http-bio-8080-AsyncTimeout" daemon [_thread_blocked, id=9424, stack(0x00000000292a0000,0x00000000293a0000)]
0x0000000025af3000 JavaThread "http-bio-8080-Acceptor-0" daemon [_thread_in_native, id=5740, stack(0x00000000228a0000,0x00000000229a0000)]
0x0000000020d46800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=9748, stack(0x0000000029100000,0x0000000029200000)]
0x0000000020d43800 JavaThread "Timer-0" daemon [_thread_blocked, id=8404, stack(0x0000000028ea0000,0x0000000028fa0000)]
0x000000001db18000 JavaThread "startQuertz_QuartzSchedulerThread" [_thread_blocked, id=8664, stack(0x0000000028fe0000,0x00000000290e0000)]
0x000000001db17800 JavaThread "startQuertz_Worker-10" [_thread_blocked, id=9676, stack(0x0000000028da0000,0x0000000028ea0000)]
0x000000001db16800 JavaThread "startQuertz_Worker-9" [_thread_blocked, id=3968, stack(0x0000000028850000,0x0000000028950000)]
0x000000001db16000 JavaThread "startQuertz_Worker-8" [_thread_blocked, id=9532, stack(0x00000000263e0000,0x00000000264e0000)]
0x000000001db15000 JavaThread "startQuertz_Worker-7" [_thread_bl
...全文
334 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
shzhh1992 2018-07-16
  • 打赏
  • 举报
回复
大佬呢大佬呢
shzhh1992 2018-07-13
  • 打赏
  • 举报
回复
有咩有大佬帮忙看下
shzhh1992 2018-07-13
  • 打赏
  • 举报
回复
我用dll提供商提供的javademo就可以多次调用,但整合到springmvc项目中就不行了,只能调用一次
第二次就tomcat服务挂了

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧