robertoprato / bluecove

Automatically exported from code.google.com/p/bluecove
0 stars 0 forks source link

BlueCove crash on Linux #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.add bluecove and bluecove-gpl to class path 
2. Instantiate class and attempt to find devices
3. Crash occurs in getLocalDevice()

What is the expected output? What do you see instead?
Load errors crash the program. Please see attached crash log.

I'm running linux pyramid, JVM6 and 32-bit
Bluecove version = bluecove-2.0.3

Please provide any additional information below.
Output error:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGFPE (0x8) at pc=0xb7efe745, pid=1283, tid=2985970608
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b03 mixed mode, sharing)
# Problematic frame:
# C  [ld-linux.so.2+0x7745]
#
# An error report file with more information is saved as hs_err_pid1283.log

Original issue reported on code.google.com by OSoyan...@gmail.com on 1 Nov 2008 at 8:48

Attachments:

GoogleCodeExporter commented 8 years ago
Any more information you can provide to help use understand the problem?

Original comment by skarzhev...@gmail.com on 11 Nov 2008 at 3:36

GoogleCodeExporter commented 8 years ago
i'm having this problems too 

Original comment by brunomontenegro on 14 Nov 2008 at 2:55

Attachments:

GoogleCodeExporter commented 8 years ago
If you are using multiple bluetooth dongles and multiple instances of a java
application, you should share the libbluecove between the applications, putting 
the
library in a directory '/home/myuser/libbluecove' and pass the following 
arguments to
the jvm:
java -Dbluecove.native.resource=false 
-Dbluecove.native.path=/home/myuser/libbluecove
-Xshare:off -jar myApplication.jar

This will stop generate the error_pid.log.

Original comment by cleber.t...@gmail.com on 14 Nov 2008 at 5:33

GoogleCodeExporter commented 8 years ago
We are trying to run example program "RemoteDeviceDiscovery" under Voyage Linux
(which is based upon Debian).

java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)

The file was compilated with Netbeans 6.1 and runs under Windows. But 
unfortunatly we
run into the same problem as described at the beginning by execute the following
statements:

java -cp lib/bluecove-2.1.0.jar:lib/bluecove-gpl-2.1.0.jar -jar
RemoteDeviceDiscovery.jar main

or 

java -cp lib -Dbluecove.native.resource=false -Xshare:off
-Dbluecove.native.path=/daten/bluecove/ -jar RemoteDeviceDiscovery.jar

or

java -cp lib/bluecove-2.1.0.jar:lib/bluecove-gpl-2.1.0.jar -jar
RemoteDeviceDiscovery.jar main

Here is the console output:

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGFPE (0x8) at pc=0xb7f73745, pid=23084, tid=3084831664
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing linux-x86)
# Problematic frame:
# C  [ld-linux.so.2+0x7745]
#
# An error report file with more information is saved as:
# /daten/dist2/hs_err_pid23084.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

We are using Alix 3d3 Board platform.

Best regards,
Sven

Original comment by seiler.s...@gmail.com on 3 Feb 2009 at 2:36

Attachments:

GoogleCodeExporter commented 8 years ago
Have you tried Obvious, compile bluecove.so on your platform?

Original comment by skarzhev...@gmail.com on 3 Feb 2009 at 5:15

GoogleCodeExporter commented 8 years ago
Working with version 2.1 it's ok here.

Original comment by brito....@gmail.com on 13 Jan 2011 at 6:12