Hallo,
I 'm trying to access the sesnor images using the Java SDK and the method Controller::images(). I 'm using the Leap Motion Orion SDK (Version 3.1.3)
From time to time I 'm having the following JNI fatal crash :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6b30f20c, pid=14584, tid=0x00003ac8
#
# JRE version: Java(TM) SE Runtime Environment (8.0_92-b14) (build 1.8.0_92-b14)
# Java VM: Java HotSpot(TM) Client VM (25.92-b14 mixed mode windows-x86 )
# Problematic frame:
# C [MSVCR120.dll+0xf20c]
#
# 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 (0x1a9ba000): JavaThread "Thread-7998" [_thread_in_native, id=15048, stack(0x1d760000,0x1d7b0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
Registers:
EAX=0x00025800, EBX=0x00000000, ECX=0x00025800, EDX=0x00025800
ESP=0x1d7af5bc, EBP=0x1d7af5e8, ESI=0x00000000, EDI=0x1c057430
EIP=0x6b30f20c, EFLAGS=0x00010207
Top of Stack: (sp=0x1d7af5bc)
0x1d7af5bc: 1c057430 1a3af3e8 50b58452 1c057430
0x1d7af5cc: 00000000 00025800 1a9ba000 1d7af610
0x1d7af5dc: 00000000 1a9e5ac8 1c057430 1d7af628
0x1d7af5ec: 029c6959 1a9ba140 1d7af610 1a3af3e8
0x1d7af5fc: 00000000 1d7af608 1d7af60c 04b3e7c8
0x1d7af60c: 04b44678 0a108928 04b3e7c8 00000000
0x1d7af61c: 0a108928 1a944668 04b3e7c8 1d7af7a0
0x1d7af62c: 02925f78 1a3af3e8 00000000 00000027
Instructions: (pc=0x6b30f20c)
0x6b30f1ec: 34 00 00 59 59 5d c3 55 8b ec 8b 45 08 66 8b 08
0x6b30f1fc: 83 c0 02 66 85 c9 75 f5 2b 45 08 d1 f8 48 5d c3
0x6b30f20c: f3 a4 e9 d4 03 00 00 f7 c7 03 00 00 00 0f 85 a4
0x6b30f21c: 04 00 00 f7 c6 03 00 00 00 0f 85 a3 03 00 00 0f
Register to memory mapping:
EAX=0x00025800 is an unknown value
EBX=0x00000000 is an unknown value
ECX=0x00025800 is an unknown value
EDX=0x00025800 is an unknown value
ESP=0x1d7af5bc is pointing into the stack for thread: 0x1a9ba000
EBP=0x1d7af5e8 is pointing into the stack for thread: 0x1a9ba000
ESI=0x00000000 is an unknown value
EDI=0x1c057430 is an unknown value
Stack: [0x1d760000,0x1d7b0000], sp=0x1d7af5bc, free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [MSVCR120.dll+0xf20c]
J 857 com.leapmotion.leap.LeapJNI.Image_data(JLcom/leapmotion/leap/Image;[B)V (0 bytes) @ 0x029c6959 [0x029c68a0+0xb9]
J 374 C1 com.unknown.imageprovider.leap.LeapMotionImageProvider$1.onImages(Lcom/leapmotion/leap/Controller;)V (230 bytes) @ 0x02925f78 [0x02925c40+0x338]
J 1264 C1 com.leapmotion.leap.LeapJNI.SwigDirector_Listener_onImages(Lcom/leapmotion/leap/Listener;J)V (14 bytes) @ 0x029a400c [0x029a3f60+0xac]
v ~StubRoutines::call_stub
V [jvm.dll+0x159775]
V [jvm.dll+0x21f4ae]
V [jvm.dll+0x15980e]
V [jvm.dll+0xdb497]
V [jvm.dll+0xe3b83]
C [LeapJava.dll+0xe79b]
C [LeapJava.dll+0x29a1]
C [Leap.dll+0x53ac4]
C [Leap.dll+0x64977]
C [MSVCR120.dll+0x2c01d]
C [MSVCR120.dll+0x2c001]
C [kernel32.dll+0x1338a]
C [ntdll.dll+0x39902]
C [ntdll.dll+0x398d5]
C 0x00000000
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 857 com.leapmotion.leap.LeapJNI.Image_data(JLcom/leapmotion/leap/Image;[B)V (0 bytes) @ 0x029c6915 [0x029c68a0+0x75]
J 374 C1 com.unknown.imageprovider.leap.LeapMotionImageProvider$1.onImages(Lcom/leapmotion/leap/Controller;)V (230 bytes) @ 0x02925f78 [0x02925c40+0x338]
J 1264 C1 com.leapmotion.leap.LeapJNI.SwigDirector_Listener_onImages(Lcom/leapmotion/leap/Listener;J)V (14 bytes) @ 0x029a400c [0x029a3f60+0xac]
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x1a9ba000 JavaThread "Thread-7998" [_thread_in_native, id=15048, stack(0x1d760000,0x1d7b0000)]
0x1a979800 JavaThread "Thread-5" [_thread_in_vm, id=14628, stack(0x1d820000,0x1d870000)]
0x1a942800 JavaThread "TimerQueue" daemon [_thread_blocked, id=14240, stack(0x1d010000,0x1d060000)]
0x1a92d000 JavaThread "D3D Screen Updater" daemon [_thread_in_native, id=12936, stack(0x1bdf0000,0x1be40000)]
0x1a89c000 JavaThread "Thread-3" daemon [_thread_blocked, id=12120, stack(0x1b640000,0x1b690000)]
0x1a899c00 JavaThread "Thread-2" daemon [_thread_in_native, id=5220, stack(0x1a3c0000,0x1a410000)]
0x0038d000 JavaThread "DestroyJavaVM" [_thread_blocked, id=14032, stack(0x024f0000,0x02540000)]
0x14fd7400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=13820, stack(0x15bc0000,0x15c10000)]
0x14fd6000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=13288, stack(0x157d0000,0x15820000)]
0x14fd3c00 JavaThread "AWT-Shutdown" [_thread_blocked, id=15168, stack(0x15750000,0x157a0000)]
0x14fd0800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=10764, stack(0x15850000,0x158a0000)]
0x14ef2800 JavaThread "Service Thread" daemon [_thread_blocked, id=8492, stack(0x15520000,0x15570000)]
0x14edb400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=6724, stack(0x154b0000,0x15500000)]
0x14eda000 JavaThread "Attach Listener" daemon [_thread_blocked, id=12444, stack(0x153d0000,0x15420000)]
0x0052f400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6576, stack(0x15230000,0x15280000)]
0x00523800 JavaThread "Finalizer" daemon [_thread_blocked, id=14136, stack(0x151b0000,0x15200000)]
0x0051dc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=13700, stack(0x150d0000,0x15120000)]
Other Threads:
0x00517000 VMThread [stack: 0x049a0000,0x049f0000] [id=11348]
0x14f06400 WatcherThread [stack: 0x15420000,0x15470000] [id=2516]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
def new generation total 5376K, used 1501K [0x04a00000, 0x04fd0000, 0x09f50000)
eden space 4800K, 31% used [0x04a00000, 0x04b75e20, 0x04eb0000)
from space 576K, 0% used [0x04f40000, 0x04f41680, 0x04fd0000)
to space 576K, 0% used [0x04eb0000, 0x04eb0000, 0x04f40000)
tenured generation total 11784K, used 9384K [0x09f50000, 0x0aad2000, 0x14a00000)
the space 11784K, 79% used [0x09f50000, 0x0a87a058, 0x0a87a200, 0x0aad2000)
Metaspace used 11217K, capacity 11380K, committed 11520K, reserved 11648K
Card table byte_map: [0x01fd0000,0x02060000] byte_map_base: 0x01fab000
Polling page: 0x00170000
CodeCache: size=32768Kb used=1591Kb max_used=1821Kb free=31176Kb
bounds [0x02810000, 0x029d8000, 0x04810000]
total_blobs=942 nmethods=670 adapters=202
compilation: enabled
Compilation events (10 events):
Event: 53.440 Thread 0x14edb400 1677 ! sun.awt.windows.WWindowPeer::getTranslucentGraphics (37 bytes)
Event: 53.450 Thread 0x14edb400 nmethod 1677 0x0299e648 code [0x0299e760, 0x0299e9b8]
Event: 53.451 Thread 0x14edb400 1678 ! javax.swing.RepaintManager::beginPaint (81 bytes)
Event: 53.451 Thread 0x14edb400 nmethod 1678 0x0298ff08 code [0x02990010, 0x0299026c]
Event: 54.033 Thread 0x14edb400 1679 sun.java2d.SurfaceDataProxy$1::replaceData (2 bytes)
Event: 54.033 Thread 0x14edb400 nmethod 1679 0x0299d748 code [0x0299d840, 0x0299d8c0]
Event: 54.034 Thread 0x14edb400 1680 javax.swing.JComponent::alwaysOnTop (2 bytes)
Event: 54.034 Thread 0x14edb400 nmethod 1680 0x0298fd48 code [0x0298fe40, 0x0298fec0]
Event: 54.034 Thread 0x14edb400 1681 ! sun.awt.image.VolatileSurfaceManager::validate (204 bytes)
Event: 54.035 Thread 0x14edb400 nmethod 1681 0x0298ed88 code [0x0298eef0, 0x0298f23c]
GC Heap History (10 events):
Event: 54.259 GC heap before
{Heap before GC invocations=3383 (full 870):
def new generation total 5376K, used 4168K [0x04a00000, 0x04fd0000, 0x09f50000)
eden space 4800K, 86% used [0x04a00000, 0x04e122e8, 0x04eb0000)
from space 576K, 0% used [0x04eb0000, 0x04eb0000, 0x04f40000)
to space 576K, 0% used [0x04f40000, 0x04f40000, 0x04fd0000)
tenured generation total 11784K, used 4584K [0x09f50000, 0x0aad2000, 0x14a00000)
the space 11784K, 38% used [0x09f50000, 0x0a3ca018, 0x0a3ca200, 0x0aad2000)
Metaspace used 11217K, capacity 11380K, committed 11520K, reserved 11648K
Event: 54.260 GC heap after
Heap after GC invocations=3384 (full 870):
def new generation total 5376K, used 4K [0x04a00000, 0x04fd0000, 0x09f50000)
eden space 4800K, 0% used [0x04a00000, 0x04a00000, 0x04eb0000)
from space 576K, 0% used [0x04f40000, 0x04f410d8, 0x04fd0000)
to space 576K, 0% used [0x04eb0000, 0x04eb0000, 0x04f40000)
tenured generation total 11784K, used 6984K [0x09f50000, 0x0aad2000, 0x14a00000)
the space 11784K, 59% used [0x09f50000, 0x0a622038, 0x0a622200, 0x0aad2000)
Metaspace used 11217K, capacity 11380K, committed 11520K, reserved 11648K
}
Event: 54.267 GC heap before
{Heap before GC invocations=3384 (full 870):
def new generation total 5376K, used 4170K [0x04a00000, 0x04fd0000, 0x09f50000)
eden space 4800K, 86% used [0x04a00000, 0x04e11ad8, 0x04eb0000)
from space 576K, 0% used [0x04f40000, 0x04f410d8, 0x04fd0000)
to space 576K, 0% used [0x04eb0000, 0x04eb0000, 0x04f40000)
tenured generation total 11784K, used 6984K [0x09f50000, 0x0aad2000, 0x14a00000)
the space 11784K, 59% used [0x09f50000, 0x0a622038, 0x0a622200, 0x0aad2000)
Metaspace used 11217K, capacity 11380K, committed 11520K, reserved 11648K
Event: 54.269 GC heap after
Heap after GC invocations=3385 (full 870):
def new generation total 5376K, used 5K [0x04a00000, 0x04fd0000, 0x09f50000)
eden space 4800K, 0% used [0x04a00000, 0x04a00000, 0x04eb0000)
from space 576K, 0% used [0x04eb0000, 0x04eb1680, 0x04f40000)
to space 576K, 0% used [0x04f40000, 0x04f40000, 0x04fd0000)
tenured generation total 11784K, used 9384K [0x09f50000, 0x0aad2000, 0x14a00000)
the space 11784K, 79% used [0x09f50000, 0x0a87a058, 0x0a87a200, 0x0aad2000)
Metaspace used 11217K, capacity 11380K, committed 11520K, reserved 11648K
}
Event: 54.276 GC heap before
{Heap before GC invocations=3385 (full 870):
def new generation total 5376K, used 4172K [0x04a00000, 0x04fd0000, 0x09f50000)
eden space 4800K, 86% used [0x04a00000, 0x04e11ae8, 0x04eb0000)
from space 576K, 0% used [0x04eb0000, 0x04eb1680, 0x04f40000)
to space 576K, 0% used [0x04f40000, 0x04f40000, 0x04fd0000)
tenured generation total 11784K, used 9384K [0x09f50000, 0x0aad2000, 0x14a00000)
the space 11784K, 79% used [0x09f50000, 0x0a87a058, 0x0a87a200, 0x0aad2000)
Metaspace used 11217K, capacity 11380K, committed 11520K, reserved 11648K
Event: 54.286 GC heap after
Heap after GC invocations=3386 (full 871):
def new generation total 5376K, used 0K [0x04a00000, 0x04fd0000, 0x09f50000)
eden space 4800K, 0% used [0x04a00000, 0x04a00000, 0x04eb0000)
from space 576K, 0% used [0x04f40000, 0x04f40000, 0x04fd0000)
to space 576K, 0% used [0x04eb0000, 0x04eb0000, 0x04f40000)
tenured generation total 11784K, used 4584K [0x09f50000, 0x0aad2000, 0x14a00000)
the space 11784K, 38% used [0x09f50000, 0x0a3ca018, 0x0a3ca200, 0x0aad2000)
Metaspace used 11217K, capacity 11380K, committed 11520K, reserved 11648K
}
Event: 54.295 GC heap before
{Heap before GC invocations=3386 (full 871):
def new generation total 5376K, used 4139K [0x04a00000, 0x04fd0000, 0x09f50000)
eden space 4800K, 86% used [0x04a00000, 0x04e0aef0, 0x04eb0000)
from space 576K, 0% used [0x04f40000, 0x04f40000, 0x04fd0000)
to space 576K, 0% used [0x04eb0000, 0x04eb0000, 0x04f40000)
tenured generation total 11784K, used 4584K [0x09f50000, 0x0aad2000, 0x14a00000)
the space 11784K, 38% used [0x09f50000, 0x0a3ca018, 0x0a3ca200, 0x0aad2000)
Metaspace used 11217K, capacity 11380K, committed 11520K, reserved 11648K
Event: 54.296 GC heap after
Heap after GC invocations=3387 (full 871):
def new generation total 5376K, used 3K [0x04a00000, 0x04fd0000, 0x09f50000)
eden space 4800K, 0% used [0x04a00000, 0x04a00000, 0x04eb0000)
from space 576K, 0% used [0x04eb0000, 0x04eb0e90, 0x04f40000)
to space 576K, 0% used [0x04f40000, 0x04f40000, 0x04fd0000)
tenured generation total 11784K, used 6984K [0x09f50000, 0x0aad2000, 0x14a00000)
the space 11784K, 59% used [0x09f50000, 0x0a622038, 0x0a622200, 0x0aad2000)
Metaspace used 11217K, capacity 11380K, committed 11520K, reserved 11648K
}
Event: 54.303 GC heap before
{Heap before GC invocations=3387 (full 871):
def new generation total 5376K, used 4170K [0x04a00000, 0x04fd0000, 0x09f50000)
eden space 4800K, 86% used [0x04a00000, 0x04e11ab0, 0x04eb0000)
from space 576K, 0% used [0x04eb0000, 0x04eb0e90, 0x04f40000)
to space 576K, 0% used [0x04f40000, 0x04f40000, 0x04fd0000)
tenured generation total 11784K, used 6984K [0x09f50000, 0x0aad2000, 0x14a00000)
the space 11784K, 59% used [0x09f50000, 0x0a622038, 0x0a622200, 0x0aad2000)
Metaspace used 11217K, capacity 11380K, committed 11520K, reserved 11648K
Event: 54.304 GC heap after
Heap after GC invocations=3388 (full 871):
def new generation total 5376K, used 5K [0x04a00000, 0x04fd0000, 0x09f50000)
eden space 4800K, 0% used [0x04a00000, 0x04a00000, 0x04eb0000)
from space 576K, 0% used [0x04f40000, 0x04f41680, 0x04fd0000)
to space 576K, 0% used [0x04eb0000, 0x04eb0000, 0x04f40000)
tenured generation total 11784K, used 9384K [0x09f50000, 0x0aad2000, 0x14a00000)
the space 11784K, 79% used [0x09f50000, 0x0a87a058, 0x0a87a200, 0x0aad2000)
Metaspace used 11217K, capacity 11380K, committed 11520K, reserved 11648K
}
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 0.081 Thread 0x0038d000 Exception <a 'java/security/PrivilegedActionException'> (0x04aa72e8) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u92\6642\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.081 Thread 0x0038d000 Exception <a 'java/security/PrivilegedActionException'> (0x04aa74e8) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u92\6642\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.081 Thread 0x0038d000 Exception <a 'java/security/PrivilegedActionException'> (0x04aab570) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u92\6642\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.081 Thread 0x0038d000 Exception <a 'java/security/PrivilegedActionException'> (0x04aab770) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u92\6642\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.085 Thread 0x0038d000 Exception <a 'java/io/FileNotFoundException'> (0x04aae2c0) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u92\6642\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 0.111 Thread 0x0038d000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x04b68e98) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u92\6642\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146]
Event: 0.112 Thread 0x0038d000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x04b75148) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u92\6642\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146]
Event: 0.158 Thread 0x14fd7400 Exception <a 'java/io/FileNotFoundException'> (0x04c4d7e0) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u92\6642\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 0.387 Thread 0x14fd7400 Exception <a 'java/lang/ClassNotFoundException': com/sun/org/glassfish/hk2/osgiresourcelocator/ServiceLoader> (0x04b087f0) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u92\6642\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.390 Thread 0x14fd7400 Exception <a 'java/lang/NullPointerException'> (0x04b0f5b0) thrown at [C:\workspace\8-2-build-windows-i586-cygwin\jdk8u92\6642\hotspot\src\share\vm\interpreter\linkResolver.cpp, line 1280]
Events (10 events):
Event: 54.296 Thread 0x1a9ba000 Thread exited: 0x1a9ba000
Event: 54.296 Thread 0x1a9ba000 Thread added: 0x1a9ba000
Event: 54.296 Thread 0x1a9ba000 Thread exited: 0x1a9ba000
Event: 54.296 Thread 0x1a9ba000 Thread added: 0x1a9ba000
Event: 54.303 Executing VM operation: GenCollectForAllocation
Event: 54.304 Executing VM operation: GenCollectForAllocation done
Event: 54.305 Thread 0x1a9ba000 Thread exited: 0x1a9ba000
Event: 54.305 Thread 0x1a9ba000 Thread added: 0x1a9ba000
Event: 54.305 Thread 0x1a9ba000 Thread exited: 0x1a9ba000
Event: 54.305 Thread 0x1a9ba000 Thread added: 0x1a9ba000
Dynamic libraries:
0x00210000 - 0x00243000 C:\Program Files (x86)\Java\jdk1.8.0_92\bin\javaw.exe
0x77940000 - 0x77ac0000 C:\Windows\SysWOW64\ntdll.dll
0x76320000 - 0x76430000 C:\Windows\syswow64\kernel32.dll
0x76440000 - 0x76487000 C:\Windows\syswow64\KERNELBASE.dll
0x77490000 - 0x77531000 C:\Windows\syswow64\ADVAPI32.dll
0x76770000 - 0x7681c000 C:\Windows\syswow64\msvcrt.dll
0x76b20000 - 0x76b39000 C:\Windows\SysWOW64\sechost.dll
0x768c0000 - 0x769b0000 C:\Windows\syswow64\RPCRT4.dll
0x75290000 - 0x752f0000 C:\Windows\syswow64\SspiCli.dll
0x75280000 - 0x7528c000 C:\Windows\syswow64\CRYPTBASE.dll
0x76670000 - 0x76770000 C:\Windows\syswow64\USER32.dll
0x77400000 - 0x77490000 C:\Windows\syswow64\GDI32.dll
0x752f0000 - 0x752fa000 C:\Windows\syswow64\LPK.dll
0x76b40000 - 0x76bdd000 C:\Windows\syswow64\USP10.dll
0x6f750000 - 0x6f8ee000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\COMCTL32.dll
0x77170000 - 0x771c7000 C:\Windows\syswow64\SHLWAPI.dll
0x77080000 - 0x770e0000 C:\Windows\system32\IMM32.DLL
0x761a0000 - 0x7626c000 C:\Windows\syswow64\MSCTF.dll
0x746a0000 - 0x746cc000 C:\Windows\SysWOW64\nvinit.dll
0x77b30000 - 0x77bef000 C:\Program Files (x86)\Java\jdk1.8.0_92\jre\bin\msvcr100.dll
0x6cab0000 - 0x6ce7b000 C:\Program Files (x86)\Java\jdk1.8.0_92\jre\bin\client\jvm.dll
0x73620000 - 0x73627000 C:\Windows\system32\WSOCK32.dll
0x76fa0000 - 0x76fd5000 C:\Windows\syswow64\WS2_32.dll
0x76270000 - 0x76276000 C:\Windows\syswow64\NSI.dll
0x74390000 - 0x743c2000 C:\Windows\system32\WINMM.dll
0x749a0000 - 0x749a9000 C:\Windows\system32\VERSION.dll
0x75f50000 - 0x75f55000 C:\Windows\syswow64\PSAPI.DLL
0x64940000 - 0x6494c000 C:\Program Files (x86)\Java\jdk1.8.0_92\jre\bin\verify.dll
0x523c0000 - 0x523e1000 C:\Program Files (x86)\Java\jdk1.8.0_92\jre\bin\java.dll
0x54350000 - 0x54363000 C:\Program Files (x86)\Java\jdk1.8.0_92\jre\bin\zip.dll
0x75300000 - 0x75f4c000 C:\Windows\syswow64\SHELL32.dll
0x76510000 - 0x7666d000 C:\Windows\syswow64\ole32.dll
0x769b0000 - 0x769bb000 C:\Windows\syswow64\profapi.dll
0x6ce80000 - 0x6cfc5000 C:\Program Files (x86)\Java\jdk1.8.0_92\jre\bin\awt.dll
0x771d0000 - 0x7725f000 C:\Windows\syswow64\OLEAUT32.dll
0x74ac0000 - 0x74b40000 C:\Windows\system32\uxtheme.dll
0x700c0000 - 0x700d3000 C:\Windows\system32\dwmapi.dll
0x17670000 - 0x17833000 C:\Windows\system32\d3d9.dll
0x731b0000 - 0x731b6000 C:\Windows\system32\d3d8thk.dll
0x17840000 - 0x18494000 C:\Windows\system32\nvd3dum.dll
0x6bec0000 - 0x6bff4000 C:\Windows\system32\NV\igdumdim32.dll
0x77260000 - 0x773fd000 C:\Windows\syswow64\SETUPAPI.dll
0x76be0000 - 0x76c07000 C:\Windows\syswow64\CFGMGR32.dll
0x76490000 - 0x764a2000 C:\Windows\syswow64\DEVOBJ.dll
0x187b0000 - 0x191a1000 C:\Windows\system32\igdumdim32.dll
0x6b5e0000 - 0x6b954000 C:\Windows\system32\igdusc32.dll
0x73540000 - 0x73565000 C:\Windows\system32\powrprof.dll
0x50b90000 - 0x50bc9000 C:\Program Files (x86)\Java\jdk1.8.0_92\jre\bin\fontmanager.dll
0x56560000 - 0x56576000 C:\Program Files (x86)\Java\jdk1.8.0_92\jre\bin\net.dll
0x74330000 - 0x7436c000 C:\Windows\system32\mswsock.dll
0x73b50000 - 0x73b56000 C:\Windows\System32\wship6.dll
0x59530000 - 0x5953f000 C:\Program Files (x86)\Java\jdk1.8.0_92\jre\bin\nio.dll
0x50b50000 - 0x50b82000 D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions\LeapJava.dll
0x6c820000 - 0x6c891000 C:\Windows\system32\MSVCP120.dll
0x6b300000 - 0x6b3ee000 C:\Windows\system32\MSVCR120.dll
0x1ade0000 - 0x1b09b000 D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions\Leap.dll
0x50040000 - 0x50072000 C:\Program Files (x86)\Java\jdk1.8.0_92\jre\bin\t2k.dll
0x76fe0000 - 0x77063000 C:\Windows\syswow64\CLBCatQ.DLL
0x745c0000 - 0x745e1000 C:\Windows\system32\ntmarta.dll
0x762c0000 - 0x76305000 C:\Windows\syswow64\WLDAP32.dll
0x74670000 - 0x74687000 C:\Windows\system32\CRYPTSP.dll
0x74630000 - 0x7466b000 C:\Windows\system32\rsaenh.dll
0x76f80000 - 0x76f97000 C:\Windows\syswow64\USERENV.dll
0x747d0000 - 0x747ec000 C:\Windows\system32\IPHLPAPI.DLL
0x747c0000 - 0x747c7000 C:\Windows\system32\WINNSI.DLL
0x71d20000 - 0x71d2d000 C:\Windows\system32\dhcpcsvc6.DLL
0x74310000 - 0x74322000 C:\Windows\system32\dhcpcsvc.DLL
0x50b20000 - 0x50b46000 C:\Program Files (x86)\Java\jdk1.8.0_92\jre\bin\jpeg.dll
0x73040000 - 0x7312b000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Djava.library.path=D:\mmui\dbf\dbfSDK-gh-pages\win32\Release;D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions -Dfile.encoding=Cp1252
java_command: com.unknown.dbf.ui.JpcnnApplicationWindow
java_class_path (initial): D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions\com.unknown.imageprovider.leap.jar;D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions\core.jar;D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions\gluegen-rt-natives-windows-amd64.jar;D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions\gluegen-rt-natives-windows-i586.jar;D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions\gluegen-rt.jar;D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions\jogl-all-natives-windows-amd64.jar;D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions\jogl-all-natives-windows-i586.jar;D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions\jogl-all.jar;D:\mmui\dbf\JavaWrapper\com.unknown.dbf\extensions\LeapJava.jar
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_71
USERNAME=Saoumi
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 (6.1.7601.23418)
CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, erms, ht, tsc, tscinvbit, tscinv
Memory: 4k page, physical 8258728k(2024632k free), swap 16515596k(10118352k free)
vm_info: Java HotSpot(TM) Client VM (25.92-b14) for windows-x86 JRE (1.8.0_92-b14), built on Mar 31 2016 21:09:21 by "java_re" with MS VC++ 10.0 (VS2010)
time: Thu Jun 16 17:53:08 2016
elapsed time: 54 seconds (0d 0h 0m 54s)
And here is my code:
private Listener leapListener = new Listener() {
public void onImages(Controller controller) {
if (!initialized || stopped) {
return;
}
ImageList images = controller.images();
if (images.count() <= 0) {
return;
}
try {
Image image = images.get(0);
int width = image.width();
int height = image.height();
if (!image.isValid() || width < 0 || height < 0) {
return;
}
//Get byte array containing the image data from Image object
byte[] imageData = Arrays.copyOf(image.data(), image.data().length);
PImage camera = processingApplet.createImage(width, height, PApplet.RGB);
camera.loadPixels();
//Copy image data into display object, in this case PImage defined in Processing
int r, g, b;
for (int i = 0; i < width * height; i++) {
r = (imageData[i] & 0xFF) << 16; //convert to unsigned and shift into place
g = (imageData[i] & 0xFF) << 8;
b = imageData[i] & 0xFF;
camera.pixels[i] = r | g | b;
}
//Show the image
camera.updatePixels();
camera.resize(640, 480);
BufferedImage imgObj = (BufferedImage) camera.getNative();
current = imgObj;
}
catch (Exception ex) {
System.err.println(ex.getMessage());
}
};
};