Giter VIP home page Giter VIP logo

usb4java's Introduction

usb4java

USB library for Java based on libusb 1.0

Copyright (C) 2011 Klaus Reimer, [email protected]
Copyright (C) 2013 Luca Longinotti, [email protected]

See LICENSE.md for licensing information.

This library can be used to access USB devices in Java. It is based on the native libusb 1.0 shared library and reflects this API as complete as possible. usb4java also implements the javax-usb (JSR80) API. So you can choose if you want to access the USB devices via the low-level libusb 1.0 API or via the high level javax-usb API.

The native libraries are included in pre-compiled form for Linux, Windows and Mac OS X in 32 and 64 bit versions. The libraries are automatically extracted and loaded so you don't need to care about them.

For more detailed information please visit the usb4java website.

usb4java's People

Contributors

kayahr avatar llongi avatar loreii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

usb4java's Issues

Failed to load library on ARM (java.lang.UnsatisfiedLinkError)

I'm trying to use usb4java to make an android accessory from a robot controller with an ARM process running a version of Angstrom. I'm currently not able to get the library to load properly.

ERROR Unhandled exception: java.lang.UnsatisfiedLinkError: 
/var/volatile/tmp/usb4java4482639387304626765.tmp/libusb4java.so: 
ld-linux-armhf.so.3: cannot open shared object file: No such file or directory at 
[java.lang.ClassLoader$NativeLibrary.load(Native Method), 
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929), 
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1814), 
java.lang.Runtime.load0(Runtime.java:809), java.lang.System.load(System.java:1083), 
org.usb4java.Loader.load(Loader.java:358), org.usb4java.LibUsb.<clinit>(LibUsb.java:640), 
org.spectrum3847.lib.drivers.AndroidAccessory.init(AndroidAccessory.java:79), 

thank you for providing a great library and your help,
Allen

Native library not found in classpath: /org/usb4java/linux-arm/libusb4java.so on Raspberry PI

Hello, I´m trying to run a simple java program for discover usb devices but I´m getting this error

Exception in thread "AWT-EventQueue-0" org.usb4java.LoaderException: Native library not found in classpath: /org/usb4java/linux-arm/libusb4java.so
at org.usb4java.Loader.extractLibrary(Loader.java:281)
at org.usb4java.Loader.load(Loader.java:358)
at org.usb4java.javax.Services.(Services.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at java.lang.Class.newInstance(Class.java:433)
at javax.usb.UsbHostManager.createUsbServices(Unknown Source)
at javax.usb.UsbHostManager.getUsbServices(Unknown Source)

All usb4java reference are in lib folder and classpath is pointing to it.

# uname -a
Linux raspberrypi 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l GNU/Linux
# java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)

Thanks

1.0.0-SNAPSHOT does not properly handle InterfaceDescriptor.extra

The data placed in the InterfaceDescriptor extra() ByteBuffer is not actually the 'extra' data, but is instead the beginning of the Descriptor. I believe the following will fix it, but I've not yet been able to compile it properly so I'm not 100% sure:

diff --git a/src/main/c/src/InterfaceDescriptor.c b/src/main/c/src/InterfaceDescriptor.c
index c5a951e..9295e70 100644
--- a/src/main/c/src/InterfaceDescriptor.c
+++ b/src/main/c/src/InterfaceDescriptor.c
@@ -155,7 +155,7 @@ JNIEXPORT jobject JNICALL METHOD_NAME(InterfaceDescriptor, extra)
 {
     struct libusb_interface_descriptor *descriptor =
         unwrapInterfaceDescriptor(env, this);
-    return (*env)->NewDirectByteBuffer(env, descriptor,
+    return (*env)->NewDirectByteBuffer(env, (char *)descriptor->extra,
         descriptor->extra_length);
 }

ARM Linux (Raspberry Pi) : UnsatisfiedLinkError / No such file or directory

Hi.

I was trying to get this working on a Raspberry Pi, which is on of the most popular Linux ARM devices.

Even when trying to execute a simple example (this one), I get an error:

pi@raspberrypi ~ $ sudo java -jar usb-test.jar 
Exception in thread "main" java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.UnsatisfiedLinkError: /tmp/usb4java5981246520126700185.tmp/libusb4java.so: /tmp/usb4java5981246520126700185.tmp/libusb4java.so: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1882)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
    at java.lang.Runtime.load0(Runtime.java:795)
    at java.lang.System.load(System.java:1061)
    at de.ailis.usb4java.libusb.Loader.load(Loader.java:315)
    at de.ailis.usb4java.libusb.LibUsb.<clinit>(LibUsb.java:468)
    at usb_test.usb.App.main(App.java:60)
    ... 5 more

Somehow it looks like the native library is not being copied to the temporary file.
I also tried to run the application as root user, but the same happens.

Any hints?

High Level javax.usb API not working

I tried your example using the low level API and was able to get a listing of all USB devices on my machine. I tried the high level API and got nothing, the dump gave me

ffff:ffff

and nothing else. Why would the low level API work and not the high level? I also tried directly creating an instance of your de.ailis.usb4java.Services class and that gave the same output as aobe.

I am using usb4java version 0.5.0 and jsr80 1.0.2. I have a javax.usb.properties which has

javax.usb.services = de.ailis.usb4java.Services

I am running Linux 12.04. Looking for libusb, I find

/lib/i386-linux-gnu/libusb-0.1.so.4
/lib/i386-linux-gnu/libusb-0.1.so.4.4.4
/lib/x86_64-linux-gnu/libusb-0.1.so.4
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
/lib/x86_64-linux-gnu/libusb-1.0.so.0
/lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0

Given the low level API is working, I would claim it isn't confused between the 32 bit and 64 bit versions.

Thoughts?

Perhaps for now I should use the low level API, though I would rather not.

pipe.close()

Hello Klaus,

I'm picking up your work (v0.3.4) for a project that is about to come up, and while working with it I've found a possible bug and it's solution. It''s around opening and closing a pipe (JSR80 API):

The code where error happens:

    try
    {
        pipe.getUsbEndpoint().getUsbInterface().claim();
        pipe.open();

        int bytesWriten = pipe.syncSubmit(message);
        assertEquals(bytesWriten, message.length);
    }
    catch (UsbException ex)
    {
        Logger.getLogger(UsbTests.class.getName()).log(Level.SEVERE, ex.getMessage(), ex);
        assertTrue(ex.getMessage(), false);
    }
    finally
    {
        pipe.close();
        pipe.getUsbEndpoint().getUsbInterface().release();
    }

An exception occurs @ pipe.close(); (exception message "Pipe is still busy", on LibUsbPipe line 168)

I've looked over at AbstractIrpQueue.isBusy() method, and perhaps the bug is there:

Existing code:

public final boolean isBusy()
{
    synchronized (this.irps)
    {
        return this.irps.isEmpty() || this.processor != null;
    }
}

It is testing if irps queue is empty, while it should be testing if is not empty. Changing the line to the following, solved my problem:

public final boolean isBusy()
{
    synchronized (this.irps)
    {
        return !this.irps.isEmpty() || this.processor != null;
    }
}

Do you agree with this solution?

Thank you very much, keep the good work!
Miguel Figueiredo

not an issue but request for some examples

I am able to verify the setup for usb4java.jar in my java project, could some one point me to the samples on how to read and write a file / data to a usb hard drive ?

I have connected the USB hard drive to the laptop however when I print the value of device.getProductString() I just read vitual Root hub. This is on windows 7, please let me know what might be the issue.

Also is there a mailing list for this library to get help ?

Thank you

High Level javax.usb API not working on Windows 7

I am getting the same problem on Windows 7 as was resolved a month ago on Linux. It is returning two devices I have attached on the low level code but the high level only sees the hub. What is the fix on Windows 7?

libusb 1.0

Are there any plans to support the libusb 1.0 API?

EXCEPTION_ACCESS_VIOLATION in WIndows XP

Hello,

I'm using usb4java with different operative systems, but with Windows XP I find that usb4java crashes (in some times) with an Exception Access Violation.

version of java: 1.6.0_30
Operative system: Windows XP, service pack 3

the file hs_err is the following:


A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6b60b256, pid=832, tid=192

JRE version: 6.0_30-b12
Java VM: Java HotSpot(TM) Server VM (20.5-b03 mixed mode windows-x86 )
Problematic frame:
C [libusb-1.0.dll+0xb256]

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.

--------------- T H R E A D ---------------

Current thread (0x29687c00): JavaThread "Thread-40" daemon [_thread_in_native, id=192, stack(0x2c4d0000,0x2c520000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000000

Registers:
EAX=0x281cbec8, EBX=0x00000000, ECX=0x00000000, EDX=0x011e0002
ESP=0x2c51f390, EBP=0x2c51f408, ESI=0x2c51f467, EDI=0x281cd01f
EIP=0x6b60b256, EFLAGS=0x00010202

Top of Stack: (sp=0x2c51f390)
0x2c51f390: 00000043 00000004 6b620c68 6b61e2ac
0x2c51f3a0: 00000000 00000001 00000043 00000000
0x2c51f3b0: 00001498 00000000 02000000 80000000
0x2c51f3c0: 00020006 09000900 02004302 19800001
0x2c51f3d0: 0000004f 0000004f 281ccfdc 2cb70070
0x2c51f3e0: 281c2998 281ccfd0 00000023 00000000
0x2c51f3f0: 2c51f3d8 00000002 2c51faa4 2c51f455
0x2c51f400: 2c51f467 2cb7039a 2c51f4a8 6b60b69e

Instructions: (pc=0x6b60b256)
0x6b60b236: 2c 03 00 00 0f b6 55 e3 c1 e2 02 8d 1c 10 8b 45
0x6b60b246: d0 66 8b 40 02 0f b7 c0 89 04 24 e8 ae ef 00 00
0x6b60b256: 89 03 8b 45 d4 8b 80 2c 03 00 00 0f b6 55 e3 c1
0x6b60b266: e2 02 01 d0 8b 00 85 c0 75 07 b8 f5 ff ff ff eb

Register to memory mapping:

EAX=0x281cbec8 is an unknown value
EBX=0x00000000 is an unknown value
ECX=0x00000000 is an unknown value
EDX=0x011e0002 is an unknown value
ESP=0x2c51f390 is pointing into the stack for thread: 0x29687c00
EBP=0x2c51f408 is pointing into the stack for thread: 0x29687c00
ESI=0x2c51f467 is pointing into the stack for thread: 0x29687c00
EDI=0x281cd01f is an unknown value

Stack: [0x2c4d0000,0x2c520000], sp=0x2c51f390, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libusb-1.0.dll+0xb256] usbi_read+0x34fe
C [libusb-1.0.dll+0xb69e] usbi_read+0x3946
C [libusb-1.0.dll+0xce3d] usbi_read+0x50e5
C [libusb-1.0.dll+0x16f0] libusb_get_device_list+0x70
C [libusb4java.dll+0x1599] Java_de_ailis_usb4java_libusb_LibUsb_getDeviceList+0x60
j de.ailis.usb4java.libusb.LibUsb.getDeviceList(Lde/ailis/usb4java/libusb/Context;Lde/ailis/usb4java/libusb/DeviceList;)I+0
j de.ailis.usb4java.DeviceManager.updateDeviceList()V+21
j de.ailis.usb4java.DeviceManager.scan(Ljavax/usb/UsbHub;)V+1
j de.ailis.usb4java.DeviceManager.scan()V+5
j de.ailis.usb4java.DeviceManager$1.run()V+22
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0x10e3bd]
V [jvm.dll+0x1a5711]
V [jvm.dll+0x10e571]
V [jvm.dll+0x10e5cb]
V [jvm.dll+0xc07e9]
V [jvm.dll+0x12dce4]
V [jvm.dll+0x155fac]
C [msvcr71.dll+0x9565] endthreadex+0xa0
C [kernel32.dll+0xb713] GetModuleFileNameA+0x1b4

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j de.ailis.usb4java.libusb.LibUsb.getDeviceList(Lde/ailis/usb4java/libusb/Context;Lde/ailis/usb4java/libusb/DeviceList;)I+0
j de.ailis.usb4java.DeviceManager.updateDeviceList()V+21
j de.ailis.usb4java.DeviceManager.scan(Ljavax/usb/UsbHub;)V+1
j de.ailis.usb4java.DeviceManager.scan()V+5
j de.ailis.usb4java.DeviceManager$1.run()V+22
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x29717400 JavaThread "Thread-48" daemon [_thread_blocked, id=1536, stack(0x2cc70000,0x2ccc0000)]
0x29399800 JavaThread "Thread-47" daemon [_thread_blocked, id=3272, stack(0x2cb20000,0x2cb70000)]
0x2802f400 JavaThread "pool-15-thread-1" [_thread_blocked, id=3600, stack(0x2cad0000,0x2cb20000)]
0x28c4c800 JavaThread "StatusEventQueue" [_thread_blocked, id=176, stack(0x2ca30000,0x2ca80000)]
0x27d00400 JavaThread "OpEventQueue" [_thread_blocked, id=2032, stack(0x2c6f0000,0x2c740000)]
0x29ce0400 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=236, stack(0x2ca80000,0x2cad0000)]
0x28aca800 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=1520, stack(0x2c6a0000,0x2c6f0000)]
0x27cf8c00 JavaThread "Image Fetcher 2" daemon [_thread_blocked, id=512, stack(0x2c9e0000,0x2ca30000)]
0x28027c00 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=2888, stack(0x2c740000,0x2c790000)]
0x284fb400 JavaThread "MemoryMonitor" daemon [_thread_blocked, id=3456, stack(0x2c800000,0x2c850000)]
0x2876b000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=296, stack(0x2c7b0000,0x2c800000)]
0x297f9800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2488, stack(0x2c610000,0x2c660000)]
0x283ea800 JavaThread "AWT-Shutdown" [_thread_blocked, id=204, stack(0x2c5c0000,0x2c610000)]
0x283ea400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2432, stack(0x2c570000,0x2c5c0000)]
0x292ee400 JavaThread "Thread-41" daemon [_thread_blocked, id=3892, stack(0x2c520000,0x2c570000)]
=>0x29687c00 JavaThread "Thread-40" daemon [_thread_in_native, id=192, stack(0x2c4d0000,0x2c520000)]
0x2945d400 JavaThread "Thread-39" daemon [_thread_blocked, id=3940, stack(0x2c330000,0x2c380000)]
0x296b9800 JavaThread "Thread-38" daemon [_thread_blocked, id=3952, stack(0x2c2e0000,0x2c330000)]
0x285d1800 JavaThread "Thread-37" daemon [_thread_blocked, id=476, stack(0x2be20000,0x2be70000)]
0x28c89400 JavaThread "pool-14-thread-5" [_thread_blocked, id=232, stack(0x2c290000,0x2c2e0000)]
0x29b70800 JavaThread "pool-14-thread-4" [_thread_blocked, id=952, stack(0x2c240000,0x2c290000)]
0x28e73400 JavaThread "pool-14-thread-3" [_thread_blocked, id=2992, stack(0x2c1f0000,0x2c240000)]
0x2840c400 JavaThread "pool-13-thread-5" [_thread_blocked, id=468, stack(0x2c1a0000,0x2c1f0000)]
0x295ba400 JavaThread "pool-14-thread-2" [_thread_blocked, id=2772, stack(0x2c150000,0x2c1a0000)]
0x294bd400 JavaThread "pool-13-thread-4" [_thread_blocked, id=3508, stack(0x2c100000,0x2c150000)]
0x28458c00 JavaThread "pool-14-thread-1" [_thread_blocked, id=2460, stack(0x2c0b0000,0x2c100000)]
0x28532800 JavaThread "pool-13-thread-3" [_thread_blocked, id=3260, stack(0x2c060000,0x2c0b0000)]
0x29968800 JavaThread "pool-13-thread-2" [_thread_blocked, id=1844, stack(0x2c010000,0x2c060000)]
0x29940800 JavaThread "pool-13-thread-1" [_thread_blocked, id=2708, stack(0x2bfc0000,0x2c010000)]
0x2848ec00 JavaThread "New I/O server boss #3" [_thread_in_native, id=1100, stack(0x2bdd0000,0x2be20000)]
0x285d9400 JavaThread "New I/O worker #2" [_thread_in_native, id=1108, stack(0x2bd80000,0x2bdd0000)]
0x29b62400 JavaThread "New I/O worker #1" [_thread_in_native, id=2904, stack(0x2bd30000,0x2bd80000)]
0x29927c00 JavaThread "Thread-32" daemon [_thread_in_native, id=3368, stack(0x2bce0000,0x2bd30000)]
0x2870bc00 JavaThread "Thread-31" daemon [_thread_blocked, id=2268, stack(0x2bc90000,0x2bce0000)]
0x283ce000 JavaThread "StatusEventQueue" daemon [_thread_blocked, id=3980, stack(0x2bc40000,0x2bc90000)]
0x285a0c00 JavaThread "OpEventQueue" daemon [_thread_blocked, id=3252, stack(0x2bbf0000,0x2bc40000)]
0x281fe000 JavaThread "Support:EventQueue(listeners=Vector@1,events=Vector@1,eventBufferSize=200)@Da341" daemon [_thread_blocked, id=2924, stack(0x2bba0000,0x2bbf0000)]
0x2836d800 JavaThread "QueueControl(mode=1,suspended=false,jobs=0,regControls=[],claimOwner[])@b07663" daemon [_thread_blocked, id=2400, stack(0x2bb50000,0x2bba0000)]
0x28c13c00 JavaThread "StatusEventQueue" daemon [_thread_blocked, id=364, stack(0x2bb00000,0x2bb50000)]
0x2940d400 JavaThread "OpEventQueue" daemon [_thread_blocked, id=3116, stack(0x2bab0000,0x2bb00000)]
0x295d3800 JavaThread "Support:EventQueue(listeners=Vector@1,events=Vector@1,eventBufferSize=200)@eeefcf" daemon [_thread_blocked, id=2384, stack(0x2ba60000,0x2bab0000)]
0x28b26c00 JavaThread "QueueControl(mode=1,suspended=false,jobs=0,regControls=[],claimOwner[])@773ac1" daemon [_thread_blocked, id=1676, stack(0x2ba10000,0x2ba60000)]
0x292a9400 JavaThread "StatusEventQueue" daemon [_thread_blocked, id=1320, stack(0x2b9c0000,0x2ba10000)]
0x2932f800 JavaThread "OpEventQueue" daemon [_thread_blocked, id=3296, stack(0x2b970000,0x2b9c0000)]
0x28aba400 JavaThread "StatusEventQueue" daemon [_thread_blocked, id=3472, stack(0x2b920000,0x2b970000)]
0x2958a400 JavaThread "OpEventQueue" daemon [_thread_blocked, id=3712, stack(0x2b8d0000,0x2b920000)]
0x295a3400 JavaThread "Support:EventQueue(listeners=Vector@1,events=Vector@1,eventBufferSize=200)@11a0d8b" daemon [_thread_blocked, id=3992, stack(0x2b880000,0x2b8d0000)]
0x288ba400 JavaThread "QueueControl(mode=1,suspended=false,jobs=0,regControls=[],claimOwner[])@f00b97" daemon [_thread_blocked, id=3640, stack(0x2b830000,0x2b880000)]
0x2878d400 JavaThread "StatusEventQueue" daemon [_thread_blocked, id=3924, stack(0x2b7e0000,0x2b830000)]
0x28874c00 JavaThread "OpEventQueue" daemon [_thread_blocked, id=3496, stack(0x2b790000,0x2b7e0000)]
0x28c6e400 JavaThread "Support:EventQueue(listeners=Vector@1,events=Vector@1,eventBufferSize=200)@103d2a8" daemon [_thread_blocked, id=2404, stack(0x2b740000,0x2b790000)]
0x28013400 JavaThread "QueueControl(mode=1,suspended=false,jobs=0,regControls=[],claimOwner[])@1a80fb8" daemon [_thread_blocked, id=3720, stack(0x2b6f0000,0x2b740000)]
0x298f3400 JavaThread "StatusEventQueue" daemon [_thread_blocked, id=3216, stack(0x2b6a0000,0x2b6f0000)]
0x28374400 JavaThread "OpEventQueue" daemon [_thread_blocked, id=2544, stack(0x2ace0000,0x2ad30000)]
0x297a6800 JavaThread "Support:EventQueue(listeners=Vector@1,events=Vector@1,eventBufferSize=200)@1971f66" daemon [_thread_blocked, id=528, stack(0x2b650000,0x2b6a0000)]
0x28ae9400 JavaThread "QueueControl(mode=1,suspended=false,jobs=0,regControls=[],claimOwner[])@1b6903f" daemon [_thread_blocked, id=2088, stack(0x2b600000,0x2b650000)]
0x295ecc00 JavaThread "StatusEventQueue" daemon [_thread_blocked, id=3788, stack(0x2b5b0000,0x2b600000)]
0x297b1800 JavaThread "OpEventQueue" daemon [_thread_blocked, id=2688, stack(0x2b560000,0x2b5b0000)]
0x297b1400 JavaThread "Support:EventQueue(listeners=Vector@1,events=Vector@1,eventBufferSize=200)@55eda6" daemon [_thread_blocked, id=2536, stack(0x2b510000,0x2b560000)]
0x298f5c00 JavaThread "QueueControl(mode=1,suspended=false,jobs=0,regControls=[],claimOwner[])@1d510be" daemon [_thread_blocked, id=1852, stack(0x2b4c0000,0x2b510000)]
0x29843400 JavaThread "StatusEventQueue" daemon [_thread_blocked, id=340, stack(0x2b470000,0x2b4c0000)]
0x28d32400 JavaThread "OpEventQueue" daemon [_thread_blocked, id=3572, stack(0x2b420000,0x2b470000)]
0x28c74800 JavaThread "Support:EventQueue(listeners=Vector@1,events=Vector@1,eventBufferSize=200)@44a38a" daemon [_thread_blocked, id=2908, stack(0x2b3d0000,0x2b420000)]
0x28c74400 JavaThread "QueueControl(mode=1,suspended=false,jobs=0,regControls=[],claimOwner[])@da7565" daemon [_thread_blocked, id=1708, stack(0x2b380000,0x2b3d0000)]
0x29455c00 JavaThread "StatusEventQueue" daemon [_thread_blocked, id=3860, stack(0x2b330000,0x2b380000)]
0x28c91400 JavaThread "OpEventQueue" daemon [_thread_blocked, id=2200, stack(0x2b150000,0x2b1a0000)]
0x27cf7400 JavaThread "Support:EventQueue(listeners=Vector@1,events=Vector@1,eventBufferSize=200)@12afd8" daemon [_thread_blocked, id=720, stack(0x2b2e0000,0x2b330000)]
0x28564800 JavaThread "QueueControl(mode=1,suspended=false,jobs=0,regControls=[],claimOwner[])@1747815" daemon [_thread_blocked, id=3232, stack(0x2b290000,0x2b2e0000)]
0x285a6800 JavaThread "StatusEventQueue" daemon [_thread_blocked, id=2352, stack(0x2b240000,0x2b290000)]
0x28dca400 JavaThread "OpEventQueue" daemon [_thread_blocked, id=980, stack(0x2b1f0000,0x2b240000)]
0x27cd1400 JavaThread "Thread-30" daemon [_thread_blocked, id=772, stack(0x2b1a0000,0x2b1f0000)]
0x28368800 JavaThread "com.jxfs.general.JxfsDeviceManager$DeviceKeyValueChangeDispatcher@b9dc79" daemon [_thread_blocked, id=2844, stack(0x2b100000,0x2b150000)]
0x284a0400 JavaThread "com.jxfs.general.JxfsDeviceManager$DeviceKeyValueChangeDispatcher@1fd8905" daemon [_thread_blocked, id=3348, stack(0x2b0b0000,0x2b100000)]
0x29979800 JavaThread "com.jxfs.general.JxfsDeviceManager$DeviceKeyValueChangeDispatcher@1b4bc2a" daemon [_thread_blocked, id=3164, stack(0x2b060000,0x2b0b0000)]
0x28373c00 JavaThread "com.jxfs.general.JxfsDeviceManager$DeviceKeyValueChangeDispatcher@136daec" daemon [_thread_blocked, id=3740, stack(0x2b010000,0x2b060000)]
0x28d21400 JavaThread "com.jxfs.general.JxfsDeviceManager$DeviceKeyValueChangeDispatcher@c50e46" daemon [_thread_blocked, id=700, stack(0x2aea0000,0x2aef0000)]
0x27cdc000 JavaThread "com.jxfs.general.JxfsDeviceManager$DeviceKeyValueChangeDispatcher@bd630e" daemon [_thread_blocked, id=2140, stack(0x2ae50000,0x2aea0000)]
0x2836cc00 JavaThread "com.jxfs.general.JxfsDeviceManager$DeviceKeyValueChangeDispatcher@4a6ccc" daemon [_thread_blocked, id=464, stack(0x2ae00000,0x2ae50000)]
0x2858a400 JavaThread "com.jxfs.general.JxfsDeviceManager$DeviceKeyValueChangeDispatcher@11ca33b" daemon [_thread_blocked, id=3820, stack(0x2adb0000,0x2ae00000)]
0x29326400 JavaThread "com.jxfs.general.JxfsDeviceManager$DeviceKeyValueChangeDispatcher@1f365b2" daemon [_thread_blocked, id=1476, stack(0x2ad60000,0x2adb0000)]
0x28a99400 JavaThread "HSQLDB Timer @149895" daemon [_thread_blocked, id=840, stack(0x2ac90000,0x2ace0000)]
0x284bac00 JavaThread "com.jxfs.general.JxfsDeviceManager$DeviceKeyValueChangeDispatcher@14153c4" daemon [_thread_blocked, id=1812, stack(0x2ac40000,0x2ac90000)]
0x29861000 JavaThread "Repository Writer of FileDictionary" daemon [_thread_blocked, id=3200, stack(0x2a7e0000,0x2a830000)]
0x2969e400 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=2508, stack(0x2abf0000,0x2ac40000)]
0x2800e800 JavaThread "com.jxfs.forum.repository.KeyChangeDispatcher@16827b5" daemon [_thread_blocked, id=3772, stack(0x2aba0000,0x2abf0000)]
0x28c06400 JavaThread "com.jxfs.general.JxfsLogger$DeliverMsgs@778590" daemon [_thread_blocked, id=3928, stack(0x2ab50000,0x2aba0000)]
0x29384400 JavaThread "com.jxfs.general.JxfsDeviceManager$StatusDispatcher@11e8050" daemon [_thread_blocked, id=3792, stack(0x2ab00000,0x2ab50000)]
0x297e3c00 JavaThread "com.jxfs.general.JxfsDeviceManager$KeyValueChangeDispatcher@a877c0" daemon [_thread_blocked, id=2136, stack(0x2aab0000,0x2ab00000)]
0x29495c00 JavaThread "RMI RenewClean-[169.254.165.226:44444]" daemon [_thread_blocked, id=1500, stack(0x2aa10000,0x2aa60000)]
0x28e2d800 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=1980, stack(0x2aa60000,0x2aab0000)]
0x29548400 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=1068, stack(0x2a9c0000,0x2aa10000)]
0x28b0dc00 JavaThread "GC Daemon" daemon [_thread_blocked, id=2552, stack(0x2a970000,0x2a9c0000)]
0x29316c00 JavaThread "RMI Reaper" [_thread_blocked, id=3580, stack(0x2a920000,0x2a970000)]
0x28d93400 JavaThread "RMI TCP Accept-44444" daemon [_thread_in_native, id=1508, stack(0x2a8d0000,0x2a920000)]
0x29528400 JavaThread "JMX OSGi Service State Event Dispatcher" daemon [_thread_blocked, id=1496, stack(0x2a880000,0x2a8d0000)]
0x27cf8400 JavaThread "JMX OSGi Blueprint State Event Dispatcher" daemon [_thread_blocked, id=1880, stack(0x2a830000,0x2a880000)]
0x28d93800 JavaThread "RMI TCP Accept-1099" daemon [_thread_in_native, id=168, stack(0x2a790000,0x2a7e0000)]
0x28c39000 JavaThread "NioSocketAcceptor-1" [_thread_in_native, id=3896, stack(0x2a740000,0x2a790000)]
0x292ce000 JavaThread "Timer-0" daemon [_thread_blocked, id=1904, stack(0x2a6a0000,0x2a6f0000)]
0x29a30400 JavaThread "gogo shell pipe thread" daemon [_thread_in_native, id=2472, stack(0x2a6f0000,0x2a740000)]
0x28bba800 JavaThread "Karaf Shell Console Thread" daemon [_thread_blocked, id=3324, stack(0x2a650000,0x2a6a0000)]
0x28bba400 JavaThread "NonBlockingInputStreamThread" daemon [_thread_blocked, id=2252, stack(0x2a600000,0x2a650000)]
0x2947dc00 JavaThread "Thread-13" daemon [_thread_blocked, id=1680, stack(0x2a5b0000,0x2a600000)]
0x29643400 JavaThread "Thread-12" daemon [_thread_blocked, id=956, stack(0x2a560000,0x2a5b0000)]
0x29623400 JavaThread "Thread-11" daemon [_thread_blocked, id=1964, stack(0x2a510000,0x2a560000)]
0x292cf400 JavaThread "Thread-10" daemon [_thread_blocked, id=3492, stack(0x2a2e0000,0x2a330000)]
0x29568400 JavaThread "Thread-9" daemon [_thread_blocked, id=484, stack(0x2a4c0000,0x2a510000)]
0x28b37c00 JavaThread "Thread-8" daemon [_thread_blocked, id=1836, stack(0x2a470000,0x2a4c0000)]
0x28c0e800 JavaThread "Thread-7" daemon [_thread_blocked, id=228, stack(0x2a420000,0x2a470000)]
0x28c0e400 JavaThread "Blueprint Event Dispatcher: 1" daemon [_thread_blocked, id=3536, stack(0x2a3d0000,0x2a420000)]
0x28d39400 JavaThread "Thread-6" daemon [_thread_blocked, id=3504, stack(0x2a380000,0x2a3d0000)]
0x28b89800 JavaThread "Thread-5" daemon [_thread_blocked, id=2600, stack(0x2a330000,0x2a380000)]
0x28c79800 JavaThread "Thread-3" daemon [_thread_blocked, id=3840, stack(0x2a290000,0x2a2e0000)]
0x28a77800 JavaThread "JMX OSGi Agent" daemon [_thread_blocked, id=3012, stack(0x29240000,0x29290000)]
0x28a7c000 JavaThread "Blueprint Extender: 3" daemon [_thread_blocked, id=3668, stack(0x291c0000,0x29210000)]
0x28a80000 JavaThread "Blueprint Extender: 2" daemon [_thread_blocked, id=576, stack(0x29170000,0x291c0000)]
0x28ab1800 JavaThread "Blueprint Extender: 1" daemon [_thread_blocked, id=2920, stack(0x29120000,0x29170000)]
0x2823e800 JavaThread "fileinstall-C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT/etc" daemon [_thread_blocked, id=3728, stack(0x290d0000,0x29120000)]
0x28a55000 JavaThread "fileinstall-C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT/deploy" daemon [_thread_blocked, id=3764, stack(0x29080000,0x290d0000)]
0x28218400 JavaThread "CM Event Dispatcher" daemon [_thread_blocked, id=1552, stack(0x29030000,0x29080000)]
0x287d4800 JavaThread "CM Configuration Updater" daemon [_thread_blocked, id=2220, stack(0x28fe0000,0x29030000)]
0x28a3b000 JavaThread "Thread-2" daemon [_thread_in_native, id=3548, stack(0x28f90000,0x28fe0000)]
0x282b0400 JavaThread "Thread-1" [_thread_blocked, id=3384, stack(0x28f40000,0x28f90000)]
0x283b9400 JavaThread "FelixStartLevel" daemon [_thread_blocked, id=2608, stack(0x28ef0000,0x28f40000)]
0x28232800 JavaThread "FelixDispatchQueue" [_thread_blocked, id=1264, stack(0x28690000,0x286e0000)]
0x280aa000 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=1448, stack(0x285f0000,0x28640000)]
0x27cb5c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3908, stack(0x27f70000,0x27fc0000)]
0x27cb4400 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=3564, stack(0x27f20000,0x27f70000)]
0x27ca5c00 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=3648, stack(0x27ed0000,0x27f20000)]
0x27ca4400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3300, stack(0x27e80000,0x27ed0000)]
0x27ca3000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1720, stack(0x27e30000,0x27e80000)]
0x27c92c00 JavaThread "Finalizer" daemon [_thread_blocked, id=2732, stack(0x27de0000,0x27e30000)]
0x27c8e000 JavaThread "Reference Handler" daemon [_thread_blocked, id=520, stack(0x27d90000,0x27de0000)]
0x00319800 JavaThread "main" [_thread_blocked, id=3332, stack(0x008f0000,0x00940000)]

Other Threads:
0x27c8a400 VMThread [stack: 0x27d40000,0x27d90000] [id=2164]
0x28196c00 WatcherThread [stack: 0x28640000,0x28690000] [id=2628]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 39488K, used 28872K [0x03a30000, 0x06500000, 0x0e4d0000)
eden space 35136K, 73% used [0x03a30000, 0x05385300, 0x05c80000)
from space 4352K, 67% used [0x05c80000, 0x05f5d000, 0x060c0000)
to space 4352K, 0% used [0x060c0000, 0x060c0000, 0x06500000)
tenured generation total 87424K, used 22325K [0x0e4d0000, 0x13a30000, 0x23a30000)
the space 87424K, 25% used [0x0e4d0000, 0x0fa9d4f8, 0x0fa9d600, 0x13a30000)
compacting perm gen total 34816K, used 34684K [0x23a30000, 0x25c30000, 0x27a30000)
the space 34816K, 99% used [0x23a30000, 0x25c0f108, 0x25c0f200, 0x25c30000)
No shared spaces configured.

Code Cache [0x00970000, 0x00c10000, 0x03970000)
total_blobs=990 nmethods=755 adapters=196 free_code_cache=47688192 largest_free_block=42560

Dynamic libraries:
0x00400000 - 0x00425000 C:\JVM\jdk1.6.0_30\bin\java.exe
0x7c910000 - 0x7c9c5000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c903000 C:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e4c000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 - 0x77ee2000 C:\WINDOWS\system32\RPCRT4.dll
0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll
0x7c340000 - 0x7c396000 C:\JVM\jdk1.6.0_30\jre\bin\msvcr71.dll
0x6db90000 - 0x6dfe8000 C:\JVM\jdk1.6.0_30\jre\bin\server\jvm.dll
0x7e390000 - 0x7e421000 C:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f39000 C:\WINDOWS\system32\GDI32.dll
0x76b00000 - 0x76b2e000 C:\WINDOWS\system32\WINMM.dll
0x76340000 - 0x7635d000 C:\WINDOWS\system32\IMM32.DLL
0x62e30000 - 0x62e39000 C:\WINDOWS\system32\LPK.DLL
0x74d20000 - 0x74d8b000 C:\WINDOWS\system32\USP10.dll
0x6d870000 - 0x6d87c000 C:\JVM\jdk1.6.0_30\jre\bin\verify.dll
0x6d3d0000 - 0x6d3ef000 C:\JVM\jdk1.6.0_30\jre\bin\java.dll
0x6d8b0000 - 0x6d8bf000 C:\JVM\jdk1.6.0_30\jre\bin\zip.dll
0x6d6b0000 - 0x6d6c3000 C:\JVM\jdk1.6.0_30\jre\bin\net.dll
0x71a30000 - 0x71a47000 C:\WINDOWS\system32\WS2_32.dll
0x77be0000 - 0x77c38000 C:\WINDOWS\system32\msvcrt.dll
0x71a20000 - 0x71a28000 C:\WINDOWS\system32\WS2HELP.dll
0x719d0000 - 0x71a10000 C:\WINDOWS\System32\mswsock.dll
0x76ee0000 - 0x76f07000 C:\WINDOWS\system32\DNSAPI.dll
0x76f70000 - 0x76f78000 C:\WINDOWS\System32\winrnr.dll
0x76f20000 - 0x76f4d000 C:\WINDOWS\system32\WLDAP32.dll
0x76f80000 - 0x76f86000 C:\WINDOWS\system32\rasadhlp.dll
0x6d600000 - 0x6d609000 C:\JVM\jdk1.6.0_30\jre\bin\management.dll
0x68000000 - 0x68036000 C:\WINDOWS\system32\rsaenh.dll
0x76630000 - 0x766e5000 C:\WINDOWS\system32\USERENV.dll
0x597f0000 - 0x59845000 C:\WINDOWS\system32\netapi32.dll
0x66740000 - 0x66799000 C:\WINDOWS\system32\hnetcfg.dll
0x71a10000 - 0x71a18000 C:\WINDOWS\System32\wshtcpip.dll
0x6d6d0000 - 0x6d6d9000 C:\JVM\jdk1.6.0_30\jre\bin\nio.dll
0x29210000 - 0x29218000 C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\data\cache\bundle15\version0.0\bundle.jar-lib\0\META-INF\native\windows32\jansi.dll
0x78520000 - 0x785c3000 C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_d495ac4e\MSVCR90.dll
0x6d850000 - 0x6d858000 C:\JVM\jdk1.6.0_30\jre\bin\sunmscapi.dll
0x77a50000 - 0x77ae6000 C:\WINDOWS\system32\CRYPT32.dll
0x77af0000 - 0x77b02000 C:\WINDOWS\system32\MSASN1.dll
0x6d7a0000 - 0x6d7a6000 C:\JVM\jdk1.6.0_30\jre\bin\rmi.dll
0x6d0b0000 - 0x6d1fc000 C:\JVM\jdk1.6.0_30\jre\bin\awt.dll
0x72f80000 - 0x72fa6000 C:\WINDOWS\system32\WINSPOOL.DRV
0x774b0000 - 0x775ed000 C:\WINDOWS\system32\ole32.dll
0x773a0000 - 0x774a3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\COMCTL32.dll
0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll
0x2aef0000 - 0x2af01000 C:\Documents and Settings\Administrador.DTG\jspWin.dll
0x6b600000 - 0x6b632000 C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\data\tmp\usb4java7237203708008126492.tmp\libusb-1.0.dll
0x70880000 - 0x70895000 C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\data\tmp\usb4java7237203708008126492.tmp\libusb4java.dll
0x74a70000 - 0x74a77000 C:\WINDOWS\system32\Cfgmgr32.dll
0x778f0000 - 0x779e7000 C:\WINDOWS\system32\setupapi.dll
0x2be70000 - 0x2be85000 C:\WINDOWS\system32\libusbK.dll
0x76bf0000 - 0x76c1e000 C:\WINDOWS\system32\wintrust.dll
0x76c50000 - 0x76c78000 C:\WINDOWS\system32\IMAGEHLP.dll
0x2be90000 - 0x2be97000 C:\WINDOWS\system32\winusb.dll
0x68db0000 - 0x68db9000 C:\WINDOWS\system32\hid.dll
0x746b0000 - 0x746fc000 C:\WINDOWS\system32\MSCTF.dll
0x75160000 - 0x7518e000 C:\WINDOWS\system32\msctfime.ime
0x7e6a0000 - 0x7eec1000 C:\WINDOWS\system32\shell32.dll
0x6d2e0000 - 0x6d32f000 C:\JVM\jdk1.6.0_30\jre\bin\fontmanager.dll
0x6d4f0000 - 0x6d515000 C:\JVM\jdk1.6.0_30\jre\bin\jpeg.dll
0x6d250000 - 0x6d273000 C:\JVM\jdk1.6.0_30\jre\bin\dcpr.dll
0x770f0000 - 0x7717b000 C:\WINDOWS\system32\OLEAUT32.DLL
0x76bb0000 - 0x76bbb000 C:\WINDOWS\system32\PSAPI.DLL

VM Arguments:
jvm_args: -Xms128M -Xmx512M -Dderby.system.home=C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\data\derby -Dderby.storage.fileSyncTransactionLog=true -Dcom.sun.management.jmxremote -Dkaraf.startLocalConsole=true -Dkaraf.startRemoteShell=true -Djava.endorsed.dirs=C:\JVM\jdk1.6.0_30\jre\lib\endorsed;C:\JVM\jdk1.6.0_30\lib\endorsed;C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\lib\endorsed -Djava.ext.dirs=C:\JVM\jdk1.6.0_30\jre\lib\ext;C:\JVM\jdk1.6.0_30\lib\ext;C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\lib\ext -Dkaraf.instances=C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\instances -Dkaraf.home=C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin.. -Dkaraf.base=C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin.. -Djava.io.tmpdir=C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\data\tmp -Dkaraf.data=C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\data -Djava.util.logging.config.file=C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\etc\java.util.logging.properties
java_command: org.apache.karaf.main.Main
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\JVM\jdk1.6.0_30
CLASSPATH=;C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\lib\ext;C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\conf;C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\lib\karaf-jaas-boot.jar;C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\lib\karaf.jar
PATH=C:\Perl\site\bin;C:\Perl\bin;C:\Archivos de programa\Archivos comunes\Unisys\ImageSecurity;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\TortoiseSVN\bin;C:\ARCHIV1\ULTRAE1;C:\Archivos de programa\apache-maven-3.0.4/bin;C:\Archivos de programa\doxygen\bin;C:\Archivos de programa\OpenVPN\bin;C:\Archivos de programa\nasm;C:\Archivos de programa\UnxUtils\bin;C:\Archivos de programa\UnxUtils\usr\local\wbin;C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\lib;C:\projects\PUMA_PRODUCT_ACTIONS\karaf\puma-action-karaf-4.0.0-SNAPSHOT\bin..\lib
USERNAME=Administrador
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, GenuineIntel

--------------- S Y S T E M ---------------

OS: Windows XP Build 2600 Service Pack 3

CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 2644464k(675036k free), swap 4061136k(1983460k free)

vm_info: Java HotSpot(TM) Server VM (20.5-b03) for windows-x86 JRE (1.6.0_30-b12), built on Nov 10 2011 01:42:41 by "java_re" with MS VC++ 7.1 (VS2003)

time: Mon Mar 17 11:45:08 2014
elapsed time: 54 seconds

usb4java 1.2.0 crashes on OS X 10.10.2 Yosemite

The following code fragment from one of the examples crashes the JVM:

DeviceList list = new DeviceList();
int result = LibUsb.getDeviceList(null, list);

Crash log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fff8f7335c1, pid=26540, tid=4867
#
# JRE version: Java(TM) SE Runtime Environment (7.0_71-b14) (build 1.7.0_71-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.71-b01 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libsystem_pthread.dylib+0x15c1]  _pthread_mutex_lock+0x17

[...]

Stack: [0x0000000110661000,0x0000000110761000],  sp=0x000000011075ffc0,  free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libsystem_pthread.dylib+0x15c1]  _pthread_mutex_lock+0x17
C  [libusb4java.dylib+0x73b9]  libusb_get_device_list+0xa9
C  [libusb4java.dylib+0x1cae]  Java_org_usb4java_LibUsb_getDeviceList+0xae
j  org.usb4java.LibUsb.getDeviceList(Lorg/usb4java/Context;Lorg/usb4java/DeviceList;)I+0

[...]

On OSX, device updating fails after some time

In regards to my post on the board: https://groups.google.com/forum/#!topic/usb4java/qrcz4H9n_jY

More information is provided there, but basically on OSX after running the software for a while (with some device failures and reinits happening every hour). After a while the device list seems to stop getting updated, and i cannot open an interface to the device. Oddly enough, when walking the device tree at this point, it is never updated. Unplugging the old device, plugging in a new one, etc. still returns the same list of devices. I'm still getting callbacks from control requests, but obviously with no device it does nothing. Trying to send data, I get a failure that it cant find the interface. This sometimes results in a segfault (attached).

Moving the software over to linux, everything works fine. I may try compiling my own OSX native driver and see if that helps.

Attach/detach usb event

Hi, Klaus!

I want to catch attach/detach event for usb devices from java on Windows and Linux but can't find any working solutions...

I try to use "javax.usb" with yours and http://javax-usb.cvs.sourceforge.net/javax-usb/javax-usb-libusb/ implementations on Win7 x86 but events not thrown:

Services services = Services.getInstance();
services.addUsbServicesListener(new UsbServicesListener() {
    @Override
    void usbDeviceAttached(UsbServicesEvent event) {
        // Never caused
    }

    @Override
    void usbDeviceDetached(UsbServicesEvent event) {
        // Never caused
    }
});
while(true) { ... }

In last version of usb4java i found "hotplug_callback", will it solve my problem? Is there a binaries of newest "libusb4java" with "hotplug_callback" implementation? (can't find it on site).

Is there a better solution for this problem on java?

Thanks!

usb4java 1.2.0 on OS X 10.6

I've been having issues with usb4java 1.2.0 on OS X 10.6.
When I run the simple device listing example it returns no error and no list of devices.

After I recompiled libusb4java with libusb installed with brew install libusb, now it works.

Any on ideas on where I should look for differences between what is bundled in libusb4java-1.2.0-osx-x86_64.jar and my locally compiled version? Perhaps 1.2.0 was compiled with an older libusb? or Perhaps it was compiled on 10.7 or higher, so the libusb is not compatible with 10.6?

SIGSEGV on Mac 10.7.4 & JDK 1.7.0_21

I'm unable to get the Dump example to work. I've verified that the correct native lib (OSX 64) is being referenced.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000001117a6e3c, pid=2948, tid=7171
#
# JRE version: 7.0_21-b12
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libusb4java.dylib+0x10e3c]  libusb_interrupt_transfer+0x9cc


---------------  T H R E A D  ---------------

Current thread (0x00007ffc72834800):  JavaThread "main" [_thread_in_native, id=7171, stack(0x00000001089aa000,0x0000000108aaa000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000000000000

Registers:
RAX=0x0000000000000000, RBX=0x00000007a8958a80, RCX=0x00000000000989c0, RDX=0x0000000107e98980
RSP=0x0000000108aa8e30, RBP=0x0000000108aa8f40, RSI=0x0000000107e00000, RDI=0x0000000107ce9a00
R8 =0x000000000000003f, R9 =0x0000000107e99870, R10=0x000000003ba8a792, R11=0x00000000032044ff
R12=0x0000000000000000, R13=0x00000007a8958a18, R14=0x0000000108aa909e, R15=0x000000000000009d
RIP=0x00000001117a6e3c, EFLAGS=0x0000000000010202, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x0000000108aa8e30)
0x0000000108aa8e30:   000000030000005b 0000000000000048
0x0000000108aa8e40:   00000001ffffffe2 00000000ffffffb5
0x0000000108aa8e50:   000000000000007d 0000000000000002
0x0000000108aa8e60:   0000000100000007 00007ffffffffffc
0x0000000108aa8e70:   00000001ffffffea 00000024ffffffe1
0x0000000108aa8e80:   00002d030000003b 00000cea3c656369
0x0000000108aa8e90:   00000001117bc6f2 0000000108aa8ee8
0x0000000108aa8ea0:   3c00000000000008 0000000108aa8ef0
0x0000000108aa8eb0:   0000000108aa8ed4 0000000107e968b0
0x0000000108aa8ec0:   9dcecd02b8b5750e 0000000000000000
0x0000000108aa8ed0:   0000000058e81000 0000000000000000
0x0000000108aa8ee0:   00004d0708aa90f0 0000000000000000
0x0000000108aa8ef0:   0000000107e96c50 00000001117a6af4
0x0000000108aa8f00:   e2485b4b47f03ca3 3be1eafc07027db5
0x0000000108aa8f10:   0000000107e96920 0000000108aa8f58
0x0000000108aa8f20:   00004c0707e96bd0 00000007a8958a18
0x0000000108aa8f30:   0000000108aa90f0 00007ffc72834800
0x0000000108aa8f40:   0000000108aa8f80 00000001117a86bc
0x0000000108aa8f50:   000a000000b30001 0000000001000002
0x0000000108aa8f60:   732f62696c2f6572 00004c0765767265
0x0000000108aa8f70:   3ff7154760000000 0000000107e96900
0x0000000108aa8f80:   0000000108aa8fb0 00000001117a74e8
0x0000000108aa8f90:   bfd2089fc709fe56 0000000000000000
0x0000000108aa8fa0:   0000000108aa9020 0000000107e96900
0x0000000108aa8fb0:   0000000108aa9020 000000011179ff4f
0x0000000108aa8fc0:   0000000000000000 0000000000000000
0x0000000108aa8fd0:   0000000108aa9020 000000000829976d
0x0000000108aa8fe0:   0000000107e96900 0000000000000000
0x0000000108aa8ff0:   0000000108aa9048 0000000107e19598
0x0000000108aa9000:   0000000108aa9020 0000000107e96900
0x0000000108aa9010:   00007ffc72834800 0000000108aa9040
0x0000000108aa9020:   0000000108aa9070 0000000111796eb3 

Instructions: (pc=0x00000001117a6e3c)
0x00000001117a6e1c:   ff ff d0 48 8b 45 b0 48 8b 08 48 8b 49 18 48 89
0x00000001117a6e2c:   c7 ff d1 48 8b 45 d8 48 85 c0 74 1e 48 8b 45 a8
0x00000001117a6e3c:   48 8b 00 48 8b 80 a0 00 00 00 48 8b 4d a8 48 8b
0x00000001117a6e4c:   55 d8 48 89 cf 48 89 d6 ff d0 48 8b 45 a8 48 89 

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x00000007a8958a80 is an oop
{method} 
 - klass: {other class}
RCX=0x00000000000989c0 is an unknown value
RDX=0x0000000107e98980 is an unknown value
RSP=0x0000000108aa8e30 is pointing into the stack for thread: 0x00007ffc72834800
RBP=0x0000000108aa8f40 is pointing into the stack for thread: 0x00007ffc72834800
RSI=0x0000000107e00000 is an unknown value
RDI=0x0000000107ce9a00 is an unknown value
R8 =0x000000000000003f is an unknown value
R9 =0x0000000107e99870 is an unknown value
R10=0x000000003ba8a792 is an unknown value
R11=0x00000000032044ff is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x00000007a8958a18 is an oop
{method} 
 - klass: {other class}
R14=0x0000000108aa909e is pointing into the stack for thread: 0x00007ffc72834800
R15=0x000000000000009d is an unknown value


Stack: [0x00000001089aa000,0x0000000108aaa000],  sp=0x0000000108aa8e30,  free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libusb4java.dylib+0x10e3c]  libusb_interrupt_transfer+0x9cc
C  [libusb4java.dylib+0x126bc]  libusb_interrupt_transfer+0x224c
C  [libusb4java.dylib+0x114e8]  libusb_interrupt_transfer+0x1078
C  [libusb4java.dylib+0x9f4f]  libusb_init+0x21f
C  [libusb4java.dylib+0xeb3]  Java_de_ailis_usb4java_libusb_LibUsb_init+0x83
j  de.ailis.usb4java.libusb.LibUsb.init(Lde/ailis/usb4java/libusb/Context;)I+0
j  de.ailis.usb4java.DeviceManager.<init>(Lde/ailis/usb4java/RootHub;I)V+62
j  de.ailis.usb4java.Services.<init>()V+59
v  ~StubRoutines::call_stub
V  [libjvm.dylib+0x288abb]
V  [libjvm.dylib+0x288888]
V  [libjvm.dylib+0x3f6c2e]
V  [libjvm.dylib+0x3f6ef7]
V  [libjvm.dylib+0x2bcd12]
j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+80
j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
j  java.lang.Class.newInstance()Ljava/lang/Object;+16
j  javax.usb.UsbHostManager.createUsbServices()Ljavax/usb/UsbServices;+29
j  javax.usb.UsbHostManager.getUsbServices()Ljavax/usb/UsbServices;+13
j  net.sourceforge.test.UsbTester.main([Ljava/lang/String;)V+0
v  ~StubRoutines::call_stub
V  [libjvm.dylib+0x288abb]
V  [libjvm.dylib+0x288888]
V  [libjvm.dylib+0x2a4096]
V  [libjvm.dylib+0x29d402]
C  [java+0x317e]  JavaMain+0x91d
C  [libsystem_c.dylib+0x4e8bf]  _pthread_start+0x14f
C  [libsystem_c.dylib+0x51b75]  thread_start+0xd

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  de.ailis.usb4java.libusb.LibUsb.init(Lde/ailis/usb4java/libusb/Context;)I+0
j  de.ailis.usb4java.DeviceManager.<init>(Lde/ailis/usb4java/RootHub;I)V+62
j  de.ailis.usb4java.Services.<init>()V+59
v  ~StubRoutines::call_stub
j  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
j  sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
j  java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+80
j  java.lang.Class.newInstance0()Ljava/lang/Object;+118
j  java.lang.Class.newInstance()Ljava/lang/Object;+16
j  javax.usb.UsbHostManager.createUsbServices()Ljavax/usb/UsbServices;+29
j  javax.usb.UsbHostManager.getUsbServices()Ljavax/usb/UsbServices;+13
j  net.sourceforge.test.UsbTester.main([Ljava/lang/String;)V+0
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x00007ffc7301d000 JavaThread "Service Thread" daemon [_thread_blocked, id=18947, stack(0x0000000111503000,0x0000000111603000)]
  0x00007ffc7289d000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=18691, stack(0x0000000111400000,0x0000000111500000)]
  0x00007ffc7301c000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=18435, stack(0x00000001112fd000,0x00000001113fd000)]
  0x00007ffc73019000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=18179, stack(0x00000001111fa000,0x00000001112fa000)]
  0x00007ffc72889800 JavaThread "Finalizer" daemon [_thread_blocked, id=14083, stack(0x0000000110f05000,0x0000000111005000)]
  0x00007ffc72888800 JavaThread "Reference Handler" daemon [_thread_blocked, id=13827, stack(0x0000000110e02000,0x0000000110f02000)]
=>0x00007ffc72834800 JavaThread "main" [_thread_in_native, id=7171, stack(0x00000001089aa000,0x0000000108aaa000)]

Other Threads:
  0x00007ffc72886000 VMThread [stack: 0x0000000110cff000,0x0000000110dff000] [id=13571]
  0x00007ffc7289b000 WatcherThread [stack: 0x0000000111606000,0x0000000111706000] [id=19203]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 24640K, used 2112K [0x00000007e4800000, 0x00000007e6380000, 0x0000000800000000)
  eden space 21120K, 10% used [0x00000007e4800000,0x00000007e4a101d8,0x00000007e5ca0000)
  from space 3520K, 0% used [0x00000007e6010000,0x00000007e6010000,0x00000007e6380000)
  to   space 3520K, 0% used [0x00000007e5ca0000,0x00000007e5ca0000,0x00000007e6010000)
 ParOldGen       total 56320K, used 0K [0x00000007ad800000, 0x00000007b0f00000, 0x00000007e4800000)
  object space 56320K, 0% used [0x00000007ad800000,0x00000007ad800000,0x00000007b0f00000)
 PSPermGen       total 21248K, used 3442K [0x00000007a8600000, 0x00000007a9ac0000, 0x00000007ad800000)
  object space 21248K, 16% used [0x00000007a8600000,0x00000007a895cb28,0x00000007a9ac0000)

Card table byte_map: [0x000000010bb6c000,0x000000010be2a000] byte_map_base: 0x0000000107e29000

Polling page: 0x0000000107dd7000

Code Cache  [0x0000000108aac000, 0x0000000108d1c000, 0x000000010baac000)
 total_blobs=198 nmethods=9 adapters=142 free_code_cache=48750Kb largest_free_block=49902784

Compilation events (10 events):
Event: 0.084 Thread 0x00007ffc7301c000    5             java.lang.String::lastIndexOf (52 bytes)
Event: 0.086 Thread 0x00007ffc7301c000 nmethod 5 0x0000000108b0f510 code [0x0000000108b0f660, 0x0000000108b0f7e8]
Event: 0.088 Thread 0x00007ffc7289d000    6             sun.nio.cs.UTF_8$Encoder::encode (361 bytes)
Event: 0.095 Thread 0x00007ffc7301c000    7             java.util.Properties$LineReader::readLine (452 bytes)
Event: 0.096 Thread 0x00007ffc7289d000 nmethod 6 0x0000000108b0c810 code [0x0000000108b0c9a0, 0x0000000108b0d0f8]
Event: 0.103 Thread 0x00007ffc7289d000    8             java.io.UnixFileSystem::normalize (75 bytes)
Event: 0.104 Thread 0x00007ffc7301c000 nmethod 7 0x0000000108b100d0 code [0x0000000108b10260, 0x0000000108b10a98]
Event: 0.105 Thread 0x00007ffc7301c000    9             java.lang.String::indexOf (166 bytes)
Event: 0.106 Thread 0x00007ffc7289d000 nmethod 8 0x0000000108b11090 code [0x0000000108b11200, 0x0000000108b11458]
Event: 0.111 Thread 0x00007ffc7301c000 nmethod 9 0x0000000108b12810 code [0x0000000108b12960, 0x0000000108b12db8]

GC Heap History (0 events):
No events

Deoptimization events (0 events):
No events

Internal exceptions (10 events):
Event: 0.114 Thread 0x00007ffc72834800 Threw 0x00000007e49c87d8 at /HUDSON/workspace/jdk7u21-2-build-macosx-amd64-product/jdk7u21/hotspot/src/share/vm/prims/jvm.cpp:1166
Event: 0.114 Thread 0x00007ffc72834800 Threw 0x00000007e49ce3a8 at /HUDSON/workspace/jdk7u21-2-build-macosx-amd64-product/jdk7u21/hotspot/src/share/vm/prims/jvm.cpp:1166
Event: 0.115 Thread 0x00007ffc72834800 Threw 0x00000007e49d9420 at /HUDSON/workspace/jdk7u21-2-build-macosx-amd64-product/jdk7u21/hotspot/src/share/vm/prims/jvm.cpp:1166
Event: 0.115 Thread 0x00007ffc72834800 Threw 0x00000007e49ddab0 at /HUDSON/workspace/jdk7u21-2-build-macosx-amd64-product/jdk7u21/hotspot/src/share/vm/prims/jvm.cpp:1166
Event: 0.116 Thread 0x00007ffc72834800 Threw 0x00000007e49e1940 at /HUDSON/workspace/jdk7u21-2-build-macosx-amd64-product/jdk7u21/hotspot/src/share/vm/prims/jvm.cpp:1166
Event: 0.116 Thread 0x00007ffc72834800 Threw 0x00000007e49eeb50 at /HUDSON/workspace/jdk7u21-2-build-macosx-amd64-product/jdk7u21/hotspot/src/share/vm/prims/jvm.cpp:1166
Event: 0.117 Thread 0x00007ffc72834800 Threw 0x00000007e49f4990 at /HUDSON/workspace/jdk7u21-2-build-macosx-amd64-product/jdk7u21/hotspot/src/share/vm/prims/jvm.cpp:1166
Event: 0.117 Thread 0x00007ffc72834800 Threw 0x00000007e49f9638 at /HUDSON/workspace/jdk7u21-2-build-macosx-amd64-product/jdk7u21/hotspot/src/share/vm/prims/jvm.cpp:1166
Event: 0.118 Thread 0x00007ffc72834800 Threw 0x00000007e49fde58 at /HUDSON/workspace/jdk7u21-2-build-macosx-amd64-product/jdk7u21/hotspot/src/share/vm/prims/jvm.cpp:1166
Event: 0.118 Thread 0x00007ffc72834800 Threw 0x00000007e4a021d8 at /HUDSON/workspace/jdk7u21-2-build-macosx-amd64-product/jdk7u21/hotspot/src/share/vm/prims/jvm.cpp:1166

Events (10 events):
Event: 0.117 loading class 0x0000000107e93210
Event: 0.117 loading class 0x0000000107e93210 done
Event: 0.117 loading class 0x0000000107e93260
Event: 0.117 loading class 0x0000000107e93260 done
Event: 0.118 loading class 0x0000000107e5b120
Event: 0.118 loading class 0x0000000107e5b120 done
Event: 0.118 loading class 0x0000000107e92f60
Event: 0.118 loading class 0x0000000107e92f60 done
Event: 0.118 loading class 0x0000000107e932d0
Event: 0.118 loading class 0x0000000107e932d0 done


Dynamic libraries:
0x0000000003acf000  /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x0000000003acf000  /System/Library/Frameworks/Security.framework/Versions/A/Security
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x0000000003acf000  /usr/lib/libz.1.dylib
0x0000000003acf000  /usr/lib/libSystem.B.dylib
0x0000000003acf000  /usr/lib/libobjc.A.dylib
0x0000000003acf000  /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x0000000003acf000  /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x0000000003acf000  /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x0000000003acf000  /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x0000000003acf000  /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x0000000003acf000  /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x0000000003acf000  /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x0000000003acf000  /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x0000000003acf000  /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x0000000003acf000  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x0000000003acf000  /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x0000000003acf000  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x0000000003acf000  /usr/lib/libauto.dylib
0x0000000003acf000  /usr/lib/libicucore.A.dylib
0x0000000003acf000  /usr/lib/libxml2.2.dylib
0x0000000003acf000  /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x0000000003acf000  /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x0000000003acf000  /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x0000000003acf000  /usr/lib/liblangid.dylib
0x0000000003acf000  /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x0000000003acf000  /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x0000000003acf000  /usr/lib/libDiagnosticMessagesClient.dylib
0x0000000003acf000  /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x0000000003acf000  /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
0x0000000003acf000  /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x0000000003acf000  /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x0000000003acf000  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x0000000003acf000  /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x0000000003acf000  /usr/lib/libCRFSuite.dylib
0x0000000003acf000  /usr/lib/libc++.1.dylib
0x0000000003acf000  /usr/lib/libstdc++.6.dylib
0x0000000003acf000  /usr/lib/libc++abi.dylib
0x0000000003acf000  /usr/lib/system/libcache.dylib
0x0000000003acf000  /usr/lib/system/libcommonCrypto.dylib
0x0000000003acf000  /usr/lib/system/libcompiler_rt.dylib
0x0000000003acf000  /usr/lib/system/libcopyfile.dylib
0x0000000003acf000  /usr/lib/system/libdispatch.dylib
0x0000000003acf000  /usr/lib/system/libdnsinfo.dylib
0x0000000003acf000  /usr/lib/system/libdyld.dylib
0x0000000003acf000  /usr/lib/system/libkeymgr.dylib
0x0000000003acf000  /usr/lib/system/liblaunch.dylib
0x0000000003acf000  /usr/lib/system/libmacho.dylib
0x0000000003acf000  /usr/lib/system/libmathCommon.A.dylib
0x0000000003acf000  /usr/lib/system/libquarantine.dylib
0x0000000003acf000  /usr/lib/system/libremovefile.dylib
0x0000000003acf000  /usr/lib/system/libsystem_blocks.dylib
0x0000000003acf000  /usr/lib/system/libsystem_c.dylib
0x0000000003acf000  /usr/lib/system/libsystem_dnssd.dylib
0x0000000003acf000  /usr/lib/system/libsystem_info.dylib
0x0000000003acf000  /usr/lib/system/libsystem_kernel.dylib
0x0000000003acf000  /usr/lib/system/libsystem_network.dylib
0x0000000003acf000  /usr/lib/system/libsystem_notify.dylib
0x0000000003acf000  /usr/lib/system/libsystem_sandbox.dylib
0x0000000003acf000  /usr/lib/system/libunc.dylib
0x0000000003acf000  /usr/lib/system/libunwind.dylib
0x0000000003acf000  /usr/lib/system/libxpc.dylib
0x0000000003acf000  /usr/lib/libbsm.0.dylib
0x0000000003acf000  /usr/lib/libsqlite3.dylib
0x0000000003acf000  /usr/lib/libpam.2.dylib
0x0000000003acf000  /usr/lib/libxar-nossl.dylib
0x0000000003acf000  /usr/lib/libbz2.1.0.dylib
0x0000000003acf000  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x0000000003acf000  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x0000000003acf000  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x0000000003acf000  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x0000000003acf000  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x0000000003acf000  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x0000000003acf000  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x0000000003acf000  /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x0000000003acf000  /usr/lib/system/libkxld.dylib
0x0000000003acf000  /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x0000000003acf000  /usr/lib/libcrypto.0.9.8.dylib
0x0000000003acf000  /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x0000000003acf000  /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x0000000003acf000  /usr/lib/libxslt.1.dylib
0x0000000003acf000  /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
0x0000000003acf000  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x0000000003acf000  /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x0000000003acf000  /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x0000000003acf000  /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x0000000003acf000  /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x0000000003acf000  /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x0000000003acf000  /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x0000000003acf000  /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x0000000003acf000  /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x0000000003acf000  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x0000000003acf000  /usr/lib/libcups.2.dylib
0x0000000003acf000  /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x0000000003acf000  /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x0000000003acf000  /usr/lib/libresolv.9.dylib
0x0000000003acf000  /usr/lib/libiconv.2.dylib
0x0000000003acf000  /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x0000000003acf000  /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x0000000003acf000  /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x0000000003acf000  /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x0000000003acf000  /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x0000000003acf000  /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
0x0000000003acf000  /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x0000000003acf000  /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x0000000003acf000  /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x0000000003acf000  /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x0000000003acf000  /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
0x0000000003acf000  /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x0000000003acf000  /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x0000000003acf000  /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight
0x0000000003acf000  /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x0000000003acf000  /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x0000000003acf000  /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
0x0000000003acf000  /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
0x0000000003acf000  /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
0x0000000003acf000  /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
0x0000000107f00000  /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre/lib/server/libjvm.dylib
0x0000000107d9a000  /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre/lib/libverify.dylib
0x0000000107da7000  /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre/lib/libjava.dylib
0x0000000107de1000  /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre/lib/libzip.dylib
0x0000000111007000  /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/JavaRuntimeSupport
0x0000000107deb000  /System/Library/Frameworks/JavaVM.framework/Versions/A/Frameworks/JavaNativeFoundation.framework/Versions/A/JavaNativeFoundation
0x000000011101f000  /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
0x0000000003acf000  /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x000000011102c000  /System/Library/PrivateFrameworks/JavaLaunching.framework/Versions/A/JavaLaunching
0x0000000003acf000  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x0000000003acf000  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x0000000003acf000  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x0000000003acf000  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x0000000003acf000  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x0000000003acf000  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x0000000111796000  /private/var/folders/13/zt2d11gs56z4g_xjjdq0jxdm0000gt/T/usb4java5042318069328369419.tmp/libusb4java.dylib
0x00000001117bb000  /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib

VM Arguments:
jvm_args: -Dfile.encoding=US-ASCII 
java_command: net.sourceforge.test.UsbTester
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/usr/bin:/bin:/usr/sbin:/sbin
SHELL=/bin/bash
DISPLAY=/tmp/launch-dyBF42/org.macosforge.xquartz:0

Signal Handlers:
SIGSEGV: [libjvm.dylib+0x4a4e2d], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGBUS: [libjvm.dylib+0x4a4e2d], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGFPE: [libjvm.dylib+0x3b4729], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGPIPE: [libjvm.dylib+0x3b4729], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGXFSZ: [libjvm.dylib+0x3b4729], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGILL: [libjvm.dylib+0x3b4729], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000002
SIGUSR2: [libjvm.dylib+0x3b42c2], sa_mask[0]=0x00000004, sa_flags=0x00000042
SIGHUP: [libjvm.dylib+0x3b2523], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGINT: [libjvm.dylib+0x3b2523], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGTERM: [libjvm.dylib+0x3b2523], sa_mask[0]=0xfffefeff, sa_flags=0x00000042
SIGQUIT: [libjvm.dylib+0x3b2523], sa_mask[0]=0xfffefeff, sa_flags=0x00000042


---------------  S Y S T E M  ---------------

OS:Bsduname:Darwin 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64
rlimit: STACK 8192k, CORE 0k, NPROC 709, NOFILE 10240, AS infinity
load average:0.77 0.88 0.90

CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, tsc, tscinvbit

Memory: 4k page, physical 5403408k(1350852k free)

/proc/meminfo:


vm_info: Java HotSpot(TM) 64-Bit Server VM (23.21-b01) for bsd-amd64 JRE (1.7.0_21-b12), built on Apr  7 2013 14:55:50 by "java_re" with gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

time: Mon Jun 10 06:14:38 2013
elapsed time: 0 seconds

javax.usb.UsbPlatformException: USB error 12

when I am running I am getting error
javax.usb.UsbPlatformException: USB error 12: Unable to claim interface: Operation not supported or unimplemented on this platform
I have successfully run all high level examples.But when I run UsbInterface.claim() function I am getting this error.Usb devices that I have used is Webcam (made in china) ,HP Scanner,ZTE Modem.I have tested all three drivers WinUSB, libusb-win32 and libusbK but all give same error.

Can't claim device on Mac

After a few days with usb4java, I've successfully:

  • Disable System Integrity protection on OSX 10.11.3 "El Capitan" via stackexchange/a/208481 so that non-signed kernel extensions can be used. (yes, this is mandatory for non-signed kernel extensions now 🔥 ).
  • Implemented an OS X kext kernel extension to prevent kernel driver from claiming device by vendorId and productId per libusb/wiki/FAQ

... but the device's UsbConfiguration won't come back as "active". What I mean is... usbDevice.getActiveUsbConfiguration() returns null.

So my next step was to grab the first UsbConfiguration available. I did this by:

for (Object o : usbDevice.getUsbConfigurations()) {
   if (o != null) return (UsbConfiguration)o;
}

Which allows me to successfully do things like usbInterface.getUsbInterfaceDescriptor(), usbEndpoint.getUsbEndpointDescriptor(). These list/return the device interfaces and endpoints correctly. (The device is a USB scale, if that matters).

However, when I try to claim the device, I get the following exception:

Configuration is not active

This leads me down some paths of using the Low-Level API to set the active alternate configuration (bAlternateSetting?), but I'm starting to get lost. Is there a way, using the High-Level API to set a particular UsbConfiguration as active for a specified UsbDevice? Edit: Tried and it didn't change anything. Crawling the internet suggests explicitly setting the active configuration may not be uncommon but I'm having a hard time understanding how to do that with either API. Any help appreciated. 👍

On a side note, some Google searches let me to improper behavior of the USB device itself, but this particular device is from a major manufacturer and working fine on Ubuntu and Windows.

Can't find dependent libraries

I am using a Win 7 Pro 64-bit machine. My development is on an Eclipse clone called MyEclipse. It is based on Eclipse 3.7.2.

I have downloaded usb4java v0.5.0. I also have downloaded the jsr80 file jsr80-1.0.1.jar. Now I am trying to run the first example on the quickstart page that uses the low-level API to list the devices. When I try to run the code I get the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\JavaGeekGP\AppData\Local\Temp\usb4java1464949704274749313.tmp\libusb4java.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
at java.lang.Runtime.load0(Runtime.java:792)
at java.lang.System.load(System.java:1059)
at de.ailis.usb4java.jni.Loader.load(Loader.java:235)
at de.ailis.usb4java.jni.USB.(USB.java:224)
at mm.test.USPTest.main(USPTest.java:12)

What did I do wrong?

Linux - kernel driver won't release IN endpoint

I'm attempting to use usb4java for the HID interface on the Funcube Dongle Pro Plus, which has a HID interface (#2) with IN/OUT interrupt type endpoints.

I can claim HID interface #2, get the IN (0x82) endpoint and OUT (0x2) endpoint and create a pipe against both.

When I send a data IRP over the OUT pipe and then try to read the response IRP back over the IN pipe, I get all zero values in my IN response buffer. Then, the next time I run the code, it hangs for a second and then I get the following exception:

de.ailis.usb4java.exceptions.Usb4JavaException: USB error 110: Unable to read from interrupt endpoint: could not detach kernel driver from interface 2: No data available
at de.ailis.usb4java.support.IrpQueue.interruptRead(IrpQueue.java:213)
at de.ailis.usb4java.support.IrpQueue.processIrp(IrpQueue.java:98)
at de.ailis.usb4java.support.AbstractIrpQueue.process(AbstractIrpQueue.java:94)
at de.ailis.usb4java.support.AbstractIrpQueue$1.run(AbstractIrpQueue.java:67)
at java.lang.Thread.run(Thread.java:722)

This is a consistent cycle ... it works the first time, then throws an exception the next time.

It appears that the linux kernel driver is retaining control over the IN endpoint and intercepting my data IRP response.

Am I doing something incorrect?

Thanks in advance for your assistance,
Denny

java.lang.UnsatisfiedLinkError on BeagleBone running Ubuntu

Hello,

We are using usb4java-1.0.0.jar to access USB devices on our various Linux distributions. The library works fine on our 32-bit Linux Mint distro and BeagleBone Angstrom distribution.

However, we are trying to run the BeagleBone with Ubuntu (13.0.4). When we run our code, we get the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/usb4java7866977171456936988.tmp/libusb4java.so: /tmp/usb4java7866977171456936988.tmp/libusb4java.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
. . . .

Would you have any idea why this might be happening?

Do you have any suggestions on how to fix it? Or any potential work-arounds?

Thanks for any assistance you can give.

-Rob

usb4java doesn't work on arm linux

0 down vote favorite

Hello i've baught Device ODroid X2 from this site :

http://www.hardkernel.com/renewal_2011/products/prdt_info.php?g_code=G135235611947

i was trying to use it's abilities like USB interface & UART , etc ... i am new at programming i learned some C# and taught my self some JAVA i am still new on them , i've downloaded a USB api called usb4java from this site :

http://kayahr.github.io/usb4java/

i've used most of tips & hints there , it worked on win xp,7 and on ubuntu with processor intel , but it can't get any output on my ARM processor device , so could any one help me to communicate with USB api via java with ARM processor ?

OS X Randomly Quitting Application

In the output window I get the following:

#

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x0000000120b6fbc0, pid=14999, tid=69635

JRE version: Java(TM) SE Runtime Environment (8.0_05-b13) (build 1.8.0_05-b13)

Java VM: Java HotSpot(TM) 64-Bit Server VM (25.5-b02 mixed mode bsd-amd64 compressed oops)

Problematic frame:

C [libusb4java.dylib+0xbbc0] libusb_handle_events_timeout_completed+0x360

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c

unlimited" before starting Java again

An error report file with more information is saved as:

/Users/deanchester/Documents/x/y/z/hs_err_pid14999.log

If you would like to submit a bug report, please visit:

http://bugreport.sun.com/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

Any ideas whats gone wrong?

NullPointerException and JVM crash

Hi,
On mac os x i have this exception when i detache an usb device (sometimes that crash JVM):

Exception in thread "Thread-10" java.lang.NullPointerException
at de.ailis.usb4java.jni.USB_Device.equals(Unknown Source)
at de.ailis.usb4java.topology.Usb4JavaHub.equals(Unknown Source)
at java.util.ArrayList.indexOf(ArrayList.java:269)
at java.util.ArrayList.contains(ArrayList.java:252)
at de.ailis.usb4java.topology.UsbDeviceScanner.updateHub(Unknown Source)
at de.ailis.usb4java.topology.UsbDeviceScanner.scan(Unknown Source)
at de.ailis.usb4java.topology.UsbDeviceScanner$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:722)

and impossible to use usb pipe :

USB error 6: Unable to write to bulk endpoint: usb_bulk_write: An error occured during write (see messages above)

Fatal error

Hello,

I'm trying to use the library but I'm getting the following fatal error:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x60a5a114, pid=7568, tid=1060
#
# JRE version: 7.0_03-b05
# Java VM: Java HotSpot(TM) Client VM (22.1-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# V  [jvm.dll+0xa114]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\Administrador\Documents\NetBeansProjects\usb4j2\hs_err_pid7568.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
Java Result: 1
CONSTRUÍDO COM SUCESSO (tempo total: 10 segundos)

Log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x60a5a114, pid=6468, tid=5672
#
# JRE version: 7.0_03-b05
# Java VM: Java HotSpot(TM) Client VM (22.1-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# V  [jvm.dll+0xa114]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x017e9800):  JavaThread "main" [_thread_in_vm, id=5672, stack(0x01c40000,0x01c90000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000008

Registers:
EAX=0x01d308c8, EBX=0x017e9800, ECX=0x00000000, EDX=0x23ed5060
ESP=0x01c8f84c, EBP=0x01c8f850, ESI=0x017e9928, EDI=0x01d308c8
EIP=0x60a5a114, EFLAGS=0x00010202

Top of Stack: (sp=0x01c8f84c)
0x01c8f84c:   00000000 01c8f8a0 60af9a9e 00000000
0x01c8f85c:   01d308c0 017e9928 01d2c5cc 01c8f880
0x01c8f86c:   01c8f890 60af26b8 017e9928 01d37db0
0x01c8f87c:   01d2c5cc 0000000e 00000000 00000214
0x01c8f88c:   01d308c0 017e9800 00000000 017e9928
0x01c8f89c:   044209f8 044209f8 68941e57 017e9800
0x01c8f8ac:   01d308c0 044209f8 01d308c4 01c8f8f4
0x01c8f8bc:   01d9a5b7 017e9928 044209f8 00000000 

Instructions: (pc=0x60a5a114)
0x60a5a0f4:   89 4d fc 8b 4d fc 85 c9 74 f2 8b 45 fc 83 e0 fe
0x60a5a104:   8b e5 5d c3 cc cc cc cc cc cc cc cc 55 8b ec 51
0x60a5a114:   8b 41 08 0f b7 40 2a 8b 51 0c 8b 4c 82 28 89 4d
0x60a5a124:   fc 8b 4d fc 85 c9 75 32 85 c0 74 2e 8b 4a 08 8a 


Register to memory mapping:

EAX=0x01d308c8 is an unknown value
EBX=0x017e9800 is a thread
ECX=0x00000000 is an unknown value
EDX=0x23ed5060 is an oop
de.ailis.usb4java.jni.USB_Bus 
 - klass: 'de/ailis/usb4java/jni/USB_Bus'
ESP=0x01c8f84c is pointing into the stack for thread: 0x017e9800
EBP=0x01c8f850 is pointing into the stack for thread: 0x017e9800
ESI=0x017e9928 is an unknown value
EDI=0x01d308c8 is an unknown value


Stack: [0x01c40000,0x01c90000],  sp=0x01c8f84c,  free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0xa114]
V  [jvm.dll+0xa9a9e]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  de.ailis.usb4java.jni.USB.usb_get_busses()Lde/ailis/usb4java/jni/USB_Bus;+0
j  de.ailis.usb4java.topology.UsbDeviceScanner.scan()V+21
j  de.ailis.usb4java.topology.UsbDeviceScanner.firstScan()V+8
j  de.ailis.usb4java.Services.getRootUsbHub()Ljavax/usb/UsbHub;+4
j  usb4j2.Dump.main([Ljava/lang/String;)V+5
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x042acc00 JavaThread "Thread-1" daemon [_thread_blocked, id=5448, stack(0x04790000,0x047e0000)]
  0x01d4f800 JavaThread "Service Thread" daemon [_thread_blocked, id=6456, stack(0x040a0000,0x040f0000)]
  0x01d4a400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=5716, stack(0x041c0000,0x04210000)]
  0x01d49000 JavaThread "Attach Listener" daemon [_thread_blocked, id=4492, stack(0x04100000,0x04150000)]
  0x01d45c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3812, stack(0x03f10000,0x03f60000)]
  0x01d36000 JavaThread "Finalizer" daemon [_thread_blocked, id=3092, stack(0x03fb0000,0x04000000)]
  0x01d31400 JavaThread "Reference Handler" daemon [_thread_blocked, id=7188, stack(0x03e70000,0x03ec0000)]
=>0x017e9800 JavaThread "main" [_thread_in_vm, id=5672, stack(0x01c40000,0x01c90000)]

Other Threads:
  0x01d2f400 VMThread [stack: 0x03dd0000,0x03e20000] [id=3776]
  0x01d6c800 WatcherThread [stack: 0x03f60000,0x03fb0000] [id=488]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 4928K, used 1593K [0x23d50000, 0x242a0000, 0x292a0000)
  eden space 4416K,  36% used [0x23d50000, 0x23ede7a0, 0x241a0000)
  from space 512K,   0% used [0x241a0000, 0x241a0000, 0x24220000)
  to   space 512K,   0% used [0x24220000, 0x24220000, 0x242a0000)
 tenured generation   total 10944K, used 0K [0x292a0000, 0x29d50000, 0x33d50000)
   the space 10944K,   0% used [0x292a0000, 0x292a0000, 0x292a0200, 0x29d50000)
 compacting perm gen  total 12288K, used 500K [0x33d50000, 0x34950000, 0x37d50000)
   the space 12288K,   4% used [0x33d50000, 0x33dcd138, 0x33dcd200, 0x34950000)
    ro space 10240K,  45% used [0x37d50000, 0x381d2e40, 0x381d3000, 0x38750000)
    rw space 12288K,  54% used [0x38750000, 0x38dd67b8, 0x38dd6800, 0x39350000)

Code Cache  [0x01d90000, 0x01e38000, 0x03d90000)
 total_blobs=189 nmethods=43 adapters=83 free_code_cache=32099Kb largest_free_block=32869632

Dynamic libraries:
0x00190000 - 0x001be000     C:\Program Files\Java\jdk1.7.0_03\bin\java.exe
0x77710000 - 0x7784c000     C:\Windows\SYSTEM32\ntdll.dll
0x76eb0000 - 0x76f84000     C:\Windows\system32\kernel32.dll
0x75b20000 - 0x75b6a000     C:\Windows\system32\KERNELBASE.dll
0x75870000 - 0x758a7000     C:\Program Files\AVAST Software\Avast\snxhk.dll
0x77850000 - 0x778f0000     C:\Windows\system32\ADVAPI32.dll
0x75ba0000 - 0x75c4c000     C:\Windows\system32\msvcrt.dll
0x771f0000 - 0x77209000     C:\Windows\SYSTEM32\sechost.dll
0x76a90000 - 0x76b31000     C:\Windows\system32\RPCRT4.dll
0x773c0000 - 0x77489000     C:\Windows\system32\USER32.dll
0x76d80000 - 0x76dce000     C:\Windows\system32\GDI32.dll
0x768d0000 - 0x768da000     C:\Windows\system32\LPK.dll
0x77150000 - 0x771ed000     C:\Windows\system32\USP10.dll
0x74570000 - 0x7470e000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_420fe3fa2b8113bd\COMCTL32.dll
0x76a30000 - 0x76a87000     C:\Windows\system32\SHLWAPI.dll
0x768b0000 - 0x768cf000     C:\Windows\system32\IMM32.DLL
0x76b40000 - 0x76c0c000     C:\Windows\system32\MSCTF.dll
0x755f0000 - 0x75800000     c:\progra~2\browse~1\23787~1.43\{16cdf~1\browse~1.dll
0x75c50000 - 0x76899000     C:\Windows\system32\SHELL32.dll
0x76970000 - 0x769ff000     C:\Windows\system32\OLEAUT32.dll
0x77490000 - 0x775ec000     C:\Windows\system32\ole32.dll
0x76a00000 - 0x76a2a000     C:\Windows\system32\imagehlp.dll
0x768a0000 - 0x768a5000     C:\Windows\system32\PSAPI.DLL
0x70f60000 - 0x7101e000     C:\Program Files\Java\jdk1.7.0_03\jre\bin\msvcr100.dll
0x60a50000 - 0x60d78000     C:\Program Files\Java\jdk1.7.0_03\jre\bin\client\jvm.dll
0x71790000 - 0x71797000     C:\Windows\system32\WSOCK32.dll
0x76c20000 - 0x76c55000     C:\Windows\system32\WS2_32.dll
0x773b0000 - 0x773b6000     C:\Windows\system32\NSI.dll
0x74040000 - 0x74072000     C:\Windows\system32\WINMM.dll
0x71ee0000 - 0x71eec000     C:\Program Files\Java\jdk1.7.0_03\jre\bin\verify.dll
0x71e20000 - 0x71e40000     C:\Program Files\Java\jdk1.7.0_03\jre\bin\java.dll
0x70f10000 - 0x70f23000     C:\Program Files\Java\jdk1.7.0_03\jre\bin\zip.dll
0x750d0000 - 0x750e6000     C:\Windows\system32\CRYPTSP.dll
0x74e70000 - 0x74eab000     C:\Windows\system32\rsaenh.dll
0x74c70000 - 0x74c87000     C:\Windows\system32\USERENV.dll
0x75800000 - 0x7580b000     C:\Windows\system32\profapi.dll
0x755d0000 - 0x755dc000     C:\Windows\system32\CRYPTBASE.dll
0x70ef0000 - 0x70f04000     C:\Program Files\Java\jdk1.7.0_03\jre\bin\net.dll
0x75090000 - 0x750cc000     C:\Windows\system32\mswsock.dll
0x75080000 - 0x75086000     C:\Windows\System32\wship6.dll
0x73de0000 - 0x73df0000     C:\Windows\system32\NLAapi.dll
0x74f50000 - 0x74f94000     C:\Windows\system32\DNSAPI.dll
0x70130000 - 0x70138000     C:\Windows\System32\winrnr.dll
0x70120000 - 0x70130000     C:\Windows\system32\napinsp.dll
0x70100000 - 0x70112000     C:\Windows\system32\pnrpnsp.dll
0x700d0000 - 0x700f7000     C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
0x74ba0000 - 0x74ba5000     C:\Windows\System32\wshtcpip.dll
0x73870000 - 0x7388c000     C:\Windows\system32\IPHLPAPI.DLL
0x73860000 - 0x73867000     C:\Windows\system32\WINNSI.DLL
0x700c0000 - 0x700c6000     C:\Windows\system32\rasadhlp.dll
0x735d0000 - 0x73608000     C:\Windows\System32\fwpuclnt.dll
0x71ef0000 - 0x71eff000     C:\Program Files\Java\jdk1.7.0_03\jre\bin\nio.dll
0x68940000 - 0x6894d000     C:\Users\Administrador\AppData\Local\Temp\usb4java6740491737689037466.tmp\libusb4java.dll
0x70d80000 - 0x70d91000     C:\Windows\system32\libusb0.dll
0x77210000 - 0x773ad000     C:\Windows\system32\SETUPAPI.dll
0x75b70000 - 0x75b97000     C:\Windows\system32\CFGMGR32.dll
0x75920000 - 0x75932000     C:\Windows\system32\DEVOBJ.dll

VM Arguments:
jvm_args: -Dfile.encoding=UTF-8 
java_command: usb4j2.Dump
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\PC Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Zend\ZendServer\bin;C:\Program Files\Zend\ZendServer\share\ZendFramework\bin;C:\Program Files\Zend\MySQL51\bin;C:\Program Files\Git\cmd;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Windows Live\Shared
USERNAME=Administrador
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows 7 Build 7600 

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1

Memory: 4k page, physical 3135928k(815784k free), swap 6270092k(2020676k free)

vm_info: Java HotSpot(TM) Client VM (22.1-b02) for windows-x86 JRE (1.7.0_03-b05), built on Feb  3 2012 20:43:37 by "java_re" with unknown MS VC++:1600

time: Mon Nov 26 15:37:34 2012
elapsed time: 0 seconds

Thanks in advance!

Can't read data from pipe(interupt)

My runtime enviroment is Win7 64bit , jdk1.6

I can get HID Device's descripton but can't read data from the pipe.
following is my code:

package usb;

import java.util.List;

import javax.usb.UsbConfiguration;
import javax.usb.UsbConst;
import javax.usb.UsbDevice;
import javax.usb.UsbDeviceDescriptor;
import javax.usb.UsbEndpoint;
import javax.usb.UsbException;
import javax.usb.UsbHostManager;
import javax.usb.UsbHub;
import javax.usb.UsbInterface;
import javax.usb.UsbInterfaceDescriptor;
import javax.usb.UsbIrp;
import javax.usb.UsbPipe;
import javax.usb.UsbServices;
import javax.usb.event.UsbPipeDataEvent;
import javax.usb.event.UsbPipeErrorEvent;
import javax.usb.event.UsbPipeListener;

public class USBDeviceTest {

 private static void dump(UsbDevice device)
    {
        UsbDeviceDescriptor desc = device.getUsbDeviceDescriptor();
        System.out.format("%04x:%04x%n", desc.idVendor() & 0xffff, desc.idProduct() & 0xffff);
        if (device.isUsbHub())
        {
            UsbHub hub = (UsbHub) device;
            for (UsbDevice child : (List<UsbDevice>) hub.getAttachedUsbDevices())
            {
                dump(child);
            }
        }
    }

    public static void main(String[] args) throws UsbException
    {
        UsbServices services = UsbHostManager.getUsbServices();
        UsbHub rootHub = services.getRootUsbHub();
        //dump(rootHub);
        USBDeviceTest usb=new USBDeviceTest();
        UsbDevice device=usb.findDevice(rootHub, (short)0x13ad, (short)0x9ca5);
        try{
            System.out.println(device);
            List<UsbConfiguration> configs=device.getUsbConfigurations();
            System.out.println(configs.size());
            UsbConfiguration config=null;

            for(UsbConfiguration con:configs){
                if(con.isActive()){
                    config=con;
                    break;
                }
            }

            if(!config.isActive()){
                System.out.println("config is not active");
            }
            List<UsbInterface> interfaces=config.getUsbInterfaces();
            if(interfaces.size()>0){
                UsbInterface interf = interfaces.get(0);
                UsbInterfaceDescriptor idesc=interf.getUsbInterfaceDescriptor();
                System.out.println("interface type:"+idesc.bNumEndpoints());
                if(!interf.isActive()){
                    System.out.println("interface is not active");
                }

                if(!interf.isClaimed()){
                    System.out.println("need claim");
                    interf.claim();
                }                   

                List<UsbEndpoint> points=interf.getUsbEndpoints();
                System.out.println("point count:"+points.size());
                if(points.size()>0){
                    UsbEndpoint endPoint=points.get(0);
                    System.out.println("dirct:"+endPoint.getDirection());   

                    UsbPipe pipe=endPoint.getUsbPipe();

                    if(!pipe.isOpen()){
                        System.out.println("need open pipe");
                        pipe.open();
                    }

                    pipe.addUsbPipeListener(new UsbPipeListener() {

                        @Override
                        public void errorEventOccurred(UsbPipeErrorEvent event) {
                            System.out.println("error occur");
                            System.out.println(event.getUsbException());

                        }

                        @Override
                        public void dataEventOccurred(UsbPipeDataEvent event) {
                            System.out.println("data occur");

                        }
                    });


                    byte[] buf=new byte[255];
                    int len=pipe.syncSubmit(buf);    // here get exception
                    System.out.println(len);
                }
            }

        }catch(Exception e){
            e.printStackTrace();
        }

    }


    public UsbDevice findDevice(UsbHub hub, short vendorId, short productId)
    {
        for (UsbDevice device : (List<UsbDevice>) hub.getAttachedUsbDevices())
        {
            UsbDeviceDescriptor desc = device.getUsbDeviceDescriptor();
            if (desc.idVendor() == vendorId && desc.idProduct() == productId) return device;
            if (device.isUsbHub())
            {
                device = findDevice((UsbHub) device, vendorId, productId);
                if (device != null) return device;
            }
        }
        return null;
    }

}

and the result is :

Bus 002 Device 003: ID 13ad:9ca5
1
interface type:1
need claim
point count:1
dirct:-128
need open pipe
de.ailis.usb4java.libusb.LibUsbException: USB error 1: Transfer error on interrupt endpoint: LIBUSB_ERROR_IO
at de.ailis.usb4java.IrpQueue.transfer(IrpQueue.java:212)
at de.ailis.usb4java.IrpQueue.read(IrpQueue.java:126)
at de.ailis.usb4java.IrpQueue.processIrp(IrpQueue.java:76)
at de.ailis.usb4java.AbstractIrpQueue.process(AbstractIrpQueue.java:91)
at de.ailis.usb4java.AbstractIrpQueue$1.run(AbstractIrpQueue.java:71)
at java.lang.Thread.run(Thread.java:662)
error occur
de.ailis.usb4java.libusb.LibUsbException: USB error 1: Transfer error on interrupt endpoint: LIBUSB_ERROR_IO

I don't know why, please help me.

Ångström Beagleboneblack Java Issue

Hello,
I'm having some troubles in work with Java-linux-arm library, I created a project in Netbeans with usb4java version 1.2.0 using libusb4java-1.2.0-linux-arm.jar and windows-x86 64.jar to a comunication between Ångström Linux and Windows 7 64 but when I go to run the jar file in linux this appears:
The command used to run the Jar: java -Djava.io.tmpdir=/home/root/Desktop/temp -jar Java4USB.jar
That was to be certain that the folder have the rights to Write and Read.

If anyone can help I will be grateful,
Thanks in advice
midgard99

Error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/root/Desktop/temp/usb4java5571950167071539816.tmp/libusb4java.so: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1062)
at org.usb4java.Loader.load(Loader.java:358)
at org.usb4java.LibUsb.(LibUsb.java:640)
at newpackage.main.main(main.java:35)

Code:

package newpackage;

import org.usb4java.Context;
import org.usb4java.Device;
import org.usb4java.DeviceDescriptor;
import org.usb4java.DeviceList;
import org.usb4java.LibUsb;
import org.usb4java.LibUsbException;

/**

  • Simply lists all available USB devices.
  • @author
    /
    public class main
    {
    /
    *
    • Main method.

    • @param args

    •        Command-line arguments (Ignored)
      

      */
      public static void main(String[] args)
      {
      // Create the libusb context
      Context context = new Context();

      // Initialize the libusb context
      int result = LibUsb.init(context);
      if (result < 0)
      {
      throw new LibUsbException("Unable to initialize libusb", result);
      }

      // Read the USB device list
      DeviceList list = new DeviceList();
      result = LibUsb.getDeviceList(context, list);
      if (result < 0)
      {
      throw new LibUsbException("Unable to get device list", result);
      }

      try
      {
      // Iterate over all devices and list them
      for (Device device: list)
      {
      int address = LibUsb.getDeviceAddress(device);
      int busNumber = LibUsb.getBusNumber(device);
      DeviceDescriptor descriptor = new DeviceDescriptor();
      result = LibUsb.getDeviceDescriptor(device, descriptor);
      if (result < 0)
      {
      throw new LibUsbException(
      "Unable to read device descriptor", result);
      }
      System.out.format(
      "Bus %03d, Device %03d: Vendor %04x, Product %04x%n",
      busNumber, address, descriptor.idVendor(),
      descriptor.idProduct());
      }
      }
      finally
      {
      // Ensure the allocated device list is freed
      LibUsb.freeDeviceList(list, true);
      }

      // Deinitialize the libusb context
      LibUsb.exit(context);
      }
      }

usb4java not working in windows xp

System environment:

Usb4java version - 1.0.0
Operating system - Windows-xp(32 bit)
Java version - 1.7

I have referred issue #2.
It throws same exceptions mentioned in the issue fatal error #2
It doesn't work in windows only, but works in linux 64-bit.

The exceptions:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6b614191, pid=2072, tid=2148
#
# JRE version: 7.0_25-b17
# Java VM: Java HotSpot(TM) Client VM (23.25-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [libusb-1.0.dll+0x14191]  windows_clock_gettime_threaded+0x6100
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x03003800):  JavaThread "Thread-1" daemon [_thread_in_native, id=1543506945, stack(0x03440000,0x03490000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0038e000

Registers:
EAX=0xffffffff, EBX=0x00388e19, ECX=0xffffae18, EDX=0x03004280
ESP=0x0348f750, EBP=0x0348f798, ESI=0x0038e000, EDI=0x03009467
EIP=0x6b614191, EFLAGS=0x00010296

Top of Stack: (sp=0x0348f750)
0x0348f750:   00386a30 0000ea60 0348f798 6b6030c3
0x0348f760:   003841d8 00000004 6b620ba9 00386a78
0x0348f770:   003841d8 00386a50 ffffffff 00000000
0x0348f780:   0348f7c8 7c90e900 7c910040 0000ea60
0x0348f790:   32b7f0f0 03003800 0348f7d8 6b60dd02
0x0348f7a0:   ffffffff 00386a30 00000000 6b61eb04
0x0348f7b0:   000003e3 00000000 0348f7d8 6b614d5d
0x0348f7c0:   0348f7a4 0038c4d8 00386a50 77c35c94 

Instructions: (pc=0x6b614191)
0x6b614171:   c0 75 21 ff 4d e0 8b 45 d4 8b 40 1c 8d 48 01 8b
0x6b614181:   45 d4 8b 50 20 8b 45 e0 89 cb 89 d7 89 de 89 c1
0x6b614191:   f3 a4 eb 19 8b 45 d4 8b 48 1c 8b 45 d4 8b 50 20
0x6b6141a1:   8b 45 e0 89 cb 89 d7 89 de 89 c1 f3 a4 8b 45 d4 


Register to memory mapping:

EAX=0xffffffff is an unknown value
EBX=0x00388e19 is an unknown value
ECX=0xffffae18 is an unknown value
EDX=0x03004280 is an unknown value
ESP=0x0348f750 is pointing into the stack for thread: 0x03003800
EBP=0x0348f798 is pointing into the stack for thread: 0x03003800
ESI=0x0038e000 is an unknown value
EDI=0x03009467 is an unknown value


Stack: [0x03440000,0x03490000],  sp=0x0348f750,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libusb-1.0.dll+0x14191]  windows_clock_gettime_threaded+0x6100
C  [libusb-1.0.dll+0xdd02]  usbi_read+0x5faa
C  [libusb-1.0.dll+0xde45]  usbi_read+0x60ed
C  [libusb-1.0.dll+0xe024]  usbi_read+0x62cc
C  [libusb-1.0.dll+0x57bc]  libusb_wait_for_event+0x5eb
C  [libusb-1.0.dll+0x593f]  libusb_handle_events_timeout_completed+0x9d
C  [libusb-1.0.dll+0x5abf]  libusb_handle_events_completed+0x2d
C  [libusb-1.0.dll+0x666c]  libusb_control_transfer+0x3b0
C  [libusb-1.0.dll+0x680c]  libusb_interrupt_transfer+0x43
C  [libusb4java.dll+0x2ec9]  Java_de_ailis_usb4java_libusb_LibUsb_interruptTransfer+0x197
j  de.ailis.usb4java.libusb.LibUsb.interruptTransfer(Lde/ailis/usb4java/libusb/DeviceHandle;ILjava/nio/ByteBuffer;Ljava/nio/IntBuffer;I)I+0
j  de.ailis.usb4java.IrpQueue.transfer(Lde/ailis/usb4java/libusb/DeviceHandle;Ljavax/usb/UsbEndpointDescriptor;ILjava/nio/ByteBuffer;)I+74
j  de.ailis.usb4java.IrpQueue.read([BII)I+71
j  de.ailis.usb4java.IrpQueue.processIrp(Ljavax/usb/UsbIrp;)V+144
j  de.ailis.usb4java.AbstractIrpQueue.process()V+19
j  de.ailis.usb4java.AbstractIrpQueue$1.run()V+4
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [jvm.dll+0x124afa]
V  [jvm.dll+0x1d224e]
V  [jvm.dll+0x124caf]
V  [jvm.dll+0x124d17]
V  [jvm.dll+0xcf06f]
V  [jvm.dll+0x144447]
V  [jvm.dll+0x1445b0]
V  [jvm.dll+0x177bb9]
C  [msvcr100.dll+0x5c6de]  endthreadex+0x3a
C  [msvcr100.dll+0x5c788]  endthreadex+0xe4
C  [kernel32.dll+0xb713]  GetModuleFileNameA+0x1b4

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  de.ailis.usb4java.libusb.LibUsb.interruptTransfer(Lde/ailis/usb4java/libusb/DeviceHandle;ILjava/nio/ByteBuffer;Ljava/nio/IntBuffer;I)I+0
j  de.ailis.usb4java.IrpQueue.transfer(Lde/ailis/usb4java/libusb/DeviceHandle;Ljavax/usb/UsbEndpointDescriptor;ILjava/nio/ByteBuffer;)I+74
j  de.ailis.usb4java.IrpQueue.read([BII)I+71
j  de.ailis.usb4java.IrpQueue.processIrp(Ljavax/usb/UsbIrp;)V+144
j  de.ailis.usb4java.AbstractIrpQueue.process()V+19
j  de.ailis.usb4java.AbstractIrpQueue$1.run()V+4
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
=>0x03003800 JavaThread "Thread-1" daemon [_thread_in_native, id=1543506945, stack(0x03440000,0x03490000)]
  0x02feb000 JavaThread "Thread-0" daemon [_thread_in_native, id=2140, stack(0x032f0000,0x03340000)]
  0x02f8c800 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=2132, stack(0x03200000,0x03250000)]
  0x02abd800 JavaThread "Service Thread" daemon [_thread_blocked, id=2124, stack(0x02e50000,0x02ea0000)]
  0x02ab7800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=2120, stack(0x02e00000,0x02e50000)]
  0x02ab6000 JavaThread "Attach Listener" daemon [_thread_blocked, id=2116, stack(0x02db0000,0x02e00000)]
  0x02ab4800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2096, stack(0x02d60000,0x02db0000)]
  0x02aa5c00 JavaThread "Finalizer" daemon [_thread_blocked, id=2092, stack(0x02d10000,0x02d60000)]
  0x02aa0c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=2088, stack(0x02cc0000,0x02d10000)]
  0x003c9800 JavaThread "main" [_thread_blocked, id=2080, stack(0x00910000,0x00960000)]

Other Threads:
  0x02a9f400 VMThread [stack: 0x02c70000,0x02cc0000] [id=2084]
  0x02ad0c00 WatcherThread [stack: 0x02ea0000,0x02ef0000] [id=2128]

VM state:at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x003c8460] Threads_lock - owner thread: 0x02a9f400
[0x003c8870] Heap_lock - owner thread: 0x003c9800

Heap
 def new generation   total 78656K, used 78656K [0x22b00000, 0x28050000, 0x28050000)
  eden space 69952K, 100% used [0x22b00000, 0x26f50000, 0x26f50000)
  from space 8704K, 100% used [0x277d0000, 0x28050000, 0x28050000)
  to   space 8704K,   0% used [0x26f50000, 0x26f50000, 0x277d0000)
 tenured generation   total 174784K, used 160495K [0x28050000, 0x32b00000, 0x32b00000)
   the space 174784K,  91% used [0x28050000, 0x31d0bdc0, 0x31d0be00, 0x32b00000)
 compacting perm gen  total 12288K, used 703K [0x32b00000, 0x33700000, 0x36b00000)
   the space 12288K,   5% used [0x32b00000, 0x32bafcf8, 0x32bafe00, 0x33700000)
    ro space 10240K,  45% used [0x36b00000, 0x36f89b28, 0x36f89c00, 0x37500000)
    rw space 12288K,  54% used [0x37500000, 0x37b8d0e8, 0x37b8d200, 0x38100000)

Card table byte_map: [0x02b10000,0x02bc0000] byte_map_base: 0x029fa800

Polling page: 0x00960000

Code Cache  [0x00990000, 0x00a58000, 0x02990000)
 total_blobs=251 nmethods=96 adapters=90 free_code_cache=31990Kb largest_free_block=32757952

Compilation events (10 events):
Event: 1.324 Thread 0x02ab7800   92             de.ailis.usb4java.Pipe::isOpen (5 bytes)
Event: 1.324 Thread 0x02ab7800 nmethod 92 0x00a4b488 code [0x00a4b580, 0x00a4b600]
Event: 1.324 Thread 0x02ab7800   93             de.ailis.usb4java.AbstractIrpQueue::add (53 bytes)
Event: 1.324 Thread 0x02ab7800 nmethod 93 0x00a4b648 code [0x00a4b7a0, 0x00a4b9f8]
Event: 1.324 Thread 0x02ab7800   94             java.util.concurrent.ConcurrentLinkedQueue::add (6 bytes)
Event: 1.324 Thread 0x02ab7800 nmethod 94 0x00a4bc48 code [0x00a4bd40, 0x00a4bdcc]
Event: 1.327 Thread 0x02ab7800    1 % !         de.ailis.usb4java.examples.jsr80.TmdUnsolicitedMessageReceiver::main @ 176 (364 bytes)
Event: 1.330 Thread 0x02ab7800 nmethod 1% 0x00a4be48 code [0x00a4c420, 0x00a4efa4]
Event: 2.636 Thread 0x02ab7800   95             java.util.Formatter$Flags::contains (22 bytes)
Event: 2.636 Thread 0x02ab7800 nmethod 95 0x00a52548 code [0x00a52640, 0x00a526e0]

