恐慌时恐慌

时间:2016-01-28 09:31:34

标签: go

在Go(go1.2.1 linux / amd64)中运行http服务器时,我收到一个罕见的错误。

unexpected fault address 0xb84004
fatal error: fault
[signal 0x7 code=0x2 addr=0xb84004 pc=0x421d62]

goroutine 1 [running]:
unexpected fault address 0xacb59c
panic during panic

这只发生过一次,到目前为止,经过近一周的运行并且无法再现。但是,我仍然想知道这意味着什么以及如何发生这种情况。遗憾的是,我无法提供任何代码示例,因为我不知道它可能发生在哪里并且代码不是开源的(还),所以我正在寻找更一般的答案。任何人吗?

1 个答案:

答案 0 :(得分:-1)

内核版本:

  

Linux 3.16.0-4-amd64#1 SMP Debian 3.16.39-1(2016-12-30)x86_64 GNU / Linux

在跑步时遇到几个不同的:

  

traefik_linux-arm64 --configFile = /etc/traefik.toml

错误1:

fatal error: fatal error: unexpected signal during runtime execution
panic during panic

goroutine 0 [idle]:
fatal error: unexpected signal during runtime execution
stack trace unavailable

错误2:

qemu: unhandled CPU exception 0x10004 - aborting
PC=0000000000060688  SP=00000040008002d0
X00=000000000000001e X01=00000000027a5df0 X02=0000000000000001 X03=0000000000000000
X04=0000000000000001 X05=0000000000000004 X06=0000000000000001 X07=00000144200180b0
X08=00000000027a68c0 X09=00000144200180a8 X10=0000000000000000 X11=0000000000000000
X12=0000000000000000 X13=000001441fffc4fd X14=0000000000000008 X15=0000000000000000
X16=0000004000800328 X17=00000040008003a0 X18=0000000000000000 X19=0000000000000000
X20=0000000000000000 X21=0000000000000000 X22=0000000000000000 X23=0000000000000000
X24=0000000000000000 X25=0000000000000000 X26=000000000187aab0 X27=00000000027c735c
X28=00000000027a61a0 X29=0000000000000000 X30=000000000001d964 PSTATE=80000000 (flags N---)

Aborted

错误3:

Segmentation fault

错误4:

/build/qemu-XXUWBP/qemu-2.1+dfsg/tcg/optimize.c:434: tcg fatal error
Aborted

错误5:

fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x581c4af8 pc=0x61544]

runtime stack:
github.com/containous/traefik/vendor/github.com/miekg/dns.packSaltWire(0x7, 0x35b98, 0x0, 0xaa1195a646299, 0x1660, 0x3b9bc, 0x144200004b8)
    /go/src/github.com/containous/traefik/vendor/github.com/miekg/dns/nsecx.go:117 +0x78

goroutine 1 [runnable, locked to thread]:
runtime.init.2()
    /usr/local/go/src/runtime/panic.go:180 +0x84
runtime.init()
    <autogenerated>:1 +0xe0
runtime.main()
    /usr/local/go/src/runtime/proc.go:141 +0xc0
runtime.goexit()
    /usr/local/go/src/runtime/asm_arm64.s:931 +0x4

错误6:

fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
SIGILL: illegal instructionfatal: morestack on g0

fatal: morestack on g0
PC=0x14420008d80fatal: morestack on g0
 m=1fatal: morestack on g0
 sigcode=2fatal: morestack on g0


fatal: morestack on g0
goroutine 0fatal: morestack on g0
 [idlefatal: morestack on g0
]:

fatal: morestack on g0
goroutine 1fatal: morestack on g0
 [runnablefatal: morestack on g0
, locked to thread]:
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
runtime.init.1fatal: morestack on g0
()
fatal: morestack on g0
    /usr/local/go/src/runtime/mstats.gofatal: morestack on g0
:438fatal: morestack on g0
 +0xc8fatal: morestack on g0

runtime.init()
fatal: morestack on g0
    fatal: morestack on g0
<autogenerated>:fatal: morestack on g0
1 +0xdc
fatal: morestack on g0
runtime.main(fatal: morestack on g0
)
    fatal: morestack on g0
/usr/local/go/src/runtime/proc.go:fatal: morestack on g0
141 +0xc0fatal: morestack on g0

fatal: morestack on g0
runtime.goexit(fatal: morestack on g0
)
    /usr/local/go/src/runtime/asm_arm64.sfatal: morestack on g0
:931 +fatal: morestack on g0
0x4
fatal: morestack on g0

r0      fatal: morestack on g0
0x0
fatal: morestack on g0
r1      0x0fatal: morestack on g0

r2      fatal: morestack on g0
0x14420000300
fatal: morestack on g0
r3      0x14420008d68fatal: morestack on g0

r4      fatal: morestack on g0
0x14420008d68
r5      fatal: morestack on g0
0x14420002000
fatal: morestack on g0
r6      0xf4240fatal: morestack on g0

r7      fatal: morestack on g0
0x0
fatal: morestack on g0
r8      0x48fatal: morestack on g0

r9      fatal: morestack on g0
0x0
r10     fatal: morestack on g0
0x14420050000
r11     fatal: morestack on g0
0x14420000480
fatal: morestack on g0
r12     0x3b970fatal: morestack on g0

r13     fatal: morestack on g0
0x1441fffffd0fatal: morestack on g0

r14     fatal: morestack on g0
0x8
fatal: morestack on g0
r15     0x0fatal: morestack on g0

r16     fatal: morestack on g0
0x14420008d00
r17     fatal: morestack on g0
0x0
fatal: morestack on g0
r18     0x0fatal: morestack on g0

r19     fatal: morestack on g0
0x0
fatal: morestack on g0
r20     0x0fatal: morestack on g0

r21     fatal: morestack on g0
0x0
r22     fatal: morestack on g0
0x0
r23     fatal: morestack on g0
0x0fatal: morestack on g0

r24     fatal: morestack on g0
0x0
r25     fatal: morestack on g0
0x0
fatal: morestack on g0
r26     0x187ab40fatal: morestack on g0

r27     0x27c72b6fatal: morestack on g0

r28     fatal: morestack on g0
0x14420000300
fatal: morestack on g0
r29     0x14420009fe0fatal: morestack on g0

lr      fatal: morestack on g0
0x14420008d80
fatal: morestack on g0
sp      0x14420008ca0fatal: morestack on g0

pc      fatal: morestack on g0
0x14420008d80
fatal: morestack on g0
fault   0x0fatal: morestack on g0

错误等OMG