JNI Stub Verification Crashes - Secugen Fingerprint Scanner

148 views
Skip to first unread message

ayoola ajebeku

unread,
Dec 30, 2012, 7:39:46 PM12/30/12
to linux-bi...@googlegroups.com
Hi,

I came across BioAPI and embraced it because it is open-source and it support JAVA. 

I used the sample code in the JNI Stub for BioAPI Framework by GensSoft, ran it and it worked up to the point of enrolling users but crashes my JVM when I tried Verifying.

I have searched through the internet for solutions for several days, but all my effort proved abortive.

PLEASE, help me with correcting this issue.

I'm using Windows 7, jdk 1.7 and Secugen Fingerprint device.


Thanks in advance.


Here is the error log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x10001e37, pid=4696, tid=2628
#
# JRE version: 7.0-b147
# Java VM: Java HotSpot(TM) Client VM (21.0-b17 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [GS_BioAPI_JNI.dll+0x1e37]
#
# 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:
# 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 (0x03de4c00):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2628, stack(0x04080000,0x040d0000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000000

Registers:
EAX=0x00000010, EBX=0x018c1f70, ECX=0x94978a78, EDX=0x00000000
ESP=0x040ce3b0, EBP=0x000001cc, ESI=0x03de4d28, EDI=0x052c0250
EIP=0x10001e37, EFLAGS=0x00010246

Top of Stack: (sp=0x040ce3b0)
0x040ce3b0:   00000000 03de4d28 040ce444 33a94678
0x040ce3c0:   10001b16 018c1f34 018c1f38 040ce3e4
0x040ce3d0:   03de4c00 33a94678 00000000 00000000
0x040ce3e0:   7fffffff 00de4c03 33a94678 018da5b7
0x040ce3f0:   03de4d28 040ce44c 00007300 00000000
0x040ce400:   00000000 00000001 040ce46c 00000000
0x040ce410:   040ce464 00000000 00000000 00000000
0x040ce420:   ffffffff 040ce424 33a94678 040ce47c 

Instructions: (pc=0x10001e37)
0x10001e17:   50 8b 44 24 18 50 56 ff 92 7c 01 00 00 8b d8 85
0x10001e27:   db 74 47 8b 0e 53 56 ff 91 ac 02 00 00 8b 57 14
0x10001e37:   89 02 8b 47 14 8b 08 51 e8 b8 00 00 00 8b 57 14
0x10001e47:   83 c4 04 89 42 04 8b 47 14 8b 48 04 85 c9 75 0a 


Register to memory mapping:

EAX=0x00000010 is an unknown value
EBX=0x018c1f70 is an unknown value
ECX=0x94978a78 is an unknown value
EDX=0x00000000 is an unknown value
ESP=0x040ce3b0 is pointing into the stack for thread: 0x03de4c00
EBP=0x000001cc is an unknown value
ESI=0x03de4d28 is an unknown value
EDI=0x052c0250 is an unknown value


Stack: [0x04080000,0x040d0000],  sp=0x040ce3b0,  free space=312k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [GS_BioAPI_JNI.dll+0x1e37]  Java_com_gs_bioapi_win32_BioAPI_1Verify+0x3b7

[error occurred during error reporting (printing native stack), id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.gs.bioapi.win32.BioAPI_Verify(IIIILcom/gs/bioapi/INPUT_BIR;I[III[BI)I+0
j  com.gs.bioapi.win32.BioAPI_Verify(ILcom/gs/bioapi/INPUT_BIR;[BI)Z+44
j  biometricsjoe.GenBIOAPI.Verify(Lcom/gs/bioapi/BIR;)Ljava/lang/String;+42
j  biometricsjoe.BiometricsUser.jVerifyActionPerformed(Ljava/awt/event/ActionEvent;)V+40
j  biometricsjoe.BiometricsUser.access$200(Lbiometricsjoe/BiometricsUser;Ljava/awt/event/ActionEvent;)V+2
j  biometricsjoe.BiometricsUser$3.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j  javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+84
j  javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j  javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+35
j  javax.swing.DefaultButtonModel.setPressed(Z)V+117
j  javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Ljava/awt/event/MouseEvent;)V+35
j  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
j  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
j  java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
j  java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+581
j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j  java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+327
j  java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+139
j  java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
j  java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j  java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+41
j  java.awt.EventQueue.access$000(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j  java.awt.EventQueue$3.run()Ljava/lang/Void;+12
j  java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v  ~StubRoutines::call_stub
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j  java.security.ProtectionDomain$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+28
j  java.security.ProtectionDomain$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+6
j  java.awt.EventQueue$4.run()Ljava/lang/Void;+11
j  java.awt.EventQueue$4.run()Ljava/lang/Object;+1
v  ~StubRoutines::call_stub
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j  java.security.ProtectionDomain$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+28
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+73
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+245
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x03ec2000 JavaThread "TimerQueue" daemon [_thread_blocked, id=5192, stack(0x05230000,0x05280000)]
  0x00ae9800 JavaThread "DestroyJavaVM" [_thread_blocked, id=6056, stack(0x00320000,0x00370000)]
=>0x03de4c00 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2628, stack(0x04080000,0x040d0000)]
  0x03d86800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=6104, stack(0x040f0000,0x04140000)]
  0x03d86000 JavaThread "AWT-Shutdown" [_thread_blocked, id=4160, stack(0x04020000,0x04070000)]
  0x03d83800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4412, stack(0x03fd0000,0x04020000)]
  0x01897400 JavaThread "Service Thread" daemon [_thread_blocked, id=2448, stack(0x039d0000,0x03a20000)]
  0x01889c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=5220, stack(0x03c70000,0x03cc0000)]
  0x01888c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=5312, stack(0x03be0000,0x03c30000)]
  0x01887800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4828, stack(0x03af0000,0x03b40000)]
  0x0187e000 JavaThread "Finalizer" daemon [_thread_blocked, id=5016, stack(0x03a20000,0x03a70000)]
  0x01879000 JavaThread "Reference Handler" daemon [_thread_blocked, id=4944, stack(0x03920000,0x03970000)]

Other Threads:
  0x01877000 VMThread [stack: 0x00af0000,0x00b40000] [id=5560]
  0x018b2c00 WatcherThread [stack: 0x03a70000,0x03ac0000] [id=336]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 4928K, used 2589K [0x23960000, 0x23eb0000, 0x28eb0000)
  eden space 4416K,  47% used [0x23960000, 0x23b67558, 0x23db0000)
  from space 512K, 100% used [0x23e30000, 0x23eb0000, 0x23eb0000)
  to   space 512K,   0% used [0x23db0000, 0x23db0000, 0x23e30000)
 tenured generation   total 10944K, used 1271K [0x28eb0000, 0x29960000, 0x33960000)
   the space 10944K,  11% used [0x28eb0000, 0x28fedc90, 0x28fede00, 0x29960000)
 compacting perm gen  total 12288K, used 1662K [0x33960000, 0x34560000, 0x37960000)
   the space 12288K,  13% used [0x33960000, 0x33aff9c0, 0x33affa00, 0x34560000)
    ro space 10240K,  45% used [0x37960000, 0x37de1888, 0x37de1a00, 0x38360000)
    rw space 12288K,  54% used [0x38360000, 0x389e04f8, 0x389e0600, 0x38f60000)

Code Cache  [0x018d0000, 0x01990000, 0x038d0000)
 total_blobs=415 nmethods=187 adapters=161 free_code_cache=32029Kb largest_free_block=32798592

Dynamic libraries:
0x00ba0000 - 0x00bce000 C:\Program Files\Java\jdk1.7.0\bin\java.exe
0x773b0000 - 0x774ec000 C:\Windows\SYSTEM32\ntdll.dll
0x76c10000 - 0x76ce4000 C:\Windows\system32\kernel32.dll
0x75720000 - 0x7576a000 C:\Windows\system32\KERNELBASE.dll
0x6fe10000 - 0x6fe4c000 C:\Program Files\AVAST Software\Avast\snxhk.dll
0x76980000 - 0x76a20000 C:\Windows\system32\ADVAPI32.dll
0x77020000 - 0x770cc000 C:\Windows\system32\msvcrt.dll
0x75a10000 - 0x75a29000 C:\Windows\SYSTEM32\sechost.dll
0x75950000 - 0x759f1000 C:\Windows\system32\RPCRT4.dll
0x75800000 - 0x758c9000 C:\Windows\system32\USER32.dll
0x758d0000 - 0x7591e000 C:\Windows\system32\GDI32.dll
0x75b60000 - 0x75b6a000 C:\Windows\system32\LPK.dll
0x75ac0000 - 0x75b5d000 C:\Windows\system32\USP10.dll
0x74040000 - 0x741de000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_420fe3fa2b8113bd\COMCTL32.dll
0x77350000 - 0x773a7000 C:\Windows\system32\SHLWAPI.dll
0x774f0000 - 0x7750f000 C:\Windows\system32\IMM32.DLL
0x77510000 - 0x775dc000 C:\Windows\system32\MSCTF.dll
0x67930000 - 0x679ee000 C:\Program Files\Java\jdk1.7.0\jre\bin\msvcr100.dll
0x64f60000 - 0x65281000 C:\Program Files\Java\jdk1.7.0\jre\bin\client\jvm.dll
0x711a0000 - 0x711a7000 C:\Windows\system32\WSOCK32.dll
0x75b90000 - 0x75bc5000 C:\Windows\system32\WS2_32.dll
0x75b70000 - 0x75b76000 C:\Windows\system32\NSI.dll
0x74810000 - 0x74842000 C:\Windows\system32\WINMM.dll
0x75a00000 - 0x75a05000 C:\Windows\system32\PSAPI.DLL
0x67920000 - 0x6792c000 C:\Program Files\Java\jdk1.7.0\jre\bin\verify.dll
0x67900000 - 0x67920000 C:\Program Files\Java\jdk1.7.0\jre\bin\java.dll
0x678b0000 - 0x678c3000 C:\Program Files\Java\jdk1.7.0\jre\bin\zip.dll
0x67020000 - 0x67162000 C:\Program Files\Java\jdk1.7.0\jre\bin\awt.dll
0x75a30000 - 0x75abf000 C:\Windows\system32\OLEAUT32.dll
0x76e30000 - 0x76f8c000 C:\Windows\system32\ole32.dll
0x74270000 - 0x742b0000 C:\Windows\system32\uxtheme.dll
0x741e0000 - 0x741f3000 C:\Windows\system32\dwmapi.dll
0x75450000 - 0x7545c000 C:\Windows\system32\CRYPTBASE.dll
0x75c30000 - 0x76879000 C:\Windows\system32\SHELL32.dll
0x67840000 - 0x6786a000 C:\Program Files\Java\jdk1.7.0\jre\bin\fontmanager.dll
0x67890000 - 0x678a4000 C:\Program Files\Java\jdk1.7.0\jre\bin\net.dll
0x74f20000 - 0x74f5c000 C:\Windows\system32\mswsock.dll
0x74f70000 - 0x74f76000 C:\Windows\System32\wship6.dll
0x67a00000 - 0x67a0f000 C:\Program Files\Java\jdk1.7.0\jre\bin\nio.dll
0x674e0000 - 0x67511000 C:\Program Files\Java\jdk1.7.0\jre\bin\t2k.dll
0x76f90000 - 0x77013000 C:\Windows\system32\CLBCatQ.DLL
0x73cc0000 - 0x73dbb000 C:\Windows\system32\WindowsCodecs.dll
0x75400000 - 0x7544b000 C:\Windows\system32\apphelp.dll
0x74380000 - 0x743a1000 C:\Program Files\AVAST Software\Avast\ashShell.dll
0x6eee0000 - 0x6f120000 C:\Windows\system32\msi.dll
0x74340000 - 0x74371000 C:\Windows\system32\EhStorShell.dll
0x76a20000 - 0x76bbd000 C:\Windows\system32\SETUPAPI.dll
0x755b0000 - 0x755d7000 C:\Windows\system32\CFGMGR32.dll
0x75700000 - 0x75712000 C:\Windows\system32\DEVOBJ.dll
0x74630000 - 0x74725000 C:\Windows\system32\PROPSYS.dll
0x742b0000 - 0x7433a000 C:\Program Files\Google\Drive\googledrivesync32.dll
0x71220000 - 0x712ae000 C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCP90.dll
0x712b0000 - 0x71353000 C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCR90.dll
0x6c030000 - 0x6c24f000 C:\Program Files\Microsoft Office\Office12\GrooveShellExtensions.dll
0x6f320000 - 0x6f413000 C:\Program Files\Microsoft Office\Office12\GrooveUtil.DLL
0x76880000 - 0x76975000 C:\Windows\system32\WININET.dll
0x76cf0000 - 0x76e26000 C:\Windows\system32\urlmon.dll
0x755e0000 - 0x756fe000 C:\Windows\system32\CRYPT32.dll
0x75570000 - 0x7557c000 C:\Windows\system32\MSASN1.dll
0x77150000 - 0x7734d000 C:\Windows\system32\iertutil.dll
0x6f750000 - 0x6f7eb000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCR80.dll
0x74570000 - 0x74577000 C:\Program Files\Microsoft Office\Office12\GrooveNew.DLL
0x749c0000 - 0x749c9000 C:\Windows\system32\VERSION.dll
0x6de70000 - 0x6de8b000 C:\Windows\WinSxS\x86_microsoft.vc80.atl_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d1cb102c435421de\ATL80.DLL
0x74f80000 - 0x74f96000 C:\Windows\system32\CRYPTSP.dll
0x74d10000 - 0x74d4b000 C:\Windows\system32\rsaenh.dll
0x737f0000 - 0x737f5000 C:\Windows\system32\MSImg32.dll
0x10000000 - 0x10008000 C:\Windows\System32\GS_BioAPI_JNI.dll
0x038e0000 - 0x038fb000 C:\Windows\system32\BioAPI100.dll
0x03ac0000 - 0x03ae5000 C:\Windows\system32\BIOAPI_MDS300.dll
0x04bc0000 - 0x04bda000 C:\Windows\system32\sgbiobspmx.dll
0x05590000 - 0x05745000 C:\Windows\system32\SecuBSPMx.dll
0x6fff0000 - 0x70041000 C:\Windows\system32\WINSPOOL.DRV
0x05750000 - 0x058a6000 C:\Windows\system32\SBioREng.dll
0x674b0000 - 0x674d4000 C:\Program Files\Java\jdk1.7.0\jre\bin\dcpr.dll
0x67bc0000 - 0x67bd1000 C:\Windows\system32\winbio.dll
0x73bd0000 - 0x73c01000 C:\Windows\system32\credui.dll
0x043e0000 - 0x04400000 C:\Windows\system32\sgfpamx.dll
0x75500000 - 0x7550b000 C:\Windows\system32\profapi.dll
0x710a0000 - 0x7118b000 C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Dfile.encoding=UTF-8 
java_command: biometricsjoe.BiometricsUser
Launcher Type: SUN_STANDARD

Environment Variables:
CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;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\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files\Java\jdk1.7.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\Git\cmd;C:\Program Files\Mercurial\;C:\Program Files\Common Files\Microsoft Shared\Windows Live
USERNAME=Lanre
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, 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 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1

Memory: 4k page, physical 3105140k(1108076k free), swap 6208516k(3464192k free)

vm_info: Java HotSpot(TM) Client VM (21.0-b17) for windows-x86 JRE (1.7.0-b147), built on Jun 27 2011 02:25:52 by "java_re" with unknown MS VC++:1600

time: Sat Dec 29 18:49:09 2012
elapsed time: 29 seconds

Kusi Daniel

unread,
Oct 17, 2013, 11:24:34 PM10/17/13
to linux-bi...@googlegroups.com
I will post it.I have forgotten but what i know is download the makefile and in the director copy some dll to system32

Kusi Asiedu Daniel

unread,
Dec 5, 2013, 3:52:53 AM12/5/13
to linux-bi...@googlegroups.com
i hv been able to do it with digital persona.


--
You received this message because you are subscribed to the Google Groups "Biometrics on Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-biometri...@googlegroups.com.

To post to this group, send email to linux-bi...@googlegroups.com.
Visit this group at http://groups.google.com/group/linux-biometrics.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages