Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ Java JNI
Hi all,
Does anyone know how to resolve this exception.
# A fatal error has been detected by the Java Runtime Environment:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7a83f0, 
pid=6320, tid=6328
# JRE version: 7.0_05-b05
# Java VM: Java HotSpot(TM) Client VM (23.1-b03 mixed mode, sharing 
windows-x86 )
# Problematic frame:
# V  [jvm.dll+0xa83f0]
# 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:
---------------  T H R E A D  ---------------
Current thread (0x017bb400):  JavaThread "main" [_thread_in_vm, id=6328, 
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
EAX=0x00000000, EBX=0x017bb400, ECX=0x017bb400, EDX=0x6d98a2c8
ESP=0x0178f194, EBP=0x0178f1e4, ESI=0x017bb528, EDI=0x0178f2e0
EIP=0x6d7a83f0, EFLAGS=0x00010246
Top of Stack: (sp=0x0178f194)
0x0178f194:   6d7ae783 0178f2e0 0178f1fc 3393f648
0x0178f1a4:   017bb400 ffa04476 0178f2e0 017bb400
0x0178f1b4:   3393f648 0178f1a8 af985070 0178f5fc
0x0178f1c4:   6d96b3ae 9345c36e fffffffe 017bb400
0x0178f1d4:   017bbc24 0000063c 6d98a2c8 017bb400
0x0178f1e4:   0178f2e0 614119f0 017bb528 00000000
0x0178f1f4:   00000000 0178f2f4 0178f498 0178f2f4
0x0178f204:   3393f648 cccccccc cccccccc cccccccc 
Instructions: (pc=0x6d7a83f0)
0x6d7a83d0:   83 c4 04 c7 86 64 01 00 00 04 00 00 00 5e 5d c2
0x6d7a83e0:   04 00 cc cc cc cc cc cc cc cc cc cc cc cc cc cc
0x6d7a83f0:   8b 00 56 57 50 e8 a6 6f f7 ff 8b f8 83 c4 04 85
0x6d7a8400:   ff 75 04 33 f6 eb 3d 8b b3 ac 00 00 00 83 7e 08 

Register to memory mapping:
EAX=0x00000000 is an unknown value
EBX=0x017bb400 is a thread
ECX=0x017bb400 is a thread
EDX=0x6d98a2c8 is an unknown value
ESP=0x0178f194 is pointing into the stack for thread: 0x017bb400
EBP=0x0178f1e4 is pointing into the stack for thread: 0x017bb400
ESI=0x017bb528 is an unknown value
EDI=0x0178f2e0 is pointing into the stack for thread: 0x017bb400

Stack: [0x01740000,0x01790000],  sp=0x0178f194,  free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native 
V  [jvm.dll+0xa83f0]
C  [uidai.authpoc2.dll+0x119f0]  JNIEnv_::NewObject+0x40
C  [uidai.authpoc2.dll+0x1181d]  
j  AuthPOC2FingerPrintAPI.captureSample(II)LAuthPOC2FingerPrintAPI
j  AuthPOC2FingerPrintAPI.main([Ljava/lang/String;)V+54
v  ~StubRoutines::call_stub
V  [jvm.dll+0x12964a]
V  [jvm.dll+0x1d851e]
V  [jvm.dll+0x1296cd]
V  [jvm.dll+0xae244]
V  [jvm.dll+0xb85b7]
C  [java.exe+0x1fd8]
C  [java.exe+0xa0cb]
C  [java.exe+0xa155]
C  [kernel32.dll+0x51154]  BaseThreadInitThunk+0x12
C  [ntdll.dll+0x5b299]  RtlInitializeExceptionChain+0x63
C  [ntdll.dll+0x5b26c]  RtlInitializeExceptionChain+0x36
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  AuthPOC2FingerPrintAPI.captureSample(II)LAuthPOC2FingerPrintAPI
j  AuthPOC2FingerPrintAPI.main([Ljava/lang/String;)V+54
v  ~StubRoutines::call_stub
---------------  P R O C E S S  ---------------
Java Threads: ( => current thread )
  0x0188a400 JavaThread "Service Thread" daemon [_thread_blocked, 
id=6360, stack(0x03990000,0x039e0000)]
  0x01898400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, 
id=6356, stack(0x03c80000,0x03cd0000)]
  0x01889c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=6352, 
  0x01889800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, 
id=6348, stack(0x03cf0000,0x03d40000)]
  0x01877800 JavaThread "Finalizer" daemon [_thread_blocked, id=6344, 
  0x01872c00 JavaThread "Reference Handler" daemon [_thread_blocked, 
id=6340, stack(0x03b60000,0x03bb0000)]
=>0x017bb400 JavaThread "main" [_thread_in_vm, id=6328, stack
Other Threads:
  0x01870c00 VMThread [stack: 0x03ad0000,0x03b20000] [id=6336]
  0x018acc00 WatcherThread [stack: 0x03e50000,0x03ea0000] [id=6364]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
 def new generation   total 4928K, used 370K [0x23920000, 0x23e70000, 
  eden space 4416K,   8% used [0x23920000, 0x2397ca00, 0x23d70000)
  from space 512K,   0% used [0x23d70000, 0x23d70000, 0x23df0000)
  to   space 512K,   0% used [0x23df0000, 0x23df0000, 0x23e70000)
 tenured generation   total 10944K, used 0K [0x28e70000, 0x29920000, 
   the space 10944K,   0% used [0x28e70000, 0x28e70000, 0x28e70200, 
 compacting perm gen  total 12288K, used 148K [0x33920000, 0x34520000, 
   the space 12288K,   1% used [0x33920000, 0x339452d0, 0x33945400, 
    ro space 10240K,  42% used [0x37920000, 0x37d5e580, 0x37d5e600, 
    rw space 12288K,  54% used [0x38320000, 0x3899f128, 0x3899f200, 
Code Cache  [0x018c0000, 0x01958000, 0x038c0000)
 total_blobs=142 nmethods=11 adapters=67 free_code_cache=32180Kb 
Compilation events (10 events):
Event: 1.053 Thread 0x01898400    7             
java.lang.AbstractStringBuilder::ensureCapacityInternal (16 bytes)
Event: 1.053 Thread 0x01898400 nmethod 7 0x019516c8 code [0x019517d0, 
Event: 1.132 Thread 0x01898400    8             java.lang.String::indexOf (166 
Event: 1.132 Thread 0x01898400 nmethod 8 0x01951908 code [0x01951a20, 
Event: 6.233 Thread 0x01898400    9             java.lang.String::replace (142 
Event: 6.233 Thread 0x01898400 nmethod 9 0x01951f48 code [0x01952060, 
Event: 6.233 Thread 0x01898400   10       (143 bytes)
Event: 6.234 Thread 0x01898400 nmethod 10 0x01952648 code [0x01952790, 
Event: 6.245 Thread 0x01898400   11             
java.lang.AbstractStringBuilder::append (29 bytes)
Event: 6.245 Thread 0x01898400 nmethod 11 0x01952cc8 code [0x01952dd0, 
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 6.245 Thread 0x017bb400 Threw 0x2396f0d0 at C:\jdk7u5_32P
Event: 6.246 Thread 0x017bb400 Threw 0x239702e8 at C:\jdk7u5_32P
Event: 6.246 Thread 0x017bb400 Threw 0x23970400 at C:\jdk7u5_32P
Event: 6.246 Thread 0x017bb400 Threw 0x23971258 at C:\jdk7u5_32P
Event: 6.246 Thread 0x017bb400 Threw 0x23971370 at C:\jdk7u5_32P
Event: 6.246 Thread 0x017bb400 Threw 0x23972078 at C:\jdk7u5_32P
Event: 6.246 Thread 0x017bb400 Threw 0x23972190 at C:\jdk7u5_32P
Event: 6.246 Thread 0x017bb400 Threw 0x239724e8 at C:\jdk7u5_32P
Event: 6.246 Thread 0x017bb400 Threw 0x23972630 at C:\jdk7u5_32P
Event: 6.247 Thread 0x017bb400 Threw 0x23972788 at C:\jdk7u5_32P
Events (10 events):
Event: 1.134 loading class 0x018bee48
Event: 1.134 loading class 0x018bee48 done
Event: 1.134 loading class 0x018beef0
Event: 1.134 loading class 0x018beef0 done
Event: 1.135 loading class 0x018bee10
Event: 1.135 loading class 0x018bee10 done
Event: 4.731 Executing VM operation: EnableBiasedLocking
Event: 4.731 Executing VM operation: EnableBiasedLocking done
Event: 6.233 loading class 0x018b6710
Event: 6.233 loading class 0x018b6710 done

Dynamic libraries:
0x01320000 - 0x0134f000 	C:\Windows\system32\java.exe
0x77c40000 - 0x77d7c000 	C:\Windows\SYSTEM32\ntdll.dll
0x77ac0000 - 0x77b94000 	C:\Windows\system32\kernel32.dll
0x76050000 - 0x7609b000 	C:\Windows\system32\KERNELBASE.dll
0x77ba0000 - 0x77c40000 	C:\Windows\system32\ADVAPI32.dll
0x77790000 - 0x7783c000 	C:\Windows\system32\msvcrt.dll
0x77840000 - 0x77859000 	C:\Windows\SYSTEM32\sechost.dll
0x76400000 - 0x764a1000 	C:\Windows\system32\RPCRT4.dll
0x76650000 - 0x76719000 	C:\Windows\system32\USER32.dll
0x77a70000 - 0x77abe000 	C:\Windows\system32\GDI32.dll
0x76230000 - 0x7623a000 	C:\Windows\system32\LPK.dll
0x77970000 - 0x77a0d000 	C:\Windows\system32\USP10.dll
0x74e60000 - 0x74ffe000 	C:\Windows\WinSxS
0x76240000 - 0x76297000 	C:\Windows\system32\SHLWAPI.dll
0x77a10000 - 0x77a2f000 	C:\Windows\system32\IMM32.DLL
0x76330000 - 0x763fc000 	C:\Windows\system32\MSCTF.dll
0x01180000 - 0x0123e000 	C:\Program Files\Java\jre7\bin\msvcr100.dll
0x6d700000 - 0x6da4a000 	C:\Program Files\Java\jre7\bin\client\jvm.dll
0x00190000 - 0x00197000 	C:\Windows\system32\WSOCK32.dll
0x77a30000 - 0x77a65000 	C:\Windows\system32\WS2_32.dll
0x76960000 - 0x76966000 	C:\Windows\system32\NSI.dll
0x74290000 - 0x742c2000 	C:\Windows\system32\WINMM.dll
0x77d80000 - 0x77d85000 	C:\Windows\system32\PSAPI.DLL
0x73e40000 - 0x73e4c000 	C:\Program Files\Java\jre7\bin\verify.dll
0x73bb0000 - 0x73bd0000 	C:\Program Files\Java\jre7\bin\java.dll
0x61770000 - 0x61783000 	C:\Program Files\Java\jre7\bin\zip.dll
0x61400000 - 0x6141b000 	E:\uidai\uidai.authpoc2\Debug\uidai.authpoc2.dll
0x10000000 - 0x104cc000 	C:\Windows\system32\CG4EssentialsApi.dll
0x764b0000 - 0x7664d000 	C:\Windows\system32\SETUPAPI.dll
0x760a0000 - 0x760c7000 	C:\Windows\system32\CFGMGR32.dll
0x778e0000 - 0x7796f000 	C:\Windows\system32\OLEAUT32.dll
0x760d0000 - 0x7622c000 	C:\Windows\system32\ole32.dll
0x75f70000 - 0x75f82000 	C:\Windows\system32\DEVOBJ.dll
0x040a0000 - 0x041ae000 	C:\Windows\system32\ClydeMosaic.dll
0x012c0000 - 0x012eb000 	C:\Windows\system32\ResolutionImprove.dll
0x747a0000 - 0x747c5000 	C:\Windows\system32\POWRPROF.dll
0x0f830000 - 0x0f9a2000 	C:\Windows\system32\MSVCR100D.dll
0x75f90000 - 0x75fbd000 	C:\Windows\system32\WINTRUST.dll
0x75e50000 - 0x75f6e000 	C:\Windows\system32\CRYPT32.dll
0x75e40000 - 0x75e4c000 	C:\Windows\system32\MSASN1.dll
0x74e20000 - 0x74e60000 	C:\Windows\system32\uxtheme.dll
0x75d50000 - 0x75d5c000 	C:\Windows\system32\CRYPTBASE.dll
0x762a0000 - 0x76323000 	C:\Windows\system32\CLBCatQ.DLL
0x5f030000 - 0x5f1a7000 	C:\Windows\system32\quartz.dll
0x76970000 - 0x775b9000 	C:\Windows\system32\SHELL32.dll
0x748b0000 - 0x748c3000 	C:\Windows\system32\dwmapi.dll
0x5af20000 - 0x5af52000 	C:\Windows\system32\qcap.dll
0x5abd0000 - 0x5abf1000 	C:\Windows\system32\MSVFW32.dll
0x752c0000 - 0x752c9000 	C:\Windows\system32\VERSION.dll
0x144f0000 - 0x14570000 	C:\Windows\System32\qedit.dll
0x77860000 - 0x778db000 	C:\Windows\system32\COMDLG32.dll
0x74c90000 - 0x74e20000 	C:\Windows\WinSxS
0x5f260000 - 0x5f274000 	C:\Windows\system32\devenum.dll
0x74b30000 - 0x74b51000 	C:\Windows\system32\ntmarta.dll
0x77d90000 - 0x77dd5000 	C:\Windows\system32\WLDAP32.dll
0x5f450000 - 0x5f45b000 	C:\Windows\system32\msdmo.dll
0x0aab0000 - 0x0aae3000 	C:\Windows\system32\
0x74200000 - 0x74204000 	C:\Windows\system32\ksuser.dll
0x707d0000 - 0x70993000 	C:\Windows\system32\d3d9.dll
0x74410000 - 0x74416000 	C:\Windows\system32\d3d8thk.dll
0x5f010000 - 0x5f02d000 	C:\Windows\system32\
0x71690000 - 0x717ac000 	C:\Windows\system32\MFC42.dll
0x6ee30000 - 0x6eebc000 	C:\Windows\system32\ODBC32.dll
0x03a90000 - 0x03ac8000 	C:\Windows\system32\odbcint.dll
0x5fec0000 - 0x5ffa7000 	C:\Windows\system32\DDRAW.dll
0x5feb0000 - 0x5feb6000 	C:\Windows\system32\DCIMAN32.dll
0x70b90000 - 0x70c5c000 	C:\Windows\system32\D3DIM700.DLL
0x6b190000 - 0x6b27b000 	C:\Windows\system32\dbghelp.dll
VM Arguments:
java_command: AuthPOC2FingerPrintAPI
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_05
PATH=E:\app\manishm\product\11.2.0\dbhome_1\bin;C:\Program Files\PC 
Connectivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows
Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Java\jdk1.7.0_05;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 
\NetBeansProjects\IBPL\build\web\WEB-INF\classes\classes\;C:\Program Files
\Java\jdk1.7.0_05\bin;C:\Program Files\apache-maven-2.2.1\bin;D:
PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, GenuineIntel

---------------  S Y S T E M  ---------------
OS: Windows 7 Build 7600 
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, 
cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht, tsc, 
Memory: 4k page, physical 3318724k(1027796k free), swap 6635684k
(3501724k free)
vm_info: Java HotSpot(TM) Client VM (23.1-b03) for windows-x86 JRE 
(1.7.0_05-b05), built on May 15 2012 18:11:27 by "java_re" with unknown MS 
time: Tue Dec 04 12:12:47 2012
elapsed time: 6 seconds
Thanks in advance.
Posted 3-Dec-12 20:43pm
Edited 3-Dec-12 21:43pm
(no name)122.1K
TorstenH. at 4-Dec-12 2:46am
That's no Exception - the complete JVM went down. That's sort of like the blue screen of death.
What did you do?
Dharmateja Challa at 4-Dec-12 3:06am
I think he is using Indian government UIDAI fingerprint API :), I think some dll is missing.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Zoltán Zörgő 330
1 Peter Leow 204
2 Sergey Alexandrovich Kryukov 180
3 OriginalGriff 160
4 88388132 128
0 Sergey Alexandrovich Kryukov 8,288
1 OriginalGriff 6,396
2 Peter Leow 3,557
3 Zoltán Zörgő 3,221
4 Richard MacCutchan 2,397

Advertise | Privacy | Mobile
Web04 | 2.8.150123.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100