Tomcat执行时报A fatal error has been detected by the Java Runtime Environment:SIGSEGV (0xb)
在Linux下,执行时Tomcat生成一份.log文件,Tomcat 的 log 文件也有报错,报的很清新:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fd9da919509, pid=4388, tid=140573063231232
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libc.so.6+0xb9509] readdir+0x29
#
# 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:
# //hs_err_pid4388.log
#
# 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.
#
其实可能并不是你的 JVM 出错了,当然也有可能,网上由很多都把问题指向 JVM;
但是,在这里提一种情况:
如果你的代码使用了本地代码!
那么你要做的事情是仔细核对你Java代码里面声明本地方法的方法列表是否与本地C代码的方法列表一致!
(1)参数类型是否相通,要注意Java里面的一些类型在C中不存在或者不同,例如Java 的 Integer,String 等封装类,以及 short int 等的不同
(2)参数个数;
Tomcat执行时报A fatal error has been detected by the Java Runtime Environment:SIGSEGV (0xb)相关推荐
- A fatal error has been detected by the Java Runtime Environment, C [VCRUNTIME140.dll+0x1989]
前言: 在服务器Linux(内存32G)下执行加密算法,入参是1G时发现了内存崩溃问题,直接杀死了Java进程,所以需要在Windows调试代码看是否能重现此问题.Windows的内存小,入参是300 ...
- 应用海康SDK获取设备图片A fatal error has been detected by the Java Runtime Environment:
海康SDK版本:CH-HCNetSDKV6.1.6.45 add message # # A fatal error has been detected by the Java Runtime Env ...
- 安装JDK出现问题 Error opening registry key'software\Javasoft\Java Runtime Environment'
第一次安装JDK测试是否安装成功,打开cmd输入java -version 回车的时候出现如下错误: Error opening registry key'software\Javasoft\Java ...
- Error: opening registry key 'Software\JavaSoft\Java Runtime Environment' Error: could not find java.
今天准备准备重装jdk,将之前的jdk卸载之后在cmd检验时发现报错 Error: opening registry key 'Software\JavaSoft\Java Runtime Envir ...
- jmeter压测学习10-linux上执行遇到的问题 There is insufficient memory for the Java Runtime Environment to continu
前言 在 linux 上执行jmeter 代码的时候遇到一个问题:There is insufficient memory for the Java Runtime Environment to co ...
- eclipse打开出错 Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'
eclipse出现注册错误: ①在"打开"输入框中输入"regedit"命令,删除注册表的HKEY_LOCAL_MACHINE\SOFTWARE\JavaSof ...
- Error: Registry key ‘Software\JavaSoft\Java Runtime Environment’\CurrentVersion’
报错信息 Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8 ...
- An unexpected error has been detected by Java Runtime Environment
最近团队内部遇到一个非常奇怪的问题.网上有人说是sun公司的bug,我在这里贴一下,有兴趣的同志可以研究一下. 据说,换一个java版本就好了,团队内部正在进行升级java版本. sun公司官网解释: ...
- Windows用pip安装Pytorch时报错Fatal error in launcher
问题描述:在已安装python并正确设置了环境变量的条件下,利用pip语句安装Pytorch时报错. 报错信息为:Fatal error in launcher: Unable to create p ...
最新文章
- AI一分钟 | 教育部公布高中新课标,编程、算法思维成必修内容;李彦宏否认百度会“All in AI”
- stun 协议 NAT穿透方式 简介
- 第八回:品味类型---值类型与引用类型(上)-内存有理
- linux Hadoop HDFS NameNode进程重启脚本(linux进程通用)
- 杂项-QRCode:ZXing
- chrome----timing含义解释
- HDR Tone Mapping
- metasploit基本使用方法
- 如何设置计算机的网络参数,如何正确设置电脑的IP地址和DNS等参数[图文]
- 阿里云 Code Pipeline 体验
- xgboost兼具线性规模求解器和树学习算法,GBDT 方法只利用了一阶的导数信息,Xgboost 则是对损失函 数做了二阶的泰勒展开,并在目标函数之外加入了正 则项,整体求最优解,用于权衡目标函数的
- 数学建模之相关分析分类与总结
- Linux下9种优秀的代码比对工具推荐
- tesorflow2.1.0环境下,tf.keras使用Range优化器(RAdam+Lookahead)
- 服务器显示器出现actions,微软已修复Win10中Action Center显示在屏幕左侧问题
- Android studio Installed Build Tools revision 31.0.0 is corrupted. Remove and install again
- 信息服务器v6,服务器ipv6设置
- python爬虫项目-优美图库
- 使用JS进行版本号比较方法
- HRBUST 1849 商品中心