Serial port reading - Error : EXCEPTION_ACCESS_VIOLATION - C [rxtxSerial.dll+0x5b00]

0

Currently I'm trying to read serial port. Working fine in Linux. But facing error in Windows machine.

I followed this link to read serial port and Downloaded RXTX library from here for windows machine (JAR + DLL file).

OS : Windows 10 with 64bit

Java jre : Jre 1.8.0_261 VERSION.

Exception throws when read through input stream.

Error log :

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180005b00, pid=4508, tid=0x0000000000002b90
#
# JRE version: Java(TM) SE Runtime Environment (8.0_261-b12) (build 1.8.0_261-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.261-b12 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [rxtxSerial.dll+0x5b00]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\user1\eclipse-workspace\serialport\hs_err_pid4508.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.
#

Suggessions will helpful for me. Thanks!

java
java-8
serial-port
rxtx
com-port
asked on Stack Overflow Jul 29, 2020 by sabari vasagan

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0