Crashes when I try to stop it with kill -3 PID. Repeatable error (every time).
SIGQUIT: quit
PC=0x468733 m=2
goroutine 0 [idle]:
runtime.futex(0x1597b90, 0x0, 0x7fcbc5940db8, 0x0, 0x0, 0x46855c, 0x3c, 0x0, 0x41937b, 0x1597b90, ...)
/usr/local/go/src/runtime/sys_linux_amd64.s:303 +0x23
runtime.futexsleep(0x1597b90, 0x0, 0xdf8475800)
/usr/local/go/src/runtime/os1_linux.go:57 +0xf0
runtime.notetsleep_internal(0x1597b90, 0xdf8475800, 0xc820000900)
/usr/local/go/src/runtime/lock_futex.go:174 +0x12b
runtime.notetsleep(0x1597b90, 0xdf8475800, 0x266962251e217)
/usr/local/go/src/runtime/lock_futex.go:194 +0x6b
runtime.sysmon()
/usr/local/go/src/runtime/proc.go:3477 +0x487
runtime.mstart1()
/usr/local/go/src/runtime/proc.go:1095 +0xec
runtime.mstart()
/usr/local/go/src/runtime/proc.go:1065 +0x72
goroutine 1 [IO wait]:
net.runtime_pollWait(0x7fcbc62866f0, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:160 +0x60
net.(_pollDesc).Wait(0xc82036e7d0, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(_pollDesc).WaitRead(0xc82036e7d0, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(_netFD).accept(0xc82036e770, 0x0, 0x7fcbc6240800, 0xc8204a3de0)
/usr/local/go/src/net/fd_unix.go:426 +0x27c
net.(_TCPListener).AcceptTCP(0xc8204ae000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/tcpsock_posix.go:254 +0x4d
net/http.tcpKeepAliveListener.Accept(0xc8204ae000, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2427 +0x41
crypto/tls.(_listener).Accept(0xc8204a3dc0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/crypto/tls/tls.go:52 +0x60
net/http.(_Server).Serve(0xc82008d500, 0x7fcbc6286870, 0xc8204a3dc0, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2117 +0x129
net/http.(_Server).ListenAndServeTLS(0xc82008d500, 0xc82037d340, 0x1e, 0xc82037d320, 0x1d, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2278 +0x39a
github.com/mailslurper/libmailslurper/server.startListener(0xc82008d500, 0xc82037d340, 0x1e, 0xc82037d320, 0x1d, 0xc82034cc90, 0xc82049ebd0, 0x9, 0x1f5a, 0x0, ...)
/code/go/src/github.com/mailslurper/libmailslurper/server/HTTPListenerService.go:108 +0x1ee
github.com/mailslurper/libmailslurper/server.(_HTTPListenerService).StartHTTPListener(0xc8204c5c88, 0x0, 0x0)
/code/go/src/github.com/mailslurper/libmailslurper/server/HTTPListenerService.go:102 +0x347
github.com/mailslurper/libmailslurper.StartServiceTier(0xc8204c5ed8, 0x0, 0x0)
/code/go/src/github.com/mailslurper/libmailslurper/ServiceTier.go:29 +0x350
main.main()
/code/go/src/github.com/mailslurper/mailslurper/mailslurper.go:125 +0xb77
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1
goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
/usr/local/go/src/runtime/sigqueue.go:116 +0x132
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37
goroutine 18 [select, locked to thread]:
runtime.gopark(0xb79500, 0xc820181728, 0xa72ac8, 0x6, 0x18, 0x2)
/usr/local/go/src/runtime/proc.go:262 +0x163
runtime.selectgoImpl(0xc820181728, 0x0, 0x18)
/usr/local/go/src/runtime/select.go:392 +0xa67
runtime.selectgo(0xc820181728)
/usr/local/go/src/runtime/select.go:215 +0x12
runtime.ensureSigM.func1()
/usr/local/go/src/runtime/signal1_unix.go:279 +0x358
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1998 +0x1
goroutine 19 [chan receive]:
github.com/adampresley/sigint.ListenForSIGINT.func1(0xc820062180, 0xb78d48)
/code/go/src/github.com/adampresley/sigint/sigint.go:49 +0x43
created by github.com/adampresley/sigint.ListenForSIGINT
/code/go/src/github.com/adampresley/sigint/sigint.go:53 +0xdd
goroutine 20 [chan receive]:
database/sql.(*DB).connectionOpener(0xc8204169a0)
/usr/local/go/src/database/sql/sql.go:727 +0x45
created by database/sql.Open
/usr/local/go/src/database/sql/sql.go:493 +0x33f
goroutine 21 [IO wait]:
net.runtime_pollWait(0x7fcbc62867b0, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:160 +0x60
net.(_pollDesc).Wait(0xc82034e060, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(_pollDesc).WaitRead(0xc82034e060, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(_netFD).accept(0xc82034e000, 0x0, 0x7fcbc6240800, 0xc820324000)
/usr/local/go/src/net/fd_unix.go:426 +0x27c
net.(_TCPListener).AcceptTCP(0xc8204920e0, 0x41ae29, 0x0, 0x0)
/usr/local/go/src/net/tcpsock_posix.go:254 +0x4d
net.(_TCPListener).Accept(0xc8204920e0, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/tcpsock_posix.go:264 +0x3d
crypto/tls.(_listener).Accept(0xc82034b460, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/crypto/tls/tls.go:52 +0x60
github.com/mailslurper/libmailslurper/server.Dispatch(0xc820062a20, 0x7fcbc6286870, 0xc82034b460, 0xc82048dee0, 0x1, 0x1)
/code/go/src/github.com/mailslurper/libmailslurper/server/SmtpListener.go:90 +0xb5
created by main.main
/code/go/src/github.com/mailslurper/mailslurper/mailslurper.go:86 +0x8ab
goroutine 22 [IO wait]:
net.runtime_pollWait(0x7fcbc6286630, 0x72, 0x0)
/usr/local/go/src/runtime/netpoll.go:160 +0x60
net.(_pollDesc).Wait(0xc82041b950, 0x72, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(_pollDesc).WaitRead(0xc82041b950, 0x0, 0x0)
/usr/local/go/src/net/fd_poll_runtime.go:78 +0x36
net.(_netFD).accept(0xc82041b8f0, 0x0, 0x7fcbc6240800, 0xc82034bf60)
/usr/local/go/src/net/fd_unix.go:426 +0x27c
net.(_TCPListener).AcceptTCP(0xc820028000, 0x0, 0x0, 0x0)
/usr/local/go/src/net/tcpsock_posix.go:254 +0x4d
net/http.tcpKeepAliveListener.Accept(0xc820028000, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2427 +0x41
crypto/tls.(_listener).Accept(0xc82034bf40, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/crypto/tls/tls.go:52 +0x60
net/http.(_Server).Serve(0xc820498080, 0x7fcbc6286870, 0xc82034bf40, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2117 +0x129
net/http.(_Server).ListenAndServeTLS(0xc820498080, 0xc82037d340, 0x1e, 0xc82037d320, 0x1d, 0x0, 0x0)
/usr/local/go/src/net/http/server.go:2278 +0x39a
github.com/mailslurper/mailslurper/services/listener.(_HTTPListenerService).StartHTTPListener(0xc820348440, 0xc8201820e0, 0x0, 0x0)
/code/go/src/github.com/mailslurper/mailslurper/services/listener/HTTPListenerService.go:148 +0x499
main.main.func2(0xc820348440, 0xc8201820e0)
/code/go/src/github.com/mailslurper/mailslurper/mailslurper.go:104 +0x38
created by main.main
/code/go/src/github.com/mailslurper/mailslurper/mailslurper.go:108 +0xaa9
goroutine 34 [chan receive]:
github.com/mailslurper/libmailslurper/server.Dispatch.func1(0xc82048dee0, 0x1, 0x1, 0xc82035a000)
/code/go/src/github.com/mailslurper/libmailslurper/server/SmtpListener.go:78 +0x258
created by github.com/mailslurper/libmailslurper/server.Dispatch
/code/go/src/github.com/mailslurper/libmailslurper/server/SmtpListener.go:84 +0x9b
rax 0xfffffffffffffffc
rbx 0x7fcbc5940db8
rcx 0x468733
rdx 0x0
rdi 0x1597b90
rsi 0x0
rbp 0x0
rsp 0x7fcbc5940d80
r8 0x0
r9 0x0
r10 0x7fcbc5940db8
r11 0x246
r12 0x0
r13 0x0
r14 0x7fcbc59419c0
r15 0x7fcbc5941700
rip 0x468733
rflags 0x246
cs 0x33
fs 0x0
gs 0x0