robertoprato / bluecove

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

bluecove.dll EXCEPTION_ACCESS_VIOLATION on shutdown #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The JVM crashes with an Access Violation on the bluecove.dll during a
bruteforce shutdown of an application using BlueCove.
The log provided by the JVM is attached with this entry.

What steps will reproduce the problem?

It's hard to reproduce the problem as it is intermittent and does happen
only when the thread from which DiscoveryAgent.startInquiry is run, is
suddenly interrupted by a "bruteforce" shutdown such as a CTRL-C, and
InterruptedException is not called to do some cleanup job before
propagating the error (such as calling
DiscoveryAgent.cancelInquiry(DiscoveryListener))

Unfortunately I am not able to pinpoint the Java calls from the info I
gathered. This may also be related to the BlueTooth device closing itself
automatically before the BlueTooth stacks gets awareness of it, and the
application is then closed.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
My version of bluecove is 2.0.2. For other details see the attached JVM log.

Please provide any additional information below.
See attached JVM log.

Original issue reported on code.google.com by liam...@gmail.com on 31 Mar 2008 at 9:39

Attachments:

GoogleCodeExporter commented 8 years ago
In 2.0.3 I made some changes that should avoid the reported problem.

Would you care to try the latest build.

As I see you have Hyper-Threading on your computer. My current laptop does not 
have
one so I'm unable to reproduce the problem.

Original comment by skarzhev...@gmail.com on 5 Apr 2008 at 9:05

GoogleCodeExporter commented 8 years ago
Would you be kind enough to build the native libraries for 2.03 and make them
available here? I have built the JAR files without any problem but I do not have
Visual $tudio, so I can't build the native libraries on Win32.

I get this error, trying to run 2.03 (jars only against 2.02 native libs):

javax.bluetooth.BluetoothStateException: BlueCove native library version 
mismatch

Thanks

Original comment by liam...@gmail.com on 11 Apr 2008 at 10:20

GoogleCodeExporter commented 8 years ago
See the Nightly BlueCove Build here http://snapshot.bluecove.org/ the binary is 
in
Download Snapshot

Original comment by skarzhev...@gmail.com on 12 Apr 2008 at 3:39

GoogleCodeExporter commented 8 years ago
Looks like the problem is resolved.

Original comment by skarzhev...@gmail.com on 24 Feb 2009 at 8:21