Code: Select all
$ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
Ideas ?
Moderator: LT401Vette
Code: Select all
$ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
Code: Select all
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
8/01/10 2:04:29 PM :Info: Initialized comm driver: 174ms.
8/01/10 2:04:29 PM :Debug: Running speed test
Code: Select all
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
8/01/10 3:29:15 PM :Info: Initialized comm driver: 125ms.
8/01/10 3:29:15 PM :Warning: Unable toset Main cluster for title:
No check, last update check=Fri Jan 08 15:25:40 CST 2010
Code: Select all
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
8/01/10 3:31:52 PM :Info: Initialized comm driver: 124ms.
8/01/10 3:31:52 PM :Warning: Unable toset Main cluster for title:
No check, last update check=Fri Jan 08 15:25:40 CST 2010
8/01/10 3:40:32 PM :Debug: MS2Extra Rel 2.1.0p
8/01/10 3:40:32 PM :Debug: Loaded Config in : 96ms.
8/01/10 3:40:32 PM :Debug: Adding Configuration: MyCar
Code: Select all
$ sudo sh TunerStudio.sh
Jar Name:TunerStudioMS.jar
Experimental: JNI_OnLoad called.
RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyUSB0
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f9e435f9733, pid=8789, tid=140317716125968
#
# JRE version: 6.0_15-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.1-b02 mixed mode linux-amd64 )
# Problematic frame:
# C [librxtxSerial.so+0x7733] Java_gnu_io_RXTXPort_nativeDrain+0xc3
#
# An error report file with more information is saved as:
# /home/quantime/TunerStudio/hs_err_pid8789.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted
Code: Select all
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
9/01/10 4:27:30 PM :Info: Initialized comm driver: 96ms.
9/01/10 4:27:30 PM :Debug: Running speed test
TunerStudio 0.989.7d started on Sat Jan 09 16:27:45 CST 2010
JRE 1.6.0_15, Linux 2.6.31-17-generic, amd64
java.library.path=lib
TunerStudioMS.jar
Look:Metal, ClassName:'javax.swing.plaf.metal.MetalLookAndFeel'
Look:Nimbus, ClassName:'com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel'
Look:CDE/Motif, ClassName:'com.sun.java.swing.plaf.motif.MotifLookAndFeel'
Look:GTK+, ClassName:'com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
9/01/10 4:27:46 PM :Info: Initialized comm driver: 183ms.
9/01/10 4:27:46 PM :Debug: Running speed test
9/01/10 4:27:48 PM :Warning: Unable toset Main cluster for title:
9/01/10 4:28:06 PM :Debug: MS2Extra Rel 2.1.0p
9/01/10 4:28:06 PM :Debug: Loaded Config in : 120ms.
9/01/10 4:28:06 PM :Debug: Adding Configuration: MyCar
Ah... My bad assumed in US formatI think you will find i follow the world standard of time and date formatting, as does most of the world.. dd/mm/yy
Code: Select all
RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyUSB0
RXTX Error: Unable to remove stale lock file: /var/lock/LCK..ttyUSB0
Code: Select all
TunerStudio$ lsusb
Bus 002 Device 008: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Code: Select all
Jar Name:TunerStudioMS.jar
Experimental: JNI_OnLoad called.
RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyUSB0
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f66a8b4a733, pid=2286, tid=140078907345168
#
# JRE version: 6.0_15-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.1-b02 mixed mode linux-amd64 )
# Problematic frame:
# C [librxtxSerial.so+0x7733] Java_gnu_io_RXTXPort_nativeDrain+0xc3
#
# An error report file with more information is saved as:
# /home/quantime/Documents/TunerStudio/hs_err_pid2286.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted
Agreed, and it sniffs a bit like my OSX 10.6 errors. Have you, Quan-Time, looked at SunSpot stuff on Linux and other serial driver stuff for 64bit?LT401Vette wrote:Now that looks more like some type of RXTX error, so would be a wrong driver
NO re: uucp. He's talking about a permissions thing. Typicaly serial ports are owned by either:Quan-Time wrote:as dj said, i can run megatunix without issue. It would point to some sort of other issue ? whats this about rxtx.. maybe that could be a clue ?
-----
EDIT
-----
Just realised i DONT have uucp installed in my synaptic package manager.. relevant ?
Code: Select all
dave@shrapnel:~/cvs/MegaTunix/src$ ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 2010-01-09 21:08 /dev/ttyUSB0
Code: Select all
quantime@allenkey:~$ megatunix
quantime@allenkey:~$ ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 2010-01-10 12:24 /dev/ttyUSB0
MegaTunix DOES use lock files, but not the semi-std one that some other comms programs use. (It probably should use the std one, but,at the time i didn't know the right info about it when i coded that feature. current MegaTunix creates its lock files in /tmp.)LT401Vette wrote:Does MegaTunix use lock files?
I believe that is where the problem starts. I have seen other apps able to use the port, but RXTX couldn't with the lock files until it had the right permissions.
From what I understand the RXTX 2.2 that is coming is supposed to be a bit less PITA about this, we'll see.
You should be ok with the 64 bit kernal, RXTX has a 64 bit linux driver. That is actually the only difference in the 64 bit version I have for download, the 64 bit driver is in place.
Dave, thanks for helping out. I'm pretty sure you know linux better than me!