码迷,mamicode.com
首页 > 数据库 > 详细

JNI学习中——JVM错误:EXCEPTION_ACCESS_VIOLATION (0xc0000005)

时间:2014-09-01 12:32:23      阅读:661      评论:0      收藏:0      [点我收藏+]

标签:android   http   os   io   java   ar   for   2014   cti   

#
# 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 0x000000000000000d

Registers:
RAX=0x0000000000000000, RBX=0x00000000023de000, RCX=0x0000000000000e00, RDX=0x000000000839a378
RSP=0x000000000270f0a0, RBP=0x000000000270f1e0, RSI=0x0000000000000000, RDI=0x000000000000000c
R8 =0x0000000000000001, R9 =0x000000000000000c, R10=0x0000000000000001, R11=0x0000000000000000
R12=0x0000000000000000, R13=0x00000000bfc716b0, R14=0x0000000000000010, R15=0x0000000000000000
RIP=0x0000000067522fdd, EFLAGS=0x0000000000010202

Top of Stack: (sp=0x000000000270f0a0)
0x000000000270f0a0:   0000000000000000 00000000023de000
0x000000000270f0b0:   00000000023de000 00000000023ded88
0x000000000270f0c0:   00000000023de000 000000000270f200
0x000000000270f0d0:   000000000270f200 00000000bfc71210
0x000000000270f0e0:   00000000bfc716b0 000007fefb401275
0x000000000270f0f0:   000000000270f1e0 000000000270f110
0x000000000270f100:   0000000000000000 cccccccccccccccc
0x000000000270f110:   000000000270f160 000007fefb4010cd
0x000000000270f120:   00000000023de1e8 000000000839a378
0x000000000270f130:   0000000000000000 000007fefb406570
0x000000000270f140:   0000000000000000 000000000839a378
0x000000000270f150:   cccccccccccccccc cccccccccccccccc
0x000000000270f160:   0000000020200021 0000000002723090
0x000000000270f170:   00000000023de1e8 000000000270f200
0x000000000270f180:   00000000023ded68 00000000023de000
0x000000000270f190:   00000000023de000 000000000270f270 

Instructions: (pc=0x0000000067522fdd)
0x0000000067522fbd:   00 48 8b 35 eb 88 5c 00 bf 0c 00 00 00 44 8d 77
0x0000000067522fcd:   04 85 c0 7e 06 46 8b 24 00 eb 33 45 84 d2 74 21
0x0000000067522fdd:   43 8b 0c 01 85 c9 75 08 49 8b d7 48 8b c7 eb 18
0x0000000067522fed:   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 value
RBX=0x00000000023de000 is a thread
RCX=0x0000000000000e00 is an unknown value
RDX=0x000000000839a378 is an unknown value
RSP=0x000000000270f0a0 is pointing into the stack for thread: 0x00000000023de000
RBP=0x000000000270f1e0 is pointing into the stack for thread: 0x00000000023de000
RSI=0x0000000000000000 is an unknown value
RDI=0x000000000000000c is an unknown value
R8 =0x0000000000000001 is an unknown value
R9 =0x000000000000000c is an unknown value
R10=0x0000000000000001 is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x00000000bfc716b0 is an oop
{method} 
 - klass: {other class}
R14=0x0000000000000010 is an unknown value
R15=0x0000000000000000 is an unknown value


Stack: [0x0000000002610000,0x0000000002710000],  sp=0x000000000270f0a0,  free space=1020k
Native 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+42
v  ~StubRoutines::call_stub

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.anna.MainTest.callCppFunction()V+0
j  com.anna.MainTest.main([Ljava/lang/String;)V+42
v  ~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: None

Heap
 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: 0x0000000005113000

Polling page: 0x0000000000350000

Code Cache  [0x0000000002710000, 0x0000000002980000, 0x0000000005710000)
 total_blobs=186 nmethods=1 adapters=138 free_code_cache=48767Kb largest_free_block=49926272

Compilation 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 events

Deoptimization events (0 events):
No events

Internal exceptions (3 events):
Event: 0.097 Thread 0x00000000023de000 Threw 0x00000000ec4107c0 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jni.cpp:3991
Event: 0.234 Thread 0x00000000023de000 Threw 0x00000000ec497ff8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 2.685 Thread 0x00000000023de000 Threw 0x00000000ec4a93d0 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jni.cpp:2608

Events (10 events):
Event: 0.245 loading class 0x0000000002372290
Event: 0.245 loading class 0x0000000002372290 done
Event: 0.247 loading class 0x000000000234ea20
Event: 0.247 loading class 0x000000000234ea20 done
Event: 0.247 loading class 0x000000000235a430
Event: 0.247 loading class 0x000000000235a430 done
Event: 0.248 loading class 0x000000000235a3d0
Event: 0.248 loading class 0x000000000235a3d0 done
Event: 2.684 loading class 0x000000000234ec70
Event: 2.685 loading class 0x000000000234ec70 done


Dynamic libraries:
0x000000013fdf0000 - 0x000000013fe23000 	C:\Program Files\Java\jdk1.7.0_51\bin\javaw.exe
0x0000000077a20000 - 0x0000000077bc9000 	C:\Windows\SYSTEM32\ntdll.dll
0x00000000777c0000 - 0x00000000778df000 	C:\Windows\system32\kernel32.dll
0x000007fefd670000 - 0x000007fefd6dc000 	C:\Windows\system32\KERNELBASE.dll
0x000007fefe760000 - 0x000007fefe83b000 	C:\Windows\system32\ADVAPI32.dll
0x000007fefea60000 - 0x000007fefeaff000 	C:\Windows\system32\msvcrt.dll
0x000007feffa00000 - 0x000007feffa1f000 	C:\Windows\SYSTEM32\sechost.dll
0x000007fefe060000 - 0x000007fefe18d000 	C:\Windows\system32\RPCRT4.dll
0x00000000776c0000 - 0x00000000777ba000 	C:\Windows\system32\USER32.dll
0x000007feff990000 - 0x000007feff9f7000 	C:\Windows\system32\GDI32.dll
0x000007fefdd20000 - 0x000007fefdd2e000 	C:\Windows\system32\LPK.dll
0x000007fefe690000 - 0x000007fefe759000 	C:\Windows\system32\USP10.dll
0x000007fefc030000 - 0x000007fefc224000 	C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007fefe8e0000 - 0x000007fefe951000 	C:\Windows\system32\SHLWAPI.dll
0x000007fefda60000 - 0x000007fefda8e000 	C:\Windows\system32\IMM32.DLL
0x000007fefe580000 - 0x000007fefe689000 	C:\Windows\system32\MSCTF.dll
0x000007fefd530000 - 0x000007fefd561000 	C:\Windows\system32\nvinitx.dll
0x000000000f000000 - 0x000000000f006000 	C:\Program Files\NVIDIA Corporation\CoProcManager\_etoured.dll
0x000007fefa720000 - 0x000007fefa77f000 	C:\Program Files\NVIDIA Corporation\CoProcManager\nvd3d9wrapx.dll
0x000007fefe190000 - 0x000007fefe367000 	C:\Windows\system32\SETUPAPI.dll
0x000007fefda20000 - 0x000007fefda56000 	C:\Windows\system32\CFGMGR32.dll
0x000007feff8b0000 - 0x000007feff987000 	C:\Windows\system32\OLEAUT32.dll
0x000007fefe370000 - 0x000007fefe573000 	C:\Windows\system32\ole32.dll
0x000007fefd720000 - 0x000007fefd73a000 	C:\Windows\system32\DEVOBJ.dll
0x000007fefa6d0000 - 0x000007fefa716000 	C:\Program Files\NVIDIA Corporation\CoProcManager\nvdxgiwrapx.dll
0x00000000787c0000 - 0x0000000078892000 	C:\Program Files\Java\jdk1.7.0_51\jre\bin\msvcr100.dll
0x0000000067400000 - 0x0000000067bc9000 	C:\Program Files\Java\jdk1.7.0_51\jre\bin\server\jvm.dll
0x000007fefae30000 - 0x000007fefae39000 	C:\Windows\system32\WSOCK32.dll
0x000007fefdcd0000 - 0x000007fefdd1d000 	C:\Windows\system32\WS2_32.dll
0x000007feffd20000 - 0x000007feffd28000 	C:\Windows\system32\NSI.dll
0x000007fefd9a0000 - 0x000007fefd9db000 	C:\Windows\system32\WINMM.dll
0x0000000077be0000 - 0x0000000077be7000 	C:\Windows\system32\PSAPI.DLL
0x000000006eb10000 - 0x000000006eb1f000 	C:\Program Files\Java\jdk1.7.0_51\jre\bin\verify.dll
0x00000000673d0000 - 0x00000000673f8000 	C:\Program Files\Java\jdk1.7.0_51\jre\bin\java.dll
0x00000000673b0000 - 0x00000000673c5000 	C:\Program Files\Java\jdk1.7.0_51\jre\bin\zip.dll
0x000007fefb400000 - 0x000007fefb40d000 	D:\VS_Workspace\UseJavaString\x64\Debug\UseJavaString.dll
0x000000000f4f0000 - 0x000000000f6bd000 	C:\Windows\system32\MSVCR100D.dll
0x000007feeefc0000 - 0x000007feef0e5000 	C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -Dfile.encoding=GBK 
java_command: com.anna.MainTest
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51
CLASSPATH=.;C:\Program Files\Java\jdk1.7.0_51\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_51\lib\tools.jar
PATH=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=ANNA
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel



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

OS: Windows 7 , 64 bit Build 7601 Service Pack 1

CPU: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, tscinvbit

Memory: 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++:1600

time: Mon Sep 01 10:45:44 2014
elapsed time: 2 seconds

 

JNI学习中——JVM错误:EXCEPTION_ACCESS_VIOLATION (0xc0000005)

标签:android   http   os   io   java   ar   for   2014   cti   

原文地址:http://www.cnblogs.com/annaivsu/p/3948900.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!