java - 在Linux下,Java使用Rxtx串口出现异常,但Windows是可以的
问题描述
在Linux下,Java使用Rxtx串口出现异常,但Windows工作。当我单击“开始”按钮时,jvm 错误:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f83aa558d9d, pid=21887, tid=0x00007f83aa316700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.171-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [librxtxSerial.so+0x6d9d] read_byte_array+0x3d
#
# 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:
# /root/Workspaces/MyEclipse 2017/telegram/hs_err_pid21887.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.
#
解决方案
推荐阅读
- c# - 有什么方法可以使用 SpecFlow+SpecRun 在 html 报告中发布失败测试场景的失败历史记录?
- excel - 使用 Excel 函数后使用 Outlook VBA 关闭 Excel 应用程序
- actionscript-3 - AS3:从子 SWF 中排除重复类以减小文件大小
- python - Test if first two bits of hash are both 1
- typescript - 如何获得 TypeScript 映射类型的逆?
- xml - 替代已弃用的 import com.fasterxml.jackson.databind.annotation.JsonSerialize.Inclusion;
- c# - 根据属性查找 XML 元素
- node.js - 不能使用 mongoosastic 函数 .x 不是函数
- ansible - ansible shell 任务在没有正确消息的情况下出错
- r - 模糊连接 - 匹配一侧