GC Heap History (10 events):
Event: 2.577 GC heap after
Heap after GC invocations=21 (full 4):
 def new generation   total 56576K, used 6272K [0x22b00000, 0x26860000, 0x28050000)
  eden space 50304K,   0% used [0x22b00000, 0x22b00000, 0x25c20000)
  from space 6272K, 100% used [0x26240000, 0x26860000, 0x26860000)
  to   space 6272K,   0% used [0x25c20000, 0x25c20000, 0x26240000)
 tenured generation   total 125580K, used 88483K [0x28050000, 0x2faf3000, 0x32b00000)
   the space 125580K,  70% used [0x28050000, 0x2d6b8c80, 0x2d6b8e00, 0x2faf3000)
 compacting perm gen  total 12288K, used 703K [0x32b00000, 0x33700000, 0x36b00000)
   the space 12288K,   5% used [0x32b00000, 0x32bafcc8, 0x32bafe00, 0x33700000)
    ro space 10240K,  45% used [0x36b00000, 0x36f89b28, 0x36f89c00, 0x37500000)
    rw space 12288K,  54% used [0x37500000, 0x37b8d0e8, 0x37b8d200, 0x38100000)
}
Event: 2.639 GC heap before
{Heap before GC invocations=21 (full 4):
 def new generation   total 56576K, used 56576K [0x22b00000, 0x26860000, 0x28050000)
  eden space 50304K, 100% used [0x22b00000, 0x25c20000, 0x25c20000)
  from space 6272K, 100% used [0x26240000, 0x26860000, 0x26860000)
  to   space 6272K,   0% used [0x25c20000, 0x25c20000, 0x26240000)
 tenured generation   total 125580K, used 88483K [0x28050000, 0x2faf3000, 0x32b00000)
   the space 125580K,  70% used [0x28050000, 0x2d6b8c80, 0x2d6b8e00, 0x2faf3000)
 compacting perm gen  total 12288K, used 703K [0x32b00000, 0x33700000, 0x36b00000)
   the space 12288K,   5% used [0x32b00000, 0x32bafcf8, 0x32bafe00, 0x33700000)
    ro space 10240K,  45% used [0x36b00000, 0x36f89b28, 0x36f89c00, 0x37500000)
    rw space 12288K,  54% used [0x37500000, 0x37b8d0e8, 0x37b8d200, 0x38100000)
Event: 2.708 GC heap after
Heap after GC invocations=22 (full 4):
 def new generation   total 56576K, used 6272K [0x22b00000, 0x26860000, 0x28050000)
  eden space 50304K,   0% used [0x22b00000, 0x22b00000, 0x25c20000)
  from space 6272K, 100% used [0x25c20000, 0x26240000, 0x26240000)
  to   space 6272K,   0% used [0x26240000, 0x26240000, 0x26860000)
 tenured generation   total 125580K, used 105862K [0x28050000, 0x2faf3000, 0x32b00000)
   the space 125580K,  84% used [0x28050000, 0x2e7b1af8, 0x2e7b1c00, 0x2faf3000)
 compacting perm gen  total 12288K, used 703K [0x32b00000, 0x33700000, 0x36b00000)
   the space 12288K,   5% used [0x32b00000, 0x32bafcf8, 0x32bafe00, 0x33700000)
    ro space 10240K,  45% used [0x36b00000, 0x36f89b28, 0x36f89c00, 0x37500000)
    rw space 12288K,  54% used [0x37500000, 0x37b8d0e8, 0x37b8d200, 0x38100000)
}
Event: 2.770 GC heap before
{Heap before GC invocations=22 (full 4):
 def new generation   total 56576K, used 56576K [0x22b00000, 0x26860000, 0x28050000)
  eden space 50304K, 100% used [0x22b00000, 0x25c20000, 0x25c20000)
  from space 6272K, 100% used [0x25c20000, 0x26240000, 0x26240000)
  to   space 6272K,   0% used [0x26240000, 0x26240000, 0x26860000)
 tenured generation   total 125580K, used 105862K [0x28050000, 0x2faf3000, 0x32b00000)
   the space 125580K,  84% used [0x28050000, 0x2e7b1af8, 0x2e7b1c00, 0x2faf3000)
 compacting perm gen  total 12288K, used 703K [0x32b00000, 0x33700000, 0x36b00000)
   the space 12288K,   5% used [0x32b00000, 0x32bafcf8, 0x32bafe00, 0x33700000)
    ro space 10240K,  45% used [0x36b00000, 0x36f89b28, 0x36f89c00, 0x37500000)
    rw space 12288K,  54% used [0x37500000, 0x37b8d0e8, 0x37b8d200, 0x38100000)
Event: 2.838 GC heap after
Heap after GC invocations=23 (full 4):
 def new generation   total 56576K, used 6272K [0x22b00000, 0x26860000, 0x28050000)
  eden space 50304K,   0% used [0x22b00000, 0x22b00000, 0x25c20000)
  from space 6272K, 100% used [0x26240000, 0x26860000, 0x26860000)
  to   space 6272K,   0% used [0x25c20000, 0x25c20000, 0x26240000)
 tenured generation   total 125580K, used 123359K [0x28050000, 0x2faf3000, 0x32b00000)
   the space 125580K,  98% used [0x28050000, 0x2f8c7d20, 0x2f8c7e00, 0x2faf3000)
 compacting perm gen  total 12288K, used 703K [0x32b00000, 0x33700000, 0x36b00000)
   the space 12288K,   5% used [0x32b00000, 0x32bafcf8, 0x32bafe00, 0x33700000)
    ro space 10240K,  45% used [0x36b00000, 0x36f89b28, 0x36f89c00, 0x37500000)
    rw space 12288K,  54% used [0x37500000, 0x37b8d0e8, 0x37b8d200, 0x38100000)
}
Event: 2.900 GC heap before
{Heap before GC invocations=23 (full 4):
 def new generation   total 56576K, used 56576K [0x22b00000, 0x26860000, 0x28050000)
  eden space 50304K, 100% used [0x22b00000, 0x25c20000, 0x25c20000)
  from space 6272K, 100% used [0x26240000, 0x26860000, 0x26860000)
  to   space 6272K,   0% used [0x25c20000, 0x25c20000, 0x26240000)
 tenured generation   total 125580K, used 123359K [0x28050000, 0x2faf3000, 0x32b00000)
   the space 125580K,  98% used [0x28050000, 0x2f8c7d20, 0x2f8c7e00, 0x2faf3000)
 compacting perm gen  total 12288K, used 703K [0x32b00000, 0x33700000, 0x36b00000)
   the space 12288K,   5% used [0x32b00000, 0x32bafcf8, 0x32bafe00, 0x33700000)
    ro space 10240K,  45% used [0x36b00000, 0x36f89b28, 0x36f89c00, 0x37500000)
    rw space 12288K,  54% used [0x37500000, 0x37b8d0e8, 0x37b8d200, 0x38100000)
Event: 3.321 GC heap after
Heap after GC invocations=24 (full 5):
 def new generation   total 78656K, used 6187K [0x22b00000, 0x28050000, 0x28050000)
  eden space 69952K,   8% used [0x22b00000, 0x2310afd8, 0x26f50000)
  from space 8704K,   0% used [0x26f50000, 0x26f50000, 0x277d0000)
  to   space 8704K,   0% used [0x277d0000, 0x277d0000, 0x28050000)
 tenured generation   total 174784K, used 140939K [0x28050000, 0x32b00000, 0x32b00000)
   the space 174784K,  80% used [0x28050000, 0x309f2fe8, 0x309f3000, 0x32b00000)
 compacting perm gen  total 12288K, used 703K [0x32b00000, 0x33700000, 0x36b00000)
   the space 12288K,   5% used [0x32b00000, 0x32bafcf8, 0x32bafe00, 0x33700000)
    ro space 10240K,  45% used [0x36b00000, 0x36f89b28, 0x36f89c00, 0x37500000)
    rw space 12288K,  54% used [0x37500000, 0x37b8d0e8, 0x37b8d200, 0x38100000)
}
Event: 3.401 GC heap before
{Heap before GC invocations=24 (full 5):
 def new generation   total 78656K, used 69952K [0x22b00000, 0x28050000, 0x28050000)
  eden space 69952K, 100% used [0x22b00000, 0x26f50000, 0x26f50000)
  from space 8704K,   0% used [0x26f50000, 0x26f50000, 0x277d0000)
  to   space 8704K,   0% used [0x277d0000, 0x277d0000, 0x28050000)
 tenured generation   total 174784K, used 140939K [0x28050000, 0x32b00000, 0x32b00000)
   the space 174784K,  80% used [0x28050000, 0x309f2fe8, 0x309f3000, 0x32b00000)
 compacting perm gen  total 12288K, used 703K [0x32b00000, 0x33700000, 0x36b00000)
   the space 12288K,   5% used [0x32b00000, 0x32bafcf8, 0x32bafe00, 0x33700000)
    ro space 10240K,  45% used [0x36b00000, 0x36f89b28, 0x36f89c00, 0x37500000)
    rw space 12288K,  54% used [0x37500000, 0x37b8d0e8, 0x37b8d200, 0x38100000)
Event: 3.556 GC heap after
Heap after GC invocations=25 (full 5):
 def new generation   total 78656K, used 8704K [0x22b00000, 0x28050000, 0x28050000)
  eden space 69952K,   0% used [0x22b00000, 0x22b00000, 0x26f50000)
  from space 8704K, 100% used [0x277d0000, 0x28050000, 0x28050000)
  to   space 8704K,   0% used [0x26f50000, 0x26f50000, 0x277d0000)
 tenured generation   total 174784K, used 160495K [0x28050000, 0x32b00000, 0x32b00000)
   the space 174784K,  91% used [0x28050000, 0x31d0bdc0, 0x31d0be00, 0x32b00000)
 compacting perm gen  total 12288K, used 703K [0x32b00000, 0x33700000, 0x36b00000)
   the space 12288K,   5% used [0x32b00000, 0x32bafcf8, 0x32bafe00, 0x33700000)
    ro space 10240K,  45% used [0x36b00000, 0x36f89b28, 0x36f89c00, 0x37500000)
    rw space 12288K,  54% used [0x37500000, 0x37b8d0e8, 0x37b8d200, 0x38100000)
}
Event: 3.642 GC heap before
{Heap before GC invocations=25 (full 5):
 def new generation   total 78656K, used 78656K [0x22b00000, 0x28050000, 0x28050000)
  eden space 69952K, 100% used [0x22b00000, 0x26f50000, 0x26f50000)
  from space 8704K, 100% used [0x277d0000, 0x28050000, 0x28050000)
  to   space 8704K,   0% used [0x26f50000, 0x26f50000, 0x277d0000)
 tenured generation   total 174784K, used 160495K [0x28050000, 0x32b00000, 0x32b00000)
   the space 174784K,  91% used [0x28050000, 0x31d0bdc0, 0x31d0be00, 0x32b00000)
 compacting perm gen  total 12288K, used 703K [0x32b00000, 0x33700000, 0x36b00000)
   the space 12288K,   5% used [0x32b00000, 0x32bafcf8, 0x32bafe00, 0x33700000)
    ro space 10240K,  45% used [0x36b00000, 0x36f89b28, 0x36f89c00, 0x37500000)
    rw space 12288K,  54% used [0x37500000, 0x37b8d0e8, 0x37b8d200, 0x38100000)

Deoptimization events (0 events):
No events

Internal exceptions (10 events):
Event: 1.253 Thread 0x003c9800 Threw 0x22de9da0 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 1.253 Thread 0x003c9800 Threw 0x22dee508 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 1.254 Thread 0x003c9800 Threw 0x22df1b80 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 1.255 Thread 0x003c9800 Threw 0x22dfb320 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 1.257 Thread 0x003c9800 Threw 0x22e07a30 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 1.257 Thread 0x003c9800 Threw 0x22e0b8a0 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 1.258 Thread 0x003c9800 Threw 0x22e0f8f8 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 1.301 Thread 0x003c9800 Threw 0x22e13110 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 1.310 Thread 0x003c9800 Threw 0x22e17f70 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 1.311 Thread 0x003c9800 Threw 0x22e1ca50 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235

Events (10 events):
Event: 2.577 Executing VM operation: GenCollectForAllocation done
Event: 2.639 Executing VM operation: GenCollectForAllocation
Event: 2.708 Executing VM operation: GenCollectForAllocation done
Event: 2.770 Executing VM operation: GenCollectForAllocation
Event: 2.838 Executing VM operation: GenCollectForAllocation done
Event: 2.900 Executing VM operation: GenCollectForAllocation
Event: 3.321 Executing VM operation: GenCollectForAllocation done
Event: 3.401 Executing VM operation: GenCollectForAllocation
Event: 3.556 Executing VM operation: GenCollectForAllocation done
Event: 3.642 Executing VM operation: GenCollectForAllocation


Dynamic libraries:
0x00400000 - 0x0042f000     C:\Program Files\Java\jdk1.7.0_25\bin\java.exe
0x7c900000 - 0x7c9af000     C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000     C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000     C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000     C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000     C:\WINDOWS\system32\Secur32.dll
0x7e410000 - 0x7e4a1000     C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f59000     C:\WINDOWS\system32\GDI32.dll
0x773d0000 - 0x774d3000     C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\COMCTL32.dll
0x77c10000 - 0x77c68000     C:\WINDOWS\system32\msvcrt.dll
0x77f60000 - 0x77fd6000     C:\WINDOWS\system32\SHLWAPI.dll
0x78aa0000 - 0x78b5e000     C:\Program Files\Java\jdk1.7.0_25\jre\bin\msvcr100.dll
0x6e8c0000 - 0x6ec02000     C:\Program Files\Java\jdk1.7.0_25\jre\bin\client\jvm.dll
0x71ad0000 - 0x71ad9000     C:\WINDOWS\system32\WSOCK32.dll
0x71ab0000 - 0x71ac7000     C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000     C:\WINDOWS\system32\WS2HELP.dll
0x76b40000 - 0x76b6d000     C:\WINDOWS\system32\WINMM.dll
0x76bf0000 - 0x76bfb000     C:\WINDOWS\system32\PSAPI.DLL
0x5dac0000 - 0x5dac8000     C:\WINDOWS\system32\rdpsnd.dll
0x76360000 - 0x76370000     C:\WINDOWS\system32\WINSTA.dll
0x5b860000 - 0x5b8b5000     C:\WINDOWS\system32\NETAPI32.dll
0x6e810000 - 0x6e81c000     C:\Program Files\Java\jdk1.7.0_25\jre\bin\verify.dll
0x6d5a0000 - 0x6d5c0000     C:\Program Files\Java\jdk1.7.0_25\jre\bin\java.dll
0x6e8a0000 - 0x6e8b3000     C:\Program Files\Java\jdk1.7.0_25\jre\bin\zip.dll
0x10000000 - 0x10007000     C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 12.1.4\bin\breakgen.dll
0x6e5c0000 - 0x6e5d4000     C:\Program Files\Java\jdk1.7.0_25\jre\bin\net.dll
0x71a50000 - 0x71a8f000     C:\WINDOWS\system32\mswsock.dll
0x662b0000 - 0x66308000     C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000     C:\WINDOWS\System32\wshtcpip.dll
0x68000000 - 0x68036000     C:\WINDOWS\system32\rsaenh.dll
0x769c0000 - 0x76a74000     C:\WINDOWS\system32\USERENV.dll
0x76f20000 - 0x76f47000     C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000     C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000     C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000     C:\WINDOWS\system32\rasadhlp.dll
0x6e5e0000 - 0x6e5ef000     C:\Program Files\Java\jdk1.7.0_25\jre\bin\nio.dll
0x6b600000 - 0x6b632000     C:\Documents and Settings\Administrator\Local Settings\Temp\usb4java2687817770839434312.tmp\libusb-1.0.dll
0x70880000 - 0x70895000     C:\Documents and Settings\Administrator\Local Settings\Temp\usb4java2687817770839434312.tmp\libusb4java.dll
0x74ae0000 - 0x74ae7000     C:\WINDOWS\system32\Cfgmgr32.dll
0x77920000 - 0x77a13000     C:\WINDOWS\system32\setupapi.dll
0x774e0000 - 0x7761d000     C:\WINDOWS\system32\OLE32.dll
0x688f0000 - 0x688f9000     C:\WINDOWS\system32\hid.dll
0x76c30000 - 0x76c5e000     C:\WINDOWS\system32\WINTRUST.dll
0x77a80000 - 0x77b15000     C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000     C:\WINDOWS\system32\MSASN1.dll
0x76c90000 - 0x76cb8000     C:\WINDOWS\system32\IMAGEHLP.dll
0x59a60000 - 0x59b01000     C:\WINDOWS\system32\dbghelp.dll
0x77c00000 - 0x77c08000     C:\WINDOWS\system32\VERSION.dll

VM Arguments:
jvm_args: -Didea.launcher.port=7538 -Didea.launcher.bin.path=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 12.1.4\bin -Dfile.encoding=UTF-8 
java_command: com.intellij.rt.execution.application.AppMain de.ailis.usb4java.examples.jsr80.TmdUnsolicitedMessageReceiver
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 12.1.4\bin\..\.\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.7.0_25\bin;C:\Program Files\Java\jre7\bin;C:\MinGW\msys\1.0\bin;c:\program files\jetbrains\intellij idea community edition 12.1.4\jre\jre\bin
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 Service Pack 3

CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, tsc

Memory: 4k page, physical 3405332k(2497712k free), swap 5333972k(4585944k free)

vm_info: Java HotSpot(TM) Client VM (23.25-b01) for windows-x86 JRE (1.7.0_25-b17), built on Jun 21 2013 13:06:48 by "java_re" with unknown MS VC++:1600

time: Fri Aug 30 10:51:28 2013
elapsed time: 3 seconds

low level libusb interface requires javax.usb in the 1.0SNAPSHOT code

in 0.5 I was able to (I think) use the libusb portion without needing to have javax.usb installed. With the current trunk, I must have javax.usb installed even though I exclusively use the low-level API.
I believe this is because of the following line in libusb/InterfaceDescriptor.java:

public final class InterfaceDescriptor implements UsbInterfaceDescriptor

It isn't a big deal, but it would be nice if this wasn't needed.

By the way, I really appreciate the existence of usb4java. Thank you for developing it.

Timeout and abort irp

Hi folks,
I'm a bit annoyed that I just can't abort irp when timeout has a big value (or you must may for all timeout to be exceeded, without speaking of the 0 case).

I think IRP model misses a irp.cancel() method.

What do you think ?
Though it might not be the right place to talk about this, I probably shall complain onto javax.usb project page ...
Cheers,
Topaz.

Bulk write to Vx810 Pinpad

I have a problem with this exception in Windows ( in linux wors fine )
USB error 5: Transfer error on bulk endpoint: Entity not found
This exception is produced by async Submint of UsbIrp in output endpoint. The data is only a 0x15 ( one byte)
I cant get more infromation it to try to resolv.
When I use a for Exmaple Ingenico IPP320 pinpad( only change the input endpoint number ) it works in linux and windows.
In linux for booth device I use de Winusb driver instaled using zadig (WinUSB (v6.1.7600.16385))
Could you help me?
Thanks

Java WebStart support

Lib is not working on Java WebStart.
No erros happen, but no devices return in root.getAttachedUsbDevices();.

If same program run on standalone mode (using Netbeans to launch for example)
every device is listed.

If you do a invalid configuration for JNLP, like don't import natives or usb4java lib, erros occurs.

Connection crash on Windows 7

I'm using v1.0.0 and connection to devices in Windows7 is messy, this means, I can't connect most of the times. I need to force connection several times to be able to use the device. Do you think this is a bug or something related to the device and driver ?
In windows 8 all works well.

Thanks a lot

Possible race condition

I got a NPE at one of these rows (don't remember which, but it's insignificant) in AbstractIrpQueue.add():

        this.processor.setDaemon(true);
        this.processor.start();

I guess it happened because processor is set to null at two locations in process() allowing it to be set to null again after it is recreated in add(). processor should probably also be declared volatile since it's accessed from multiple threads.

Devicelist returned from LibUsb.getDeviceList not actualized

Hi

In my setup, Linux Centos 6, Java version 1.8.0_102-b14 I noticed the following:

When an USB device is added or removed from the bus, a followed LibUsb.GetDeviceList is not updated with this event. The same number of devices is returned.

I tested it with the native libusb-1.0.20, and there seems to work correctly.

After doing a new LibUsb.init, the list is indeed actual again, but this is not what you expect, since the native function does it well.

out.pdf

Regards
Ton

EXCEPTION_ACCESS_VIOLATION in LibUsb.interruptTransfer (Windows 7 x64; Oracle JDK 7u51)

Hi,

first of all thanks for a great javax.usb implementation. It works like a charm on my ubuntu installation. I just tried to run the same code under Win7 x64 with the Oracle HotSpot 7u51 JDK.

I am able to pull usage page+id information from a HID device. But when I try to do a syncSubmit on the devices interface pipe the JVM crashes with an access violation.

Log excerpt:

Stack: [0x000000000d120000,0x000000000d220000],  sp=0x000000000d21eb48,  free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [msvcrt.dll+0x1444]
C  [libusb-1.0.dll+0x18381]
C  [libusb-1.0.dll+0x101b3]
C  [libusb-1.0.dll+0x102eb]
C  [libusb-1.0.dll+0x104fe]
C  [libusb-1.0.dll+0x60e7]
C  [libusb-1.0.dll+0x6268]
C  [libusb-1.0.dll+0x63c8]
C  [libusb-1.0.dll+0x70aa]
C  [libusb-1.0.dll+0x7272]
C  [libusb4java.dll+0x32bd]
j  de.ailis.usb4java.libusb.LibUsb.interruptTransfer(Lde/ailis/usb4java/libusb/DeviceHandle;ILjava/nio/ByteBuffer;Ljava/nio/IntBuffer;I)I+0
j  de.ailis.usb4java.IrpQueue.transfer(Lde/ailis/usb4java/libusb/DeviceHandle;Ljavax/usb/UsbEndpointDescriptor;ILjava/nio/ByteBuffer;)I+74
j  de.ailis.usb4java.IrpQueue.read([BII)I+71
j  de.ailis.usb4java.IrpQueue.processIrp(Ljavax/usb/UsbIrp;)V+144
j  de.ailis.usb4java.AbstractIrpQueue.process()V+19
j  de.ailis.usb4java.AbstractIrpQueue$1.run()V+4
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [jvm.dll+0x1cb2b3]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  de.ailis.usb4java.libusb.LibUsb.interruptTransfer(Lde/ailis/usb4java/libusb/DeviceHandle;ILjava/nio/ByteBuffer;Ljava/nio/IntBuffer;I)I+0
j  de.ailis.usb4java.IrpQueue.transfer(Lde/ailis/usb4java/libusb/DeviceHandle;Ljavax/usb/UsbEndpointDescriptor;ILjava/nio/ByteBuffer;)I+74
j  de.ailis.usb4java.IrpQueue.read([BII)I+71
j  de.ailis.usb4java.IrpQueue.processIrp(Ljavax/usb/UsbIrp;)V+144
j  de.ailis.usb4java.AbstractIrpQueue.process()V+19
j  de.ailis.usb4java.AbstractIrpQueue$1.run()V+4
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

Full error report is available at http://pastebin.com/BUiJ4wjc

Let me know if I can help in any way to solve this (or maybe workaround).

UnsatisfiedLinkError

Hi,
I think I spotted a bug in the software. When the method usb_init() in windows is created a temporary folder which will wold libusb4j.dll and libusb0.dll. libusb4j.dll for my understanding is dependent on libusb0.dll so when you guys try to load libusb4k.dll without having loaded libusb0.dll. The exception UnsatisfiedLinkError will occur under windows OS x64. To fix this I have changed the code in Loader.java under the function load to the following:

public static void load() throws LoaderException
{
if (loaded) return;
final String[] path = extract();
if(path[0]!=null){
System.load(path[0]);
}
System.load(path[1]);
loaded = true;
}

And the function extract to the following:

private static String[] extract()
{
final String platform, lib, extraLib;

    platform = getPlatform();
    lib = getLibName();
    extraLib = getExtraLibName();
    String dependentName = null;
    if (extraLib != null) {
         dependentName = extractLibrary(platform, extraLib);
    }
    String libraryName = extractLibrary(platform, lib);

    return new String[]{dependentName, libraryName};
}

The following issue on stackoverflow as helped me to solve the problem.

http://stackoverflow.com/questions/6092200/how-to-fix-an-unsatisfiedlinkerror-cant-find-dependent-libraries-in-a-jni-pro

Even though they say it is alright to do it as you guys did :S but the fact is that the Exception was being thrown any way.

Hope this will be usefull, thank you for the development of this software by the way.

Unable to initialize libusb: 99 Other error

Dear Friends,
I am trying usb4java for USB printer. When I run my java Program i got the following error.

/root$ java -jar 1USBPrint.jar
libudev: udev_monitor_new_from_netlink_fd: error getting socket: Invalid argument
Exception in thread "main" org.usb4java.LibUsbException: USB error 99: Unable to initialize libusb: Other error
at usbprint.UsbLowPos.findDevice(UsbLowPos.java:98)
at usbprint.UsbLowPos.claimDevice(UsbLowPos.java:39)
at usbprint.UsbLowPos.main(UsbLowPos.java:54)

Please check and suggest for the solution

Bulk transfer timeout on in-driection pipe

Reading the example at http://javax-usb.cvs.sourceforge.net/viewvc/javax-usb/javax-usb-example/src/MouseDriver.java?revision=1.1&view=markup, I was under the impression that a sync submit on such a pipe should block indefinitely:

294     try {
295     /* This is synchronous, meaning our Thread will
296     * block until the data buffer has been filled by the device.
297     * For non-blocking submission, the asynchronous method should be used.
298     * Note that interrupt-in (and bulk-in) pipe submissions may
299     * block indefinitely! Control-type and isochronous-type submissions
300     * will complete (or fail) in a finite amount of time; the USB spec
301     * arbitrarily sets this time limit at 5 seconds, but YMMV with
302     * various implementations. Interrupt-out (and bulk-out) shouldn't
303     * block indefinitely.
304     */
305     length = usbPipe.syncSubmit(buffer);

This is only the case with de.ailis.usb4java.timeout set to zero. Should this global value affect these transfers, or is this a bug?

Bulk transfer and splitting

Hi,
I'm a bit struggled with the automatic split made during bulk transfers over endpoints. I'm talking about splitting loops with the maximal endpoint size made in IrqQueue.java.
For example, if playing with a massstorage onto a linux host, you can send straight the whole data to send over bulk endpoint to the libusb. On this side, I think an IRP could be set as "non splittable" to avoid such splits.

For reference:

private int read(final byte[] data, final int offset, final int len)
    throws UsbException
{
    final UsbEndpointDescriptor descriptor = getEndpointDescriptor();
    final byte type = this.pipe.getUsbEndpoint().getType();
    final DeviceHandle handle = getDevice().open();
    int read = 0;
    while (read < len)
    {
        final int size =
            Math.min(len - read, descriptor.wMaxPacketSize() & 0xffff);
        final ByteBuffer buffer = ByteBuffer.allocateDirect(size);
        final int result = transfer(handle, descriptor, type, buffer);
        buffer.rewind();
        buffer.get(data, offset + read, result);
        read += result;

        // Short packet detected, aborting
        if (result < size) break;
    }
    return read;
}

I'm replacing the call to pipe.asyncSubmit(data) with:

ByteBuffer bb = ByteBuffer.allocateDirect(data.length);
bb.put(data);
IntBuffer ib = IntBuffer.allocate(1);
ib.put(data.length);
LibUsb.bulkTransfer(deviceHandle, pipeOut.getUsbEndpoint().getUsbEndpointDescriptor().bEndpointAddress(), bb, ib, timeoutDelay);

Which works like a charm, but annoy me in term of design.

Thanks for any comment on this.
Topaz

Device connected to USB3 port not contained in device list

The low level function LibUsb.getDeviceList works well for normal USB ports, but if the device is connected to a high speed port of my laptop, it is not contained in the device list.

I'm using WinUSB driver on Win7. The device shows up in Windows device manager list.

JVM crashes and stopped the application

hs_err_pid3276.txt

We use usb4java together with codeminder's hidapi.

Note:
It happens only when these two dependencies work together.

System environment:
Operating system: Windows 7 32 bit
Java version: 1.8

Dependencies version:
hidapi: 1.1
usb4java: 1.2.0

Exception:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x73421a59, pid=3276, tid=1052
JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
Java VM: Java HotSpot(TM) Client VM (25.60-b23 mixed mode windows-x86 )
Problematic frame:
C [hid.dll+0x1a59]
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
--------------- T H R E A D ---------------
Current thread (0x155e2800): JavaThread "usb4java Device Scanner" daemon [_thread_in_native, id=1052, stack(0x167c0000,0x16830000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x73421a59

Contradictory error report (read from irq ep)

I'm getting this error:

Exception in thread "main" de.ailis.usb4java.exceptions.LibUsbException: USB error 110: Unable to read from interrupt endpoint: No error
    at de.ailis.usb4java.support.IrpQueue.bulkRead(IrpQueue.java:158)
    at de.ailis.usb4java.support.IrpQueue.processIrp(IrpQueue.java:87)
    at de.ailis.usb4java.support.AbstractIrpQueue.process(AbstractIrpQueue.java:103)
    at de.ailis.usb4java.support.AbstractIrpQueue$1.run(AbstractIrpQueue.java:74)
    at java.lang.Thread.run(Thread.java:662)

It says he reason that there is an error is "No error". Well, I don't know why it doesn't work. But this isn't helpful at all. Please ask if you need more information.

I'll paste my relevant code, so I won't forget it.

    val ds2490 = findDS2490.get

    val activeConf: UsbConfiguration = ds2490.getActiveUsbConfiguration

    val configurations = ds2490.getUsbConfigurations.asScalaListOf[UsbConfiguration]

    //list interfaces
    val interfaces = activeConf.getUsbInterfaces.asScalaListOf[UsbInterface]

    val interface = interfaces.head
    interface.claim()

    val endpoints = interface.getUsbEndpoints.asScalaListOf[UsbEndpoint]
    val irqEP = interface.getUsbEndpoint(0x81.asInstanceOf[Byte]).getUsbPipe
    val bulkOut = interface.getUsbEndpoint(0x02.asInstanceOf[Byte]).getUsbPipe
    val bulkIn = interface.getUsbEndpoint(0x83.asInstanceOf[Byte]).getUsbPipe

    irqEP.open()
    bulkIn.open()
    bulkOut.open()

    printStatus(irqEP)

    reset(ds2490)

    //do a search
    //1. pre-fill out buffer with 0x00 * 8 (start address)
    bulkOut.syncSubmit(Seq.fill[Byte](8)(0x00).toArray)
    ds2490.syncSubmit(irpSearchAccess(ds2490,numDevs = 8))

    printStatus(irqEP)
    Thread.sleep(1000)
    printStatus(irqEP)

    println("reading result")
    //read result (at most 8 byte OW address + 8 byte discrepancy information)
//    val res = new Array[Byte](32) |> (r => r.take(bulkIn.syncSubmit(r)))
    println("bulk in is active: " + bulkIn.isActive)
    bulkIn.addUsbPipeListener(PrintlnEPListener)
    val resIRP = bulkIn.syncSubmit(new Array[Byte](16))
//    println(res.map("%02X ".format(_)).mkString)

    Thread.sleep(1000)

    interface.release()

Not able to receive any data on an In Endpoint

I am on Ubuntu 13.04, 64 bit and trying to connect to an Android Device.

I am able to write to the device but not able receive any input callbacks. I am using usbmon to trace the packets.

After opening the input endpoint, do I need to do anything else before calling addUsbPipeListener?

Thanks!

Native library not found exception for usb4java usage in android device

I want to develop usb application with usb4java for Android device. I'm using Android Studio as an IDE and Ubuntu 14.04 as an operating system. I have added usb4java-1.2.0 file to my project. I can use Libusb function in my application. Firstly I wrote LibUsb.init() function in my MainActivity but there is an error about native library. I'm getting classloader exception.

Caused by: org.usb4java.LoaderException: Native library not found in classpath: /org/usb4java/linux-armv7l/libusb4java.so

I have analyzed Unsupported Platform tag in http://usb4java.org/nativelibs.html website. But I couldn't solve my problem with this way. After that I read https://github.com/usb4java/libusb4java and again I couldn't solve my problem with your way. Can you help me please.

EXCEPTION_ACCESS_VIOLATION in libusb usbi-read

Hi,

I have some code accessing a Garmin USB 2 stick which works fine on Unix but I get the following error on Windows, any idea what the problem is?

JRE version: 7.0_21-b11
# Java VM: Java HotSpot(TM) Client VM (23.21-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [libusb-1.0.dll+0xb256]  usbi_read+0x34fe
....
C  [libusb-1.0.dll+0xb256]  usbi_read+0x34fe
C  [libusb-1.0.dll+0xb69e]  usbi_read+0x3946
C  [libusb-1.0.dll+0xce3d]  usbi_read+0x50e5
C  [libusb-1.0.dll+0x16f0]  libusb_get_device_list+0x70
C  [libusb4java.dll+0x1599]  Java_de_ailis_usb4java_libusb_LibUsb_getDeviceList+0x60
j  de.ailis.usb4java.libusb.LibUsb.getDeviceList(Lde/ailis/usb4java/libusb/Context;Lde/ailis/usb4java/libusb/DeviceList;)I+0
j  de.ailis.usb4java.DeviceManager.updateDeviceList()V+21
j  de.ailis.usb4java.DeviceManager.scan(Ljavax/usb/UsbHub;)V+1
j  de.ailis.usb4java.DeviceManager.scan()V+5
j  de.ailis.usb4java.DeviceManager$1.run()V+22
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [jvm.dll+0x12b41a]

---

code is on Windows XP sp3 with Java 7. and libusb-1.0.dll, libusb4java.dll. The code runs very intermittently on Windows, for example after GoldenCheetah has accessed the USB Stick (but only works very rarely in this case).

high-Level API - javax.usb , support the Mac OS?

usb4java support linux, os x(mac os), window
but,,,javax.usb support linux only. (abandone window implementation, not support OS X)
[http://javax-usb.sourceforge.net/]

High Level javax.usb AP, support the MacOS ??
I need API about finding usb devices in Mac OS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.