Skip to content

Instantly share code, notes, and snippets.

@tuxcanfly
Created July 4, 2014 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuxcanfly/ad54fdab0a90306cf491 to your computer and use it in GitHub Desktop.
Save tuxcanfly/ad54fdab0a90306cf491 to your computer and use it in GitHub Desktop.
goroutine 50 [running]:
runtime/pprof.writeGoroutineStacks(0xb75b2800, 0x18a52620, 0x0, 0x0)
/usr/local/go/src/pkg/runtime/pprof/pprof.go:511 +0x93
runtime/pprof.writeGoroutine(0xb75b2800, 0x18a52620, 0x2, 0x0, 0x0)
/usr/local/go/src/pkg/runtime/pprof/pprof.go:500 +0x4f
runtime/pprof.(*Profile).WriteTo(0x87eafe0, 0xb75b2800, 0x18a52620, 0x2, 0x0, 0x0)
/usr/local/go/src/pkg/runtime/pprof/pprof.go:229 +0xb8
net/http/pprof.handler.ServeHTTP(0x18c94281, 0x9, 0xb75b15c0, 0x18a52620, 0x18a52380)
/usr/local/go/src/pkg/net/http/pprof/pprof.go:165 +0x1bf
net/http/pprof.Index(0xb75b15c0, 0x18a52620, 0x18a52380)
/usr/local/go/src/pkg/net/http/pprof/pprof.go:177 +0x125
net/http.HandlerFunc.ServeHTTP(0x8633b08, 0xb75b15c0, 0x18a52620, 0x18a52380)
/usr/local/go/src/pkg/net/http/server.go:1235 +0x41
net/http.(*ServeMux).ServeHTTP(0x18a2e5a0, 0xb75b15c0, 0x18a52620, 0x18a52380)
/usr/local/go/src/pkg/net/http/server.go:1511 +0x12c
net/http.serverHandler.ServeHTTP(0x18a0e180, 0xb75b15c0, 0x18a52620, 0x18a52380)
/usr/local/go/src/pkg/net/http/server.go:1673 +0x155
net/http.(*conn).serve(0x18dc80a0)
/usr/local/go/src/pkg/net/http/server.go:1174 +0x8c6
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1721 +0x2be
goroutine 16 [semacquire]:
sync.runtime_Semacquire(0x18d86040)
/usr/local/go/src/pkg/runtime/sema.goc:199 +0x37
sync.(*WaitGroup).Wait(0x18a7e180)
/usr/local/go/src/pkg/sync/waitgroup.go:129 +0x12d
main.(*rpcServer).WaitForShutdown(0x18a7e180)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:404 +0x42
main.walletMain(0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/cmd.go:205 +0x36c
main.main()
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/cmd.go:138 +0x24
goroutine 19 [finalizer wait]:
runtime.park(0x8097bc0, 0x87f3dfc, 0x87f29a9)
/usr/local/go/src/pkg/runtime/proc.c:1369 +0x94
runtime.parkunlock(0x87f3dfc, 0x87f29a9)
/usr/local/go/src/pkg/runtime/proc.c:1385 +0x3f
runfinq()
/usr/local/go/src/pkg/runtime/mgc0.c:2644 +0xc5
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1445
goroutine 20 [syscall]:
os/signal.loop()
/usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x24
created by os/signal.init·1
/usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x37
goroutine 21 [semacquire]:
sync.runtime_Syncsemacquire(0x18a2ffa8)
/usr/local/go/src/pkg/runtime/sema.goc:257 +0xcd
sync.(*Cond).Wait(0x18a2ffa0)
/usr/local/go/src/pkg/sync/cond.go:62 +0x8e
github.com/conformal/seelog.(*asyncLoopLogger).processItem(0x18a31290, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/seelog/behavior_asynclooplogger.go:50 +0xb0
github.com/conformal/seelog.(*asyncLoopLogger).processQueue(0x18a31290)
/home/tuxcanfly/Work/golang/src/github.com/conformal/seelog/behavior_asynclooplogger.go:63 +0x37
created by github.com/conformal/seelog.newAsyncLoopLogger
/home/tuxcanfly/Work/golang/src/github.com/conformal/seelog/behavior_asynclooplogger.go:40 +0x6b
goroutine 22 [semacquire]:
sync.runtime_Syncsemacquire(0x18a2ea08)
/usr/local/go/src/pkg/runtime/sema.goc:257 +0xcd
sync.(*Cond).Wait(0x18a2ea00)
/usr/local/go/src/pkg/sync/cond.go:62 +0x8e
github.com/conformal/seelog.(*asyncLoopLogger).processItem(0x18a30150, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/seelog/behavior_asynclooplogger.go:50 +0xb0
github.com/conformal/seelog.(*asyncLoopLogger).processQueue(0x18a30150)
/home/tuxcanfly/Work/golang/src/github.com/conformal/seelog/behavior_asynclooplogger.go:63 +0x37
created by github.com/conformal/seelog.newAsyncLoopLogger
/home/tuxcanfly/Work/golang/src/github.com/conformal/seelog/behavior_asynclooplogger.go:40 +0x6b
goroutine 17 [syscall]:
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1445
goroutine 24 [semacquire]:
sync.runtime_Syncsemacquire(0x18aee508)
/usr/local/go/src/pkg/runtime/sema.goc:257 +0xcd
sync.(*Cond).Wait(0x18aee500)
/usr/local/go/src/pkg/sync/cond.go:62 +0x8e
github.com/conformal/seelog.(*asyncAdaptiveLogger).processItem(0x18a56320, 0x18dc6300, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/seelog/behavior_adaptivelogger.go:94 +0xc4
github.com/conformal/seelog.(*asyncAdaptiveLogger).processQueue(0x18a56320)
/home/tuxcanfly/Work/golang/src/github.com/conformal/seelog/behavior_adaptivelogger.go:119 +0x37
created by github.com/conformal/seelog.newAsyncAdaptiveLogger
/home/tuxcanfly/Work/golang/src/github.com/conformal/seelog/behavior_adaptivelogger.go:84 +0x495
goroutine 25 [IO wait]:
net.runtime_pollWait(0xb75a5818, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:146 +0x62
net.(*pollDesc).Wait(0x18a0e2b8, 0x72, 0x0, 0x0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:84 +0x48
net.(*pollDesc).WaitRead(0x18a0e2b8, 0x0, 0x0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:89 +0x46
net.(*netFD).accept(0x18a0e280, 0x8633ab0, 0x0, 0xb75a4248, 0xb)
/usr/local/go/src/pkg/net/fd_unix.go:409 +0x2f3
net.(*TCPListener).AcceptTCP(0x18afc030, 0x4, 0x0, 0x0)
/usr/local/go/src/pkg/net/tcpsock_posix.go:234 +0x57
net/http.tcpKeepAliveListener.Accept(0x18afc030, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/server.go:1947 +0x4e
net/http.(*Server).Serve(0x18a0e180, 0xb75a5888, 0x18afc030, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/server.go:1698 +0x94
net/http.(*Server).ListenAndServe(0x18a0e180, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/server.go:1688 +0x10b
net/http.ListenAndServe(0x18a94030, 0x5, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/server.go:1778 +0x73
main.func·006()
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/cmd.go:165 +0x19d
created by main.walletMain
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/cmd.go:166 +0xb1
goroutine 65 [chan receive]:
github.com/conformal/btcrpcclient.FutureNotifyReceivedResult.Receive(0x18b08040, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcrpcclient/notify.go:823 +0x7e
github.com/conformal/btcrpcclient.(*Client).NotifyReceived(0x18a825b0, 0xb6316e60, 0x1, 0x1, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcrpcclient/notify.go:901 +0x62
main.(*Account).NewAddress(0x18aae120, 0x0, 0x0, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/account.go:619 +0x3d5
main.GetNewAddress(0xb75b1638, 0x18e21200, 0x0, 0x0, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:1490 +0x293
main.(*rpcServer).RequestHandler(0x18a7e180)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:995 +0xc8
created by main.(*rpcServer).Start
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:300 +0x84
goroutine 67 [select]:
main.mainInterruptHandler()
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/signal.go:40 +0x211
created by main.addInterruptHandler
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/signal.go:63 +0xb6
goroutine 68 [select]:
main.clientAccess(0x18b68ea0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/cmd.go:90 +0xb0
created by main.walletMain
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/cmd.go:200 +0x32f
goroutine 77 [IO wait]:
net.runtime_pollWait(0xb75a56c8, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:146 +0x62
net.(*pollDesc).Wait(0x18ab01f8, 0x72, 0x0, 0x0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:84 +0x48
net.(*pollDesc).WaitRead(0x18ab01f8, 0x0, 0x0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:89 +0x46
net.(*netFD).Read(0x18ab01c0, 0x18a67c00, 0x400, 0x400, 0x0, 0xb75a4248, 0xb)
/usr/local/go/src/pkg/net/fd_unix.go:232 +0x28d
net.(*conn).Read(0x18afc0c0, 0x18a67c00, 0x400, 0x400, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/net/net.go:122 +0xc6
crypto/tls.(*block).readFromUntil(0x18d729c0, 0xb75aae20, 0x18afc0c0, 0x5, 0x0, 0x0)
/usr/local/go/src/pkg/crypto/tls/conn.go:451 +0xb0
crypto/tls.(*Conn).readRecord(0x18ea6000, 0x17, 0x0, 0x0)
/usr/local/go/src/pkg/crypto/tls/conn.go:536 +0x1be
crypto/tls.(*Conn).Read(0x18ea6000, 0x18d30000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/crypto/tls/conn.go:901 +0x140
bufio.(*Reader).fill(0x18c74480)
/usr/local/go/src/pkg/bufio/bufio.go:97 +0x14c
bufio.(*Reader).Read(0x18c74480, 0x18e21160, 0x2, 0x8, 0x2, 0x0, 0x0)
/usr/local/go/src/pkg/bufio/bufio.go:175 +0x1a4
github.com/conformal/websocket.(*Conn).read(0x18c7e240, 0x18e21160, 0x2, 0x8, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/websocket/conn.go:650 +0x75
github.com/conformal/websocket.(*Conn).advanceFrame(0x18c7e240, 0xb75ac758, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/websocket/conn.go:525 +0x146
github.com/conformal/websocket.(*Conn).NextReader(0x18c7e240, 0x18ef69ac, 0x0, 0x0, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/websocket/conn.go:678 +0x6d
github.com/conformal/websocket.(*Conn).ReadMessage(0x18c7e240, 0x18c74510, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/websocket/conn.go:728 +0x66
main.(*rpcServer).WebsocketClientRead(0x18a7e180, 0x18d72cc0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:433 +0x30
created by main.(*rpcServer).WebsocketClientRPC
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:748 +0x207
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment