首页 > 代码库 > JNI学习中——JVM错误:EXCEPTION_ACCESS_VIOLATION (0xc0000005)
JNI学习中——JVM错误:EXCEPTION_ACCESS_VIOLATION (0xc0000005)
## A fatal error has been detected by the Java Runtime Environment:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000067522fdd, pid=8100, tid=5156## JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode windows-amd64 compressed oops)# Problematic frame:# V [jvm.dll+0x122fdd]## 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 (0x00000000023de000): JavaThread "main" [_thread_in_vm, id=5156, stack(0x0000000002610000,0x0000000002710000)]siginfo: ExceptionCode=0xc0000005, reading address 0x000000000000000dRegisters:RAX=0x0000000000000000, RBX=0x00000000023de000, RCX=0x0000000000000e00, RDX=0x000000000839a378RSP=0x000000000270f0a0, RBP=0x000000000270f1e0, RSI=0x0000000000000000, RDI=0x000000000000000cR8 =0x0000000000000001, R9 =0x000000000000000c, R10=0x0000000000000001, R11=0x0000000000000000R12=0x0000000000000000, R13=0x00000000bfc716b0, R14=0x0000000000000010, R15=0x0000000000000000RIP=0x0000000067522fdd, EFLAGS=0x0000000000010202Top of Stack: (sp=0x000000000270f0a0)0x000000000270f0a0: 0000000000000000 00000000023de0000x000000000270f0b0: 00000000023de000 00000000023ded880x000000000270f0c0: 00000000023de000 000000000270f2000x000000000270f0d0: 000000000270f200 00000000bfc712100x000000000270f0e0: 00000000bfc716b0 000007fefb4012750x000000000270f0f0: 000000000270f1e0 000000000270f1100x000000000270f100: 0000000000000000 cccccccccccccccc0x000000000270f110: 000000000270f160 000007fefb4010cd0x000000000270f120: 00000000023de1e8 000000000839a3780x000000000270f130: 0000000000000000 000007fefb4065700x000000000270f140: 0000000000000000 000000000839a3780x000000000270f150: cccccccccccccccc cccccccccccccccc0x000000000270f160: 0000000020200021 00000000027230900x000000000270f170: 00000000023de1e8 000000000270f2000x000000000270f180: 00000000023ded68 00000000023de0000x000000000270f190: 00000000023de000 000000000270f270 Instructions: (pc=0x0000000067522fdd)0x0000000067522fbd: 00 48 8b 35 eb 88 5c 00 bf 0c 00 00 00 44 8d 770x0000000067522fcd: 04 85 c0 7e 06 46 8b 24 00 eb 33 45 84 d2 74 210x0000000067522fdd: 43 8b 0c 01 85 c9 75 08 49 8b d7 48 8b c7 eb 180x0000000067522fed: 48 8b d1 41 8b cb 48 8b c7 48 d3 e2 48 03 d6 eb Register to memory mapping:RAX=0x0000000000000000 is an unknown valueRBX=0x00000000023de000 is a threadRCX=0x0000000000000e00 is an unknown valueRDX=0x000000000839a378 is an unknown valueRSP=0x000000000270f0a0 is pointing into the stack for thread: 0x00000000023de000RBP=0x000000000270f1e0 is pointing into the stack for thread: 0x00000000023de000RSI=0x0000000000000000 is an unknown valueRDI=0x000000000000000c is an unknown valueR8 =0x0000000000000001 is an unknown valueR9 =0x000000000000000c is an unknown valueR10=0x0000000000000001 is an unknown valueR11=0x0000000000000000 is an unknown valueR12=0x0000000000000000 is an unknown valueR13=0x00000000bfc716b0 is an oop{method} - klass: {other class}R14=0x0000000000000010 is an unknown valueR15=0x0000000000000000 is an unknown valueStack: [0x0000000002610000,0x0000000002710000], sp=0x000000000270f0a0, free space=1020kNative frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)V [jvm.dll+0x122fdd]j com.anna.MainTest.main([Ljava/lang/String;)V+42v ~StubRoutines::call_stubJava frames: (J=compiled Java code, j=interpreted, Vv=VM code)j com.anna.MainTest.callCppFunction()V+0j com.anna.MainTest.main([Ljava/lang/String;)V+42v ~StubRoutines::call_stub--------------- P R O C E S S ---------------Java Threads: ( => current thread ) 0x0000000008419000 JavaThread "Service Thread" daemon [_thread_blocked, id=8244, stack(0x000000000a2b0000,0x000000000a3b0000)] 0x0000000008418000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=1132, stack(0x0000000009ca0000,0x0000000009da0000)] 0x0000000008411800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=7792, stack(0x0000000009b20000,0x0000000009c20000)] 0x0000000008410800 JavaThread "Attach Listener" daemon [_thread_blocked, id=9044, stack(0x0000000009940000,0x0000000009a40000)] 0x00000000083bf000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8412, stack(0x0000000009840000,0x0000000009940000)] 0x00000000083a4000 JavaThread "Finalizer" daemon [_thread_blocked, id=8736, stack(0x0000000009660000,0x0000000009760000)] 0x000000000839b000 JavaThread "Reference Handler" daemon [_thread_blocked, id=8920, stack(0x0000000009430000,0x0000000009530000)]=>0x00000000023de000 JavaThread "main" [_thread_in_vm, id=5156, stack(0x0000000002610000,0x0000000002710000)]Other Threads: 0x0000000008397000 VMThread [stack: 0x0000000009550000,0x0000000009650000] [id=8448] 0x0000000009db0800 WatcherThread [stack: 0x000000000a480000,0x000000000a580000] [id=1452]VM state:not at safepoint (normal execution)VM Mutex/Monitor currently owned by a thread: NoneHeap PSYoungGen total 17920K, used 923K [0x00000000ec400000, 0x00000000ed800000, 0x0000000100000000) eden space 15360K, 6% used [0x00000000ec400000,0x00000000ec4e6d40,0x00000000ed300000) from space 2560K, 0% used [0x00000000ed580000,0x00000000ed580000,0x00000000ed800000) to space 2560K, 0% used [0x00000000ed300000,0x00000000ed300000,0x00000000ed580000) ParOldGen total 40448K, used 0K [0x00000000c4c00000, 0x00000000c7380000, 0x00000000ec400000) object space 40448K, 0% used [0x00000000c4c00000,0x00000000c4c00000,0x00000000c7380000) PSPermGen total 21504K, used 2509K [0x00000000bfa00000, 0x00000000c0f00000, 0x00000000c4c00000) object space 21504K, 11% used [0x00000000bfa00000,0x00000000bfc73740,0x00000000c0f00000)Card table byte_map: [0x0000000005710000,0x0000000005920000] byte_map_base: 0x0000000005113000Polling page: 0x0000000000350000Code Cache [0x0000000002710000, 0x0000000002980000, 0x0000000005710000) total_blobs=186 nmethods=1 adapters=138 free_code_cache=48767Kb largest_free_block=49926272Compilation events (2 events):Event: 0.249 Thread 0x0000000008411800 1 java.lang.String::charAt (29 bytes)Event: 0.261 Thread 0x0000000008411800 nmethod 1 0x0000000002772d10 code [0x0000000002772e40, 0x0000000002772ed8]GC Heap History (0 events):No eventsDeoptimization events (0 events):No eventsInternal exceptions (3 events):Event: 0.097 Thread 0x00000000023de000 Threw 0x00000000ec4107c0 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jni.cpp:3991Event: 0.234 Thread 0x00000000023de000 Threw 0x00000000ec497ff8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244Event: 2.685 Thread 0x00000000023de000 Threw 0x00000000ec4a93d0 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jni.cpp:2608Events (10 events):Event: 0.245 loading class 0x0000000002372290Event: 0.245 loading class 0x0000000002372290 doneEvent: 0.247 loading class 0x000000000234ea20Event: 0.247 loading class 0x000000000234ea20 doneEvent: 0.247 loading class 0x000000000235a430Event: 0.247 loading class 0x000000000235a430 doneEvent: 0.248 loading class 0x000000000235a3d0Event: 0.248 loading class 0x000000000235a3d0 doneEvent: 2.684 loading class 0x000000000234ec70Event: 2.685 loading class 0x000000000234ec70 doneDynamic libraries:0x000000013fdf0000 - 0x000000013fe23000 C:\Program Files\Java\jdk1.7.0_51\bin\javaw.exe0x0000000077a20000 - 0x0000000077bc9000 C:\Windows\SYSTEM32\ntdll.dll0x00000000777c0000 - 0x00000000778df000 C:\Windows\system32\kernel32.dll0x000007fefd670000 - 0x000007fefd6dc000 C:\Windows\system32\KERNELBASE.dll0x000007fefe760000 - 0x000007fefe83b000 C:\Windows\system32\ADVAPI32.dll0x000007fefea60000 - 0x000007fefeaff000 C:\Windows\system32\msvcrt.dll0x000007feffa00000 - 0x000007feffa1f000 C:\Windows\SYSTEM32\sechost.dll0x000007fefe060000 - 0x000007fefe18d000 C:\Windows\system32\RPCRT4.dll0x00000000776c0000 - 0x00000000777ba000 C:\Windows\system32\USER32.dll0x000007feff990000 - 0x000007feff9f7000 C:\Windows\system32\GDI32.dll0x000007fefdd20000 - 0x000007fefdd2e000 C:\Windows\system32\LPK.dll0x000007fefe690000 - 0x000007fefe759000 C:\Windows\system32\USP10.dll0x000007fefc030000 - 0x000007fefc224000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll0x000007fefe8e0000 - 0x000007fefe951000 C:\Windows\system32\SHLWAPI.dll0x000007fefda60000 - 0x000007fefda8e000 C:\Windows\system32\IMM32.DLL0x000007fefe580000 - 0x000007fefe689000 C:\Windows\system32\MSCTF.dll0x000007fefd530000 - 0x000007fefd561000 C:\Windows\system32\nvinitx.dll0x000000000f000000 - 0x000000000f006000 C:\Program Files\NVIDIA Corporation\CoProcManager\_etoured.dll0x000007fefa720000 - 0x000007fefa77f000 C:\Program Files\NVIDIA Corporation\CoProcManager\nvd3d9wrapx.dll0x000007fefe190000 - 0x000007fefe367000 C:\Windows\system32\SETUPAPI.dll0x000007fefda20000 - 0x000007fefda56000 C:\Windows\system32\CFGMGR32.dll0x000007feff8b0000 - 0x000007feff987000 C:\Windows\system32\OLEAUT32.dll0x000007fefe370000 - 0x000007fefe573000 C:\Windows\system32\ole32.dll0x000007fefd720000 - 0x000007fefd73a000 C:\Windows\system32\DEVOBJ.dll0x000007fefa6d0000 - 0x000007fefa716000 C:\Program Files\NVIDIA Corporation\CoProcManager\nvdxgiwrapx.dll0x00000000787c0000 - 0x0000000078892000 C:\Program Files\Java\jdk1.7.0_51\jre\bin\msvcr100.dll0x0000000067400000 - 0x0000000067bc9000 C:\Program Files\Java\jdk1.7.0_51\jre\bin\server\jvm.dll0x000007fefae30000 - 0x000007fefae39000 C:\Windows\system32\WSOCK32.dll0x000007fefdcd0000 - 0x000007fefdd1d000 C:\Windows\system32\WS2_32.dll0x000007feffd20000 - 0x000007feffd28000 C:\Windows\system32\NSI.dll0x000007fefd9a0000 - 0x000007fefd9db000 C:\Windows\system32\WINMM.dll0x0000000077be0000 - 0x0000000077be7000 C:\Windows\system32\PSAPI.DLL0x000000006eb10000 - 0x000000006eb1f000 C:\Program Files\Java\jdk1.7.0_51\jre\bin\verify.dll0x00000000673d0000 - 0x00000000673f8000 C:\Program Files\Java\jdk1.7.0_51\jre\bin\java.dll0x00000000673b0000 - 0x00000000673c5000 C:\Program Files\Java\jdk1.7.0_51\jre\bin\zip.dll0x000007fefb400000 - 0x000007fefb40d000 D:\VS_Workspace\UseJavaString\x64\Debug\UseJavaString.dll0x000000000f4f0000 - 0x000000000f6bd000 C:\Windows\system32\MSVCR100D.dll0x000007feeefc0000 - 0x000007feef0e5000 C:\Windows\system32\dbghelp.dllVM Arguments:jvm_args: -Dfile.encoding=GBK java_command: com.anna.MainTestLauncher Type: SUN_STANDARDEnvironment Variables:JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51CLASSPATH=.;C:\Program Files\Java\jdk1.7.0_51\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_51\lib\tools.jarPATH=C:/Program Files/Java/jdk1.7.0_51/bin/../jre/bin/server;C:/Program Files/Java/jdk1.7.0_51/bin/../jre/bin;C:/Program Files/Java/jdk1.7.0_51/bin/../jre/lib/amd64;C:\Program Files\Java\jdk1.7.0_51\bin;C:\Program Files\Java\jdk1.7.0_51\jre\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;E:\Android\adt-bundle-windows-x86_64-20131030\sdk\platform-tools;E:\Android\adt-bundle-windows-x86_64-20131030\sdk\tools;E:\Android\adt-bundle-windows-x86_64-20131030\eclipse;USERNAME=ANNAOS=Windows_NTPROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel--------------- S Y S T E M ---------------OS: Windows 7 , 64 bit Build 7601 Service Pack 1CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 60 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, erms, ht, tsc, tscinvbitMemory: 4k page, physical 3878360k(896740k free), swap 7754856k(3510308k free)vm_info: Java HotSpot(TM) 64-Bit Server VM (24.51-b03) for windows-amd64 JRE (1.7.0_51-b13), built on Dec 18 2013 18:40:56 by "java_re" with unknown MS VC++:1600time: Mon Sep 01 10:45:44 2014elapsed time: 2 seconds
JNI学习中——JVM错误:EXCEPTION_ACCESS_VIOLATION (0xc0000005)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。