[已解决]win10 x64中启动Elasticsearch时JVM崩溃EXCEPTION_ACCESS_VIOLATION

[问题]
运行:
elasticsearch-2.1.1.zip
中的:
elasticsearch.bat
其中涉及到java(的JVM虚拟机):
"%JAVA_HOME%\bin\java" %JAVA_OPTS% %ES_JAVA_OPTS% %ES_PARAMS% !newparams! -cp 
"%ES_CLASSPATH%" "org.elasticsearch.bootstrap.Elasticsearch" start
但是运行出错,JVM崩溃了。
对应的出错的log文件:
hs_err_pid8484.log
内容为:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180035c5d, pid=8484, tid=11648
#
# JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.65-b01 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [ASProxy64.dll+0x35c5d]
#
# 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 (0x0000000002482800):  JavaThread “main” [_thread_in_native, id=11648, stack(0x0000000002380000,0x0000000002480000)]
siginfo: ExceptionCode=0xc0000005, writing address 0x0000000044cd7348
Registers:
RAX=0x0000000000000000, RBX=0x000000008003dc55, RCX=0x0000000000424f44, RDX=0x0000000000907140
RSP=0x000000000247e550, RBP=0x0000000000000000, RSI=0x0000000000000000, RDI=0x00000000160a6318
R8 =0x0000000180080358, R9 =0x0000000180069ffa, R10=0x0000000000000000, R11=0x000000000247e4f8
R12=0x0000000000000003, R13=0x0000000016f4e0c0, R14=0x000000000247e700, R15=0x0000000000000006
RIP=0x0000000180035c5d, EFLAGS=0x0000000000010246
Top of Stack: (sp=0x000000000247e550)
0x000000000247e550:   ff00000000160a63 000000018006a080
0x000000000247e560:   0000000180069ffb 00000000160a6318
0x000000000247e570:   00000000024829f8 0000000180036e57
0x000000000247e580:   0000000180080290 0000000000424f30
0x000000000247e590:   0000000180069ffa 000000006b2f8d94
0x000000000247e5a0:   0000000000000000 0000000000000000
0x000000000247e5b0:   0000000000000006 0000000016ec8e60
0x000000000247e5c0:   00000000024829f8 000000006a983d4a
0x000000000247e5d0:   0000000000424f30 00000000024829f8
0x000000000247e5e0:   0000000016ec8e60 0000000016ec94a0
0x000000000247e5f0:   0000000000000003 0000000000424f30
0x000000000247e600:   0000000016ec94a0 0000000000000002
0x000000000247e610:   0000000000000000 0000000000000000
0x000000000247e620:   0000000000000000 0000000000000000
0x000000000247e630:   0000000000000000 0000000002595cc6
0x000000000247e640:   0000000002482800 000000000247e708
Instructions: (pc=0x0000000180035c5d)
0x0000000180035c3d:   8d 1d f8 7f 00 00 53 48 83 ec 20 48 8b d9 48 89
0x0000000180035c4d:   7c 24 ff 25 00 00 00 00 b1 44 8d 1d f8 7f 00 00
0x0000000180035c5d:   01 89 04 24 8b 44 24 04 0f af 04 24 83 c0 02 89
0x0000000180035c6d:   04 24 8b 44 24 04 0f af 04 24 83 c0 03 89 04 24
Register to memory mapping:
RAX=0x0000000000000000 is an unknown value
RBX=0x000000008003dc55 is an unknown value
RCX=0x0000000000424f44 is an unknown value
RDX=0x0000000000907140 is an unknown value
RSP=0x000000000247e550 is pointing into the stack for thread: 0x0000000002482800
RBP=0x0000000000000000 is an unknown value
RSI=0x0000000000000000 is an unknown value
RDI=0x00000000160a6318 is an unknown value
R8 =0x0000000180080358 is an unknown value
R9 =0x0000000180069ffa is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x000000000247e4f8 is pointing into the stack for thread: 0x0000000002482800
R12=0x0000000000000003 is an unknown value
R13=0x0000000016f4e0c0 is an unknown value
R14=0x000000000247e700 is pointing into the stack for thread: 0x0000000002482800
R15=0x0000000000000006 is an unknown value
Stack: [0x0000000002380000,0x0000000002480000],  sp=0x000000000247e550,  free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.net.Inet6AddressImpl.lookupAllHostAddr(Ljava/lang/String;)[Ljava/net/InetAddress;+0
j  java.net.InetAddress$2.lookupAllHostAddr(Ljava/lang/String;)[Ljava/net/InetAddress;+4
j  java.net.InetAddress.getAddressesFromNameService(Ljava/lang/String;Ljava/net/InetAddress;)[Ljava/net/InetAddress;+51
j  java.net.InetAddress.getLocalHost()Ljava/net/InetAddress;+90
j  sun.management.VMManagementImpl.getVmId()Ljava/lang/String;+8
j  sun.management.RuntimeImpl.getName()Ljava/lang/String;+4
j  org.elasticsearch.monitor.jvm.JvmInfo.<clinit>()V+9
v  ~StubRoutines::call_stub
j  org.elasticsearch.bootstrap.Bootstrap.init([Ljava/lang/String;)V+176
j  org.elasticsearch.bootstrap.Elasticsearch.main([Ljava/lang/String;)V+1
v  ~StubRoutines::call_stub
—————  P R O C E S S  —————
Java Threads: ( => current thread )
  0x000000001608b800 JavaThread “Service Thread” daemon [_thread_blocked, id=1540, stack(0x0000000016900000,0x0000000016a00000)]
  0x000000001600b000 JavaThread “C1 CompilerThread2” daemon [_thread_blocked, id=7024, stack(0x0000000016800000,0x0000000016900000)]
  0x0000000016009000 JavaThread “C2 CompilerThread1” daemon [_thread_blocked, id=8976, stack(0x0000000016700000,0x0000000016800000)]
  0x0000000014cad000 JavaThread “C2 CompilerThread0” daemon [_thread_blocked, id=1468, stack(0x0000000016600000,0x0000000016700000)]
  0x0000000014cac000 JavaThread “Attach Listener” daemon [_thread_blocked, id=8636, stack(0x0000000016500000,0x0000000016600000)]
  0x0000000014cab000 JavaThread “Signal Dispatcher” daemon [_thread_blocked, id=11816, stack(0x0000000016400000,0x0000000016500000)]
  0x0000000002578800 JavaThread “Finalizer” daemon [_thread_blocked, id=10208, stack(0x0000000015ea0000,0x0000000015fa0000)]
  0x0000000002570000 JavaThread “Reference Handler” daemon [_thread_blocked, id=8536, stack(0x0000000015da0000,0x0000000015ea0000)]
=>0x0000000002482800 JavaThread “main” [_thread_in_native, id=11648, stack(0x0000000002380000,0x0000000002480000)]
Other Threads:
  0x0000000014c18000 VMThread [stack: 0x0000000015ca0000,0x0000000015da0000] [id=6780]
  0x00000000160d4800 WatcherThread [stack: 0x0000000016a00000,0x0000000016b00000] [id=5856]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
 PSYoungGen      total 76288K, used 17042K [0x00000000eab00000, 0x00000000f0000000, 0x0000000100000000)
  eden space 65536K, 26% used [0x00000000eab00000,0x00000000ebba4ae8,0x00000000eeb00000)
  from space 10752K, 0% used [0x00000000ef580000,0x00000000ef580000,0x00000000f0000000)
  to   space 10752K, 0% used [0x00000000eeb00000,0x00000000eeb00000,0x00000000ef580000)
 ParOldGen       total 175104K, used 0K [0x00000000c0000000, 0x00000000cab00000, 0x00000000eab00000)
  object space 175104K, 0% used [0x00000000c0000000,0x00000000c0000000,0x00000000cab00000)
 Metaspace       used 7935K, capacity 8052K, committed 8192K, reserved 1056768K
  class space    used 938K, capacity 980K, committed 1024K, reserved 1048576K
Card table byte_map: [0x0000000011940000,0x0000000011b50000] byte_map_base: 0x0000000011340000
Marking Bits: (ParMarkBitMap*) 0x000000006b20a5b0
 Begin Bits: [0x00000000120b0000, 0x00000000130b0000)
 End Bits:   [0x00000000130b0000, 0x00000000140b0000)
Polling page: 0x0000000000360000
CodeCache: size=245760Kb used=2346Kb max_used=2359Kb free=243413Kb
 bounds [0x0000000002580000, 0x00000000027f0000, 0x0000000011580000]
 total_blobs=846 nmethods=499 adapters=260
 compilation: enabled
Compilation events (10 events):
Event: 0.996 Thread 0x000000001600b000 nmethod 496 0x00000000027c65d0 code [0x00000000027c6720, 0x00000000027c6830]
Event: 0.996 Thread 0x000000001600b000  497       1       sun.util.calendar.CalendarDate::isNormalized (5 bytes)
Event: 0.996 Thread 0x000000001600b000 nmethod 497 0x00000000027c6890 code [0x00000000027c69e0, 0x00000000027c6af0]
Event: 0.996 Thread 0x000000001600b000  498       3       java.util.Calendar::setFieldsComputed (117 bytes)
Event: 0.996 Thread 0x000000001600b000 nmethod 498 0x00000000027c6b50 code [0x00000000027c6d00, 0x00000000027c71b0]
Event: 0.996 Thread 0x000000001600b000  499       3       sun.util.calendar.BaseCalendar::getFixedDate (324 bytes)
Event: 0.999 Thread 0x000000001600b000 nmethod 499 0x00000000027c7510 code [0x00000000027c7800, 0x00000000027c99d0]
Event: 0.999 Thread 0x000000001600b000  500       3       java.util.Calendar::isFieldSet (14 bytes)
Event: 0.999 Thread 0x000000001600b000 nmethod 500 0x00000000027caed0 code [0x00000000027cb020, 0x00000000027cb1d0]
Event: 1.000 Thread 0x0000000014cad000 nmethod 494 0x00000000027ce3d0 code [0x00000000027ce520, 0x00000000027cea98]
GC Heap History (0 events):
No events
Deoptimization events (1 events):
Event: 0.733 Thread 0x0000000002482800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000026e619c method=sun.nio.cs.UTF_8$Encoder.encode([CII[B)I @ 33
Internal exceptions (10 events):
Event: 0.963 Thread 0x0000000002482800 Exception <a ‘java/lang/ClassNotFoundException’: org/apache/log4j/LayoutCustomizer> (0x00000000eb9ca9c0) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.964 Thread 0x0000000002482800 Exception <a ‘java/lang/ClassNotFoundException’: org/apache/log4j/PatternLayoutCustomizer> (0x00000000eb9d7498) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.980 Thread 0x0000000002482800 Exception <a ‘java/lang/ClassNotFoundException’: org/apache/log4j/DailyRollingFileAppenderBeanInfo> (0x00000000eba3a648) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.980 Thread 0x0000000002482800 Exception <a ‘java/lang/ClassNotFoundException’: org/apache/log4j/FileAppenderBeanInfo> (0x00000000eba422e8) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.980 Thread 0x0000000002482800 Exception <a ‘java/lang/ClassNotFoundException’: org/apache/log4j/WriterAppenderBeanInfo> (0x00000000eba4a470) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.980 Thread 0x0000000002482800 Exception <a ‘java/lang/ClassNotFoundException’: org/apache/log4j/AppenderSkeletonBeanInfo> (0x00000000eba52ec0) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.980 Thread 0x0000000002482800 Exception <a ‘java/lang/ClassNotFoundException’: org/apache/log4j/AppenderSkeletonCustomizer> (0x00000000eba5c038) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.983 Thread 0x0000000002482800 Exception <a ‘java/lang/ClassNotFoundException’: org/apache/log4j/WriterAppenderCustomizer> (0x00000000eba76478) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.984 Thread 0x0000000002482800 Exception <a ‘java/lang/ClassNotFoundException’: org/apache/log4j/FileAppenderCustomizer> (0x00000000eba8aaa8) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 0.985 Thread 0x0000000002482800 Exception <a ‘java/lang/ClassNotFoundException’: org/apache/log4j/DailyRollingFileAppenderCustomizer> (0x00000000ebaa0fb8) thrown at [C:\workspace\8-2-build-windows-amd64-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Events (10 events):
Event: 1.002 loading class sun/management/MemoryImpl
Event: 1.003 loading class java/lang/management/MemoryMXBean
Event: 1.003 loading class java/lang/management/MemoryMXBean done
Event: 1.003 loading class sun/management/NotificationEmitterSupport
Event: 1.003 loading class javax/management/NotificationEmitter
Event: 1.003 loading class javax/management/NotificationBroadcaster
Event: 1.003 loading class javax/management/NotificationBroadcaster done
Event: 1.004 loading class javax/management/NotificationEmitter done
Event: 1.004 loading class sun/management/NotificationEmitterSupport done
Event: 1.004 loading class sun/management/MemoryImpl done
Dynamic libraries:
0x00007ff6546c0000 – 0x00007ff6546f7000     C:\Program Files\Java\jdk1.8.0_65\bin\java.exe
0x00007ff81e050000 – 0x00007ff81e212000     C:\windows\SYSTEM32\ntdll.dll
0x00007ff81d2c0000 – 0x00007ff81d36d000     C:\windows\system32\KERNEL32.DLL
0x00007ff81b540000 – 0x00007ff81b71d000     C:\windows\system32\KERNELBASE.dll
0x00007ff81cf60000 – 0x00007ff81d006000     C:\windows\system32\ADVAPI32.dll
0x00007ff81d520000 – 0x00007ff81d5bd000     C:\windows\system32\msvcrt.dll
0x00007ff81ced0000 – 0x00007ff81cf2b000     C:\windows\system32\sechost.dll
0x00007ff81d930000 – 0x00007ff81da56000     C:\windows\system32\RPCRT4.dll
0x00007ff81d770000 – 0x00007ff81d8be000     C:\windows\system32\USER32.dll
0x00007ff81dc20000 – 0x00007ff81dda6000     C:\windows\system32\GDI32.dll
0x00007ff816000000 – 0x00007ff816274000     C:\windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10240.16384_none_f41f7b285750ef43\COMCTL32.dll
0x00007ff81d080000 – 0x00007ff81d0b6000     C:\windows\system32\IMM32.DLL
0x00007ff81da60000 – 0x00007ff81dbbc000     C:\windows\system32\MSCTF.dll
0x00007ff81a970000 – 0x00007ff81a9a1000     C:\windows\system32\nvinitx.dll
0x00007ff81a960000 – 0x00007ff81a96a000     C:\windows\SYSTEM32\VERSION.dll
0x000000006ca80000 – 0x000000006ca86000     C:\Program Files\NVIDIA Corporation\CoProcManager\_etoured.dll
0x00007ff8184e0000 – 0x00007ff818513000     C:\Program Files\NVIDIA Corporation\CoProcManager\nvd3d9wrapx.dll
0x00007ff81ddc0000 – 0x00007ff81df85000     C:\windows\system32\SETUPAPI.dll
0x00007ff81ac40000 – 0x00007ff81ac84000     C:\windows\system32\CFGMGR32.dll
0x00007ff818490000 – 0x00007ff8184b2000     C:\Program Files\NVIDIA Corporation\CoProcManager\nvdxgiwrapx.dll
0x000000006b290000 – 0x000000006b362000     C:\Program Files\Java\jdk1.8.0_65\jre\bin\msvcr100.dll
0x000000006aa00000 – 0x000000006b289000     C:\Program Files\Java\jdk1.8.0_65\jre\bin\server\jvm.dll
0x00007ff81d620000 – 0x00007ff81d628000     C:\windows\system32\PSAPI.DLL
0x00007ff811570000 – 0x00007ff811579000     C:\windows\SYSTEM32\WSOCK32.dll
0x00007ff818ac0000 – 0x00007ff818ae3000     C:\windows\SYSTEM32\WINMM.dll
0x00007ff81d8c0000 – 0x00007ff81d929000     C:\windows\system32\WS2_32.dll
0x00007ff81cf50000 – 0x00007ff81cf58000     C:\windows\system32\NSI.dll
0x0000000000860000 – 0x000000000088c000     C:\windows\SYSTEM32\WINMMBASE.dll
0x00007ff819280000 – 0x00007ff8192a7000     C:\windows\SYSTEM32\DEVOBJ.dll
0x000000006a9f0000 – 0x000000006a9ff000     C:\Program Files\Java\jdk1.8.0_65\jre\bin\verify.dll
0x000000006a9c0000 – 0x000000006a9e9000     C:\Program Files\Java\jdk1.8.0_65\jre\bin\java.dll
0x000000006a9a0000 – 0x000000006a9b6000     C:\Program Files\Java\jdk1.8.0_65\jre\bin\zip.dll
0x00007ff81b720000 – 0x00007ff81cc42000     C:\windows\system32\SHELL32.dll
0x00007ff81ac90000 – 0x00007ff81b2b8000     C:\windows\system32\windows.storage.dll
0x00007ff81cc50000 – 0x00007ff81cecc000     C:\windows\system32\combase.dll
0x00007ff81dbc0000 – 0x00007ff81dc11000     C:\windows\system32\shlwapi.dll
0x00007ff81aaf0000 – 0x00007ff81aaff000     C:\windows\system32\kernel.appcore.dll
0x00007ff81ab20000 – 0x00007ff81abd3000     C:\windows\system32\shcore.dll
0x00007ff81aa80000 – 0x00007ff81aaca000     C:\windows\system32\powrprof.dll
0x00007ff81ab00000 – 0x00007ff81ab13000     C:\windows\system32\profapi.dll
0x000000006a980000 – 0x000000006a99a000     C:\Program Files\Java\jdk1.8.0_65\jre\bin\net.dll
0x0000000180000000 – 0x000000018008c000     C:\windows\system32\ASProxy64.dll
0x00007ff81d170000 – 0x00007ff81d2b1000     C:\windows\system32\ole32.dll
0x00007ff8197f0000 – 0x00007ff819828000     C:\windows\SYSTEM32\IPHLPAPI.DLL
0x00007ff81a2a0000 – 0x00007ff81a2fd000     C:\windows\SYSTEM32\MSWSOCK.dll
0x00007ff81df90000 – 0x00007ff81e04e000     C:\windows\system32\OLEAUT32.dll
0x00007ff8197e0000 – 0x00007ff8197eb000     C:\windows\SYSTEM32\WINNSI.DLL
0x00007ff81a650000 – 0x00007ff81a67c000     C:\windows\SYSTEM32\SspiCli.dll
0x00007ff81a850000 – 0x00007ff81a8bb000     C:\windows\SYSTEM32\bcryptPrimitives.dll
0x00007ff8192b0000 – 0x00007ff819346000     C:\windows\system32\uxtheme.dll
0x0000000017aa0000 – 0x0000000017b20000     C:\Program Files (x86)\kingsoft\kingsoft antivirus\kwsui64.dll
0x00007ff81d0c0000 – 0x00007ff81d165000     C:\windows\system32\clbcatq.dll
0x00007ff81a300000 – 0x00007ff81a317000     C:\windows\SYSTEM32\cryptsp.dll
0x00007ff81a9b0000 – 0x00007ff81a9d8000     C:\windows\SYSTEM32\bcrypt.dll
0x00007ff819ef0000 – 0x00007ff819f23000     C:\windows\system32\rsaenh.dll
0x00007ff81a470000 – 0x00007ff81a47b000     C:\windows\SYSTEM32\CRYPTBASE.dll
0x00007ff81a8c0000 – 0x00007ff81a958000     C:\windows\SYSTEM32\sxs.dll
0x00007ff816c60000 – 0x00007ff816c76000     C:\windows\SYSTEM32\dhcpcsvc6.DLL
0x00007ff816c40000 – 0x00007ff816c5a000     C:\windows\SYSTEM32\dhcpcsvc.DLL
0x00007ff81a080000 – 0x00007ff81a09f000     C:\windows\SYSTEM32\USERENV.dll
0x000000006a960000 – 0x000000006a971000     C:\Program Files\Java\jdk1.8.0_65\jre\bin\nio.dll
0x000000006a950000 – 0x000000006a95d000     C:\Program Files\Java\jdk1.8.0_65\jre\bin\management.dll
0x00007ff806b50000 – 0x00007ff806b65000     C:\windows\system32\napinsp.dll
0x00007ff806b30000 – 0x00007ff806b4a000     C:\windows\system32\pnrpnsp.dll
0x00007ff8188c0000 – 0x00007ff8188d8000     C:\windows\system32\NLAapi.dll
0x00007ff81a0a0000 – 0x00007ff81a148000     C:\windows\SYSTEM32\DNSAPI.dll
0x00007ff80c950000 – 0x00007ff80c95d000     C:\windows\System32\winrnr.dll
0x00007ff815510000 – 0x00007ff81551a000     C:\Windows\System32\rasadhlp.dll
0x00007ff815530000 – 0x00007ff815598000     C:\windows\System32\fwpuclnt.dll
0x00007ffff91a0000 – 0x00007ffff932a000     C:\windows\SYSTEM32\dbghelp.dll
VM Arguments:
jvm_args: -Xms256m -Xmx1g -Djava.awt.headless=true -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -Dfile.encoding=UTF-8 -Djna.nosys=true -Delasticsearch -Des-foreground=yes -Des.path.home=D:\server\elasticsearch-2.1.1
java_command: org.elasticsearch.bootstrap.Elasticsearch start
java_class_path (initial): D:\server\elasticsearch-2.1.1/lib/elasticsearch-2.1.1.jar;D:\server\elasticsearch-2.1.1/lib/antlr-runtime-3.5.jar;D:\server\elasticsearch-2.1.1/lib/apache-log4j-extras-1.2.17.jar;D:\server\elasticsearch-2.1.1/lib/asm-4.1.jar;D:\server\elasticsearch-2.1.1/lib/asm-commons-4.1.jar;D:\server\elasticsearch-2.1.1/lib/commons-cli-1.3.1.jar;D:\server\elasticsearch-2.1.1/lib/compiler-0.8.13.jar;D:\server\elasticsearch-2.1.1/lib/compress-lzf-1.0.2.jar;D:\server\elasticsearch-2.1.1/lib/elasticsearch-2.1.1.jar;D:\server\elasticsearch-2.1.1/lib/groovy-all-2.4.4-indy.jar;D:\server\elasticsearch-2.1.1/lib/guava-18.0.jar;D:\server\elasticsearch-2.1.1/lib/HdrHistogram-2.1.6.jar;D:\server\elasticsearch-2.1.1/lib/hppc-0.7.1.jar;D:\server\elasticsearch-2.1.1/lib/jackson-core-2.6.2.jar;D:\server\elasticsearch-2.1.1/lib/jackson-dataformat-cbor-2.6.2.jar;D:\server\elasticsearch-2.1.1/lib/jackson-dataformat-smile-2.6.2.jar;D:\server\elasticsearch-2.1.1/lib/jackson-dataformat-yaml-2.6.2.jar;D:\server\elasticsearch-2.1.1/lib/jna-4.1.0.jar;D:\server\elasticsearch-2.1.1/lib/joda-convert-1.2.jar;D:\server\elasticsearch-2.1.1/lib/joda-time-2.8.2.jar;D:\server\elasticsearch-2.1.1/lib/jsr166e-1.1.0.jar;D:\server\elasticsearch-2.1.1/lib/jts-1.13.jar;D:\server\elasticsearch-2.1.1/lib/log4j-1.2.17.jar;D:\server\elasticsearch-2.1.1/lib/lucene-analyzers-common-5.3.1.jar;D:\server\elasticsearch-2.1.1/lib/lucene-backward-codecs-5.3.1.jar;D:\server\elasticsearch-2.1.1/lib/lucene-core-5.3.1.jar;D:\server\elasticsearch-2.1.1/lib/lucene-expressions-5.3.1.jar;D:\server\elasticsearch-2.1.1/lib/lucene-grouping-5.3.1.jar;D:\server\elasticsearch-2.1.1/lib/lucene-highlighter-5.3.1.jar;D:\server\elasticsearch-2.1.1/lib/lucene-join-5.3.1.jar;D:\server\elasticsearch-2.1.1/lib/lucene-memory-5.3.1.jar;D:\server\elasticsearch-2.1.1/lib/lucene-misc-5.3.1.jar;D:\server\elasticsearch-2.1.1/lib/lucene-queries-5.3.1.jar;D:\server\elasticsearch-2.1.1/lib/lucene-queryparser-5.3.1.jar;D:\server\elas
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_65
CLASSPATH=.;C:\Program Files\Java\jdk1.8.0_65\lib;C:\Program Files\Java\jdk1.8.0_65\lib\tools.jar
PATH=C:\Program Files\Java\jdk1.8.0_65\bin;C:\Program Files\Java\jdk1.8.0_65\jre\bin;C:\Python27\;C:\Python27\Scripts;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\TortoiseGit\bin;D:\Program Files\nodejs\;C:\Users\Administrator\AppData\Roaming\npm
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
—————  S Y S T E M  —————
OS: Windows 10.0 , 64 bit Build 10240 (10.0.10240.16384)
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, avx, aes, clmul, ht, tsc, tscinvbit
Memory: 4k page, physical 8195260k(5930844k free), swap 11996348k(8408544k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.65-b01) for windows-amd64 JRE (1.8.0_65-b17), built on Oct  6 2015 16:39:20 by “java_re” with MS VC++ 10.0 (VS2010)
time: Wed Feb 17 10:26:59 2016
elapsed time: 1 seconds (0d 0h 0m 1s)
搜:
win10 elasticsearch EXCEPTION_ACCESS_VIOLATION
win10 x64 jvm EXCEPTION_ACCESS_VIOLATION
按照类似的办法:
先去找:
Top of Stack: (sp=0x000000000247e550)
0x000000000247e550:   ff00000000160a63 000000018006a080
中的
ff00000000160a63
结果没有找到
Dynamic libraries
中有那些dll库的地址范围是包含这个地址的。
又去从:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180035c5d, pid=8484, tid=11648
中得知:
0x0000000180035c5d
然后找到该地址,属于对应的:
Dynamic libraries:
中的范围:
0x0000000180000000 – 0x000000018008c000     C:\windows\system32\ASProxy64.dll
-》所以应该就是ASProxy64.dll出错了,有问题,不兼容而导致的奔溃了。
去搜:
EXCEPTION_ACCESS_VIOLATION pc 0x0000000180035c5d
EXCEPTION_ACCESS_VIOLATION pc 0x000000018
都没有找到遇到同样错误的。
搜:
ASProxy64.dll
得知ASProxy64.dll是:
ASProxy64.dll is part of ASProxy.dll and developed by Astrill according to the ASProxy64.dll version information.
ASProxy64.dll is digitally signed by Astrill.
ASProxy64.dll is usually located in the ‘C:\Windows\system32\’ folder.
-》即,是Astrill(这个翻墙软件)的数字签名证书
-》所以去试试:
关闭(甚至卸载掉)Astrill,再去启动(elasticsearch.bat中所涉及到的)JVM,即可正常运行,不会崩溃了。
[总结]
由此确认是由于
翻墙软件Astrill的数字签名证书所对应的dll库文件:ASProxy64.dll
而导致了Java 1.8的JVM崩溃
从而无法运行elasticsearch.bat的。
[举一反三]
如果以后再遇到类似的,运行某程序而遇到JVM崩溃的话,那么按照同样的思路去解决:
找到出错时的当前的pc地址,即:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=xxxxxxxx
中的xxxxxxxx这个地址(此处0x0000000180035c5d)
看看属于Dynamic libraries中的哪个dll库的地址范围
(此处是属于C:\windows\system32\ASProxy64.dll的地址范围0x0000000180000000 – 0x000000018008c000内的)
然后去搞清楚该dll库文件(ASProxy64.dll)是什么软件的什么库
(是Astrill的数字签名的库)
从而找到对应的解决办法:
(1)禁止JVM运行时加载该dll库(通过对应的环境变了设置,或者启动java(的JVM)时,加上对应的参数去禁止,具体是什么参数,自己google找,举例:JVM加参数-Dsun.java2d.d3d=false或环境变量设置J2D_D3D=false)
(2)退出该dll库所对应的出错的软件:此处用此办法,暂时退出了Astrill
(3)彻底删除该dll库所对应的出错的软件,或者是,重新安装新版本的解决了此bug的该软件
再去重新运行自己的程序,应该就解决JVM崩溃的问题了。
[后记]
后来才注意到,JVM崩溃的日志中,其实已经告诉我们到底是哪个dll库出错的了:
Problematic frame:
# C  [ASProxy64.dll+0x35c5d]
-》也就不需要自己去通过pc指针位置加上Dynamic libraries去找属于哪个dll库了
-》直接去搞清楚ASProxy64.dll是啥,并根据前面说过的解决办法去解决就好了。


发表评论

电子邮件地址不会被公开。 必填项已用*标注

无觅相关文章插件,快速提升流量