Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save g-k/472c647b306ee4fd4888c6f7ebf54dcb to your computer and use it in GitHub Desktop.

Select an option

Save g-k/472c647b306ee4fd4888c6f7ebf54dcb to your computer and use it in GitHub Desktop.
[ec2-user@ip-172-31-20-148 ~]$ ./autograph -D 2>&1 > autograph.log
fatal error: runtime: out of memory
runtime stack:
runtime.throw(0xce7717, 0x16)
/home/ec2-user/go-1.10/go/src/runtime/panic.go:616 +0x81
runtime.sysMap(0xc44b7f0000, 0x57e0000, 0xb0e800, 0x13dd978)
/home/ec2-user/go-1.10/go/src/runtime/mem_linux.go:216 +0x20a
runtime.(*mheap).sysAlloc(0x13c3fc0, 0x57e0000, 0x7fe519142b68)
/home/ec2-user/go-1.10/go/src/runtime/malloc.go:470 +0xd4
runtime.(*mheap).grow(0x13c3fc0, 0x2bee, 0x0)
/home/ec2-user/go-1.10/go/src/runtime/mheap.go:907 +0x60
runtime.(*mheap).allocSpanLocked(0x13c3fc0, 0x2bee, 0x13dd988, 0x7ffe61e99fe0)
/home/ec2-user/go-1.10/go/src/runtime/mheap.go:820 +0x301
runtime.(*mheap).alloc_m(0x13c3fc0, 0x2bee, 0xffffffffffff0101, 0x7ffe61e9a010)
/home/ec2-user/go-1.10/go/src/runtime/mheap.go:686 +0x118
runtime.(*mheap).alloc.func1()
/home/ec2-user/go-1.10/go/src/runtime/mheap.go:753 +0x4d
runtime.(*mheap).alloc(0x13c3fc0, 0x2bee, 0x7ffe61010101, 0x417aec)
/home/ec2-user/go-1.10/go/src/runtime/mheap.go:752 +0x8a
runtime.largeAlloc(0x57db924, 0x450101, 0x7fe519197000)
/home/ec2-user/go-1.10/go/src/runtime/malloc.go:826 +0x94
runtime.mallocgc.func1()
/home/ec2-user/go-1.10/go/src/runtime/malloc.go:721 +0x46
runtime.systemstack(0x0)
/home/ec2-user/go-1.10/go/src/runtime/asm_amd64.s:409 +0x79
runtime.mstart()
/home/ec2-user/go-1.10/go/src/runtime/proc.go:1175
goroutine 62 [running]:
runtime.systemstack_switch()
/home/ec2-user/go-1.10/go/src/runtime/asm_amd64.s:363 fp=0xc4201b8918 sp=0xc4201b8910 pc=0x456660
runtime.mallocgc(0x57db924, 0xb962a0, 0xc4201b8a01, 0xc4201b89f0)
/home/ec2-user/go-1.10/go/src/runtime/malloc.go:720 +0x8a2 fp=0xc4201b89b8 sp=0xc4201b8918 pc=0x4140c2
runtime.makeslice(0xb962a0, 0x57db924, 0x57db924, 0xf, 0xf, 0x18)
/home/ec2-user/go-1.10/go/src/runtime/slice.go:61 +0x77 fp=0xc4201b89e8 sp=0xc4201b89b8 pc=0x442bb7
bytes.makeSlice(0x57db924, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/bytes/buffer.go:230 +0x6d fp=0xc4201b8a28 sp=0xc4201b89e8 pc=0x4ed87d
bytes.(*Buffer).grow(0xc420124310, 0x7b1d94, 0x1)
/home/ec2-user/go-1.10/go/src/bytes/buffer.go:144 +0x151 fp=0xc4201b8a78 sp=0xc4201b8a28 pc=0x4ed231
bytes.(*Buffer).Write(0xc420124310, 0xc444116000, 0x7b1d94, 0x7b1d94, 0xc428f556e8, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/bytes/buffer.go:174 +0xd9 fp=0xc4201b8aa8 sp=0xc4201b8a78 pc=0x4ed509
go.mozilla.org/autograph/vendor/go.mozilla.org/mar.(*File).Marshal(0xc42020d970, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ec2-user/src/go.mozilla.org/autograph/vendor/go.mozilla.org/mar/mar.go:532 +0xa3f fp=0xc4201b8cb8 sp=0xc4201b8aa
8 pc=0x767baf
go.mozilla.org/autograph/signer/mar.(*MARSigner).SignFile(0xc42020d6b0, 0xc439338000, 0x2f9952c, 0x2f9952c, 0x0, 0x0, 0x0, 0xc
420035560, 0x7, 0xc42023a1a0, ...)
/home/ec2-user/src/go.mozilla.org/autograph/signer/mar/mar.go:153 +0x11f fp=0xc4201b8d08 sp=0xc4201b8cb8 pc=0x76d3af
main.(*autographer).handleSignature(0xc420079140, 0xdb3aa0, 0xc420214000, 0xc420258400)
/home/ec2-user/src/go.mozilla.org/autograph/handlers.go:172 +0x16c6 fp=0xc4201b96e0 sp=0xc4201b8d08 pc=0xb085b6
main.(*autographer).(main.handleSignature)-fm(0xdb3aa0, 0xc420214000, 0xc420258400)
/home/ec2-user/src/go.mozilla.org/autograph/main.go:126 +0x48 fp=0xc4201b9710 sp=0xc4201b96e0 pc=0xb0e878
net/http.HandlerFunc.ServeHTTP(0xc420212b70, 0xdb3aa0, 0xc420214000, 0xc420258400)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44 fp=0xc4201b9738 sp=0xc4201b9710 pc=0x683054
go.mozilla.org/autograph/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc42023e070, 0xdb3aa0, 0xc420214000, 0xc420258400)
/home/ec2-user/src/go.mozilla.org/autograph/vendor/github.com/gorilla/mux/mux.go:162 +0xed fp=0xc4201b9838 sp=0xc4201b
9738 pc=0x712fdd
main.logRequest.func1.1(0xdb3aa0, 0xc420214000, 0xc420258200)
/home/ec2-user/src/go.mozilla.org/autograph/logging.go:21 +0x6b fp=0xc4201b9a68 sp=0xc4201b9838 pc=0xb0d7ab
net/http.HandlerFunc.ServeHTTP(0xc420220c80, 0xdb3aa0, 0xc420214000, 0xc420258200)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44 fp=0xc4201b9a90 sp=0xc4201b9a68 pc=0x683054
main.setResponseHeaders.func1.1(0xdb3aa0, 0xc420214000, 0xc420258200)
/home/ec2-user/src/go.mozilla.org/autograph/middleware.go:19 +0x195 fp=0xc4201b9ad8 sp=0xc4201b9a90 pc=0xb0e175
net/http.HandlerFunc.ServeHTTP(0xc420220ca0, 0xdb3aa0, 0xc420214000, 0xc420258200)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44 fp=0xc4201b9b00 sp=0xc4201b9ad8 pc=0x683054
main.setRequestStartTime.func1.1(0xdb3aa0, 0xc420214000, 0xc420258100)
/home/ec2-user/src/go.mozilla.org/autograph/middleware.go:46 +0xdb fp=0xc4201b9b68 sp=0xc4201b9b00 pc=0xb0e58b
net/http.HandlerFunc.ServeHTTP(0xc420220cc0, 0xdb3aa0, 0xc420214000, 0xc420258100)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44 fp=0xc4201b9b90 sp=0xc4201b9b68 pc=0x683054
main.setRequestID.func1.1(0xdb3aa0, 0xc420214000, 0xc420258000)
/home/ec2-user/src/go.mozilla.org/autograph/middleware.go:36 +0x1be fp=0xc4201b9d30 sp=0xc4201b9b90 pc=0xb0e3ee
net/http.HandlerFunc.ServeHTTP(0xc420220ce0, 0xdb3aa0, 0xc420214000, 0xc420258000)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44 fp=0xc4201b9d58 sp=0xc4201b9d30 pc=0x683054
net/http.serverHandler.ServeHTTP(0xc420211ad0, 0xdb3aa0, 0xc420214000, 0xc420258000)
/home/ec2-user/go-1.10/go/src/net/http/server.go:2694 +0xbc fp=0xc4201b9d88 sp=0xc4201b9d58 pc=0x685cfc
net/http.(*conn).serve(0xc420090140, 0xdb5620, 0xc420078040)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1830 +0x651 fp=0xc4201b9fc8 sp=0xc4201b9d88 pc=0x682071
runtime.goexit()
/home/ec2-user/go-1.10/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc4201b9fd0 sp=0xc4201b9fc8 pc=0x4591f1
created by net/http.(*Server).Serve
/home/ec2-user/go-1.10/go/src/net/http/server.go:2795 +0x27b
goroutine 1 [IO wait]:
internal/poll.runtime_pollWait(0x7fe51913bf00, 0x72, 0x0)
/home/ec2-user/go-1.10/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42012a898, 0x72, 0xc420078000, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42012a898, 0xffffffffffffff00, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc42012a880, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc42012a880, 0xc420090e40, 0xc420073c80, 0x404c18)
/home/ec2-user/go-1.10/go/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc42000e358, 0xc420073cb0, 0x403b77, 0xc420090e40)
/home/ec2-user/go-1.10/go/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).AcceptTCP(0xc42000e358, 0xc420073cf8, 0xc420073d00, 0x18)
/home/ec2-user/go-1.10/go/src/net/tcpsock.go:246 +0x49
net/http.tcpKeepAliveListener.Accept(0xc42000e358, 0xd103d0, 0xc420090dc0, 0xdb56e0, 0xc42021ee70)
/home/ec2-user/go-1.10/go/src/net/http/server.go:3216 +0x2f
net/http.(*Server).Serve(0xc420211ad0, 0xdb4060, 0xc42000e358, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/http/server.go:2770 +0x1a5
net/http.(*Server).ListenAndServe(0xc420211ad0, 0x2, 0x2)
/home/ec2-user/go-1.10/go/src/net/http/server.go:2711 +0xa9
main.main()
/home/ec2-user/src/go.mozilla.org/autograph/main.go:141 +0xb9f
goroutine 24 [IO wait, 4 minutes]:
internal/poll.runtime_pollWait(0x7fe51913be30, 0x72, 0xc420137a68)
/home/ec2-user/go-1.10/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42025a718, 0x72, 0xffffffffffffff00, 0xdae460, 0x1381f70)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42025a718, 0xc420248000, 0x1000, 0x1000)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc42025a700, 0xc420248000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc42025a700, 0xc420248000, 0x1000, 0x1000, 0xc420137b78, 0x67c84a, 0xc420254e48)
/home/ec2-user/go-1.10/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e3c8, 0xc420248000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/net.go:176 +0x6a
net/http.(*connReader).Read(0xc420254e40, 0xc420248000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/http/server.go:764 +0xf8
bufio.(*Reader).fill(0xc42021ac60)
/home/ec2-user/go-1.10/go/src/bufio/bufio.go:100 +0x11e
bufio.(*Reader).Peek(0xc42021ac60, 0x4, 0x0, 0x0, 0x0, 0x0, 0xc420137ce0)
/home/ec2-user/go-1.10/go/src/bufio/bufio.go:132 +0x3a
net/http.(*conn).readRequest(0xc4201a9a40, 0xdb5620, 0xc420079c40, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/http/server.go:941 +0xb5f
net/http.(*conn).serve(0xc4201a9a40, 0xdb5620, 0xc420079c40)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1768 +0x4dc
created by net/http.(*Server).Serve
/home/ec2-user/go-1.10/go/src/net/http/server.go:2795 +0x27b
goroutine 61 [runnable]:
internal/poll.runtime_pollWait(0x7fe51913bd60, 0x72, 0xc420074930)
/home/ec2-user/go-1.10/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42012a798, 0x72, 0xffffffffffffff00, 0xdae460, 0x1381f70)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42012a798, 0xc430e1c000, 0x5a319f, 0x62be00)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc42012a780, 0xc430e1c000, 0x5a319f, 0x62be00, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc42012a780, 0xc430e1c000, 0x5a319f, 0x62be00, 0xc420074a40, 0x67c84a, 0xc42016cba8)
/home/ec2-user/go-1.10/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e038, 0xc430e1c000, 0x5a319f, 0x62be00, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/net.go:176 +0x6a
net/http.(*connReader).Read(0xc42016cba0, 0xc430e1c000, 0x5a319f, 0x62be00, 0x4000, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/http/server.go:764 +0xf8
bufio.(*Reader).Read(0xc42007c120, 0xc430e1c000, 0x5a319f, 0x62be00, 0xc42024cd80, 0xc420079dc0, 0x0)
/home/ec2-user/go-1.10/go/src/bufio/bufio.go:202 +0x12c
io.(*LimitedReader).Read(0xc420220080, 0xc430e1c000, 0x62be00, 0x62be00, 0xc420074ba0, 0x42bf09, 0x8)
/home/ec2-user/go-1.10/go/src/io/io.go:446 +0x63
net/http.(*body).readLocked(0xc420078480, 0xc430e1c000, 0x62be00, 0x62be00, 0x4000, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/http/transfer.go:778 +0x61
net/http.(*body).Read(0xc420078480, 0xc430e1c000, 0x62be00, 0x62be00, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/http/transfer.go:770 +0xdd
bytes.(*Buffer).ReadFrom(0xc420124150, 0x7fe519140120, 0xc420078480, 0xc420092e70, 0xc0aa60, 0xc420066e50)
/home/ec2-user/go-1.10/go/src/bytes/buffer.go:205 +0xa0
io/ioutil.readAll(0x7fe519140120, 0xc420078480, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/io/ioutil/ioutil.go:36 +0xb5
io/ioutil.ReadAll(0x7fe519140120, 0xc420078480, 0xc420078480, 0x7fe519140120, 0xc420078480, 0xc42003467a, 0x5)
/home/ec2-user/go-1.10/go/src/io/ioutil/ioutil.go:45 +0x3e
main.(*autographer).handleSignature(0xc420079140, 0xdb3aa0, 0xc4202142a0, 0xc420258900)
/home/ec2-user/src/go.mozilla.org/autograph/handlers.go:50 +0x100
main.(*autographer).(main.handleSignature)-fm(0xdb3aa0, 0xc4202142a0, 0xc420258900)
/home/ec2-user/src/go.mozilla.org/autograph/main.go:126 +0x48
net/http.HandlerFunc.ServeHTTP(0xc420212b70, 0xdb3aa0, 0xc4202142a0, 0xc420258900)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44
go.mozilla.org/autograph/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc42023e070, 0xdb3aa0, 0xc4202142a0, 0xc420258900)
/home/ec2-user/src/go.mozilla.org/autograph/vendor/github.com/gorilla/mux/mux.go:162 +0xed
main.logRequest.func1.1(0xdb3aa0, 0xc4202142a0, 0xc420258700)
/home/ec2-user/src/go.mozilla.org/autograph/logging.go:21 +0x6b
net/http.HandlerFunc.ServeHTTP(0xc420220c80, 0xdb3aa0, 0xc4202142a0, 0xc420258700)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44
main.setResponseHeaders.func1.1(0xdb3aa0, 0xc4202142a0, 0xc420258700)
/home/ec2-user/src/go.mozilla.org/autograph/middleware.go:19 +0x195
net/http.HandlerFunc.ServeHTTP(0xc420220ca0, 0xdb3aa0, 0xc4202142a0, 0xc420258700)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44
main.setRequestStartTime.func1.1(0xdb3aa0, 0xc4202142a0, 0xc420258600)
/home/ec2-user/src/go.mozilla.org/autograph/middleware.go:46 +0xdb
net/http.HandlerFunc.ServeHTTP(0xc420220cc0, 0xdb3aa0, 0xc4202142a0, 0xc420258600)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44
main.setRequestID.func1.1(0xdb3aa0, 0xc4202142a0, 0xc420258500)
/home/ec2-user/src/go.mozilla.org/autograph/middleware.go:36 +0x1be
net/http.HandlerFunc.ServeHTTP(0xc420220ce0, 0xdb3aa0, 0xc4202142a0, 0xc420258500)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44
net/http.serverHandler.ServeHTTP(0xc420211ad0, 0xdb3aa0, 0xc4202142a0, 0xc420258500)
/home/ec2-user/go-1.10/go/src/net/http/server.go:2694 +0xbc
net/http.(*conn).serve(0xc4200908c0, 0xdb5620, 0xc420078400)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
/home/ec2-user/go-1.10/go/src/net/http/server.go:2795 +0x27b
goroutine 63 [runnable]:
internal/poll.runtime_pollWait(0x7fe51913bbc0, 0x72, 0xc420134930)
/home/ec2-user/go-1.10/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42012a098, 0x72, 0xffffffffffffff00, 0xdae460, 0x1381f70)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42012a098, 0xc4235c0000, 0xc1f19f, 0xca7e00)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc42012a080, 0xc4235c0000, 0xc1f19f, 0xca7e00, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc42012a080, 0xc4235c0000, 0xc1f19f, 0xca7e00, 0xc420134a40, 0x67c84a, 0xc4201f3e08)
/home/ec2-user/go-1.10/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e030, 0xc4235c0000, 0xc1f19f, 0xca7e00, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/net.go:176 +0x6a
net/http.(*connReader).Read(0xc4201f3e00, 0xc4235c0000, 0xc1f19f, 0xca7e00, 0x4000, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/http/server.go:764 +0xf8
bufio.(*Reader).Read(0xc42007c240, 0xc4235c0000, 0xc1f19f, 0xca7e00, 0xc420001980, 0xc420078c80, 0x0)
/home/ec2-user/go-1.10/go/src/bufio/bufio.go:202 +0x12c
io.(*LimitedReader).Read(0xc420220060, 0xc4235c0000, 0xca7e00, 0xca7e00, 0xc420134ba0, 0x42bf09, 0x8)
/home/ec2-user/go-1.10/go/src/io/io.go:446 +0x63
net/http.(*body).readLocked(0xc420078a00, 0xc4235c0000, 0xca7e00, 0xca7e00, 0x4000, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/http/transfer.go:778 +0x61
net/http.(*body).Read(0xc420078a00, 0xc4235c0000, 0xca7e00, 0xca7e00, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/http/transfer.go:770 +0xdd
bytes.(*Buffer).ReadFrom(0xc420124070, 0x7fe519140120, 0xc420078a00, 0xc420092f90, 0xc0aa60, 0xc420066bc0)
/home/ec2-user/go-1.10/go/src/bytes/buffer.go:205 +0xa0
io/ioutil.readAll(0x7fe519140120, 0xc420078a00, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/io/ioutil/ioutil.go:36 +0xb5
io/ioutil.ReadAll(0x7fe519140120, 0xc420078a00, 0xc420078a00, 0x7fe519140120, 0xc420078a00, 0x574e4e4f6b6d4b51, 0x63366f345053
6978)
/home/ec2-user/go-1.10/go/src/io/ioutil/ioutil.go:45 +0x3e
main.(*autographer).handleSignature(0xc420079140, 0xdb3aa0, 0xc4202141c0, 0xc420258a00)
/home/ec2-user/src/go.mozilla.org/autograph/handlers.go:50 +0x100
main.(*autographer).(main.handleSignature)-fm(0xdb3aa0, 0xc4202141c0, 0xc420258a00)
/home/ec2-user/src/go.mozilla.org/autograph/main.go:126 +0x48
net/http.HandlerFunc.ServeHTTP(0xc420212b70, 0xdb3aa0, 0xc4202141c0, 0xc420258a00)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44
go.mozilla.org/autograph/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc42023e070, 0xdb3aa0, 0xc4202141c0, 0xc420258a00)
/home/ec2-user/src/go.mozilla.org/autograph/vendor/github.com/gorilla/mux/mux.go:162 +0xed
main.logRequest.func1.1(0xdb3aa0, 0xc4202141c0, 0xc420258600)
/home/ec2-user/src/go.mozilla.org/autograph/logging.go:21 +0x6b
net/http.HandlerFunc.ServeHTTP(0xc420220c80, 0xdb3aa0, 0xc4202141c0, 0xc420258600)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44
main.setResponseHeaders.func1.1(0xdb3aa0, 0xc4202141c0, 0xc420258600)
/home/ec2-user/src/go.mozilla.org/autograph/middleware.go:19 +0x195
net/http.HandlerFunc.ServeHTTP(0xc420220ca0, 0xdb3aa0, 0xc4202141c0, 0xc420258600)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44
main.setRequestStartTime.func1.1(0xdb3aa0, 0xc4202141c0, 0xc420258300)
/home/ec2-user/src/go.mozilla.org/autograph/middleware.go:46 +0xdb
net/http.HandlerFunc.ServeHTTP(0xc420220cc0, 0xdb3aa0, 0xc4202141c0, 0xc420258300)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44
main.setRequestID.func1.1(0xdb3aa0, 0xc4202141c0, 0xc420258100)
/home/ec2-user/src/go.mozilla.org/autograph/middleware.go:36 +0x1be
net/http.HandlerFunc.ServeHTTP(0xc420220ce0, 0xdb3aa0, 0xc4202141c0, 0xc420258100)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1947 +0x44
net/http.serverHandler.ServeHTTP(0xc420211ad0, 0xdb3aa0, 0xc4202141c0, 0xc420258100)
/home/ec2-user/go-1.10/go/src/net/http/server.go:2694 +0xbc
net/http.(*conn).serve(0xc420090820, 0xdb5620, 0xc420078900)
/home/ec2-user/go-1.10/go/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
/home/ec2-user/go-1.10/go/src/net/http/server.go:2795 +0x27b
goroutine 76 [IO wait]:
internal/poll.runtime_pollWait(0x7fe51913bc90, 0x72, 0xc42004e658)
/home/ec2-user/go-1.10/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42012a018, 0x72, 0xffffffffffffff00, 0xdae460, 0x1381f70)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42012a018, 0xc4201f2600, 0x1, 0x1)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc42012a000, 0xc4201f2611, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc42012a000, 0xc4201f2611, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e010, 0xc4201f2611, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/ec2-user/go-1.10/go/src/net/net.go:176 +0x6a
net/http.(*connReader).backgroundRead(0xc4201f2600)
/home/ec2-user/go-1.10/go/src/net/http/server.go:668 +0x5a
created by net/http.(*connReader).startBackgroundRead
/home/ec2-user/go-1.10/go/src/net/http/server.go:664 +0xce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment