goroutine profile: total 12 2 @ 0x43aba5 0x44bdb7 0x104b6b1 0x471c81 # 0x104b6b0 github.com/gilbertchen/duplicacy/src.CreateChunkOperator.func1+0x170 /Users/gchen/zincbox/duplicacy/src/duplicacy_chunkoperator.go:90 1 @ 0x40c674 0x46e365 0x7350a5 0x471c81 # 0x46e364 os/signal.signal_recv+0xa4 /usr/local/go/src/runtime/sigqueue.go:168 # 0x7350a4 os/signal.loop+0x24 /usr/local/go/src/os/signal/signal_unix.go:23 1 @ 0x43aba5 0x4059fa 0x405755 0x104b354 0xfd7e76 0xfd6ce5 0x104b61e 0x471c81 # 0x104b353 github.com/gilbertchen/duplicacy/src.(*ChunkDownloader).WaitForChunk.func2+0x53 /Users/gchen/zincbox/duplicacy/src/duplicacy_chunkdownloader.go:198 # 0xfd7e75 github.com/gilbertchen/duplicacy/src.(*ChunkOperator).DownloadChunk+0x1135 /Users/gchen/zincbox/duplicacy/src/duplicacy_chunkoperator.go:513 # 0xfd6ce4 github.com/gilbertchen/duplicacy/src.(*ChunkOperator).Run+0x1664 /Users/gchen/zincbox/duplicacy/src/duplicacy_chunkoperator.go:184 # 0x104b61d github.com/gilbertchen/duplicacy/src.CreateChunkOperator.func1+0xdd /Users/gchen/zincbox/duplicacy/src/duplicacy_chunkoperator.go:92 1 @ 0x43aba5 0x4068cf 0x40654b 0x1069d85 0x471c81 # 0x1069d84 main.main.func2+0x64 /Users/gchen/zincbox/duplicacy/duplicacy/duplicacy_main.go:2230 1 @ 0x43aba5 0x4068cf 0x40654b 0xaeb215 0x471c81 # 0xaeb214 github.com/godbus/dbus.(*Conn).outWorker+0x54 /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/conn.go:427 1 @ 0x43aba5 0x433211 0x46c035 0x4e8725 0x4ea212 0x4ea1f1 0x5c8790 0x5eae91 0x5e8b7d 0xb010ad 0x47ecc7 0xb018ae 0xb018b9 0xae9cb7 0x471c81 # 0x46c034 internal/poll.runtime_pollWait+0x54 /usr/local/go/src/runtime/netpoll.go:227 # 0x4e8724 internal/poll.(*pollDesc).wait+0x44 /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 # 0x4ea211 internal/poll.(*pollDesc).waitRead+0x251 /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 # 0x4ea1f0 internal/poll.(*FD).ReadMsg+0x230 /usr/local/go/src/internal/poll/fd_unix.go:249 # 0x5c878f net.(*netFD).readMsg+0x8f /usr/local/go/src/net/fd_posix.go:67 # 0x5eae90 net.(*UnixConn).readMsg+0x90 /usr/local/go/src/net/unixsock_posix.go:115 # 0x5e8b7c net.(*UnixConn).ReadMsgUnix+0x9c /usr/local/go/src/net/unixsock.go:143 # 0xb010ac github.com/godbus/dbus.(*oobReader).Read+0x8c /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/transport_unix.go:21 # 0x47ecc6 io.ReadAtLeast+0x86 /usr/local/go/src/io/io.go:328 # 0xb018ad io.ReadFull+0x12d /usr/local/go/src/io/io.go:347 # 0xb018b8 github.com/godbus/dbus.(*unixTransport).ReadMessage+0x138 /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/transport_unix.go:85 # 0xae9cb6 github.com/godbus/dbus.(*Conn).inWorker+0x56 /Users/gchen/zincbox/go/pkg/mod/github.com/godbus/dbus@v4.1.0+incompatible/conn.go:285 1 @ 0x43aba5 0x433211 0x46c035 0x4e8725 0x4eb592 0x4eb574 0x5c9b05 0x5e5252 0x5e4045 0x700605 0x70031a 0x1069a5c 0x1069a1e 0x471c81 # 0x46c034 internal/poll.runtime_pollWait+0x54 /usr/local/go/src/runtime/netpoll.go:227 # 0x4e8724 internal/poll.(*pollDesc).wait+0x44 /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 # 0x4eb591 internal/poll.(*pollDesc).waitRead+0x211 /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 # 0x4eb573 internal/poll.(*FD).Accept+0x1f3 /usr/local/go/src/internal/poll/fd_unix.go:401 # 0x5c9b04 net.(*netFD).accept+0x44 /usr/local/go/src/net/fd_unix.go:172 # 0x5e5251 net.(*TCPListener).accept+0x31 /usr/local/go/src/net/tcpsock_posix.go:139 # 0x5e4044 net.(*TCPListener).Accept+0x64 /usr/local/go/src/net/tcpsock.go:261 # 0x700604 net/http.(*Server).Serve+0x284 /usr/local/go/src/net/http/server.go:2962 # 0x700319 net/http.(*Server).ListenAndServe+0xb9 /usr/local/go/src/net/http/server.go:2891 # 0x1069a5b net/http.ListenAndServe+0x5b /usr/local/go/src/net/http/server.go:3145 # 0x1069a1d main.setGlobalOptions.func1+0x1d /Users/gchen/zincbox/duplicacy/duplicacy/duplicacy_main.go:162 1 @ 0x43aba5 0x44bdb7 0xa2504d 0x471c81 # 0xa2504c go.opencensus.io/stats/view.(*worker).start+0xcc /Users/gchen/zincbox/go/pkg/mod/go.opencensus.io@v0.22.3/stats/view/worker.go:154 1 @ 0x43aba5 0x46ec12 0xfd4ade 0xfc278b 0x105c6ee 0x7c0d04 0x7bdf48 0x1068e65 0x43a776 0x471c81 # 0x46ec11 time.Sleep+0xd1 /usr/local/go/src/runtime/time.go:193 # 0xfd4add github.com/gilbertchen/duplicacy/src.(*ChunkOperator).Stop+0x3d /Users/gchen/zincbox/duplicacy/src/duplicacy_chunkoperator.go:109 # 0xfc278a github.com/gilbertchen/duplicacy/src.(*BackupManager).Restore+0x2caa /Users/gchen/zincbox/duplicacy/src/duplicacy_backupmanager.go:938 # 0x105c6ed main.restoreRepository+0xaad /Users/gchen/zincbox/duplicacy/duplicacy/duplicacy_main.go:870 # 0x7c0d03 github.com/gilbertchen/cli.Command.Run+0x783 /Users/gchen/zincbox/go/pkg/mod/github.com/gilbertchen/cli@v1.2.1-0.20160223210219-1de0a1836ce9/command.go:160 # 0x7bdf47 github.com/gilbertchen/cli.(*App).Run+0x6a7 /Users/gchen/zincbox/go/pkg/mod/github.com/gilbertchen/cli@v1.2.1-0.20160223210219-1de0a1836ce9/app.go:179 # 0x1068e64 main.main+0x6b44 /Users/gchen/zincbox/duplicacy/duplicacy/duplicacy_main.go:2236 # 0x43a775 runtime.main+0x255 /usr/local/go/src/runtime/proc.go:225 1 @ 0x46bc3d 0x77cfae 0x77cd85 0x779912 0x78b385 0x78cbd7 0x6fcc64 0x6feaed 0x700223 0x6fb74d 0x471c81 # 0x46bc3c runtime/pprof.runtime_goroutineProfileWithLabels+0x5c /usr/local/go/src/runtime/mprof.go:716 # 0x77cfad runtime/pprof.writeRuntimeProfile+0xcd /usr/local/go/src/runtime/pprof/pprof.go:724 # 0x77cd84 runtime/pprof.writeGoroutine+0xa4 /usr/local/go/src/runtime/pprof/pprof.go:684 # 0x779911 runtime/pprof.(*Profile).WriteTo+0x3f1 /usr/local/go/src/runtime/pprof/pprof.go:331 # 0x78b384 net/http/pprof.handler.ServeHTTP+0x384 /usr/local/go/src/net/http/pprof/pprof.go:253 # 0x78cbd6 net/http/pprof.Index+0x8d6 /usr/local/go/src/net/http/pprof/pprof.go:371 # 0x6fcc63 net/http.HandlerFunc.ServeHTTP+0x43 /usr/local/go/src/net/http/server.go:2050 # 0x6feaec net/http.(*ServeMux).ServeHTTP+0x1ac /usr/local/go/src/net/http/server.go:2429 # 0x700222 net/http.serverHandler.ServeHTTP+0xa2 /usr/local/go/src/net/http/server.go:2868 # 0x6fb74c net/http.(*conn).serve+0x8cc /usr/local/go/src/net/http/server.go:1933 1 @ 0x4cd7c5 0x4cb0ba 0x4e9785 0x4e975b 0x4e9741 0x5c84cf 0x5db3b1 0x6f4e58 0x471c81 # 0x4cd7c4 syscall.Syscall+0x4 /usr/local/go/src/syscall/asm_linux_amd64.s:20 # 0x4cb0b9 syscall.read+0x59 /usr/local/go/src/syscall/zsyscall_linux_amd64.go:686 # 0x4e9784 syscall.Read+0x144 /usr/local/go/src/syscall/syscall_unix.go:187 # 0x4e975a internal/poll.ignoringEINTRIO+0x11a /usr/local/go/src/internal/poll/fd_unix.go:581 # 0x4e9740 internal/poll.(*FD).Read+0x100 /usr/local/go/src/internal/poll/fd_unix.go:162 # 0x5c84ce net.(*netFD).Read+0x4e /usr/local/go/src/net/fd_posix.go:55 # 0x5db3b0 net.(*conn).Read+0x90 /usr/local/go/src/net/net.go:183 # 0x6f4e57 net/http.(*connReader).backgroundRead+0x57 /usr/local/go/src/net/http/server.go:672