If you would like to submit a bug report, please visit:
简单说明
在串口通信 项目开发中遇到环境的问题,刚开始以为是 rxtxParallel.dll
或者是 rxtxSerial.dll
版本的问题,后来以为是 RXTXcomm.jar
包的问题,在中途也浪费许多时间,令人难忘,进过与同事一起逐一排查,最后返现是 JDK版本的问题 ,此处已经更换安装过5、6次Java环境了,解决方案在下面。
Error log :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180004465, pid=10936, tid=0x0000000000000fb4
#
# JRE version: Java(TM) SE Runtime Environment (8.0_301-b09) (build 1.8.0_301-b09)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.301-b09 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C 0x0000000180004465
#
# 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.
#
问题描述:
目前我正在尝试读取串口。在 Linux 中工作正常。但在 Windows 机器中面临错误。 我按照此链接从此处为 Windows 机器(JAR + DLL 文件)读取串行端口和下载的 RXTX 库。
操作系统:Windows 10 64 位
Java jre:Jre 1.8.0_301 版本。
原因:通过输入流读取时抛出异常。
根本原因:
是因为 Java 环境版本升级造成的问题,jdk 1.8.0_261 以上的版本都会出现以上错误
解决方案:
我这里推荐使用 1.8.0_251 完美解决!
If you would like to submit a bug report, please visit:相关推荐
- g++: internal compiler error: Killed (program cc1plus)Please submit a full bug report,内存不足问题解决
g++: internal compiler error: Killed (program cc1plus)Please submit a full bug report,内存不足问题解决 参考文章: ...
- 编写优秀缺陷报告(Bug report)的艺术
Bug report的核心是对错误的描述,而优秀的bug report对反映测试小组真实的和可理解的工作质量同测试本身一样都是非常重要的.那么什么样的缺陷报告才是优秀的缺陷报告呢?这里我引用一位测试界 ...
- 如何编写有效的Bug Report
一. 编写Bug report的原则 Bug report是测试中最重要的一部分,也是测试人员价值的终极体现,一个有效的Bug report,在编写的时候需要遵循以下原则: (1) Bug可重现,尽可 ...
- 做一名开源社区的扫地僧——从Bug report到Google Summer of Code(GSoC):从200个bug到5000美金
今年的软件自由日(SFD),我在广州Linux用户组的线下活动上做了一个分享,主题叫做<做一名开源社区的扫地僧(上)>.我把演讲的内容重新整理扩充, 写出了文字版, 希望可以跟更多朋友分享 ...
- bug report
有没有为了要更多的信息而被返回 bug report 的经历呢?有没有碰到过你发现的一个非常严重的错误被推迟到下一个版本才去修复的情况呢? 你提交的每一个 bug report 都是和项目组就正在测试 ...
- Bug Report该怎么做?
Bug Report一般有两种说法:一是"微观Bug Report",是指深入分析单个bug产生的影响.产生的根因.后续如何避免等:二是"宏观Bug Report&quo ...
- 【Qt】 Fractal Designer 5.5 Bug Report
Report the bug you find here. Please remember to note your platform (i.e. Windows 10, Ubuntu 20, etc ...
- 【Qt】 Fractal Designer 5.3 Bug Report
Report the bug you find here. 在这里评论找到的 5.3 版 bug. GitHub Repository: https://github.com/Teddy-van-Je ...
- 【Qt】 Fractal Designer 5.2 Bug Report
Report the bug you find here. 在这里评论找到的 5.2 版 bug. GitHub Repository: https://github.com/Teddy-van-Je ...
最新文章
- linux kernel的中断子系统之(三):IRQ number和中断描述符【转】
- C++ STL (四)set使用
- 表中的数据导出为insert语句的简单方法
- ?类型 ,?类型(值)
- ubuntu16.04 关闭防火墙的方法
- Kibana Guide ( Kibana 向导 )
- 走向云端:Oracle SQL Developer Web 即将上线!
- 基于 arm 设计开发工具包的 Arm Cortex-M3 处理器的示例系统级设计(第一章:文件目录AHB组件开发平台)
- SQL中的集合运算有必要存在的几个例子
- 按键精灵 手机 oracle,按键精灵Android版:软件使用
- c语言课程设计歇后语,拼音字母c开头的歇后语
- 【微信小程序】发布流程及发布审核时如何提供测试账号?
- python 判断回文数
- C++ VS项目属性的一些配置项的总结
- Qt creator学习笔记(一)认识Qt
- Jetson TX2内存/显存
- excel 冻结多列窗口
- node.js+uni计算机毕设项目计算机配件价格查询微信小程序(程序+小程序+LW)
- 汽车线控制动系统ibooster详解
- python编写交互界面查分,Python实现CET查分的方法