JVM致命错误处理

2022-10-29 14:47:43

1.错误日志

省略...
IDEA.app/Contents/lib/idea_rt.jar com.sx.mapi.SXMapiApplication
Connected to the target VM, address:'127.0.0.1:60751', transport:'socket'16:39:34.634[background-preinit] INFO  o.h.v.i.util.Version -[<clinit>,21] - HV000001: Hibernate Validator6.1.6.Final16:39:35.170[background-preinit] WARN  o.s.h.c.j.Jackson2ObjectMapperBuilder -[warn,127] - For Jackson Kotlin classes support pleaseadd"com.fasterxml.jackson.module:jackson-module-kotlin" to the classpath

Spring Boot Version:2.3.7.RELEASE
Spring Application Name: sx-mapi

   mmmmmmm    mmmmmmm      ooooooooooo      mmmmmmm    mmmmmmm
 mm:::::::m  m:::::::mm  oo:::::::::::oo  mm:::::::m  m:::::::mm
m::::::::::mm::::::::::mo:::::::::::::::om::::::::::mm::::::::::m
m::::::::::::::::::::::mo:::::ooooo:::::om::::::::::::::::::::::m
m:::::mmm::::::mmm:::::mo::::o     o::::om:::::mmm::::::mmm:::::m
m::::m   m::::m   m::::mo::::o     o::::om::::m   m::::m   m::::m
m::::m   m::::m   m::::mo::::o     o::::om::::m   m::::m   m::::m
m::::m   m::::m   m::::mo::::o     o::::om::::m   m::::m   m::::m
m::::m   m::::m   m::::mo:::::ooooo:::::om::::m   m::::m   m::::m
m::::m   m::::m   m::::mo:::::::::::::::om::::m   m::::m   m::::m
m::::m   m::::m   m::::m oo:::::::::::oo m::::m   m::::m   m::::m
mmmmmm   mmmmmm   mmmmmm   ooooooooooo   mmmmmm   mmmmmm   mmmmmm16:39:45.273[main] INFO  c.a.n.c.c.i.LocalConfigInfoProcessor -[<clinit>,212] - LOCAL_SNAPSHOT_PATH:/Users/shandian/nacos/config16:39:45.307[main] INFO  c.a.n.c.c.i.Limiter -[<clinit>,54] - limitTime:5.016:39:45.339[main] INFO  c.a.n.c.c.u.JvmUtil -[<clinit>,49] - isMultiInstance:false16:39:45.353[main] WARN  c.a.c.n.c.NacosPropertySourceBuilder -[loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[sx-mapi]& group[DEFAULT_GROUP]16:39:45.357[main] WARN  c.a.c.n.c.NacosPropertySourceBuilder -[loadNacosData,87] - Ignore the empty nacos configuration and get it based on dataId[sx-mapi.yml]& group[DEFAULT_GROUP]16:39:45.383[main] INFO  c.s.m.SXMapiApplication -[logStartupProfileInfo,655] - The following profiles are active: dev16:39:46.699[main] WARN  o.s.b.a.e.EndpointId -[logWarning,155] - Endpoint ID'nacos-config' contains invalid characters, please migrate to a valid format.16:39:46.704[main] WARN  o.s.b.a.e.EndpointId -[logWarning,155] - Endpoint ID'nacos-discovery' contains invalid characters, please migrate to a valid format.16:39:47.283[main] WARN  o.s.b.a.e.EndpointId -[logWarning,155] - Endpoint ID'service-registry' contains invalid characters, please migrate to a valid format.16:39:48.542[main] INFO  o.a.c.h.Http11NioProtocol -[log,173] - Initializing ProtocolHandler["http-nio-9401"]16:39:48.543[main] INFO  o.a.c.c.StandardService -[log,173] - Startingservice[Tomcat]16:39:48.543[main] INFO  o.a.c.c.StandardEngine -[log,173] - Starting Servlet engine:[Apache Tomcat/9.0.41]16:39:48.682[main] INFO  o.a.c.c.C.[.[.[/] -[log,173] - Initializing Spring embedded WebApplicationContext16:39:54.359[main] INFO  o.m.driver.cluster -[info,71] - Cluster created with settings{hosts=[10.10.10.130:27017],mode=SINGLE,requiredClusterType=UNKNOWN,serverSelectionTimeout='30000 ms'}16:39:54.934[cluster-ClusterId{value='6261185ad7571d7df9fca2a6',description='null'}-10.10.10.130:27017] INFO  o.m.d.connection -[info,71] - Opened connection[connectionId{localValue:1, serverValue:728}] to10.10.10.130:2701716:39:54.977[cluster-ClusterId{value='6261185ad7571d7df9fca2a6',description='null'}-10.10.10.130:27017] INFO  o.m.driver.cluster -[info,71] - Monitor thread successfully connected to server with description ServerDescription{address=10.10.10.130:27017,type=STANDALONE,state=CONNECTED,ok=true,minWireVersion=0,maxWireVersion=9,maxDocumentSize=16777216,logicalSessionTimeoutMinutes=30,roundTripTimeNanos=29924691}
Logging initialized using'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.16:40:13.099[main] INFO  c.a.d.p.DruidDataSource -[init,985] -{dataSource-1,master} inited16:40:13.103[main] INFO  c.b.d.d.DynamicRoutingDataSource -[addDataSource,132] - dynamic-datasource - load a datasource named[master] success16:40:13.104[main] INFO  c.b.d.d.DynamicRoutingDataSource -[afterPropertiesSet,237] - dynamic-datasource initial loaded[1] datasource,primary datasource named[master]
Registered plugin:'com.sx.common.core.interceptor.CustomMybatisInterceptor@51d9fd30'
Parsed mapper file:'file [/Users/shandian/IdeaProjects/SX-Cloud/sx-modules/sx-mapi/target/classes/mapper/mapi/InterfaceCallConfigMapper.xml]'
Parsed mapper file:'file [/Users/shandian/IdeaProjects/SX-Cloud/sx-modules/sx-mapi/target/classes/mapper/mapi/TpeMapiContrastReceiverMapper.xml]'
Parsed mapper file:'file [/Users/shandian/IdeaProjects/SX-Cloud/sx-modules/sx-mapi/target/classes/mapper/mapi/TpeMapiContrastRunsignalMapper.xml]'
Parsed mapper file:'file [/Users/shandian/IdeaProjects/SX-Cloud/sx-modules/sx-mapi/target/classes/mapper/mapi/TpeMapiContrastSenderMapper.xml]'
Parsed mapper file:'file [/Users/shandian/IdeaProjects/SX-Cloud/sx-modules/sx-mapi/target/classes/mapper/mapi/TpeMapiL1l202ReceiverMapper.xml]'
Parsed mapper file:'file [/Users/shandian/IdeaProjects/SX-Cloud/sx-modules/sx-mapi/target/classes/mapper/mapi/TpeMapiL1l203ReceiverMapper.xml]'
Parsed mapper file:'file [/Users/shandian/IdeaProjects/SX-Cloud/sx-modules/sx-mapi/target/classes/mapper/mapi/TpeMapiL2l101SenderMapper.xml]'
Parsed mapper file:'file [/Users/shandian/IdeaProjects/SX-Cloud/sx-modules/sx-mapi/target/classes/mapper/mapi/TpeMapiL2l102SenderMapper.xml]'
Parsed mapper file:'file [/Users/shandian/IdeaProjects/SX-Cloud/sx-modules/sx-mapi/target/classes/mapper/mapi/TpeMapiL3l201SenderMapper.xml]'
Parsed mapper file:'file [/Users/shandian/IdeaProjects/SX-Cloud/sx-modules/sx-mapi/target/classes/mapper/mapi/TpeMapiL3l201SenderMiMapper.xml]'16:40:29.085[main] INFO  c.a.c.s.SentinelWebAutoConfiguration -[addInterceptors,80] -[Sentinel Starter] register SentinelWebInterceptor with urlPatterns:[/**].16:40:34.623[main] INFO  c.a.n.client.naming -[call,64] - initializer namespace from System Property :null16:40:34.625[main] INFO  c.a.n.client.naming -[call,73] - initializer namespace from System Environment :null16:40:34.628[main] INFO  c.a.n.client.naming -[call,83] - initializer namespace from System Property :null16:40:41.638[main] INFO  s.d.s.w.PropertySourcedRequestMappingHandlerMapping -[initHandlerMethods,69] - Mapped URL path[/v2/api-docs] onto method[springfox.documentation.swagger2.web.Swagger2Controller#getDocumentation(String, HttpServletRequest)]16:40:42.538[main] WARN  c.n.c.s.URLConfigurationSource -[<init>,121] - No URLs will be polled as dynamic configuration sources.16:40:42.538[main] INFO  c.n.c.s.URLConfigurationSource -[<init>,122] - Toenable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls ormake config.properties available on classpath.16:40:42.568[main] WARN  c.n.c.s.URLConfigurationSource -[<init>,121] - No URLs will be polled as dynamic configuration sources.16:40:42.568[main] INFO  c.n.c.s.URLConfigurationSource -[<init>,122] - Toenable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls ormake config.properties available on classpath.16:40:57.716[main] INFO  o.q.i.StdSchedulerFactory -[instantiate,1220] - Using default implementationfor ThreadExecutor16:40:57.840[main] INFO  o.q.c.SchedulerSignalerImpl -[<init>,61] - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl16:40:57.841[main] INFO  o.q.c.QuartzScheduler -[<init>,229] - Quartz Scheduler v.2.3.2 created.16:40:57.847[main] INFO  o.q.s.RAMJobStore -[initialize,155] - RAMJobStore initialized.16:40:57.853[main] INFO  o.q.c.QuartzScheduler -[initialize,294] - Scheduler meta-data: Quartz Scheduler(v2.3.2)'quartzScheduler' with instanceId'NON_CLUSTERED'
  Scheduler class:'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currentlyin standby mode.
  Number ofjobs executed:0
  Using thread pool'org.quartz.simpl.SimpleThreadPool' - with10 threads.
  Using job-store'org.quartz.simpl.RAMJobStore' -which does not support persistence. and is not clustered.16:40:57.854[main] INFO  o.q.i.StdSchedulerFactory -[instantiate,1374] - Quartz scheduler'quartzScheduler' initialized from an externally provided properties instance.16:40:57.855[main] INFO  o.q.i.StdSchedulerFactory -[instantiate,1378] - Quartz scheduler version:2.3.216:40:57.855[main] INFO  o.q.c.QuartzScheduler -[setJobFactory,2293] - JobFactoryset to: org.springframework.scheduling.quartz.SpringBeanJobFactory@9d4d22116:41:08.460[main] INFO  c.a.n.client.naming -[addListener,83] -[LISTENER] adding DEFAULT_GROUP@@sx-mapi with DEFAULT to listener map16:41:08.493[main] INFO  o.a.c.h.Http11NioProtocol -[log,173] - Starting ProtocolHandler["http-nio-9401"]16:41:08.786[main] INFO  c.a.n.client.naming -[addBeatInfo,81] -[BEAT] adding beat: BeatInfo{port=9401,ip='10.10.14.194',weight=1.0,serviceName='DEFAULT_GROUP@@sx-mapi',cluster='DEFAULT',metadata={preserved.register.source=SPRING_CLOUD},scheduled=false,period=5000,stopped=false} to beat map.16:41:08.789[main] INFO  c.a.n.client.naming -[registerService,223] -[REGISTER-SERVICE] public registeringservice DEFAULT_GROUP@@sx-mapi with instance: Instance{instanceId='null',ip='10.10.14.194',port=9401,weight=1.0,healthy=true,enabled=true,ephemeral=true,clusterName='DEFAULT',serviceName='null',metadata={preserved.register.source=SPRING_CLOUD}}16:41:08.811[main] INFO  c.a.c.n.r.NacosServiceRegistry -[register,71] - nacos registry, DEFAULT_GROUP sx-mapi10.10.14.194:9401 register finished16:41:08.826[main] INFO  s.d.s.w.p.DocumentationPluginsBootstrapper -[start,160] - Context refreshed16:41:08.904[main] INFO  s.d.s.w.p.DocumentationPluginsBootstrapper -[start,163] - Found1 custom documentation plugin(s)16:41:09.283[main] INFO  s.d.s.w.s.ApiListingReferenceScanner -[scan,41] - Scanningfor api listing references16:41:09.516[com.alibaba.nacos.client.naming.updater] INFO  c.a.n.client.naming -[processServiceJson,191] - new ips(1) service: DEFAULT_GROUP@@sx-mapi@@DEFAULT ->[{"instanceId":"10.10.14.194#9401#DEFAULT#DEFAULT_GROUP@@sx-mapi","ip":"10.10.14.194","port":9401,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@sx-mapi","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]16:41:09.533[com.alibaba.nacos.client.naming.updater] INFO  c.a.n.client.naming -[processServiceJson,228] - current ips:(1) service: DEFAULT_GROUP@@sx-mapi@@DEFAULT ->[{"instanceId":"10.10.14.194#9401#DEFAULT#DEFAULT_GROUP@@sx-mapi","ip":"10.10.14.194","port":9401,"weight":1.0,"healthy":true,"enabled":true,"ephemeral":true,"clusterName":"DEFAULT","serviceName":"DEFAULT_GROUP@@sx-mapi","metadata":{"preserved.register.source":"SPRING_CLOUD"},"ipDeleteTimeout":30000,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000}]16:41:09.812[com.alibaba.nacos.naming.push.receiver] INFO  c.a.n.client.naming -[run,86] - received push data:{"type":"dom","data":"{\"hosts\":[{\"ip\":\"10.10.14.194\",\"port\":9401,\"valid\":true,\"healthy\":true,\"marked\":false,\"instanceId\":\"10.10.14.194#9401#DEFAULT#DEFAULT_GROUP@@sx-mapi\",\"metadata\":{\"preserved.register.source\":\"SPRING_CLOUD\"},\"enabled\":true,\"weight\":1.0,\"clusterName\":\"DEFAULT\",\"serviceName\":\"DEFAULT_GROUP@@sx-mapi\",\"ephemeral\":true}],\"dom\":\"DEFAULT_GROUP@@sx-mapi\",\"name\":\"DEFAULT_GROUP@@sx-mapi\",\"cacheMillis\":10000,\"lastRefTime\":1650530469986,\"checksum\":\"0fe9414681a40fb1c9284542df6da3f4\",\"useSpecifiedURL\":false,\"clusters\":\"DEFAULT\",\"env\":\"\",\"metadata\":{}}","lastRefTime":4607254726553264} from /10.10.10.13016:41:10.776[main] INFO  s.d.s.w.r.o.CachingOperationNameGenerator -[startingWith,40] - Generating unique operation named: exportUsingPOST_116:41:11.089[main] INFO  o.q.c.QuartzScheduler -[start,547] - Scheduler quartzScheduler_$_NON_CLUSTERED started.16:41:11.467[main] INFO  c.s.m.SXMapiApplication -[logStarted,61] - Started SXMapiApplicationin107.32 seconds(JVM runningfor113.217)16:41:11.531[main] INFO  c.a.n.c.c.i.ClientWorker -[addCacheDataIfAbsent,262] -[fixed-10.10.10.130_8848][subscribe] sx-mapi.yml+DEFAULT_GROUP16:41:11.535[main] INFO  c.a.n.c.c.i.CacheData -[addListener,93] -[fixed-10.10.10.130_8848][add-listener] ok,tenant=,dataId=sx-mapi.yml,group=DEFAULT_GROUP,cnt=116:41:11.537[main] INFO  c.a.n.c.c.i.ClientWorker -[addCacheDataIfAbsent,262] -[fixed-10.10.10.130_8848][subscribe] sx-mapi-dev.yml+DEFAULT_GROUP16:41:11.538[main] INFO  c.a.n.c.c.i.CacheData -[addListener,93] -[fixed-10.10.10.130_8848][add-listener] ok,tenant=,dataId=sx-mapi-dev.yml,group=DEFAULT_GROUP,cnt=116:41:11.539[main] INFO  c.a.n.c.c.i.ClientWorker -[addCacheDataIfAbsent,262] -[fixed-10.10.10.130_8848][subscribe] sx-mapi+DEFAULT_GROUP16:41:11.539[main] INFO  c.a.n.c.c.i.CacheData -[addListener,93] -[fixed-10.10.10.130_8848][add-listener] ok,tenant=,dataId=sx-mapi,group=DEFAULT_GROUP,cnt=1
api 中间层模块启动成功——————16:41:12.294[RMI TCP Connection(27)-10.10.14.194] INFO  o.a.c.c.C.[.[.[/] -[log,173] - Initializing Spring DispatcherServlet'dispatcherServlet'
INFO: Sentinel log outputtype is:file
INFO: Sentinel log charset is: utf-8
INFO: Sentinel log base directory is: /Users/shandian/logs/csp/
INFO: Sentinel log name use pid is:false16:41:14.093[RMI TCP Connection(28)-10.10.14.194] INFO  o.m.d.connection -[info,71] - Opened connection[connectionId{localValue:2, serverValue:729}] to10.10.10.130:2701716:41:16.880[Thread-229] INFO  unknown.jul.logger -[loadLib,120] - copy to /var/folders/0s/0v_zjwgj2rq3p9vjm042wb_h0000gn/T//opapi4j-mac-x64-76897.so
--------------------------
W3.HC03.04_FYFD01_W61_05
输出:1648102930
输出:1648102930
输出:1648102930## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0x000000012f256321, pid=76897, tid=0x0000000000013407## JRE version: Java(TM) SE Runtime Environment (8.0_271-b09) (build 1.8.0_271-b09)# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.271-b09 mixed mode bsd-amd64 compressed oops)# Problematic frame:# C  [opapi4j-mac-x64-76897.so+0xa321]  _ZN9service_t5clearEv+0x21## Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again## An error report file with more information is saved as:# /Users/shandian/IdeaProjects/SX-Cloud/hs_err_pid76897.log (1)处## 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.#
Disconnected from the target VM, address:'127.0.0.1:60751', transport:'socket'
Process finished withexit code134(interrupted by signal6: SIGABRT)

从上面1处理可以找到致命错误会生成一个日志文件

2.分析日志文件

JVM致命错误日志(hs_err_pid.log)分析

## A fatal error has been detected by the Java Runtime Environment:##  SIGSEGV (0xb) at pc=0x000000011102f321, pid=90986, tid=0x0000000000013303## JRE version: Java(TM) SE Runtime Environment (8.0_271-b09) (build 1.8.0_271-b09)# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.271-b09 mixed mode bsd-amd64 compressed oops)# Problematic frame:# C  [opapi4j-mac-x64-90986.so+0xa321]  _ZN9service_t5clearEv+0x21## Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again## 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(0x00007f932d833800):  JavaThread"Thread-243"[_thread_in_native,id=78595, stack(0x000070000ed9f000,0x000070000ee1f000)]

siginfo: si_signo:11(SIGSEGV), si_code:0(unknown), si_addr: 0x0000000000000000

Registers:RAX=0x2000000000000000,RBX=0x00007f932c010530,RCX=0x000070000ee1ea98,RDX=0x00007f932c010530RSP=0x000070000ee1e870,RBP=0x000070000ee1e8a0,RSI=0x000070000ee1e980,RDI=0x00007f932ad16c90
R8=0x00000001111e45d0, R9=0x000070000ee1e910,R10=0x00000001111ffa7c,R11=0x000000010bceefe1R12=0x00007f932c010530,R13=0x000000012b798d00,R14=0x000070000ee1e980,R15=0x00007f932d833800RIP=0x000000011102f321,EFLAGS=0x0000000000010206,ERR=0x0000000000000000TRAPNO=0x000000000000000d

Top of Stack:(sp=0x000070000ee1e870)
0x000070000ee1e870:   0000000111029820 00007f932c010530
0x000070000ee1e880:   0000000000000000 000000012b798d00
0x000070000ee1e890:   000070000ee1e980 00007f932d833800
0x000070000ee1e8a0:   000070000ee1e8c0 000000011102f04f
0x000070000ee1e8b0:   00007f932c010530 000070000ee1e980
0x000070000ee1e8c0:   000070000ee1e8e0 000000011102d907
0x000070000ee1e8d0:   000000012b798d00 000070000ee1e980
0x000070000ee1e8e0:   000070000ee1e950 00000001111ffaa8
0x000070000ee1e8f0:   000070000ee1e950 00000001111ff67e
0x000070000ee1e900:   000000012b795ba0 00000001111ff64a
0x000070000ee1e910:   000070000ee1e910 000000012b798d00
0x000070000ee1e920:   000070000ee1e980 000000012b799c68
0x000070000ee1e930:   0000000000000000 000000012b798d00
0x000070000ee1e940:   0000000000000000 000070000ee1e970
0x000070000ee1e950:   000070000ee1e9c8 00000001111e73a2
0x000070000ee1e960:   0000000000000000 00000001111f5d38
0x000070000ee1e970:   00007f932c010530 0000000780f63650
0x000070000ee1e980:   000000077aea58c8 000070000ee1e988
0x000070000ee1e990:   000000012be4c46d 000070000ee1ea08
0x000070000ee1e9a0:   000000012be4c660 0000000000000000
0x000070000ee1e9b0:   000000012be4c4e8 000070000ee1e970
0x000070000ee1e9c0:   000070000ee1e9f8 000070000ee1ea70
0x000070000ee1e9d0:   00000001111df7a7 0000000780f63650
0x000070000ee1e9e0:   0000000780efb848 00007f932ad16c98
0x000070000ee1e9f0:   0000000000000000 00007f932c010530
0x000070000ee1ea00:   00007f933012d7c0 0000000780e14d78
0x000070000ee1ea10:   00007f9300001fa0 00007f932d833800
0x000070000ee1ea20:   00007f932d833800 000070000ee1eda0
0x000070000ee1ea30:   000000012be4c4e8 0000000000000003
0x000070000ee1ea40:   000070000ee1eae8 000070000ee1eda8
0x000070000ee1ea50:   000000000000000a 000000012be4c4e8
0x000070000ee1ea60:   00000001111f84c0 000070000ee1eca0 

Instructions:(pc=0x000000011102f321)
0x000000011102f301:4889 e5415741564155415453504989 fc
0x000000011102f311:49 8bbc24 b8 00 00 004885 ff74 0648 8b 07
0x000000011102f321:   ff50 0849 8b842410 01 00 00 4d 8bbc2418
0x000000011102f331:   01 00 00 4d89 fd4929 c54929 c7 0f84 9b 00 

Register to memory mapping:RAX=0x2000000000000000 is an unknown valueRBX=0x00007f932c010530 is an unknown valueRCX=0x000070000ee1ea98 is pointing into the stackfor thread: 0x00007f932d833800RDX=0x00007f932c010530 is an unknown valueRSP=0x000070000ee1e870 is pointing into the stackfor thread: 0x00007f932d833800RBP=0x000070000ee1e8a0 is pointing into the stackfor thread: 0x00007f932d833800RSI=0x000070000ee1e980 is pointing into the stackfor thread: 0x00007f932d833800RDI=0x00007f932ad16c90 is an unknown value
R8=0x00000001111e45d0 is at code_begin+-80in[CodeBlob(0x00000001111e45d0)]
Framesize:0
BufferBlob(0x00000001111e45d0) usedfor Interpreter
R9=0x000070000ee1e910 is pointing into the stackfor thread: 0x00007f932d833800R10=0x00000001111ffa7c is at code_begin+1596in an Interpreter codelet
method entry point(kind= native)[0x00000001111ff440, 0x0000000111200420]4064 bytesR11=0x000000010bceefe1: throw_unsatisfied_link_error+0in /Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/jre/lib/server/libjvm.dylib at 0x000000010b800000R12=0x00007f932c010530 is an unknown valueR13={method}{0x000000012b798d00}'free_response''(J)V'in'com/magus/opio/dto/OPServiceJNI'R14=0x000070000ee1e980 is pointing into the stackfor thread: 0x00007f932d833800R15=0x00007f932d833800 is a thread


Stack:[0x000070000ed9f000,0x000070000ee1f000],sp=0x000070000ee1e870,freespace=510k
Native frames:(J=compiled Java code,j=interpreted,Vv=VM code,C=native code)
C[opapi4j-mac-x64-90986.so+0xa321]  _ZN9service_t5clearEv+0x21
C[opapi4j-mac-x64-90986.so+0xa04f]  _ZN9service_tD2Ev+0xf
C[opapi4j-mac-x64-90986.so+0x8907]  op2_free_response+0x17
j  com.magus.opio.dto.OPServiceJNI.free_response(J)V+0
j  com.magus.jdbc.net.OPSubscribe.onEvent(J)V+93v  ~StubRoutines::call_stub
V[libjvm.dylib+0x2d4795]
V[libjvm.dylib+0x2fcf55]
V[libjvm.dylib+0x3015b1]
C[opapi4j-mac-x64-90986.so+0x4116]  _ZN7JNIEnv_14CallVoidMethodEP8_jobjectP10_jmethodIDz+0x86
C[opapi4j-mac-x64-90986.so+0x5027]  _ZL7onEventPvS_+0xa7
C[opapi4j-mac-x64-90986.so+0x8fe5]  _ZL12async_threadPv+0x3b5
C[opapi4j-mac-x64-90986.so+0xaa09]  _ZL12thread_proxyPv+0x9
C[libsystem_pthread.dylib+0x68fc]  _pthread_start+0xe0
C[libsystem_pthread.dylib+0x2443]  thread_start+0xf
C  0x0000000000000000

Java frames:(J=compiled Java code,j=interpreted,Vv=VM code)
j  com.magus.opio.dto.OPServiceJNI.free_response(J)V+0
j  com.magus.jdbc.net.OPSubscribe.onEvent(J)V+93v  ~StubRoutines::call_stub

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

Java Threads:(=> current thread)=>0x00007f932d833800 JavaThread"Thread-243"[_thread_in_native,id=78595, stack(0x000070000ed9f000,0x000070000ee1f000)]
  0x00007f9327bd7800 JavaThread"com.alibaba.nacos.client.naming.updater" daemon[_thread_blocked,id=50179, stack(0x0000700013c09000,0x0000700013d09000)]
  0x00007f932d411000 JavaThread"com.alibaba.nacos.naming.beat.sender" daemon[_thread_blocked,id=79111, stack(0x0000700013b06000,0x0000700013c06000)]
  0x00007f9327809000 JavaThread"com.alibaba.nacos.naming.beat.sender" daemon[_thread_blocked,id=79875, stack(0x0000700013a03000,0x0000700013b03000)]
  0x00007f9327481800 JavaThread"boundedElastic-1" daemon[_thread_in_native,id=80387, stack(0x0000700013900000,0x0000700013a00000)]
  0x00007f932728d800 JavaThread"boundedElastic-evictor-1" daemon[_thread_blocked,id=81423, stack(0x00007000135f7000,0x00007000136f7000)]
  0x00007f9327480800 JavaThread"JMX server connection timeout 306" daemon[_thread_blocked,id=81679, stack(0x00007000136fa000,0x00007000137fa000)]
  0x00007f9326cf0800 JavaThread"commons-pool-evictor-thread" daemon[_thread_blocked,id=80899, stack(0x00007000137fd000,0x00007000138fd000)]
  0x00007f9326ced800 JavaThr
  • 作者:山巅
  • 原文链接:https://shandian.blog.csdn.net/article/details/124325604
    更新时间:2022-10-29 14:47:43