7

用 goglang 提示错误,怎么解决,各位大神

 2 years ago
source link: https://studygolang.com/articles/10299?fr=sidebar
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

用 goglang 提示错误,怎么解决,各位大神

buttonwild · 2017-07-09 15:02:50 · 1379 次点击 · 预计阅读时间 13 分钟 · 大约8小时之前 开始浏览    
这是一个创建于 2017-07-09 15:02:50 的文章,其中的信息可能已经有所发展或是发生改变。

每次打开后桌面自动生成一个错误的文本文件,各位大神看看。

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=25096, tid=0x0000000000005bfc
#
# JRE version:  (8.0_112-b21) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.112-b21 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  0x0000000000000000
#
# 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
#

---------------  T H R E A D  ---------------

Current thread (0x000000000233e000):  JavaThread "Unknown thread" [_thread_in_Java, id=23548, stack(0x0000000000050000,0x0000000000150000)]

siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x0000000000000008 0x0000000000000000

Registers:
RAX=0x0000000000000000, RBX=0x0000000016d50d20, RCX=0x00000000d1200d10, RDX=0x0000000010500001
RSP=0x000000000014ea38, RBP=0x000000000014ea88, RSI=0x000000000233e000, RDI=0x00000000ffffffff
R8 =0x0000000000000004, R9 =0x0000000002338350, R10=0x0000000063287630, R11=0x0000000016b85000
R12=0x0000000000000000, R13=0x000000000014ea40, R14=0x000000000014ea90, R15=0x000000000233e000
RIP=0x0000000000000000, EFLAGS=0x0000000000010246

Top of Stack: (sp=0x000000000014ea38)
0x000000000014ea38:   0000000003f97870 00000000d1200d10
0x000000000014ea48:   000000000014ea48 0000000016d5d0a2
0x000000000014ea58:   000000000014ea90 0000000016debff0
0x000000000014ea68:   0000000000000000 0000000016d5d0e0
0x000000000014ea78:   000000000014ea40 000000000014ea98
0x000000000014ea88:   000000000014eb70 0000000003f9061a
0x000000000014ea98:   cafebabecafebabe cafebabecafebabe
0x000000000014eaa8:   0000000000000000 0000000000000000
0x000000000014eab8:   0000000000000000 0000000000000000
0x000000000014eac8:   0000000000000000 0000000000000000
0x000000000014ead8:   0000000000000000 0000000000000000
0x000000000014eae8:   0000000000000000 0000000000000000
0x000000000014eaf8:   0000000000000000 0000000000000000
0x000000000014eb08:   cafebabecafebabe cafebabecafebabe
0x000000000014eb18:   cafebabecafebabe cafebabecafebabe
0x000000000014eb28:   0000000000000000 0000000000000000 

Instructions: (pc=0x0000000000000000)
0xffffffffffffffe0:   

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX={method} {0x0000000016d50d28} 'desiredAssertionStatus' '()Z' in 'java/lang/Class'
RCX=0x00000000d1200d10 is an oop
java.lang.Class 
 - klass: 'java/lang/Class'
RDX=0x0000000010500001 is an unknown value
RSP=0x000000000014ea38 is pointing into the stack for thread: 0x000000000233e000
RBP=0x000000000014ea88 is pointing into the stack for thread: 0x000000000233e000
RSI=0x000000000233e000 is a thread
RDI=0x00000000ffffffff is an unallocated location in the heap
R8 =0x0000000000000004 is an unknown value
R9 =0x0000000002338350 is an unknown value
R10=0x0000000063287630 is an unknown value
R11=0x0000000016b85000 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x000000000014ea40 is pointing into the stack for thread: 0x000000000233e000
R14=0x000000000014ea90 is pointing into the stack for thread: 0x000000000233e000
R15=0x000000000233e000 is a thread

Stack: [0x0000000000050000,0x0000000000150000],  sp=0x000000000014ea38,  free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

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

Java Threads: ( => current thread )
=>0x000000000233e000 JavaThread "Unknown thread" [_thread_in_Java, id=23548, stack(0x0000000000050000,0x0000000000150000)]

Other Threads:
  0x0000000016cfb000 VMThread [stack: 0x0000000017540000,0x0000000017640000] [id=17000]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap:
 par new generation   total 39296K, used 698K [0x00000000d1200000, 0x00000000d3ca0000, 0x00000000e0c00000)
  eden space 34944K,   2% used [0x00000000d1200000, 0x00000000d12aeb90, 0x00000000d3420000)
  from space 4352K,   0% used [0x00000000d3420000, 0x00000000d3420000, 0x00000000d3860000)
  to   space 4352K,   0% used [0x00000000d3860000, 0x00000000d3860000, 0x00000000d3ca0000)
 concurrent mark-sweep generation total 87424K, used 0K [0x00000000e0c00000, 0x00000000e6160000, 0x0000000100000000)
 Metaspace       used 776K, capacity 4480K, committed 4480K, reserved 1056768K
  class space    used 74K, capacity 384K, committed 384K, reserved 1048576K

Card table byte_map: [0x0000000013750000,0x00000000138d0000] byte_map_base: 0x00000000130c7000

Marking Bits: (CMSBitMap*) 0x0000000003ee9f98
 Bits: [0x0000000013e20000, 0x00000000145f0000)

Mod Union Table: (CMSBitMap*) 0x0000000003eea058
 Bits: [0x0000000002280000, 0x000000000229f400)

Polling page: 0x00000000001f0000

CodeCache: size=245760Kb used=384Kb max_used=384Kb free=245375Kb
 bounds [0x0000000003f90000, 0x0000000004200000, 0x0000000012f90000]
 total_blobs=63 nmethods=0 adapters=38
 compilation: enabled

Compilation events (0 events):
No events

GC Heap History (0 events):
No events

Deoptimization events (0 events):
No events

Internal exceptions (0 events):
No events

Events (10 events):
Event: 0.108 loading class java/lang/Integer done
Event: 0.108 loading class java/lang/Long
Event: 0.108 loading class java/lang/Long done
Event: 0.109 loading class java/lang/NullPointerException
Event: 0.109 loading class java/lang/NullPointerException done
Event: 0.109 loading class java/lang/ArithmeticException
Event: 0.109 loading class java/lang/ArithmeticException done
Event: 0.109 Thread 0x000000000233e000 Thread added: 0x000000000233e000
Event: 0.110 loading class com/yourkit/runtime/Callback
Event: 0.110 loading class com/yourkit/runtime/Callback done

Dynamic libraries:
0x0000000140000000 - 0x000000014014c000     C:\Program Files\JetBrains\Gogland 171.4694.61\bin\gogland64.exe
0x00007ff88e490000 - 0x00007ff88e66b000     C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ff88e0f0000 - 0x00007ff88e19e000     C:\WINDOWS\System32\KERNEL32.DLL
0x00007ff88b5d0000 - 0x00007ff88b819000     C:\WINDOWS\System32\KERNELBASE.dll
0x00007ff88c1a0000 - 0x00007ff88c2ea000     C:\WINDOWS\System32\USER32.dll
0x00007ff88aa60000 - 0x00007ff88aa7e000     C:\WINDOWS\System32\win32u.dll
0x00007ff88e000000 - 0x00007ff88e027000     C:\WINDOWS\System32\GDI32.dll
0x00007ff88aa80000 - 0x00007ff88ac08000     C:\WINDOWS\System32\gdi32full.dll
0x00007ff88b530000 - 0x00007ff88b5ca000     C:\WINDOWS\System32\msvcp_win.dll
0x00007ff88ac70000 - 0x00007ff88ad66000     C:\WINDOWS\System32\ucrtbase.dll
0x00007ff88c490000 - 0x00007ff88c531000     C:\WINDOWS\System32\ADVAPI32.dll
0x00007ff88baa0000 - 0x00007ff88bb3d000     C:\WINDOWS\System32\msvcrt.dll
0x00007ff88e3d0000 - 0x00007ff88e429000     C:\WINDOWS\System32\sechost.dll
0x00007ff88deb0000 - 0x00007ff88dfd5000     C:\WINDOWS\System32\RPCRT4.dll
0x00007ff88ca70000 - 0x00007ff88dea7000     C:\WINDOWS\System32\SHELL32.dll
0x00007ff88ad70000 - 0x00007ff88adb9000     C:\WINDOWS\System32\cfgmgr32.dll
0x00007ff88e210000 - 0x00007ff88e2ba000     C:\WINDOWS\System32\shcore.dll
0x00007ff88c5a0000 - 0x00007ff88c899000     C:\WINDOWS\System32\combase.dll
0x00007ff88adc0000 - 0x00007ff88ae2a000     C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ff88ae30000 - 0x00007ff88b522000     C:\WINDOWS\System32\windows.storage.dll
0x00007ff88e1a0000 - 0x00007ff88e1f1000     C:\WINDOWS\System32\shlwapi.dll
0x00007ff88a970000 - 0x00007ff88a981000     C:\WINDOWS\System32\kernel.appcore.dll
0x00007ff88a920000 - 0x00007ff88a96c000     C:\WINDOWS\System32\powrprof.dll
0x00007ff88a900000 - 0x00007ff88a915000     C:\WINDOWS\System32\profapi.dll
0x00007ff88ba70000 - 0x00007ff88ba9d000     C:\WINDOWS\System32\IMM32.DLL
0x0000000062ae0000 - 0x000000006331b000     C:\Program Files\JetBrains\Gogland 171.4694.61\jre64\bin\server\jvm.dll
0x00007ff88c020000 - 0x00007ff88c028000     C:\WINDOWS\System32\PSAPI.DLL
0x00007ff87c6d0000 - 0x00007ff87c6d9000     C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ff88ca00000 - 0x00007ff88ca6c000     C:\WINDOWS\System32\WS2_32.dll
0x00007ff8841a0000 - 0x00007ff8841aa000     C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ff888d80000 - 0x00007ff888da3000     C:\WINDOWS\SYSTEM32\WINMM.dll
0x0000000062a00000 - 0x0000000062ad2000     C:\WINDOWS\SYSTEM32\MSVCR100.dll
0x00007ff888c10000 - 0x00007ff888c3b000     C:\WINDOWS\SYSTEM32\winmmbase.dll
0x00007ff87c1a0000 - 0x00007ff87c1af000     C:\Program Files\JetBrains\Gogland 171.4694.61\jre64\bin\verify.dll
0x00007ff877940000 - 0x00007ff877969000     C:\Program Files\JetBrains\Gogland 171.4694.61\jre64\bin\java.dll
0x00007ff84ddf0000 - 0x00007ff84e076000     C:\Program Files\JetBrains\Gogland 171.4694.61\bin\yjpagent64.dll
0x00007ff88a7c0000 - 0x00007ff88a7e9000     C:\WINDOWS\SYSTEM32\USERENV.dll
0x00007ff889b90000 - 0x00007ff889bc1000     C:\WINDOWS\SYSTEM32\ntmarta.dll
0x00007ff88a790000 - 0x00007ff88a7c0000     C:\WINDOWS\SYSTEM32\SspiCli.dll
0x00007ff877920000 - 0x00007ff877936000     C:\Program Files\JetBrains\Gogland 171.4694.61\jre64\bin\zip.dll
0x00007ff885290000 - 0x00007ff885439000     C:\WINDOWS\SYSTEM32\dbghelp.dll

VM Arguments:
jvm_args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -XX:MaxJavaStackTraceDepth=-1 -agentlib:yjpagent64=probe_disable=*,disablealloc,disabletracing,onlylocal,disableexceptiontelemetry,delay=10000,sessionname=Gogland1.0 -Djb.vmOptionsFile=C:\Program Files\JetBrains\Gogland 171.4694.61\bin\gogland64.exe.vmoptions -Xbootclasspath/a:C:\Program Files\JetBrains\Gogland 171.4694.61\lib\boot.jar -Didea.platform.prefix=Gogland -Didea.paths.selector=Gogland1.0 -XX:ErrorFile=C:\Users\懋\java_error_in_gogland_%p.log -XX:HeapDumpPath=C:\Users\懋\java_error_in_gogland.hprof 
java_command: <unknown>
java_class_path (initial): C:\Program Files\JetBrains\Gogland 171.4694.61\lib\bootstrap.jar;C:\Program Files\JetBrains\Gogland 171.4694.61\lib\extensions.jar;C:\Program Files\JetBrains\Gogland 171.4694.61\lib\util.jar;C:\Program Files\JetBrains\Gogland 171.4694.61\lib\jdom.jar;C:\Program Files\JetBrains\Gogland 171.4694.61\lib\log4j.jar;C:\Program Files\JetBrains\Gogland 171.4694.61\lib\trove4j.jar;C:\Program Files\JetBrains\Gogland 171.4694.61\lib\jna.jar
Launcher Type: generic

Environment Variables:
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;F:\Go\bin;C:\Users\郭玮\AppData\Local\Microsoft\WindowsApps;F:\Go\\bin;
USERNAME=郭玮
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 9, GenuineIntel

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

OS: Windows 10.0 , 64 bit Build 15063 (10.0.15063.296)

CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 158 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, tsc, tscinvbit, bmi1, bmi2, adx

Memory: 4k page, physical 8254076k(5421820k free), swap 9368188k(5343404k free)

vm_info: OpenJDK 64-Bit Server VM (25.112-b21) for windows-amd64 JRE (1.8.0_112-release-736-b21), built on Apr 21 2017 14:18:47 by "builduser" with MS VC++ 10.0 (VS2010)

time: Sun Jul 09 22:52:13 2017
elapsed time: 0 seconds (0d 0h 0m 0s)


有疑问加站长微信联系(非本文作者)

280

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:701969077


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK