Skip to content

fatal error on Raspberry Pi #139

@ulde1

Description

@ulde1

When creating new SerialPort("/dev/ttyUSB0") my Raspberry Pi runs into a Fatal Error.

import jssc.SerialPort;

public class SerialTest {
	
	
	public static void main(String[] args) {
		new SerialPort("/dev/ttyUSB0");
	}
	

}

JRE version: OpenJDK Runtime Environment Zulu11.64+19-CA (11.0.19+7) (build 11.0.19+7-LTS)
Java VM: OpenJDK Client VM Zulu11.64+19-CA (11.0.19+7-LTS, mixed mode, serial gc, linux-arm)
Problematic frame:
C  [libjssc.so+0x3b48]
Hardware        : BCM2835
Revision        : 0010
Model           : Raspberry Pi Model B Plus Rev 1.2
OS:PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"

Any help would be appreciated.

Error report file with more information is attached.

hs_err_pid1114.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions