Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of full goroutine stack dump
goroutine 105 [running]:
runtime/pprof.writeGoroutineStacks(0x7f0a5036d1b8, 0xc2085566e0, 0x0, 0x0)
/home/yml/go/src/pkg/runtime/pprof/pprof.go:511 +0x9d
runtime/pprof.writeGoroutine(0x7f0a5036d1b8, 0xc2085566e0, 0x2, 0x0, 0x0)
/home/yml/go/src/pkg/runtime/pprof/pprof.go:500 +0x5c
runtime/pprof.(*Profile).WriteTo(0xb8b200, 0x7f0a5036d1b8, 0xc2085566e0, 0x2, 0x0, 0x0)
/home/yml/go/src/pkg/runtime/pprof/pprof.go:229 +0x121
net/http/pprof.handler.ServeHTTP(0xc2085acac1, 0x9, 0x7f0a5036d158, 0xc2085566e0, 0xc2082eb450)
/home/yml/go/src/pkg/net/http/pprof/pprof.go:165 +0x28f
net/http/pprof.Index(0x7f0a5036d158, 0xc2085566e0, 0xc2082eb450)
/home/yml/go/src/pkg/net/http/pprof/pprof.go:177 +0x1d1
net/http.HandlerFunc.ServeHTTP(0x9ec5c8, 0x7f0a5036d158, 0xc2085566e0, 0xc2082eb450)
/home/yml/go/src/pkg/net/http/server.go:1235 +0x4e
net/http.(*ServeMux).ServeHTTP(0xc20800e6f0, 0x7f0a5036d158, 0xc2085566e0, 0xc2082eb450)
/home/yml/go/src/pkg/net/http/server.go:1511 +0x21d
net/http.serverHandler.ServeHTTP(0xc2082f7f80, 0x7f0a5036d158, 0xc2085566e0, 0xc2082eb450)
/home/yml/go/src/pkg/net/http/server.go:1673 +0x1fd
net/http.(*conn).serve(0xc208314100)
/home/yml/go/src/pkg/net/http/server.go:1174 +0xf9f
created by net/http.(*Server).Serve
/home/yml/go/src/pkg/net/http/server.go:1721 +0x35d
goroutine 16 [IO wait]:
net.runtime_pollWait(0x7f0a5035c788, 0x72, 0x0)
/home/yml/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc20831aae0, 0x72, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:84 +0x62
net.(*pollDesc).WaitRead(0xc20831aae0, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:89 +0x50
net.(*netFD).accept(0xc20831aa80, 0x9ec530, 0x0, 0x7f0a5035b418, 0xb)
/home/yml/go/src/pkg/net/fd_unix.go:409 +0x435
net.(*TCPListener).AcceptTCP(0xc20803a1e0, 0xc2080f3c48, 0x0, 0x0)
/home/yml/go/src/pkg/net/tcpsock_posix.go:234 +0x8b
net/http.tcpKeepAliveListener.Accept(0xc20803a1e0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:1947 +0x59
net/http.(*Server).Serve(0xc2082f7f80, 0x7f0a503663c8, 0xc20803a1e0, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:1698 +0xa2
net/http.(*Server).ListenAndServe(0xc2082f7f80, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:1688 +0x182
net/http.ListenAndServe(0x8df7c0, 0x5, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:1778 +0xc4
main.main()
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/main.go:41 +0x211
goroutine 19 [finalizer wait, 17 minutes]:
runtime.park(0x416820, 0xba96f8, 0xb95489)
/home/yml/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0xba96f8, 0xb95489)
/home/yml/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/home/yml/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/home/yml/go/src/pkg/runtime/proc.c:1445
goroutine 27 [chan send, 1 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).act(0xc2080761c0, 0xc20843c0a0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:678 +0x8df
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc2080761c0, 0xc208004a80)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:223 +0x3b3
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 21 [syscall, 17 minutes]:
os/signal.loop()
/home/yml/go/src/pkg/os/signal/signal_unix.go:21 +0x2c
created by os/signal.init·1
/home/yml/go/src/pkg/os/signal/signal_unix.go:27 +0x40
goroutine 22 [chan receive]:
github.com/golang/glog.(*loggingT).flushDaemon(0xbab420)
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:839 +0x96
created by github.com/golang/glog.init·1
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:406 +0x2d6
goroutine 17 [syscall, 17 minutes]:
runtime.goexit()goroutine 107 [running]:
runtime/pprof.writeGoroutineStacks(0x7f0a5036d1b8, 0xc208556820, 0x0, 0x0)
/home/yml/go/src/pkg/runtime/pprof/pprof.go:511 +0x9d
runtime/pprof.writeGoroutine(0x7f0a5036d1b8, 0xc208556820, 0x2, 0x0, 0x0)
/home/yml/go/src/pkg/runtime/pprof/pprof.go:500 +0x5c
runtime/pprof.(*Profile).WriteTo(0xb8b200, 0x7f0a5036d1b8, 0xc208556820, 0x2, 0x0, 0x0)
/home/yml/go/src/pkg/runtime/pprof/pprof.go:229 +0x121
net/http/pprof.handler.ServeHTTP(0xc2085acd91, 0x9, 0x7f0a5036d158, 0xc208556820, 0xc20848b110)
/home/yml/go/src/pkg/net/http/pprof/pprof.go:165 +0x28f
net/http/pprof.Index(0x7f0a5036d158, 0xc208556820, 0xc20848b110)
/home/yml/go/src/pkg/net/http/pprof/pprof.go:177 +0x1d1
net/http.HandlerFunc.ServeHTTP(0x9ec5c8, 0x7f0a5036d158, 0xc208556820, 0xc20848b110)
/home/yml/go/src/pkg/net/http/server.go:1235 +0x4e
net/http.(*ServeMux).ServeHTTP(0xc20800e6f0, 0x7f0a5036d158, 0xc208556820, 0xc20848b110)
/home/yml/go/src/pkg/net/http/server.go:1511 +0x21d
net/http.serverHandler.ServeHTTP(0xc2082f7f80, 0x7f0a5036d158, 0xc208556820, 0xc20848b110)
/home/yml/go/src/pkg/net/http/server.go:1673 +0x1fd
net/http.(*conn).serve(0xc208314600)
/home/yml/go/src/pkg/net/http/server.go:1174 +0xf9f
created by net/http.(*Server).Serve
/home/yml/go/src/pkg/net/http/server.go:1721 +0x35d
goroutine 16 [IO wait]:
net.runtime_pollWait(0x7f0a5035c788, 0x72, 0x0)
/home/yml/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc20831aae0, 0x72, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:84 +0x62
net.(*pollDesc).WaitRead(0xc20831aae0, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:89 +0x50
net.(*netFD).accept(0xc20831aa80, 0x9ec530, 0x0, 0x7f0a5035b418, 0xb)
/home/yml/go/src/pkg/net/fd_unix.go:409 +0x435
net.(*TCPListener).AcceptTCP(0xc20803a1e0, 0xc2080f3c48, 0x0, 0x0)
/home/yml/go/src/pkg/net/tcpsock_posix.go:234 +0x8b
net/http.tcpKeepAliveListener.Accept(0xc20803a1e0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:1947 +0x59
net/http.(*Server).Serve(0xc2082f7f80, 0x7f0a503663c8, 0xc20803a1e0, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:1698 +0xa2
net/http.(*Server).ListenAndServe(0xc2082f7f80, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:1688 +0x182
net/http.ListenAndServe(0x8df7c0, 0x5, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:1778 +0xc4
main.main()
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/main.go:41 +0x211
goroutine 19 [finalizer wait, 19 minutes]:
runtime.park(0x416820, 0xba96f8, 0xb95489)
/home/yml/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0xba96f8, 0xb95489)
/home/yml/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/home/yml/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/home/yml/go/src/pkg/runtime/proc.c:1445
goroutine 27 [chan send, 3 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).act(0xc2080761c0, 0xc20843c0a0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:678 +0x8df
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc2080761c0, 0xc208004a80)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:223 +0x3b3
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 21 [syscall, 19 minutes]:
os/signal.loop()
/home/yml/go/src/pkg/os/signal/signal_unix.go:21 +0x2c
created by os/signal.init·1
/home/yml/go/src/pkg/os/signal/signal_unix.go:27 +0x40
goroutine 22 [chan receive]:
github.com/golang/glog.(*loggingT).flushDaemon(0xbab420)
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:839 +0x96
created by github.com/golang/glog.init·1
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:406 +0x2d6
goroutine 17 [syscall, 19 minutes]:
runtime.goexit()
/home/yml/go/src/pkg/runtime/proc.c:1445
goroutine 23 [chan receive, 19 minutes]:
database/sql.(*DB).connectionOpener(0xc208050400)
/home/yml/go/src/pkg/database/sql/sql.go:583 +0x69
created by database/sql.Open
/home/yml/go/src/pkg/database/sql/sql.go:442 +0x390
goroutine 26 [chan send, 3 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc2080761c0, 0xc208004a80)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:594 +0x51d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 28 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc2080761c0, 0xc208004a80)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 29 [IO wait]:
net.runtime_pollWait(0x7f0a5035cba8, 0x72, 0x0)
/home/yml/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc2081dedf0, 0x72, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:84 +0x62
net.(*pollDesc).WaitRead(0xc2081dedf0, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:89 +0x50
net.(*netFD).Read(0xc2081ded90, 0xc208267800, 0x800, 0x800, 0x0, 0x7f0a5035b418, 0xb)
/home/yml/go/src/pkg/net/fd_unix.go:232 +0x430
net.(*conn).Read(0xc20803a088, 0xc208267800, 0x800, 0x800, 0xbad6d0, 0x0, 0x0)
/home/yml/go/src/pkg/net/net.go:122 +0x12d
net.(*TCPConn).Read(0xc20803a088, 0xc208267800, 0x800, 0x800, 0x4325a2, 0x0, 0x0)
<autogenerated>:23 +0x78
crypto/tls.(*block).readFromUntil(0xc20814ef60, 0x7f0a5035ce90, 0xc20803a088, 0x5, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:451 +0x15e
crypto/tls.(*Conn).readRecord(0xc2080a98c0, 0x17, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:536 +0x33f
crypto/tls.(*Conn).Read(0xc2080a98c0, 0xc20829f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:901 +0x1c3
bufio.(*Reader).fill(0xc2080057a0)
/home/yml/go/src/pkg/bufio/bufio.go:97 +0x35d
bufio.(*Reader).ReadSlice(0xc2080057a0, 0xc2085bcd0a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:298 +0x5bf
bufio.(*Reader).ReadBytes(0xc2080057a0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:376 +0xf4
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc2081f3ce0, 0xc208285ce0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:575 +0xea
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 30 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc2081f3ce0, 0xc208285ce0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:212 +0xe42
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 31 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc2081f3ce0, 0xc208285ce0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 33 [semacquire, 3 minutes]:
sync.runtime_Semacquire(0xc20817a62c)
/home/yml/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).RLock(0xc20817a620)
/home/yml/go/src/pkg/sync/rwmutex.go:36 +0x78
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).String(0xc20817a620, 0x0, 0x0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:137 +0x66
fmt.(*pp).handleMethods(0xc2084201a0, 0x76, 0x0, 0x100)
/home/yml/go/src/pkg/fmt/print.go:699 +0x695
fmt.(*pp).printArg(0xc2084201a0, 0x8cc900, 0xc20817a620, 0x76, 0x0, 0x0)
/home/yml/go/src/pkg/fmt/print.go:790 +0x5c5
fmt.(*pp).doPrint(0xc2084201a0, 0x7f0a4c4ccf50, 0x4, 0x4, 0xba0101)
/home/yml/go/src/pkg/fmt/print.go:1194 +0x340
fmt.Fprintln(0x7f0a5035bd18, 0xc2082dc480, 0x7f0a4c4ccf50, 0x4, 0x4, 0x1, 0x0, 0x0)
/home/yml/go/src/pkg/fmt/print.go:254 +0x80
github.com/golang/glog.(*loggingT).println(0xbab420, 0x0, 0x7f0a4c4ccf50, 0x4, 0x4)
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:616 +0x9d
github.com/golang/glog.Infoln(0x7f0a4c4ccf50, 0x4, 0x4)
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:970 +0x5e
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc20817a620, 0xc2080053e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:592 +0x4b9
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 34 [semacquire, 3 minutes]:
sync.runtime_Semacquire(0xc20817a62c)
/home/yml/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).RLock(0xc20817a620)
/home/yml/go/src/pkg/sync/rwmutex.go:36 +0x78
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc20817a620, 0xc2080053e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:233 +0x78e
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 35 [semacquire, 3 minutes]:
sync.runtime_Semacquire(0xc20817a62c)
/home/yml/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).RLock(0xc20817a620)
/home/yml/go/src/pkg/sync/rwmutex.go:36 +0x78
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).String(0xc20817a620, 0x0, 0x0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:137 +0x66
fmt.(*pp).handleMethods(0xc208348d00, 0x76, 0x0, 0x100)
/home/yml/go/src/pkg/fmt/print.go:699 +0x695
fmt.(*pp).printArg(0xc208348d00, 0x8cc900, 0xc20817a620, 0x76, 0x0, 0x0)
/home/yml/go/src/pkg/fmt/print.go:790 +0x5c5
fmt.(*pp).doPrint(0xc208348d00, 0x7f0a4c4e8f20, 0x3, 0x3, 0xba0101)
/home/yml/go/src/pkg/fmt/print.go:1194 +0x340
fmt.Fprintln(0x7f0a5035bd18, 0xc2082dc6c0, 0x7f0a4c4e8f20, 0x3, 0x3, 0x1, 0x0, 0x0)
/home/yml/go/src/pkg/fmt/print.go:254 +0x80
github.com/golang/glog.(*loggingT).println(0xbab420, 0x0, 0x7f0a4c4e8f20, 0x3, 0x3)
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:616 +0x9d
github.com/golang/glog.Infoln(0x7f0a4c4e8f20, 0x3, 0x3)
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:970 +0x5e
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc20817a620, 0xc2080053e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:172 +0x4c9
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 36 [chan send, 3 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc20817b180, 0xc2082b8c00)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:594 +0x51d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 37 [chan send, 3 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).act(0xc20817b180, 0xc2084ddea0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:678 +0x8df
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc20817b180, 0xc2082b8c00)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:223 +0x3b3
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 38 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc20817b180, 0xc2082b8c00)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 39 [chan send]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc20817b6c0, 0xc2082b9800)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:594 +0x51d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 40 [chan send, 3 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).act(0xc20817b6c0, 0xc2084ddf40)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:678 +0x8df
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc20817b6c0, 0xc2082b9800)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:223 +0x3b3
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 41 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc20817b6c0, 0xc2082b9800)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 42 [chan send, 3 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc2080767e0, 0xc2082f64e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:594 +0x51d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 43 [chan send, 3 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).act(0xc2080767e0, 0xc20843c280)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:678 +0x8df
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc2080767e0, 0xc2082f64e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:223 +0x3b3
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 44 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc2080767e0, 0xc2082f64e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 45 [IO wait]:
net.runtime_pollWait(0x7f0a5035c838, 0x72, 0x0)
/home/yml/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc20831a370, 0x72, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:84 +0x62
net.(*pollDesc).WaitRead(0xc20831a370, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:89 +0x50
net.(*netFD).Read(0xc20831a310, 0xc208240800, 0x800, 0x800, 0x0, 0x7f0a5035b418, 0xb)
/home/yml/go/src/pkg/net/fd_unix.go:232 +0x430
net.(*conn).Read(0xc20803a1b8, 0xc208240800, 0x800, 0x800, 0xbad6d0, 0x0, 0x0)
/home/yml/go/src/pkg/net/net.go:122 +0x12d
net.(*TCPConn).Read(0xc20803a1b8, 0xc208240800, 0x800, 0x800, 0x4325a2, 0x0, 0x0)
<autogenerated>:23 +0x78
crypto/tls.(*block).readFromUntil(0xc20831e480, 0x7f0a5035ce90, 0xc20803a1b8, 0x5, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:451 +0x15e
crypto/tls.(*Conn).readRecord(0xc2082b0dc0, 0x17, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:536 +0x33f
crypto/tls.(*Conn).Read(0xc2082b0dc0, 0xc20831d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:901 +0x1c3
bufio.(*Reader).fill(0xc208326000)
/home/yml/go/src/pkg/bufio/bufio.go:97 +0x35d
bufio.(*Reader).ReadSlice(0xc208326000, 0xc20848ab0a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:298 +0x5bf
bufio.(*Reader).ReadBytes(0xc208326000, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:376 +0xf4
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc208077c00, 0xc2082f71a0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:575 +0xea
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 46 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc208077c00, 0xc2082f71a0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:212 +0xe42
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 47 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc208077c00, 0xc2082f71a0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 48 [IO wait, 3 minutes]:
net.runtime_pollWait(0x7f0a50367f38, 0x72, 0x0)
/home/yml/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc208149a30, 0x72, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:84 +0x62
net.(*pollDesc).WaitRead(0xc208149a30, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:89 +0x50
net.(*netFD).Read(0xc2081499d0, 0xc208407000, 0x1000, 0x1000, 0x0, 0x7f0a5035b418, 0xb)
/home/yml/go/src/pkg/net/fd_unix.go:232 +0x430
net.(*conn).Read(0xc20803a540, 0xc208407000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/yml/go/src/pkg/net/net.go:122 +0x12d
net.(*TCPConn).Read(0xc20803a540, 0xc208407000, 0x1000, 0x1000, 0x41a2ef, 0x0, 0x0)
<autogenerated>:23 +0x78
bufio.(*Reader).fill(0xc208326300)
/home/yml/go/src/pkg/bufio/bufio.go:97 +0x35d
bufio.(*Reader).ReadSlice(0xc208326300, 0xc20000000a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:298 +0x5bf
bufio.(*Reader).ReadBytes(0xc208326300, 0x42970a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:376 +0xf4
bufio.(*Reader).ReadString(0xc208326300, 0x42cc0a, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:416 +0x66
github.com/monnand/goredis.readResponse(0xc208326300, 0x0, 0x0, 0x0, 0x0)
/srv/virtualenvs/botbotenv/src/github.com/monnand/goredis/redis.go:106 +0xa8
github.com/monnand/goredis.(*Client).rawSend(0xc208040800, 0x7f0a5035bde8, 0xc20803a540, 0xc208239500, 0x1f, 0x29, 0x0, 0x0, 0x0, 0x0)
/srv/virtualenvs/botbotenv/src/github.com/monnand/goredis/redis.go:166 +0x127
github.com/monnand/goredis.(*Client).sendCommand(0xc208040800, 0x8e05a0, 0x5, 0xc208304c40, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0)
/srv/virtualenvs/botbotenv/src/github.com/monnand/goredis/redis.go:214 +0x1e9
github.com/monnand/goredis.(*Client).bpop(0xc208040800, 0x8e05a0, 0x5, 0xc20824e9b0, 0x1, 0x1, 0x0, 0xc2083db930, 0x0, 0x0, ...)
/srv/virtualenvs/botbotenv/src/github.com/monnand/goredis/redis.go:733 +0x1dd
github.com/monnand/goredis.(*Client).Blpop(0xc208040800, 0xc20824e9b0, 0x1, 0x1, 0x0, 0x108004538, 0x0, 0x0, 0x0, 0x0, ...)
/srv/virtualenvs/botbotenv/src/github.com/monnand/goredis/redis.go:725 +0xcc
github.com/BotBotMe/botbot-bot/common.(*RedisQueue).Blpop(0xc208000cc0, 0xc20824e9b0, 0x1, 0x1, 0x0, 0xc20824e950, 0x0, 0x0, 0x0, 0x0, ...)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/common/queue.go:148 +0xeb
main.(*BotBot).listen(0xc20801b450, 0x8ebfa0, 0x3)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/botbot.go:62 +0x146
created by main.main
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/main.go:35 +0x1d1
goroutine 49 [semacquire, 3 minutes]:
sync.runtime_Semacquire(0xc20817a628)
/home/yml/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).Lock(0xc20817a620)
/home/yml/go/src/pkg/sync/rwmutex.go:83 +0xc9
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).updateChannels(0xc20817a620, 0xc20850b800, 0x23, 0x40)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:505 +0xb37
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Update(0xc20817a620, 0xc208239980)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:424 +0x39d
github.com/BotBotMe/botbot-bot/network.(*NetworkManager).RefreshChatbots(0xc208040940)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/network.go:77 +0xc8b
main.(*BotBot).handleCommand(0xc20801b450, 0xc20824e9a0, 0x7, 0xc2083b1186, 0x2e)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/botbot.go:156 +0x2d6
main.(*BotBot).mainLoop(0xc20801b450)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/botbot.go:114 +0x4e7
created by main.main
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/main.go:38 +0x1e9
goroutine 51 [sleep, 19 minutes]:
time.Sleep(0x34630b8a000)
/home/yml/go/src/pkg/runtime/time.goc:39 +0x31
main.(*BotBot).recordUserCounts(0xc20801b450)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/botbot.go:168 +0x25e
created by main.(*BotBot).mainLoop
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/botbot.go:77 +0x4b
goroutine 100 [IO wait]:
net.runtime_pollWait(0x7f0a50367c78, 0x72, 0x0)
/home/yml/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc208149b10, 0x72, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:84 +0x62
net.(*pollDesc).WaitRead(0xc208149b10, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:89 +0x50
net.(*netFD).Read(0xc208149ab0, 0xc208423000, 0x1000, 0x1000, 0x0, 0x7f0a5035b418, 0xb)
/home/yml/go/src/pkg/net/fd_unix.go:232 +0x430
net.(*conn).Read(0xc20803a4e0, 0xc208423000, 0x1000, 0x1000, 0x4ee31e, 0x0, 0x0)
/home/yml/go/src/pkg/net/net.go:122 +0x12d
net.(*TCPConn).Read(0xc20803a4e0, 0xc208423000, 0x1000, 0x1000, 0xc2082e4e00, 0x0, 0x0)
<autogenerated>:23 +0x78
net/http.(*liveSwitchReader).Read(0xc2083148a8, 0xc208423000, 0x1000, 0x1000, 0x4, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:206 +0xd3
io.(*LimitedReader).Read(0xc2082e65c0, 0xc208423000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/io/io.go:399 +0x17e
bufio.(*Reader).fill(0xc208284fc0)
/home/yml/go/src/pkg/bufio/bufio.go:97 +0x35d
bufio.(*Reader).ReadSlice(0xc208284fc0, 0xb7820a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:298 +0x5bf
bufio.(*Reader).ReadLine(0xc208284fc0, 0x0, 0x0, 0x0, 0xc208149a00, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:326 +0x7a
net/textproto.(*Reader).readLineSlice(0xc2085acc00, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/net/textproto/reader.go:55 +0xc2
net/textproto.(*Reader).ReadLine(0xc2085acc00, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/net/textproto/reader.go:36 +0x5c
net/http.ReadRequest(0xc208284fc0, 0xc20848a5b0, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/request.go:556 +0xd8
net/http.(*conn).readRequest(0xc208314880, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:577 +0x3e6
net/http.(*conn).serve(0xc208314880)
/home/yml/go/src/pkg/net/http/server.go:1132 +0x8d3
created by net/http.(*Server).Serve
/home/yml/go/src/pkg/net/http/server.go:1721 +0x35d
/home/yml/go/src/pkg/runtime/proc.c:1445
goroutine 23 [chan receive, 17 minutes]:
database/sql.(*DB).connectionOpener(0xc208050400)
/home/yml/go/src/pkg/database/sql/sql.go:583 +0x69
created by database/sql.Open
/home/yml/go/src/pkg/database/sql/sql.go:442 +0x390
goroutine 26 [chan send, 1 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc2080761c0, 0xc208004a80)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:594 +0x51d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 28 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc2080761c0, 0xc208004a80)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 29 [IO wait]:
net.runtime_pollWait(0x7f0a5035cba8, 0x72, 0x0)
/home/yml/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc2081dedf0, 0x72, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:84 +0x62
net.(*pollDesc).WaitRead(0xc2081dedf0, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:89 +0x50
net.(*netFD).Read(0xc2081ded90, 0xc208267800, 0x800, 0x800, 0x0, 0x7f0a5035b418, 0xb)
/home/yml/go/src/pkg/net/fd_unix.go:232 +0x430
net.(*conn).Read(0xc20803a088, 0xc208267800, 0x800, 0x800, 0xbad6d0, 0x0, 0x0)
/home/yml/go/src/pkg/net/net.go:122 +0x12d
net.(*TCPConn).Read(0xc20803a088, 0xc208267800, 0x800, 0x800, 0x4325a2, 0x0, 0x0)
<autogenerated>:23 +0x78
crypto/tls.(*block).readFromUntil(0xc20814ef60, 0x7f0a5035ce90, 0xc20803a088, 0x5, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:451 +0x15e
crypto/tls.(*Conn).readRecord(0xc2080a98c0, 0x17, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:536 +0x33f
crypto/tls.(*Conn).Read(0xc2080a98c0, 0xc20829f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:901 +0x1c3
bufio.(*Reader).fill(0xc2080057a0)
/home/yml/go/src/pkg/bufio/bufio.go:97 +0x35d
bufio.(*Reader).ReadSlice(0xc2080057a0, 0xc208420a0a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:298 +0x5bf
bufio.(*Reader).ReadBytes(0xc2080057a0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:376 +0xf4
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc2081f3ce0, 0xc208285ce0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:575 +0xea
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 30 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc2081f3ce0, 0xc208285ce0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:212 +0xe42
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 31 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc2081f3ce0, 0xc208285ce0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 33 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc20817a62c)
/home/yml/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).RLock(0xc20817a620)
/home/yml/go/src/pkg/sync/rwmutex.go:36 +0x78
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).String(0xc20817a620, 0x0, 0x0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:137 +0x66
fmt.(*pp).handleMethods(0xc2084201a0, 0x76, 0x0, 0x100)
/home/yml/go/src/pkg/fmt/print.go:699 +0x695
fmt.(*pp).printArg(0xc2084201a0, 0x8cc900, 0xc20817a620, 0x76, 0x0, 0x0)
/home/yml/go/src/pkg/fmt/print.go:790 +0x5c5
fmt.(*pp).doPrint(0xc2084201a0, 0x7f0a4c4ccf50, 0x4, 0x4, 0xba0101)
/home/yml/go/src/pkg/fmt/print.go:1194 +0x340
fmt.Fprintln(0x7f0a5035bd18, 0xc2082dc480, 0x7f0a4c4ccf50, 0x4, 0x4, 0x1, 0x0, 0x0)
/home/yml/go/src/pkg/fmt/print.go:254 +0x80
github.com/golang/glog.(*loggingT).println(0xbab420, 0x0, 0x7f0a4c4ccf50, 0x4, 0x4)
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:616 +0x9d
github.com/golang/glog.Infoln(0x7f0a4c4ccf50, 0x4, 0x4)
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:970 +0x5e
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc20817a620, 0xc2080053e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:592 +0x4b9
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 34 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc20817a62c)
/home/yml/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).RLock(0xc20817a620)
/home/yml/go/src/pkg/sync/rwmutex.go:36 +0x78
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc20817a620, 0xc2080053e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:233 +0x78e
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 35 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc20817a62c)
/home/yml/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).RLock(0xc20817a620)
/home/yml/go/src/pkg/sync/rwmutex.go:36 +0x78
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).String(0xc20817a620, 0x0, 0x0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:137 +0x66
fmt.(*pp).handleMethods(0xc208348d00, 0x76, 0x0, 0x100)
/home/yml/go/src/pkg/fmt/print.go:699 +0x695
fmt.(*pp).printArg(0xc208348d00, 0x8cc900, 0xc20817a620, 0x76, 0x0, 0x0)
/home/yml/go/src/pkg/fmt/print.go:790 +0x5c5
fmt.(*pp).doPrint(0xc208348d00, 0x7f0a4c4e8f20, 0x3, 0x3, 0xba0101)
/home/yml/go/src/pkg/fmt/print.go:1194 +0x340
fmt.Fprintln(0x7f0a5035bd18, 0xc2082dc6c0, 0x7f0a4c4e8f20, 0x3, 0x3, 0x1, 0x0, 0x0)
/home/yml/go/src/pkg/fmt/print.go:254 +0x80
github.com/golang/glog.(*loggingT).println(0xbab420, 0x0, 0x7f0a4c4e8f20, 0x3, 0x3)
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:616 +0x9d
github.com/golang/glog.Infoln(0x7f0a4c4e8f20, 0x3, 0x3)
/srv/virtualenvs/botbotenv/src/github.com/golang/glog/glog.go:970 +0x5e
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc20817a620, 0xc2080053e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:172 +0x4c9
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 36 [chan send, 1 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc20817b180, 0xc2082b8c00)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:594 +0x51d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 37 [chan send, 1 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).act(0xc20817b180, 0xc2084ddea0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:678 +0x8df
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc20817b180, 0xc2082b8c00)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:223 +0x3b3
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 38 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc20817b180, 0xc2082b8c00)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 39 [IO wait, 1 minutes]:
net.runtime_pollWait(0x7f0a5035c998, 0x72, 0x0)
/home/yml/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc2082c0f40, 0x72, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:84 +0x62
net.(*pollDesc).WaitRead(0xc2082c0f40, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:89 +0x50
net.(*netFD).Read(0xc2082c0ee0, 0xc2082cac00, 0x400, 0x400, 0x0, 0x7f0a5035b418, 0xb)
/home/yml/go/src/pkg/net/fd_unix.go:232 +0x430
net.(*conn).Read(0xc20803a118, 0xc2082cac00, 0x400, 0x400, 0xbad6d0, 0x0, 0x0)
/home/yml/go/src/pkg/net/net.go:122 +0x12d
net.(*TCPConn).Read(0xc20803a118, 0xc2082cac00, 0x400, 0x400, 0x4325a2, 0x0, 0x0)
<autogenerated>:23 +0x78
crypto/tls.(*block).readFromUntil(0xc2082de2a0, 0x7f0a5035ce90, 0xc20803a118, 0x5, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:451 +0x15e
crypto/tls.(*Conn).readRecord(0xc2082b0580, 0x17, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:536 +0x33f
crypto/tls.(*Conn).Read(0xc2082b0580, 0xc2082e1000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:901 +0x1c3
bufio.(*Reader).fill(0xc2082f65a0)
/home/yml/go/src/pkg/bufio/bufio.go:97 +0x35d
bufio.(*Reader).ReadSlice(0xc2082f65a0, 0xc20842050a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:298 +0x5bf
bufio.(*Reader).ReadBytes(0xc2082f65a0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:376 +0xf4
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc20817b6c0, 0xc2082b9800)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:575 +0xea
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 40 [chan send, 1 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).act(0xc20817b6c0, 0xc2084ddf40)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:678 +0x8df
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc20817b6c0, 0xc2082b9800)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:223 +0x3b3
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 41 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc20817b6c0, 0xc2082b9800)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 42 [chan send, 1 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc2080767e0, 0xc2082f64e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:594 +0x51d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 43 [chan send, 1 minutes]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).act(0xc2080767e0, 0xc20843c280)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:678 +0x8df
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc2080767e0, 0xc2082f64e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:223 +0x3b3
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 44 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc2080767e0, 0xc2082f64e0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 45 [IO wait]:
net.runtime_pollWait(0x7f0a5035c838, 0x72, 0x0)
/home/yml/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc20831a370, 0x72, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:84 +0x62
net.(*pollDesc).WaitRead(0xc20831a370, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:89 +0x50
net.(*netFD).Read(0xc20831a310, 0xc208240800, 0x800, 0x800, 0x0, 0x7f0a5035b418, 0xb)
/home/yml/go/src/pkg/net/fd_unix.go:232 +0x430
net.(*conn).Read(0xc20803a1b8, 0xc208240800, 0x800, 0x800, 0xbad6d0, 0x0, 0x0)
/home/yml/go/src/pkg/net/net.go:122 +0x12d
net.(*TCPConn).Read(0xc20803a1b8, 0xc208240800, 0x800, 0x800, 0x4325a2, 0x0, 0x0)
<autogenerated>:23 +0x78
crypto/tls.(*block).readFromUntil(0xc20831e480, 0x7f0a5035ce90, 0xc20803a1b8, 0x5, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:451 +0x15e
crypto/tls.(*Conn).readRecord(0xc2082b0dc0, 0x17, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:536 +0x33f
crypto/tls.(*Conn).Read(0xc2082b0dc0, 0xc20831d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/crypto/tls/conn.go:901 +0x1c3
bufio.(*Reader).fill(0xc208326000)
/home/yml/go/src/pkg/bufio/bufio.go:97 +0x35d
bufio.(*Reader).ReadSlice(0xc208326000, 0xc2082ead0a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:298 +0x5bf
bufio.(*Reader).ReadBytes(0xc208326000, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:376 +0xf4
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).readSocket(0xc208077c00, 0xc2082f71a0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:575 +0xea
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Connect
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:324 +0x132
goroutine 46 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).ListenAndSend(0xc208077c00, 0xc2082f71a0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:212 +0xe42
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:293 +0x219
goroutine 47 [select]:
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).monitor(0xc208077c00, 0xc2082f71a0)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:157 +0xa6d
created by github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Init
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:296 +0x23e
goroutine 48 [IO wait, 1 minutes]:
net.runtime_pollWait(0x7f0a50367f38, 0x72, 0x0)
/home/yml/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc208149a30, 0x72, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:84 +0x62
net.(*pollDesc).WaitRead(0xc208149a30, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:89 +0x50
net.(*netFD).Read(0xc2081499d0, 0xc208407000, 0x1000, 0x1000, 0x0, 0x7f0a5035b418, 0xb)
/home/yml/go/src/pkg/net/fd_unix.go:232 +0x430
net.(*conn).Read(0xc20803a540, 0xc208407000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/yml/go/src/pkg/net/net.go:122 +0x12d
net.(*TCPConn).Read(0xc20803a540, 0xc208407000, 0x1000, 0x1000, 0x41a2ef, 0x0, 0x0)
<autogenerated>:23 +0x78
bufio.(*Reader).fill(0xc208326300)
/home/yml/go/src/pkg/bufio/bufio.go:97 +0x35d
bufio.(*Reader).ReadSlice(0xc208326300, 0xc20000000a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:298 +0x5bf
bufio.(*Reader).ReadBytes(0xc208326300, 0x42970a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:376 +0xf4
bufio.(*Reader).ReadString(0xc208326300, 0x42cc0a, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:416 +0x66
github.com/monnand/goredis.readResponse(0xc208326300, 0x0, 0x0, 0x0, 0x0)
/srv/virtualenvs/botbotenv/src/github.com/monnand/goredis/redis.go:106 +0xa8
github.com/monnand/goredis.(*Client).rawSend(0xc208040800, 0x7f0a5035bde8, 0xc20803a540, 0xc208239500, 0x1f, 0x29, 0x0, 0x0, 0x0, 0x0)
/srv/virtualenvs/botbotenv/src/github.com/monnand/goredis/redis.go:166 +0x127
github.com/monnand/goredis.(*Client).sendCommand(0xc208040800, 0x8e05a0, 0x5, 0xc208304c40, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0)
/srv/virtualenvs/botbotenv/src/github.com/monnand/goredis/redis.go:214 +0x1e9
github.com/monnand/goredis.(*Client).bpop(0xc208040800, 0x8e05a0, 0x5, 0xc20824e9b0, 0x1, 0x1, 0x0, 0xc2083db930, 0x0, 0x0, ...)
/srv/virtualenvs/botbotenv/src/github.com/monnand/goredis/redis.go:733 +0x1dd
github.com/monnand/goredis.(*Client).Blpop(0xc208040800, 0xc20824e9b0, 0x1, 0x1, 0x0, 0x108004538, 0x0, 0x0, 0x0, 0x0, ...)
/srv/virtualenvs/botbotenv/src/github.com/monnand/goredis/redis.go:725 +0xcc
github.com/BotBotMe/botbot-bot/common.(*RedisQueue).Blpop(0xc208000cc0, 0xc20824e9b0, 0x1, 0x1, 0x0, 0xc20824e950, 0x0, 0x0, 0x0, 0x0, ...)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/common/queue.go:148 +0xeb
main.(*BotBot).listen(0xc20801b450, 0x8ebfa0, 0x3)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/botbot.go:62 +0x146
created by main.main
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/main.go:35 +0x1d1
goroutine 49 [semacquire, 1 minutes]:
sync.runtime_Semacquire(0xc20817a628)
/home/yml/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*RWMutex).Lock(0xc20817a620)
/home/yml/go/src/pkg/sync/rwmutex.go:83 +0xc9
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).updateChannels(0xc20817a620, 0xc20850b800, 0x23, 0x40)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:505 +0xb37
github.com/BotBotMe/botbot-bot/network/irc.(*ircBot).Update(0xc20817a620, 0xc208239980)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/irc/irc.go:424 +0x39d
github.com/BotBotMe/botbot-bot/network.(*NetworkManager).RefreshChatbots(0xc208040940)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/network/network.go:77 +0xc8b
main.(*BotBot).handleCommand(0xc20801b450, 0xc20824e9a0, 0x7, 0xc2083b1186, 0x2e)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/botbot.go:156 +0x2d6
main.(*BotBot).mainLoop(0xc20801b450)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/botbot.go:114 +0x4e7
created by main.main
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/main.go:38 +0x1e9
goroutine 51 [sleep, 17 minutes]:
time.Sleep(0x34630b8a000)
/home/yml/go/src/pkg/runtime/time.goc:39 +0x31
main.(*BotBot).recordUserCounts(0xc20801b450)
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/botbot.go:168 +0x25e
created by main.(*BotBot).mainLoop
/srv/virtualenvs/botbotenv/src/github.com/BotBotMe/botbot-bot/botbot.go:77 +0x4b
goroutine 100 [IO wait]:
net.runtime_pollWait(0x7f0a50367c78, 0x72, 0x0)
/home/yml/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc208149b10, 0x72, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:84 +0x62
net.(*pollDesc).WaitRead(0xc208149b10, 0x0, 0x0)
/home/yml/go/src/pkg/net/fd_poll_runtime.go:89 +0x50
net.(*netFD).Read(0xc208149ab0, 0xc208423000, 0x1000, 0x1000, 0x0, 0x7f0a5035b418, 0xb)
/home/yml/go/src/pkg/net/fd_unix.go:232 +0x430
net.(*conn).Read(0xc20803a4e0, 0xc208423000, 0x1000, 0x1000, 0x4ee31e, 0x0, 0x0)
/home/yml/go/src/pkg/net/net.go:122 +0x12d
net.(*TCPConn).Read(0xc20803a4e0, 0xc208423000, 0x1000, 0x1000, 0xc20830b300, 0x0, 0x0)
<autogenerated>:23 +0x78
net/http.(*liveSwitchReader).Read(0xc2083148a8, 0xc208423000, 0x1000, 0x1000, 0x4, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:206 +0xd3
io.(*LimitedReader).Read(0xc2082e65c0, 0xc208423000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/io/io.go:399 +0x17e
bufio.(*Reader).fill(0xc208284fc0)
/home/yml/go/src/pkg/bufio/bufio.go:97 +0x35d
bufio.(*Reader).ReadSlice(0xc208284fc0, 0xb7820a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:298 +0x5bf
bufio.(*Reader).ReadLine(0xc208284fc0, 0x0, 0x0, 0x0, 0xc208149a00, 0x0, 0x0)
/home/yml/go/src/pkg/bufio/bufio.go:326 +0x7a
net/textproto.(*Reader).readLineSlice(0xc2085aca80, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/net/textproto/reader.go:55 +0xc2
net/textproto.(*Reader).ReadLine(0xc2085aca80, 0x0, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/net/textproto/reader.go:36 +0x5c
net/http.ReadRequest(0xc208284fc0, 0xc208610820, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/request.go:556 +0xd8
net/http.(*conn).readRequest(0xc208314880, 0x0, 0x0, 0x0)
/home/yml/go/src/pkg/net/http/server.go:577 +0x3e6
net/http.(*conn).serve(0xc208314880)
/home/yml/go/src/pkg/net/http/server.go:1132 +0x8d3
created by net/http.(*Server).Serve
/home/yml/go/src/pkg/net/http/server.go:1721 +0x35d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment