When I run the CommTest.java I am getting very unusual message "The
crash happened outside the Java Virtual Machine in native code". I
feel librxtxSerial.so is creating the problem. If required, I can send
the log file. Please help me in fixing this problem.
I got following message on my console:-
init:
deps-jar:
compile-single:
run-single:
Searching for devices...
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Found port: /dev/ttyS1
Trying at 9600... no device found
Trying at 14400... no device found
(gnu.io.UnsupportedCommOperationException: Invalid Parameter)
Trying at 19200... no device found
(gnu.io.PortInUseException: root PID = 4296 Program = java)
Trying at 28800... no device found
(gnu.io.PortInUseException: root PID = 4296 Program = java root PID
= 4296 Program = java)
Trying at 33600... no device found
(gnu.io.PortInUseException: root PID = 4296 Program = java root PID
= 4296 Program = java root PID = 4296 Program = java)
Trying at 38400... no device found
(gnu.io.PortInUseException: root PID = 4296 Program = java root PID
= 4296 Program = java root PID = 4296 Program = java root PID =
4296 Program = java)
Trying at 56000... no device found
(gnu.io.PortInUseException: root PID = 4296 Program = java root PID
= 4296 Program = java root PID = 4296 Program = java root PID =
4296 Program = java root PID = 4296 Program = java)
Trying at 57600... no device found
(gnu.io.PortInUseException: root PID = 4296 Program = java root PID
= 4296 Program = java root PID = 4296 Program = java root PID =
4296 Program = java root PID = 4296 Program = java root PID = 4296
Program = java)
RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyS1: File
exists
RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyS1: File
exists
RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyS1: File
exists
Trying at 115200... no device found
(gnu.io.PortInUseException: root PID = 4296 Program = java root PID
= 4296 Program = java root PID = 4296 Program = java root PID =
4296 Program = java root PID = 4296 Program = java root PID = 4296
Program = java root PID = 4296 Program = java)
Found port: /dev/ttyS0
RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyS1: File
exists
RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyS1: File
exists
RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyS1: File
exists
Trying at 9600... no device found
Trying at 14400... no device found
(gnu.io.UnsupportedCommOperationException: Invalid Parameter)
Trying at 19200... no device found
(gnu.io.PortInUseException: root PID = 4296 Program = java root PID
= 4296 Program = java root PID = 4296 Program = java root PID =
4296 Program = java root PID = 4296 Program = java root PID = 4296
Program = java root PID = 4296 Program = java root PID = 4296
Program = java)
Trying at 28800...#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb4e2ed21, pid=4296, tid=3075513248
#
# JRE version: 6.0_14-b08
# Java VM: Java HotSpot(TM) Client VM (14.0-b16 mixed mode, sharing
linux-x86 )
# Problematic frame:
# C [librxtxSerial.so+0x8d21]
Java_gnu_io_CommPortIdentifier_native_1psmisc_1report_1owner+0x41
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid4296.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
RXTX fhs_lock() Error: creating lock file: /var/lock/LCK..ttyS0: File
exists
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Experimental: JNI_OnLoad called.
Java Result: 134
BUILD SUCCESSFUL (total time: 1 minute 6 seconds)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---