Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tuxcanfly
Created July 7, 2014 15:21
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/ef0bc10ddebacbfff9f9 to your computer and use it in GitHub Desktop.
Save tuxcanfly/ef0bc10ddebacbfff9f9 to your computer and use it in GitHub Desktop.
goroutine 87 [running]:
runtime/pprof.writeGoroutineStacks(0xb753b798, 0x18d020e0, 0x0, 0x0)
/usr/local/go/src/pkg/runtime/pprof/pprof.go:511 +0x93
runtime/pprof.writeGoroutine(0xb753b798, 0x18d020e0, 0x2, 0x0, 0x0)
/usr/local/go/src/pkg/runtime/pprof/pprof.go:500 +0x4f
runtime/pprof.(*Profile).WriteTo(0x87eafe0, 0xb753b798, 0x18d020e0, 0x2, 0x0, 0x0)
/usr/local/go/src/pkg/runtime/pprof/pprof.go:229 +0xb8
net/http/pprof.handler.ServeHTTP(0x18c42161, 0x9, 0xb753aae0, 0x18d020e0, 0x18d02000)
/usr/local/go/src/pkg/net/http/pprof/pprof.go:165 +0x1bf
net/http/pprof.Index(0xb753aae0, 0x18d020e0, 0x18d02000)
/usr/local/go/src/pkg/net/http/pprof/pprof.go:177 +0x125
net/http.HandlerFunc.ServeHTTP(0x86340a8, 0xb753aae0, 0x18d020e0, 0x18d02000)
/usr/local/go/src/pkg/net/http/server.go:1235 +0x41
net/http.(*ServeMux).ServeHTTP(0x18a2e5a0, 0xb753aae0, 0x18d020e0, 0x18d02000)
/usr/local/go/src/pkg/net/http/server.go:1511 +0x12c
net/http.serverHandler.ServeHTTP(0x18aac040, 0xb753aae0, 0x18d020e0, 0x18d02000)
/usr/local/go/src/pkg/net/http/server.go:1673 +0x155
net/http.(*conn).serve(0x18df0320)
/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(0x18ba2c34)
/usr/local/go/src/pkg/runtime/sema.goc:199 +0x37
sync.(*WaitGroup).Wait(0x18a50510)
/usr/local/go/src/pkg/sync/waitgroup.go:129 +0x12d
main.(*rpcServer).WaitForShutdown(0x18a50510)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:415 +0x42
main.walletMain(0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/cmd.go:209 +0x394
main.main()
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/cmd.go:138 +0x24
goroutine 19 [finalizer wait]:
runtime.park(0x8098170, 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 24 [semacquire]:
sync.runtime_Syncsemacquire(0x18af6ae8)
/usr/local/go/src/pkg/runtime/sema.goc:257 +0xcd
sync.(*Cond).Wait(0x18af6ae0)
/usr/local/go/src/pkg/sync/cond.go:62 +0x8e
github.com/conformal/seelog.(*asyncAdaptiveLogger).processItem(0x18a56320, 0x18aac200, 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 17 [syscall]:
runtime.goexit()
/usr/local/go/src/pkg/runtime/proc.c:1445
goroutine 25 [IO wait]:
net.runtime_pollWait(0xb752e810, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:146 +0x62
net.(*pollDesc).Wait(0x18ab0038, 0x72, 0x0, 0x0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:84 +0x48
net.(*pollDesc).WaitRead(0x18ab0038, 0x0, 0x0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:89 +0x46
net.(*netFD).accept(0x18ab0000, 0x8634050, 0x0, 0xb752d248, 0xb)
/usr/local/go/src/pkg/net/fd_unix.go:409 +0x2f3
net.(*TCPListener).AcceptTCP(0x18ac2000, 0x4, 0x0, 0x0)
/usr/local/go/src/pkg/net/tcpsock_posix.go:234 +0x57
net/http.tcpKeepAliveListener.Accept(0x18ac2000, 0x0, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/server.go:1947 +0x4e
net/http.(*Server).Serve(0x18aac040, 0xb752e908, 0x18ac2000, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/server.go:1698 +0x94
net/http.(*Server).ListenAndServe(0x18aac040, 0x0, 0x0)
/usr/local/go/src/pkg/net/http/server.go:1688 +0x10b
net/http.ListenAndServe(0x18b04020, 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 send]:
main.(*Account).NewAddress(0x18a99c40, 0x0, 0x0, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/account.go:607 +0x162
main.GetNewAddress(0xb753ab58, 0x18c37130, 0x0, 0x0, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:1538 +0x293
main.(*rpcServer).RequestHandler(0x18a50510)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:1038 +0x11b
created by main.(*rpcServer).
Start
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:305 +0x87
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(0x18b46f30)
/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:204 +0x357
goroutine 70 [IO wait]:
net.runtime_pollWait(0xb752e6c0, 0x72, 0x0)
/usr/local/go/src/pkg/runtime/netpoll.goc:146 +0x62
net.(*pollDesc).Wait(0x18aac138, 0x72, 0x0, 0x0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:84 +0x48
net.(*pollDesc).WaitRead(0x18aac138, 0x0, 0x0)
/usr/local/go/src/pkg/net/fd_poll_runtime.go:89 +0x46
net.(*netFD).Read(0x18aac100, 0x18a67c00, 0x400, 0x400, 0x0, 0xb752d248, 0xb)
/usr/local/go/src/pkg/net/fd_unix.go:232 +0x28d
net.(*conn).Read(0x18a00460, 0x18a67c00, 0x400, 0x400, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/net/net.go:122 +0xc6
crypto/tls.(*block).readFromUntil(0x18d76100, 0xb752f478, 0x18a00460, 0x5, 0x0, 0x0)
/usr/local/go/src/pkg/crypto/tls/conn.go:451 +0xb0
crypto/tls.(*Conn).readRecord(0x18dd0000, 0x17, 0x0, 0x0)
/usr/local/go/src/pkg/crypto/tls/conn.go:536 +0x1be
crypto/tls.(*Conn).Read(0x18dd0000, 0x18c4c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/local/go/src/pkg/crypto/tls/conn.go:901 +0x140
bufio.(*Reader).fill(0x18c429c0)
/usr/local/go/src/pkg/bufio/bufio.go:97 +0x14c
bufio.(*Reader).Read(0x18c429c0, 0x18c37000, 0x2, 0x8, 0x2, 0x0, 0x0)
/usr/local/go/src/pkg/bufio/bufio.go:175 +0x1a4
github.com/conformal/websocket.(*Conn).read(0x18c46000, 0x18c37000, 0x2, 0x8, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/websocket/conn.go:650 +0x75
github.com/conformal/websocket.(*Conn).advanceFrame(0x18c46000, 0xb7531538, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/websocket/conn.go:525 +0x146
github.com/conformal/websocket.(*Conn).NextReader(0x18c46000, 0x18d3e0ec, 0x0, 0x0, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/websocket/conn.go:678 +0x6d
github.com/conformal/websocket.(*Conn).ReadMessage(0x18c46000, 0x18c42a20, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/tuxcanfly/Work/golang/src/github.com/conformal/websocket/conn.go:728 +0x66
main.(*rpcServer).WebsocketClientRead(0x18a50510, 0x18d76400)
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:469 +0x30
created by main.(*rpcServer).WebsocketClientRPC
/home/tuxcanfly/Work/golang/src/github.com/conformal/btcwallet/rpcserver.go:785 +0x207
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment