kurbatov / firmata4j

Firmata client written in Java.
MIT License
87 stars 45 forks source link

JVM crash #65

Closed denisJaved closed 3 weeks ago

denisJaved commented 4 months ago
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007110b5db, pid=17744, tid=17716
#
# JRE version: OpenJDK Runtime Environment (20.0.2+9) (build 20.0.2+9-78)
# Java VM: OpenJDK 64-Bit Server VM (20.0.2+9-78, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C  [jSSC-2.8_x86_64.dll+0xb5db]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   https://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.
#

full avalible on https://text-host.ru/bez-zagolovka-9507

I`m using flatlaf:3.3 and github.kurbatov.firmata4j:2.3.8, Intellij idea 2023.1.5. Without firmata4j it worked fine.

kurbatov commented 4 months ago

Hi @denisJaved,

Try using jSerialComm library instead of jssc. jssc sometimes does not work on the newer versions of Windows.

In order to do that, please, exclude jssc transitive dependency and add dependency from jSerialComm as described in the README.md.