Skip to content

Instantly share code, notes, and snippets.

@dspezia
Created June 8, 2015 09:51
Show Gist options
  • Save dspezia/d7e44dd0f60a7d8aefc3 to your computer and use it in GitHub Desktop.
Save dspezia/d7e44dd0f60a7d8aefc3 to your computer and use it in GitHub Desktop.
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x80 addr=0x0 pc=0x41be2a]
runtime stack:
runtime.throw(0x7586d0, 0x2a)
/data2/ds/local/go/src/runtime/panic.go:527 +0x96
runtime.sigpanic()
/data2/ds/local/go/src/runtime/sigpanic_unix.go:12 +0x5a
runtime.mSpan_Sweep(0x7f9a7c0b8c00, 0xa1900000a00, 0xc01)
/data2/ds/local/go/src/runtime/mgcsweep.go:182 +0x1ba
runtime.sweepone(0x1)
/data2/ds/local/go/src/runtime/mgcsweep.go:97 +0x15e
runtime.gosweepone.func1()
/data2/ds/local/go/src/runtime/mgcsweep.go:109 +0x21
runtime.systemstack(0x7f9a7eaf9d90)
/data2/ds/local/go/src/runtime/asm_amd64.s:278 +0xb1
runtime.gosweepone(0x87bb38)
/data2/ds/local/go/src/runtime/mgcsweep.go:110 +0x3d
runtime.mCentral_CacheSpan(0x87c000, 0xc208036000)
/data2/ds/local/go/src/runtime/mcentral.go:43 +0xa8
runtime.mCache_Refill(0x7f9a8bb95398, 0x2, 0xc209902a00)
/data2/ds/local/go/src/runtime/mcache.go:118 +0xd2
runtime.mallocgc.func1()
/data2/ds/local/go/src/runtime/malloc.go:576 +0x28
runtime.systemstack(0xc20803ca00)
/data2/ds/local/go/src/runtime/asm_amd64.s:262 +0x7c
runtime.mstart()
/data2/ds/local/go/src/runtime/proc1.go:656
goroutine 3293 [running]:
runtime.systemstack_switch()
/data2/ds/local/go/src/runtime/asm_amd64.s:216 fp=0xc20a2d57c0 sp=0xc20a2d57b8
runtime.mallocgc(0xe, 0x0, 0x3, 0x53fd73)
/data2/ds/local/go/src/runtime/malloc.go:577 +0x301 fp=0xc20a2d5890 sp=0xc20a2d57c0
runtime.rawstring(0xe, 0x0, 0x0, 0x0, 0x0, 0x0)
/data2/ds/local/go/src/runtime/string.go:264 +0x70 fp=0xc20a2d58d8 sp=0xc20a2d5890
runtime.rawstringtmp(0x0, 0xe, 0x0, 0x0, 0x0, 0x0, 0x0)
/data2/ds/local/go/src/runtime/string.go:107 +0xb7 fp=0xc20a2d5910 sp=0xc20a2d58d8
runtime.slicebytetostring(0x0, 0xc209f13000, 0xe, 0x1000, 0x0, 0x0)
/data2/ds/local/go/src/runtime/string.go:89 +0x6f fp=0xc20a2d59a8 sp=0xc20a2d5910
net/textproto.(*Reader).ReadLine(0xc20aa0a210, 0x0, 0x0, 0x0, 0x0)
/data2/ds/local/go/src/net/textproto/reader.go:37 +0x8e fp=0xc20a2d5a08 sp=0xc20a2d59a8
net/http.ReadRequest(0xc208e5eba0, 0xc20a6960d0, 0x0, 0x0)
/data2/ds/local/go/src/net/http/request.go:624 +0xb6 fp=0xc20a2d5b80 sp=0xc20a2d5a08
net/http.(*conn).readRequest(0xc2092ffcc0, 0x0, 0x0, 0x0)
/data2/ds/local/go/src/net/http/server.go:614 +0x255 fp=0xc20a2d5c40 sp=0xc20a2d5b80
net/http.(*conn).serve(0xc2092ffcc0)
/data2/ds/local/go/src/net/http/server.go:1217 +0x727 fp=0xc20a2d5f98 sp=0xc20a2d5c40
runtime.goexit()
/data2/ds/local/go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc20a2d5fa0 sp=0xc20a2d5f98
created by net/http.(*Server).Serve
/data2/ds/local/go/src/net/http/server.go:1807 +0x3f6
...
runtime: g188: leftover defer sp=0x0 pc=0xc208b6e000
defer 0xc208499f80 sp=0x0 pc=0xc208b6e000
fatal error: traceback has leftover defers
runtime stack:
runtime.throw(0x7431d0, 0x1d)
/data2/ds/local/go/src/runtime/panic.go:527 +0x96
runtime.gentraceback(0x42a2c9, 0xc209154480, 0x0, 0xc208849760, 0x0, 0x0, 0x7fffffff, 0x7fff77840158, 0x0, 0x0, ...)
/data2/ds/local/go/src/runtime/traceback.go:472 +0x895
runtime.scanstack(0xc208849760)
/data2/ds/local/go/src/runtime/mgcmark.go:385 +0x37d
runtime.gcphasework(0xc208849760)
/data2/ds/local/go/src/runtime/mgcmark.go:273 +0x6d
runtime.stopg(0xc208849760, 0x4)
/data2/ds/local/go/src/runtime/proc1.go:395 +0x8e
runtime.markroot(0xc20801a060, 0x98)
/data2/ds/local/go/src/runtime/mgcmark.go:138 +0x1ef
runtime.parfordo(0xc20801a060)
/data2/ds/local/go/src/runtime/parfor.go:95 +0x12a
runtime.gcscan_m()
/data2/ds/local/go/src/runtime/mgcmark.go:37 +0xde
runtime.gc.func1()
/data2/ds/local/go/src/runtime/mgc.go:843 +0x5c
runtime.systemstack(0x86d058)
/data2/ds/local/go/src/runtime/asm_amd64.s:262 +0x7c
runtime.mstart()
/data2/ds/local/go/src/runtime/proc1.go:656
goroutine 162 [garbage collection scan]:
runtime.systemstack_switch()
/data2/ds/local/go/src/runtime/asm_amd64.s:216 fp=0xc208779ce8 sp=0xc208779ce0
runtime.gc(0x0)
/data2/ds/local/go/src/runtime/mgc.go:855 +0x1d9 fp=0xc208779f90 sp=0xc208779ce8
runtime.backgroundgc()
/data2/ds/local/go/src/runtime/mgc.go:775 +0x3d fp=0xc208779fc0 sp=0xc208779f90
runtime.goexit()
/data2/ds/local/go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc208779fc8 sp=0xc208779fc0
created by runtime.startGC
/data2/ds/local/go/src/runtime/mgc.go:748 +0x147
...
fatal error: deferproc: d.panic != nil after newdefer
runtime stack:
runtime.throw(0x750bd0, 0x28)
/data2/ds/local/go/src/runtime/panic.go:527 +0x96
runtime.deferproc.func1()
/data2/ds/local/go/src/runtime/panic.go:74 +0x7c
runtime.systemstack(0xc20803e000)
/data2/ds/local/go/src/runtime/asm_amd64.s:262 +0x7c
runtime.mstart()
/data2/ds/local/go/src/runtime/proc1.go:656
goroutine 734 [running]:
runtime.systemstack_switch()
/data2/ds/local/go/src/runtime/asm_amd64.s:216 fp=0xc209df1a18 sp=0xc209df1a10
runtime.deferproc(0xc200000008, 0x77eca8)
/data2/ds/local/go/src/runtime/panic.go:80 +0xbb fp=0xc209df1a70 sp=0xc209df1a18
net/http.(*conn).hijacked(0xc2080b32c0, 0xc20814c200)
/data2/ds/local/go/src/net/http/server.go:136 +0x66 fp=0xc209df1a90 sp=0xc209df1a70
net/http.(*response).write(0xc208baaf20, 0xd, 0x8517a8, 0xd, 0xd, 0x0, 0x0, 0xc, 0x0, 0x0)
/data2/ds/local/go/src/net/http/server.go:1041 +0x3c fp=0xc209df1ad0 sp=0xc209df1a90
net/http.(*response).Write(0xc208baaf20, 0x8517a8, 0xd, 0xd, 0xa, 0x0, 0x0)
/data2/ds/local/go/src/net/http/server.go:1032 +0x64 fp=0xc209df1b28 sp=0xc209df1ad0
main.plaintextHandler(0x7f129bb30000, 0xc208baaf20, 0xc208f80820)
/data2/ds/wrk/hello.go:20 +0x9b fp=0xc209df1b68 sp=0xc209df1b28
net/http.HandlerFunc.ServeHTTP(0x77e668, 0x7f129bb30000, 0xc208baaf20, 0xc208f80820)
/data2/ds/local/go/src/net/http/server.go:1320 +0x3a fp=0xc209df1b88 sp=0xc209df1b68
net/http.(*ServeMux).ServeHTTP(0xc20800ea80, 0x7f129bb30000, 0xc208baaf20, 0xc208f80820)
/data2/ds/local/go/src/net/http/server.go:1597 +0x17d fp=0xc209df1be0 sp=0xc209df1b88
net/http.serverHandler.ServeHTTP(0xc20801a180, 0x7f129bb30000, 0xc208baaf20, 0xc208f80820)
/data2/ds/local/go/src/net/http/server.go:1759 +0x19e fp=0xc209df1c40 sp=0xc209df1be0
net/http.(*conn).serve(0xc2080b32c0)
/data2/ds/local/go/src/net/http/server.go:1259 +0xbea fp=0xc209df1f98 sp=0xc209df1c40
runtime.goexit()
/data2/ds/local/go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc209df1fa0 sp=0xc209df1f98
created by net/http.(*Server).Serve
/data2/ds/local/go/src/net/http/server.go:1807 +0x3f6
...
runtime: g1109: leftover defer sp=0xdeaddeaddeaddead pc=0x4e37eb
defer 0xc208252e40 sp=0xdeaddeaddeaddead pc=0x4e37eb
defer 0xc208577130 sp=0xc209d01c40 pc=0x46c943
fatal error: traceback has leftover defers
runtime stack:
runtime.throw(0x7431d0, 0x1d)
/data2/ds/local/go/src/runtime/panic.go:527 +0x96
runtime.gentraceback(0x42a2c9, 0xc209d01470, 0x0, 0xc2088d4580, 0x0, 0x0, 0x7fffffff, 0x7f2736a3ec50, 0x0, 0x0, ...)
/data2/ds/local/go/src/runtime/traceback.go:472 +0x895
runtime.scanstack(0xc2088d4580)
/data2/ds/local/go/src/runtime/mgcmark.go:385 +0x37d
runtime.gcphasework(0xc2088d4580)
/data2/ds/local/go/src/runtime/mgcmark.go:273 +0x6d
runtime.stopg(0xc2088d4580, 0x4)
/data2/ds/local/go/src/runtime/proc1.go:395 +0x8e
runtime.markroot(0xc20801a060, 0x336)
/data2/ds/local/go/src/runtime/mgcmark.go:138 +0x1ef
runtime.parfordo(0xc20801a060)
/data2/ds/local/go/src/runtime/parfor.go:95 +0x12a
runtime.gcscan_m()
/data2/ds/local/go/src/runtime/mgcmark.go:37 +0xde
runtime.gc.func1()
/data2/ds/local/go/src/runtime/mgc.go:843 +0x5c
runtime.systemstack(0xc208047500)
/data2/ds/local/go/src/runtime/asm_amd64.s:262 +0x7c
runtime.mstart()
/data2/ds/local/go/src/runtime/proc1.go:656
goroutine 162 [garbage collection scan]:
runtime.systemstack_switch()
/data2/ds/local/go/src/runtime/asm_amd64.s:216 fp=0xc2087d94e8 sp=0xc2087d94e0
runtime.gc(0x0)
/data2/ds/local/go/src/runtime/mgc.go:855 +0x1d9 fp=0xc2087d9790 sp=0xc2087d94e8
runtime.backgroundgc()
/data2/ds/local/go/src/runtime/mgc.go:775 +0x3d fp=0xc2087d97c0 sp=0xc2087d9790
runtime.goexit()
/data2/ds/local/go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc2087d97c8 sp=0xc2087d97c0
created by runtime.startGC
/data2/ds/local/go/src/runtime/mgc.go:748 +0x147
...
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x80 addr=0x0 pc=0x41be2a]
runtime stack:
runtime.throw(0x7586d0, 0x2a)
/data2/ds/local/go/src/runtime/panic.go:527 +0x96
runtime.sigpanic()
/data2/ds/local/go/src/runtime/sigpanic_unix.go:12 +0x5a
runtime.mSpan_Sweep(0x7f1a294d3ae0, 0xad500000a00, 0xc200000101)
/data2/ds/local/go/src/runtime/mgcsweep.go:182 +0x1ba
runtime.sweepone(0x0)
/data2/ds/local/go/src/runtime/mgcsweep.go:97 +0x15e
runtime.gosweepone.func1()
/data2/ds/local/go/src/runtime/mgcsweep.go:109 +0x21
runtime.systemstack(0x7f1a225fbd90)
/data2/ds/local/go/src/runtime/asm_amd64.s:278 +0xb1
runtime.gosweepone(0x87bb38)
/data2/ds/local/go/src/runtime/mgcsweep.go:110 +0x3d
runtime.mCentral_CacheSpan(0x87d560, 0xc208d9b470)
/data2/ds/local/go/src/runtime/mcentral.go:43 +0xa8
runtime.mCache_Refill(0x7f1a38d6f570, 0x14, 0xc208d9b440)
/data2/ds/local/go/src/runtime/mcache.go:118 +0xd2
runtime.mallocgc.func2()
/data2/ds/local/go/src/runtime/malloc.go:608 +0x2b
runtime.systemstack(0xc208047500)
/data2/ds/local/go/src/runtime/asm_amd64.s:262 +0x7c
runtime.mstart()
/data2/ds/local/go/src/runtime/proc1.go:656
goroutine 124 [running]:
runtime.systemstack_switch()
/data2/ds/local/go/src/runtime/asm_amd64.s:216 fp=0xc209a556b8 sp=0xc209a556b0
runtime.mallocgc(0x160, 0x6a9300, 0x0, 0xc20a90c390)
/data2/ds/local/go/src/runtime/malloc.go:609 +0x7b6 fp=0xc209a55788 sp=0xc209a556b8
runtime.newarray(0x6a9300, 0x1, 0x8f025c91044f1d30)
/data2/ds/local/go/src/runtime/malloc.go:748 +0xc9 fp=0xc209a557c8 sp=0xc209a55788
runtime.mapassign1(0x6d1740, 0xc20a3e2ab0, 0xc209a558c8, 0xc209a55920)
/data2/ds/local/go/src/runtime/hashmap.go:427 +0xfa fp=0xc209a55870 sp=0xc209a557c8
net/http.Header.clone(0xc20a3e2a80, 0x40e400)
/data2/ds/local/go/src/net/http/header.go:65 +0x20e fp=0xc209a559a0 sp=0xc209a55870
net/http.(*response).WriteHeader(0xc20a57c840, 0xc8)
/data2/ds/local/go/src/net/http/server.go:671 +0x102 fp=0xc209a55a90 sp=0xc209a559a0
net/http.(*response).write(0xc20a57c840, 0xd, 0x8517a8, 0xd, 0xd, 0x0, 0x0, 0xc, 0x0, 0x0)
/data2/ds/local/go/src/net/http/server.go:1046 +0xc8 fp=0xc209a55ad0 sp=0xc209a55a90
net/http.(*response).Write(0xc20a57c840, 0x8517a8, 0xd, 0xd, 0xa, 0x0, 0x0)
/data2/ds/local/go/src/net/http/server.go:1032 +0x64 fp=0xc209a55b28 sp=0xc209a55ad0
main.plaintextHandler(0x7f1a34d68058, 0xc20a57c840, 0xc20a5b1450)
/data2/ds/wrk/hello.go:20 +0x9b fp=0xc209a55b68 sp=0xc209a55b28
net/http.HandlerFunc.ServeHTTP(0x77e668, 0x7f1a34d68058, 0xc20a57c840, 0xc20a5b1450)
/data2/ds/local/go/src/net/http/server.go:1320 +0x3a fp=0xc209a55b88 sp=0xc209a55b68
net/http.(*ServeMux).ServeHTTP(0xc20800ea80, 0x7f1a34d68058, 0xc20a57c840, 0xc20a5b1450)
/data2/ds/local/go/src/net/http/server.go:1597 +0x17d fp=0xc209a55be0 sp=0xc209a55b88
net/http.serverHandler.ServeHTTP(0xc20801a180, 0x7f1a34d68058, 0xc20a57c840, 0xc20a5b1450)
/data2/ds/local/go/src/net/http/server.go:1759 +0x19e fp=0xc209a55c40 sp=0xc209a55be0
net/http.(*conn).serve(0xc208600640)
/data2/ds/local/go/src/net/http/server.go:1259 +0xbea fp=0xc209a55f98 sp=0xc209a55c40
runtime.goexit()
/data2/ds/local/go/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc209a55fa0 sp=0xc209a55f98
created by net/http.(*Server).Serve
/data2/ds/local/go/src/net/http/server.go:1807 +0x3f6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment