Products for USB Sensing and Control
It is currently Tue May 21, 2013 3:27 pm

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri May 11, 2012 10:47 pm 
Offline
Fresh meat

Joined: Fri May 11, 2012 10:38 pm
Posts: 3
Hello,

I'm running Ubuntu 12.04 LTS.
Code:
$ uname -a
Linux panther 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


Code:
$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)



I went through the standard install process.
Code:
libphidget-2.1.8.20120507$ ./configure
libphidget-2.1.8.20120507$ sudo make install


When I try running the Java servo example, the VM crashes.
Code:
mike@panther:~/workspace/phidget/JavaJNI$ java -jar Servo-full.jar
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f1b59e24e84, pid=15503, tid=139754007951104
#
# JRE version: 6.0_24-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libpthread.so.0+0x9e84]  pthread_mutex_lock+0x4
#
# An error report file with more information is saved as:
# /home/mike/workspace/phidget/JavaJNI/hs_err_pid15503.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted (core dumped)


I'm trying to test a Phidgets HS-322HD through a Phidgets Servo 3.0 USB board.

Attached is my JVM dump. Any help you could provide would be greatly appreciated. I even tried different 64-bit Java JDK versions.


Attachments:
hs_err_pid15503.log [32.55 KiB]
Downloaded 98 times
Top
 Profile Send private message  
 
PostPosted: Mon May 14, 2012 3:34 pm 
Offline
Lead Developer
User avatar

Joined: Mon Jun 20, 2005 8:46 am
Posts: 2350
Location: Canada
Hi,

This is a bug affecting 64-bit Linux. I'm releasing a new library now to fix this.

-Patrick


Top
 Profile Send private message  
 
PostPosted: Tue May 15, 2012 7:15 pm 
Offline
Fresh meat

Joined: Fri May 11, 2012 10:38 pm
Posts: 3
Awesome. Thanks for fixing this! When do you think a new build will be available?


Top
 Profile Send private message  
 
PostPosted: Tue May 15, 2012 7:26 pm 
Offline
Fresh meat

Joined: Fri May 11, 2012 10:38 pm
Posts: 3
Nevermind! I see the patch has already been posted. The new version works great. Thanks again!


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group