NebulousLabs / Sia

Blockchain-based marketplace for file storage. Project has moved to GitLab: https://gitlab.com/NebulousLabs/Sia
https://sia.tech
MIT License
2.71k stars 440 forks source link

from error log, sia boots then exits #2864

Closed grendeld closed 6 years ago

grendeld commented 6 years ago

BUG REPORT

Sia Daemon v1.3.1 Loading... (0/6) Loading siad... (1/6) Loading gateway... (2/6) Loading consensus... (3/6) Loading transaction pool... (4/6) Loading wallet... (5/6) Loading host... (6/6) Loading renter... Finished loading in 1.3818223 seconds Exception 0xc0000006 0x0 0x824f1008 0x5f0986 PC=0x5f0986

github.com/NebulousLabs/bolt.(Cursor).search(0xc042cb2d68, 0xc042c941e8, 0x8, 0x40, 0x2501) /home/luke/go/src/github.com/NebulousLabs/bolt/cursor.go:255 +0x66 github.com/NebulousLabs/bolt.(Cursor).searchPage(0xc042cb2d68, 0xc042c941e8, 0x8, 0x40, 0x9b31a000) /home/luke/go/src/github.com/NebulousLabs/bolt/cursor.go:314 +0x161 github.com/NebulousLabs/bolt.(Cursor).search(0xc042cb2d68, 0xc042c941e8, 0x8, 0x40, 0x1b32a) /home/luke/go/src/github.com/NebulousLabs/bolt/cursor.go:271 +0x1a9 github.com/NebulousLabs/bolt.(Cursor).seek(0xc042cb2d68, 0xc042c941e8, 0x8, 0x40, 0x0, 0x0, 0x0, 0x0, 0xc042cb2d88, 0x55c9be, ...) /home/luke/go/src/github.com/NebulousLabs/bolt/cursor.go:159 +0xb8 github.com/NebulousLabs/bolt.(Bucket).Get(0xc042b6af80, 0xc042c941e8, 0x8, 0x40, 0x40, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/bolt/bucket.go:267 +0xed github.com/NebulousLabs/Sia/modules/consensus.getPath(0xc042ab29a0, 0x15743, 0x6403000000000000, 0x522afba6f3997a2b, 0xb201c26f06a17b3e, 0xb01aed9748f624b, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusdb.go:212 +0xe6 github.com/NebulousLabs/Sia/modules/consensus.blockHistory(0xc042ab29a0, 0x201000000000000, 0x542d4176802fdda0, 0xaedfc1d61dea9b8, 0xfb5cce94ee5901f, 0x3501000000000000, 0xb8dc65a18b9bf394, 0xc16dc493bc3742d6, 0x8b315ae236a8fca1, 0x6e03000000000000, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:106 +0xc7 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).managedReceiveBlocks.func3(0xc042ab29a0, 0xaf1700, 0xc042ab29a0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:169 +0x52 github.com/NebulousLabs/bolt.(DB).View(0xc04205f2c0, 0xc042cb3c10, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/bolt/db.go:634 +0xa1 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).managedReceiveBlocks(0xc0420b3b80, 0xdee020, 0xc042d7e100, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:168 +0x202 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).(github.com/NebulousLabs/Sia/modules/consensus.managedReceiveBlocks)-fm(0xdee020, 0xc042d7e100, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:445 +0x45 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedRPC(0xc0420a86e0, 0xc0421b1700, 0x12, 0xac0d00, 0xa, 0xc0421e0d00, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2c9 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).RPC(0xc0420a86e0, 0xc0421b1700, 0x12, 0xac0d00, 0xa, 0xc0421e0d00, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:76 +0xd8 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).threadedInitialBlockchainDownload.func1(0xc0420b3b80, 0xc042cb3ef0, 0xc042cb3e98, 0xc042cb3ea0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:580 +0x12e github.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedInitialBlockchainDownload(0xc0420b3b80, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:601 +0x151 github.com/NebulousLabs/Sia/modules/consensus.New.func1(0x1, 0xc042146490, 0xc0420b3b80, 0xdee820, 0xc0420a86e0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:151 +0x3eb created by github.com/NebulousLabs/Sia/modules/consensus.New /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:144 +0x656

goroutine 1 [chan receive]: main.startDaemon(0x0, 0x0, 0xc04200c2ab, 0xe, 0xc04200e10b, 0x5, 0xc04200c2ec, 0x5, 0x0, 0xc04200e14a, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:183 +0x452 main.startDaemonCmd(0xc0420b0d80, 0xc042088410, 0x0, 0x5) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:209 +0x169 github.com/spf13/cobra.(Command).execute(0xc0420b0d80, 0xc042064010, 0x5, 0x7, 0xc0420b0d80, 0xc042064010) /home/luke/go/src/github.com/spf13/cobra/command.go:750 +0x2c8 github.com/spf13/cobra.(Command).ExecuteC(0xc0420b0d80, 0xae2c79, 0x3b, 0xc042043ae0) /home/luke/go/src/github.com/spf13/cobra/command.go:831 +0x315 github.com/spf13/cobra.(*Command).Execute(0xc0420b0d80, 0xefcd80, 0xacaf03) /home/luke/go/src/github.com/spf13/cobra/command.go:784 +0x32 main.main() /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/main.go:174 +0x797

goroutine 5 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:131 +0xad os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:22 +0x29 created by os/signal.init.0 /usr/local/go/src/os/signal/signal_unix.go:28 +0x48

goroutine 6 [IO wait]: internal/poll.runtime_pollWait(0x3815060, 0x72, 0xc0420b1698) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc0420b17d8, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc0420b1698, 0xc042afd1e0, 0x2, 0x1, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).acceptOne(0xc0420b1680, 0x39c, 0xc0421696c0, 0x2, 0x2, 0xc0420b1698, 0x390, 0xc042151d08, 0x41194f, 0x10) /usr/local/go/src/internal/poll/fd_windows.go:748 +0xae internal/poll.(FD).Accept(0xc0420b1680, 0xc04215f2f0, 0x0, 0x0, 0x0, 0x0, 0xc000000000, 0x0, 0x0, 0x0, ...) /usr/local/go/src/internal/poll/fd_windows.go:782 +0x171 net.(netFD).accept(0xc0420b1680, 0xc042151e88, 0x40117e, 0xc042be7340) /usr/local/go/src/net/fd_windows.go:192 +0x88 net.(TCPListener).accept(0xc0420040e8, 0x771f5f, 0x459350, 0xc042151ed0) /usr/local/go/src/net/tcpsock_posix.go:136 +0x35 net.(TCPListener).Accept(0xc0420040e8, 0xaf1c38, 0xc042be72c0, 0xdeb340, 0xc04215c090) /usr/local/go/src/net/tcpsock.go:247 +0x50 net/http.(Server).Serve(0xc04206b380, 0xdea700, 0xc0420040e8, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2695 +0x1b9 main.(*Server).Serve(0xc0420844b0, 0xe, 0xc04200e10b) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:578 +0x4b created by main.startDaemon /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:163 +0x19d

goroutine 7 [select]: github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedSaveLoop(0xc0420a86e0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/persist.go:57 +0x126 created by github.com/NebulousLabs/Sia/modules/gateway.New /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:249 +0x5e3

goroutine 8 [IO wait]: internal/poll.runtime_pollWait(0x3814fa0, 0x72, 0xc0420b18d8) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc0420b1a18, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc0420b18d8, 0xc0421e4000, 0x17, 0x1, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).acceptOne(0xc0420b18c0, 0x158, 0xc0421e2000, 0x2, 0x2, 0xc0420b18d8, 0x0, 0xc0421d3d28, 0x41194f, 0x10) /usr/local/go/src/internal/poll/fd_windows.go:748 +0xae internal/poll.(FD).Accept(0xc0420b18c0, 0xc0421e0000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/internal/poll/fd_windows.go:782 +0x171 net.(netFD).accept(0xc0420b18c0, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_windows.go:192 +0x88 net.(TCPListener).accept(0xc042004128, 0xc0421de000, 0x0, 0x8c720b) /usr/local/go/src/net/tcpsock_posix.go:136 +0x35 net.(TCPListener).Accept(0xc042004128, 0xaf1ff8, 0xc04203e360, 0x0, 0x0) /usr/local/go/src/net/tcpsock.go:247 +0x50 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).permanentListen(0xc0420a86e0, 0xc04203e360) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:99 +0x7c created by github.com/NebulousLabs/Sia/modules/gateway.New /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:301 +0xb03

goroutine 9 [semacquire]: sync.runtime_Semacquire(0xc0420a87ac) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(RWMutex).RLock(0xc0420a87a0) /usr/local/go/src/sync/rwmutex.go:50 +0x50 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).permanentPeerManager(0xc0420a86e0, 0xc04203e3c0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:95 +0x1eb created by github.com/NebulousLabs/Sia/modules/gateway.New /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:308 +0xba7

goroutine 10 [select]: github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentNodeManager(0xc0420a86e0, 0xc04203e420) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/nodes.go:321 +0x4ff created by github.com/NebulousLabs/Sia/modules/gateway.New /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:315 +0xc54

goroutine 11 [select]: github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentNodePurger(0xc0420a86e0, 0xc04203e480) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/nodes.go:227 +0x1d1 created by github.com/NebulousLabs/Sia/modules/gateway.New /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:322 +0xd01

goroutine 13 [select]: github.com/NebulousLabs/go-upnp.DiscoverCtx(0xdeb2c0, 0xc04200e1a8, 0xc0421dded8, 0xc0421ddee0, 0xc0420a8810) /home/luke/go/src/github.com/NebulousLabs/go-upnp/upnp.go:142 +0x1d0 github.com/NebulousLabs/go-upnp.Discover(0xc000000008, 0xaf16c0, 0xc0420a87c8) /home/luke/go/src/github.com/NebulousLabs/go-upnp/upnp.go:120 +0x40 github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedLearnHostname(0xc0420a86e0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/upnp.go:59 +0x92 created by github.com/NebulousLabs/Sia/modules/gateway.New /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:326 +0xd5d

goroutine 25 [select]: github.com/NebulousLabs/Sia/modules/wallet.(*Wallet).threadedDBUpdate(0xc04220a840) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/wallet/database.go:74 +0x19c created by github.com/NebulousLabs/Sia/modules/wallet.newWallet /home/luke/go/src/github.com/NebulousLabs/Sia/modules/wallet/wallet.go:155 +0x35f

goroutine 36 [select]: github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer.func1(0xc0421ea1e0, 0xc0420a86e0, 0xc0421ea240, 0xc0422e0340) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:153 +0x126 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:147 +0x119

goroutine 199 [select]: net.(Dialer).DialContext.func1(0xc0422308a0, 0xc0421e0970, 0xdeb280, 0xc042a123c0) /usr/local/go/src/net/dial.go:357 +0xf9 created by net.(Dialer).DialContext /usr/local/go/src/net/dial.go:356 +0xa25

goroutine 50 [IO wait]: internal/poll.runtime_pollWait(0x3814e20, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc04220c158, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc04220c018, 0xaf19f8, 0x8, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc04220c000, 0xc0423da000, 0x8, 0x10008, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc04220c000, 0xc0423da000, 0x8, 0x10008, 0x8, 0x0, 0x0) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc0422ee000, 0xc0423da000, 0x8, 0x10008, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 io.ReadAtLeast(0x3890028, 0xc0422ee000, 0xc0423da000, 0x8, 0x10008, 0x8, 0xa99220, 0x0, 0x3890028) /usr/local/go/src/io/io.go:309 +0x8d io.ReadFull(0x3890028, 0xc0422ee000, 0xc0423da000, 0x8, 0x10008, 0x8, 0x0, 0x0) /usr/local/go/src/io/io.go:327 +0x5f github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).readFrame(0xc0423b6080, 0xc0423da000, 0x10008, 0x10008, 0x10301, 0x0, 0x0, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:213 +0x98 github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).recvLoop(0xc0423b6080) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:242 +0x101 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:76 +0x1dc

goroutine 51 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).sendLoop(0xc0423b6080) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:308 +0x17f created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:77 +0x1fe

goroutine 52 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepalive(0xc0423b6080) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:290 +0x1d0 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:78 +0x220

goroutine 53 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).AcceptStream(0xc0423b6080, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:125 +0x267 github.com/NebulousLabs/Sia/modules/gateway.smuxSession.Accept(0xc0423b6080, 0x0, 0xc04203e300, 0x8c36d2, 0x1) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/stream.go:34 +0x32 github.com/NebulousLabs/Sia/modules/gateway.(peer).accept(0xc0422e0340, 0xb2d05e00, 0xc0420a8601, 0xdee020, 0xc042e8ebc0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:60 +0x3f github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer(0xc0420a86e0, 0xc0422e0340) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:166 +0x12a created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).addPeer /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:71 +0x9d

goroutine 55 [select]: github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).threadedRegularSync(0xc042366000) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:38 +0x19c created by github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).initPersist /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:132 +0x3ae

goroutine 15 [select]: github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1(0xc042368120, 0xc042044140) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:91 +0x538 created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:44 +0x199

goroutine 26 [semacquire]: sync.runtime_Semacquire(0xc0422e6d1c) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(WaitGroup).Wait(0xc0422e6d10) /usr/local/go/src/sync/waitgroup.go:131 +0x79 github.com/NebulousLabs/Sia/modules/host/contractmanager.(writeAheadLog).syncResources(0xc0423bc308) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:99 +0x220 github.com/NebulousLabs/Sia/modules/host/contractmanager.(writeAheadLog).commit(0xc0423bc308) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:147 +0x47 github.com/NebulousLabs/Sia/modules/host/contractmanager.(writeAheadLog).threadedSyncLoop(0xc0423bc308, 0xc0422306c0, 0xc042230720) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:276 +0xa3 created by github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).spawnSyncLoop /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:223 +0xf4

goroutine 27 [select]: github.com/NebulousLabs/Sia/modules/host/contractmanager.(*ContractManager).threadedFolderRecheck(0xc0423bc240) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/storagefolder.go:292 +0x42d created by github.com/NebulousLabs/Sia/modules/host/contractmanager.newContractManager /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/contractmanager.go:214 +0x778

goroutine 29 [IO wait]: internal/poll.runtime_pollWait(0x3814ca0, 0x72, 0xc0421fe498) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc0421fe5d8, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc0421fe498, 0xc042a201a0, 0x17, 0x1, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).acceptOne(0xc0421fe480, 0x1f8, 0xc042168000, 0x2, 0x2, 0xc0421fe498, 0xc0421b29a0, 0xc042ac5d48, 0x41194f, 0x10) /usr/local/go/src/internal/poll/fd_windows.go:748 +0xae internal/poll.(FD).Accept(0xc0421fe480, 0xc04215e140, 0x0, 0x0, 0x0, 0x0, 0xc000000000, 0x0, 0x0, 0x0, ...) /usr/local/go/src/internal/poll/fd_windows.go:782 +0x171 net.(netFD).accept(0xc0421fe480, 0xc0421aef20, 0xc0421afc60, 0xc0421afe00) /usr/local/go/src/net/fd_windows.go:192 +0x88 net.(TCPListener).accept(0xc042160618, 0xc0425020c0, 0xc0421afa40, 0x902e0b) /usr/local/go/src/net/tcpsock_posix.go:136 +0x35 net.(TCPListener).Accept(0xc042160618, 0xaf1ff8, 0xc042230840, 0xc0421ab9a0, 0xc0421aeea0) /usr/local/go/src/net/tcpsock.go:247 +0x50 github.com/NebulousLabs/Sia/modules/host.(Host).threadedListen(0xc0420aa580, 0xc042230840) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/network.go:317 +0x83 created by github.com/NebulousLabs/Sia/modules/host.(*Host).initNetworking /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/network.go:239 +0x29d

goroutine 38 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e8b60, 0x11, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 58 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e8bc0, 0x13, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 16 [select]: github.com/NebulousLabs/Sia/modules/renter/hostdb.(*HostDB).threadedSaveLoop(0xc042044140) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/persist.go:86 +0x110 created by github.com/NebulousLabs/Sia/modules/renter/hostdb.newHostDB /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/hostdb.go:123 +0x43f

goroutine 30 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e8b00, 0x11, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 61 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e8c20, 0x13, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 41 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e8c80, 0x13, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 65 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e8ce0, 0x12, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 64 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e8d40, 0x11, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 68 [semacquire]: sync.runtime_Semacquire(0xc0420a87ac) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(RWMutex).RLock(0xc0420a87a0) /usr/local/go/src/sync/rwmutex.go:50 +0x50 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).Online(0xc0420a86e0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:522 +0x5d github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).updateEntry(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e8da0, 0x12, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:110 +0xec6 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e8da0, 0x12, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:269 +0x3fd github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(*HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 83 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e7020, 0x10, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 71 [IO wait]: internal/poll.runtime_pollWait(0x3814460, 0x77, 0xc042d5f738) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042d5f7d8, 0x77, 0xc0429a6000, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9160, 0xc042d5f738, 0xaf19f0, 0xc042bece48, 0xc042bece50, 0xc042bece40) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).ConnectEx(0xc042d5f680, 0xde50c0, 0xc042a00160, 0xc0420347c0, 0xc042d5f680) /usr/local/go/src/internal/poll/fd_windows.go:738 +0x80 net.(netFD).connect(0xc042d5f680, 0xdeb280, 0xc0420347c0, 0x0, 0x0, 0xde50c0, 0xc042a00160, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/fd_windows.go:116 +0x243 net.(netFD).dial(0xc042d5f680, 0xdeb280, 0xc0420347c0, 0xded120, 0x0, 0xded120, 0xc0428b0480, 0xc042bed040, 0x5b39a5) /usr/local/go/src/net/sock_posix.go:142 +0xf3 net.socket(0xdeb280, 0xc0420347c0, 0xab4ea6, 0x3, 0x2, 0x1, 0x0, 0x0, 0xded120, 0x0, ...) /usr/local/go/src/net/sock_posix.go:93 +0x1c1 net.internetSocket(0xdeb280, 0xc0420347c0, 0xab4ea6, 0x3, 0xded120, 0x0, 0xded120, 0xc0428b0480, 0x1, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x158 net.doDialTCP(0xdeb280, 0xc0420347c0, 0xab4ea6, 0x3, 0x0, 0xc0428b0480, 0xf1c8d8, 0x0, 0x0) /usr/local/go/src/net/tcpsock_posix.go:62 +0xc0 net.dialTCP(0xdeb280, 0xc0420347c0, 0xab4ea6, 0x3, 0x0, 0xc0428b0480, 0xbea274e331a13d68, 0x1c5296701c, 0xefca20) /usr/local/go/src/net/tcpsock_posix.go:58 +0xeb net.dialSingle(0xdeb280, 0xc0420347c0, 0xc0426b3580, 0xde7e00, 0xc0428b0480, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:547 +0x3e9 net.dialSerial(0xdeb280, 0xc0420347c0, 0xc0426b3580, 0xc0422f2790, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:515 +0x24e net.(Dialer).DialContext(0xc042bed610, 0xdeb2c0, 0xc04200e1a8, 0xab4ea6, 0x3, 0xc0422e76c0, 0x10, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:397 +0x6f5 net.(Dialer).Dial(0xc042bed610, 0xab4ea6, 0x3, 0xc0422e76c0, 0x10, 0x4111c1, 0xc042c9a420, 0x160, 0x148) /usr/local/go/src/net/dial.go:320 +0x7c github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost.func1(0xc042044140, 0xc0422e76c0, 0x10, 0x39313535326465, 0x0, 0xc04271b170, 0x20, 0x21, 0xc042c9a420, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:235 +0xf2 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e76c0, 0x10, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:257 +0x299 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 172 [select]: net.(Dialer).DialContext.func1(0xc0422308a0, 0xc0422f2740, 0xdeb280, 0xc0420347c0) /usr/local/go/src/net/dial.go:357 +0xf9 created by net.(Dialer).DialContext /usr/local/go/src/net/dial.go:356 +0xa25

goroutine 86 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e8ea0, 0x12, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 125 [select]: github.com/NebulousLabs/Sia/modules/renter.(*Renter).threadedRepairScan(0xc042a10b40) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/repairscanner.go:353 +0x4c4 created by github.com/NebulousLabs/Sia/modules/renter.newRenter /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/renter.go:268 +0x496

goroutine 74 [IO wait]: internal/poll.runtime_pollWait(0x38142e0, 0x77, 0xc04220d738) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc04220d7d8, 0x77, 0xc043016800, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9160, 0xc04220d738, 0xaf19f0, 0xc042d8ee48, 0xc042d8ee50, 0xc042d8ee40) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).ConnectEx(0xc04220d680, 0xde50c0, 0xc043022360, 0xc0422e09c0, 0xc04220d680) /usr/local/go/src/internal/poll/fd_windows.go:738 +0x80 net.(netFD).connect(0xc04220d680, 0xdeb280, 0xc0422e09c0, 0x0, 0x0, 0xde50c0, 0xc043022360, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/fd_windows.go:116 +0x243 net.(netFD).dial(0xc04220d680, 0xdeb280, 0xc0422e09c0, 0xded120, 0x0, 0xded120, 0xc042a193e0, 0xc042d8f040, 0x5b39a5) /usr/local/go/src/net/sock_posix.go:142 +0xf3 net.socket(0xdeb280, 0xc0422e09c0, 0xab4ea6, 0x3, 0x2, 0x1, 0x0, 0x0, 0xded120, 0x0, ...) /usr/local/go/src/net/sock_posix.go:93 +0x1c1 net.internetSocket(0xdeb280, 0xc0422e09c0, 0xab4ea6, 0x3, 0xded120, 0x0, 0xded120, 0xc042a193e0, 0x1, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x158 net.doDialTCP(0xdeb280, 0xc0422e09c0, 0xab4ea6, 0x3, 0x0, 0xc042a193e0, 0xf1c8d8, 0x0, 0x0) /usr/local/go/src/net/tcpsock_posix.go:62 +0xc0 net.dialTCP(0xdeb280, 0xc0422e09c0, 0xab4ea6, 0x3, 0x0, 0xc042a193e0, 0xbea274e366d86a50, 0x1c83686704, 0xefca20) /usr/local/go/src/net/tcpsock_posix.go:58 +0xeb net.dialSingle(0xdeb280, 0xc0422e09c0, 0xc04303c600, 0xde7e00, 0xc042a193e0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:547 +0x3e9 net.dialSerial(0xdeb280, 0xc0422e09c0, 0xc04303c600, 0xc042dc6d80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:515 +0x24e net.(Dialer).DialContext(0xc042d8f610, 0xdeb2c0, 0xc04200e1a8, 0xab4ea6, 0x3, 0xc04233e0c0, 0x13, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:397 +0x6f5 net.(Dialer).Dial(0xc042d8f610, 0xab4ea6, 0x3, 0xc04233e0c0, 0x13, 0x4111c1, 0xc042366f20, 0x160, 0x148) /usr/local/go/src/net/dial.go:320 +0x7c github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost.func1(0xc042044140, 0xc04233e0c0, 0x13, 0x39313535326465, 0x0, 0xc04271b1d0, 0x20, 0x21, 0xc042366f20, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:235 +0xf2 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc04233e0c0, 0x13, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:257 +0x299 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 563 [semacquire]: sync.runtime_Semacquire(0xc0420b3d54) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(RWMutex).RLock(0xc0420b3d48) /usr/local/go/src/sync/rwmutex.go:50 +0x50 github.com/NebulousLabs/demotemutex.(DemoteMutex).RLock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:42 +0x38 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).LockedTryTransactionSet(0xc0420b3b80, 0xc04262c0c0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/validtransaction.go:383 +0xad github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).AcceptTransactionSet(0xc042366000, 0xc042956300, 0x3, 0x3, 0x1e8480, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/accept.go:334 +0xf2 github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).relayTransactionSet(0xc042366000, 0xdee020, 0xc042e8ebc0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/accept.go:373 +0x1e6 github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).(github.com/NebulousLabs/Sia/modules/transactionpool.relayTransactionSet)-fm(0xdee020, 0xc042e8ebc0, 0x29, 0xc042abbf48) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/transactionpool.go:107 +0x45 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedHandleConn(0xc0420a86e0, 0xdee020, 0xc042e8ebc0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:220 +0x36d created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:180 +0x2d0

goroutine 44 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e70f0, 0xf, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 77 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e8fc0, 0x11, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 47 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9060, 0x12, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 80 [IO wait]: internal/poll.runtime_pollWait(0x3910e40, 0x77, 0xc042d5f978) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042d5fa18, 0x77, 0xc0429a6100, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9160, 0xc042d5f978, 0xaf19f0, 0xc042a38e48, 0xc042a38e50, 0xc042a38e40) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).ConnectEx(0xc042d5f8c0, 0xde50c0, 0xc042a00200, 0xc0420349c0, 0xc042d5f8c0) /usr/local/go/src/internal/poll/fd_windows.go:738 +0x80 net.(netFD).connect(0xc042d5f8c0, 0xdeb280, 0xc0420349c0, 0x0, 0x0, 0xde50c0, 0xc042a00200, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/fd_windows.go:116 +0x243 net.(netFD).dial(0xc042d5f8c0, 0xdeb280, 0xc0420349c0, 0xded120, 0x0, 0xded120, 0xc0428b0600, 0xc042a39040, 0x5b39a5) /usr/local/go/src/net/sock_posix.go:142 +0xf3 net.socket(0xdeb280, 0xc0420349c0, 0xab4ea6, 0x3, 0x2, 0x1, 0x0, 0x0, 0xded120, 0x0, ...) /usr/local/go/src/net/sock_posix.go:93 +0x1c1 net.internetSocket(0xdeb280, 0xc0420349c0, 0xab4ea6, 0x3, 0xded120, 0x0, 0xded120, 0xc0428b0600, 0x1, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x158 net.doDialTCP(0xdeb280, 0xc0420349c0, 0xab4ea6, 0x3, 0x0, 0xc0428b0600, 0xf1c8d8, 0x0, 0x0) /usr/local/go/src/net/tcpsock_posix.go:62 +0xc0 net.dialTCP(0xdeb280, 0xc0420349c0, 0xab4ea6, 0x3, 0x0, 0xc0428b0600, 0xbea274e36d04cc70, 0x1c8994c924, 0xefca20) /usr/local/go/src/net/tcpsock_posix.go:58 +0xeb net.dialSingle(0xdeb280, 0xc0420349c0, 0xc0426b3600, 0xde7e00, 0xc0428b0600, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:547 +0x3e9 net.dialSerial(0xdeb280, 0xc0420349c0, 0xc0426b3600, 0xc0422f2810, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:515 +0x24e net.(Dialer).DialContext(0xc042a39610, 0xdeb2c0, 0xc04200e1a8, 0xab4ea6, 0x3, 0xc0422e7770, 0x10, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:397 +0x6f5 net.(Dialer).Dial(0xc042a39610, 0xab4ea6, 0x3, 0xc0422e7770, 0x10, 0x4111c1, 0xc042c9a580, 0x160, 0x148) /usr/local/go/src/net/dial.go:320 +0x7c github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost.func1(0xc042044140, 0xc0422e7770, 0x10, 0x39313535326465, 0x0, 0xc04271b200, 0x20, 0x21, 0xc042c9a580, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:235 +0xf2 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e7770, 0x10, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:257 +0x299 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 607 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.2(0xc042a9f4a0, 0xc042cbfe00, 0xc042a14900) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:155 +0xe5 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:154 +0x1e3

goroutine 532 [IO wait]: internal/poll.runtime_pollWait(0x389add0, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042d777d8, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042d77698, 0xaf19f8, 0x0, 0x0, 0xc0424cdef0) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc042d77680, 0xc0425e9d21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc042d77680, 0xc0425e9d21, 0x1, 0x1, 0x0, 0x0, 0xc0426ee2a0) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc042bde0b8, 0xc0425e9d21, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc0425e9d10) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 89 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e71c0, 0x10, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 99 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e91e0, 0x11, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 92 [IO wait]: internal/poll.runtime_pollWait(0x3910c00, 0x77, 0xc042d76778) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042d76818, 0x77, 0xc042159700, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9160, 0xc042d76778, 0xaf19f0, 0xc042a8ae48, 0xc042a8ae50, 0xc042a8ae40) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).ConnectEx(0xc042d766c0, 0xde50c0, 0xc04220f620, 0xc042a12540, 0xc042d766c0) /usr/local/go/src/internal/poll/fd_windows.go:738 +0x80 net.(netFD).connect(0xc042d766c0, 0xdeb280, 0xc042a12540, 0x0, 0x0, 0xde50c0, 0xc04220f620, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/fd_windows.go:116 +0x243 net.(netFD).dial(0xc042d766c0, 0xdeb280, 0xc042a12540, 0xded120, 0x0, 0xded120, 0xc042c48660, 0xc042a8b040, 0x5b39a5) /usr/local/go/src/net/sock_posix.go:142 +0xf3 net.socket(0xdeb280, 0xc042a12540, 0xab4ea6, 0x3, 0x2, 0x1, 0x0, 0x0, 0xded120, 0x0, ...) /usr/local/go/src/net/sock_posix.go:93 +0x1c1 net.internetSocket(0xdeb280, 0xc042a12540, 0xab4ea6, 0x3, 0xded120, 0x0, 0xded120, 0xc042c48660, 0x1, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x158 net.doDialTCP(0xdeb280, 0xc042a12540, 0xab4ea6, 0x3, 0x0, 0xc042c48660, 0xf1c8d8, 0x0, 0x0) /usr/local/go/src/net/tcpsock_posix.go:62 +0xc0 net.dialTCP(0xdeb280, 0xc042a12540, 0xab4ea6, 0x3, 0x0, 0xc042c48660, 0xbea274e36f3225b0, 0x1c8bc22264, 0xefca20) /usr/local/go/src/net/tcpsock_posix.go:58 +0xeb net.dialSingle(0xdeb280, 0xc042a12540, 0xc0423b6680, 0xde7e00, 0xc042c48660, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:547 +0x3e9 net.dialSerial(0xdeb280, 0xc042a12540, 0xc0423b6680, 0xc0421e0a60, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:515 +0x24e net.(Dialer).DialContext(0xc042a8b610, 0xdeb2c0, 0xc04200e1a8, 0xab4ea6, 0x3, 0xc04233e2e0, 0x13, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:397 +0x6f5 net.(Dialer).Dial(0xc042a8b610, 0xab4ea6, 0x3, 0xc04233e2e0, 0x13, 0x4111c1, 0xc042dfa000, 0x160, 0x148) /usr/local/go/src/net/dial.go:320 +0x7c github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost.func1(0xc042044140, 0xc04233e2e0, 0x13, 0x39313535326465, 0x0, 0xc04271b290, 0x20, 0x21, 0xc042dfa000, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:235 +0xf2 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc04233e2e0, 0x13, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:257 +0x299 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 658 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.2(0xc042a9fc80, 0xc0422a7f00, 0xc042a14c00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:155 +0xe5 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:154 +0x1e3

goroutine 95 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e7260, 0x10, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 102 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9360, 0x11, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 114 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9f20, 0x14, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 173 [select]: net.(netFD).connect.func2(0xdeb280, 0xc0420347c0, 0xc042d5f680, 0xc04203e540) /usr/local/go/src/net/fd_windows.go:105 +0xf9 created by net.(netFD).connect /usr/local/go/src/net/fd_windows.go:104 +0x218

goroutine 105 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9480, 0x11, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 108 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9500, 0x14, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 111 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e95a0, 0x11, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 146 [IO wait]: internal/poll.runtime_pollWait(0x3910780, 0x77, 0xc042d76538) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042d765d8, 0x77, 0xc042159700, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9160, 0xc042d76538, 0xaf19f0, 0xc04224ae48, 0xc04224ae50, 0xc04224ae40) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).ConnectEx(0xc042d76480, 0xde50c0, 0xc04220f5c0, 0xc042a12480, 0xc042d76480) /usr/local/go/src/internal/poll/fd_windows.go:738 +0x80 net.(netFD).connect(0xc042d76480, 0xdeb280, 0xc042a12480, 0x0, 0x0, 0xde50c0, 0xc04220f5c0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/fd_windows.go:116 +0x243 net.(netFD).dial(0xc042d76480, 0xdeb280, 0xc042a12480, 0xded120, 0x0, 0xded120, 0xc042c48480, 0xc04224b040, 0x5b39a5) /usr/local/go/src/net/sock_posix.go:142 +0xf3 net.socket(0xdeb280, 0xc042a12480, 0xab4ea6, 0x3, 0x2, 0x1, 0x0, 0x0, 0xded120, 0x0, ...) /usr/local/go/src/net/sock_posix.go:93 +0x1c1 net.internetSocket(0xdeb280, 0xc042a12480, 0xab4ea6, 0x3, 0xded120, 0x0, 0xded120, 0xc042c48480, 0x1, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x158 net.doDialTCP(0xdeb280, 0xc042a12480, 0xab4ea6, 0x3, 0x0, 0xc042c48480, 0xf1c8d8, 0x0, 0x0) /usr/local/go/src/net/tcpsock_posix.go:62 +0xc0 net.dialTCP(0xdeb280, 0xc042a12480, 0xab4ea6, 0x3, 0x0, 0xc042c48480, 0xbea274e36f2a8300, 0x1c8bba7fb4, 0xefca20) /usr/local/go/src/net/tcpsock_posix.go:58 +0xeb net.dialSingle(0xdeb280, 0xc042a12480, 0xc0423b6600, 0xde7e00, 0xc042c48480, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:547 +0x3e9 net.dialSerial(0xdeb280, 0xc042a12480, 0xc0423b6600, 0xc0421e09f0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:515 +0x24e net.(Dialer).DialContext(0xc04224b610, 0xdeb2c0, 0xc04200e1a8, 0xab4ea6, 0x3, 0xc04233e240, 0x14, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:397 +0x6f5 net.(Dialer).Dial(0xc04224b610, 0xab4ea6, 0x3, 0xc04233e240, 0x14, 0x4111c1, 0xc0420a9e40, 0x160, 0x148) /usr/local/go/src/net/dial.go:320 +0x7c github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost.func1(0xc042044140, 0xc04233e240, 0x14, 0x39313535326465, 0x0, 0xc04271b260, 0x20, 0x21, 0xc0420a9e40, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:235 +0xf2 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc04233e240, 0x14, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:257 +0x299 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 130 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e96c0, 0x13, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 203 [select]: net.(Dialer).DialContext.func1(0xc0422308a0, 0xc0421e0a50, 0xdeb280, 0xc042a12540) /usr/local/go/src/net/dial.go:357 +0xf9 created by net.(Dialer).DialContext /usr/local/go/src/net/dial.go:356 +0xa25

goroutine 204 [select]: net.(netFD).connect.func2(0xdeb280, 0xc042a12540, 0xc042d766c0, 0xc0421eb800) /usr/local/go/src/net/fd_windows.go:105 +0xf9 created by net.(netFD).connect /usr/local/go/src/net/fd_windows.go:104 +0x218

goroutine 149 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e7400, 0x10, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 133 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e97a0, 0x12, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 152 [IO wait]: internal/poll.runtime_pollWait(0x3910480, 0x77, 0xc04220d4f8) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc04220d598, 0x77, 0xc043016700, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9160, 0xc04220d4f8, 0xaf19f0, 0xc042304e48, 0xc042304e50, 0xc042304e40) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).ConnectEx(0xc04220d440, 0xde50c0, 0xc0430222e0, 0xc0422e0900, 0xc04220d440) /usr/local/go/src/internal/poll/fd_windows.go:738 +0x80 net.(netFD).connect(0xc04220d440, 0xdeb280, 0xc0422e0900, 0x0, 0x0, 0xde50c0, 0xc0430222e0, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/fd_windows.go:116 +0x243 net.(netFD).dial(0xc04220d440, 0xdeb280, 0xc0422e0900, 0xded120, 0x0, 0xded120, 0xc042a19260, 0xc042305040, 0x5b39a5) /usr/local/go/src/net/sock_posix.go:142 +0xf3 net.socket(0xdeb280, 0xc0422e0900, 0xab4ea6, 0x3, 0x2, 0x1, 0x0, 0x0, 0xded120, 0x0, ...) /usr/local/go/src/net/sock_posix.go:93 +0x1c1 net.internetSocket(0xdeb280, 0xc0422e0900, 0xab4ea6, 0x3, 0xded120, 0x0, 0xded120, 0xc042a19260, 0x1, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x158 net.doDialTCP(0xdeb280, 0xc0422e0900, 0xab4ea6, 0x3, 0x0, 0xc042a19260, 0xf1c8d8, 0x0, 0x0) /usr/local/go/src/net/tcpsock_posix.go:62 +0xc0 net.dialTCP(0xdeb280, 0xc0422e0900, 0xab4ea6, 0x3, 0x0, 0xc042a19260, 0xbea274e366c923c4, 0x1c83592078, 0xefca20) /usr/local/go/src/net/tcpsock_posix.go:58 +0xeb net.dialSingle(0xdeb280, 0xc0422e0900, 0xc04303c580, 0xde7e00, 0xc042a19260, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:547 +0x3e9 net.dialSerial(0xdeb280, 0xc0422e0900, 0xc04303c580, 0xc042dc6d10, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:515 +0x24e net.(Dialer).DialContext(0xc042305610, 0xdeb2c0, 0xc04200e1a8, 0xab4ea6, 0x3, 0xc0422e7700, 0x10, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:397 +0x6f5 net.(Dialer).Dial(0xc042305610, 0xab4ea6, 0x3, 0xc0422e7700, 0x10, 0x4111c1, 0xc042366dc0, 0x160, 0x148) /usr/local/go/src/net/dial.go:320 +0x7c github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost.func1(0xc042044140, 0xc0422e7700, 0x10, 0x39313535326465, 0x0, 0xc04271b1a0, 0x20, 0x21, 0xc042366dc0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:235 +0xf2 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e7700, 0x10, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:257 +0x299 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 153 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e98c0, 0x13, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 214 [select]: net.(Dialer).DialContext.func1(0xc0422308a0, 0xc042dc6d70, 0xdeb280, 0xc0422e09c0) /usr/local/go/src/net/dial.go:357 +0xf9 created by net.(Dialer).DialContext /usr/local/go/src/net/dial.go:356 +0xa25

goroutine 215 [select]: net.(netFD).connect.func2(0xdeb280, 0xc0422e09c0, 0xc04220d680, 0xc0423691a0) /usr/local/go/src/net/fd_windows.go:105 +0xf9 created by net.(netFD).connect /usr/local/go/src/net/fd_windows.go:104 +0x218

goroutine 156 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9960, 0x13, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 159 [IO wait]: internal/poll.runtime_pollWait(0x3910240, 0x77, 0xc042d762f8) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042d76398, 0x77, 0xc042159700, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9160, 0xc042d762f8, 0xaf19f0, 0xc042c36e48, 0xc042c36e50, 0xc042c36e40) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).ConnectEx(0xc042d76240, 0xde50c0, 0xc04220f560, 0xc042a123c0, 0xc042d76240) /usr/local/go/src/internal/poll/fd_windows.go:738 +0x80 net.(netFD).connect(0xc042d76240, 0xdeb280, 0xc042a123c0, 0x0, 0x0, 0xde50c0, 0xc04220f560, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/fd_windows.go:116 +0x243 net.(netFD).dial(0xc042d76240, 0xdeb280, 0xc042a123c0, 0xded120, 0x0, 0xded120, 0xc0421a5f50, 0xc042c37040, 0x5b39a5) /usr/local/go/src/net/sock_posix.go:142 +0xf3 net.socket(0xdeb280, 0xc042a123c0, 0xab4ea6, 0x3, 0x2, 0x1, 0x0, 0x0, 0xded120, 0x0, ...) /usr/local/go/src/net/sock_posix.go:93 +0x1c1 net.internetSocket(0xdeb280, 0xc042a123c0, 0xab4ea6, 0x3, 0xded120, 0x0, 0xded120, 0xc0421a5f50, 0x1, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x158 net.doDialTCP(0xdeb280, 0xc042a123c0, 0xab4ea6, 0x3, 0x0, 0xc0421a5f50, 0xf1c8d8, 0x0, 0x0) /usr/local/go/src/net/tcpsock_posix.go:62 +0xc0 net.dialTCP(0xdeb280, 0xc042a123c0, 0xab4ea6, 0x3, 0x0, 0xc0421a5f50, 0xbea274e36f2a8300, 0x1c8bba7fb4, 0xefca20) /usr/local/go/src/net/tcpsock_posix.go:58 +0xeb net.dialSingle(0xdeb280, 0xc042a123c0, 0xc0423b6580, 0xde7e00, 0xc0421a5f50, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:547 +0x3e9 net.dialSerial(0xdeb280, 0xc042a123c0, 0xc0423b6580, 0xc0421e0980, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:515 +0x24e net.(Dialer).DialContext(0xc042c37610, 0xdeb2c0, 0xc04200e1a8, 0xab4ea6, 0x3, 0xc04233e1c0, 0x13, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:397 +0x6f5 net.(Dialer).Dial(0xc042c37610, 0xab4ea6, 0x3, 0xc04233e1c0, 0x13, 0x4111c1, 0xc0420a9ce0, 0x160, 0x148) /usr/local/go/src/net/dial.go:320 +0x7c github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost.func1(0xc042044140, 0xc04233e1c0, 0x13, 0x39313535326465, 0x0, 0xc04271b230, 0x20, 0x21, 0xc0420a9ce0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:235 +0xf2 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc04233e1c0, 0x13, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:257 +0x299 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 138 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9a80, 0x12, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 201 [select]: net.(Dialer).DialContext.func1(0xc0422308a0, 0xc0421e09e0, 0xdeb280, 0xc042a12480) /usr/local/go/src/net/dial.go:357 +0xf9 created by net.(Dialer).DialContext /usr/local/go/src/net/dial.go:356 +0xa25

goroutine 202 [select]: net.(netFD).connect.func2(0xdeb280, 0xc042a12480, 0xc042d76480, 0xc0421eb6e0) /usr/local/go/src/net/fd_windows.go:105 +0xf9 created by net.(netFD).connect /usr/local/go/src/net/fd_windows.go:104 +0x218

goroutine 141 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9b00, 0x12, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 144 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9ba0, 0x11, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 179 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9c20, 0x13, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 182 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9cc0, 0x1c, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 162 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9d80, 0x14, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 165 [semacquire]: sync.runtime_SemacquireMutex(0xc04204417c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc042044178) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc042044178) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).managedScanHost(0xc042044140, 0x0, 0x0, 0x0, 0x0, 0xc0422e9e60, 0x13, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:268 +0x39f github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedProbeHosts(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:299 +0x281 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1.1(0xc042044140, 0xc042368120) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:81 +0x3c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).queueScan.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:80 +0x59a

goroutine 121 [select]: github.com/NebulousLabs/Sia/modules/renter/hostdb.(*HostDB).threadedScan(0xc042044140) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:358 +0x88d created by github.com/NebulousLabs/Sia/modules/renter/hostdb.newHostDB /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/hostdb.go:163 +0x73d

goroutine 336 [IO wait]: internal/poll.runtime_pollWait(0x389aa10, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042dd7358, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042dd7218, 0xaf19f8, 0x8, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc042dd7200, 0xc042694000, 0x8, 0x10008, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc042dd7200, 0xc042694000, 0x8, 0x10008, 0x8, 0x0, 0x0) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc042160040, 0xc042694000, 0x8, 0x10008, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 io.ReadAtLeast(0x3890028, 0xc042160040, 0xc042694000, 0x8, 0x10008, 0x8, 0xa99220, 0x0, 0x3890028) /usr/local/go/src/io/io.go:309 +0x8d io.ReadFull(0x3890028, 0xc042160040, 0xc042694000, 0x8, 0x10008, 0x8, 0x0, 0x0) /usr/local/go/src/io/io.go:327 +0x5f github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).readFrame(0xc04303db80, 0xc042694000, 0x10008, 0x10008, 0x10301, 0x0, 0x0, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:213 +0x98 github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).recvLoop(0xc04303db80) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:242 +0x101 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:76 +0x1dc

goroutine 124 [sleep]: time.Sleep(0x14f46b0400) /usr/local/go/src/runtime/time.go:65 +0x145 github.com/NebulousLabs/Sia/sync.(*RWMutex).threadedDeadlockFinder(0xc0422e0400) /home/luke/go/src/github.com/NebulousLabs/Sia/sync/lock.go:78 +0x3b5 created by github.com/NebulousLabs/Sia/sync.New /home/luke/go/src/github.com/NebulousLabs/Sia/sync/lock.go:47 +0xb8

goroutine 577 [IO wait]: internal/poll.runtime_pollWait(0x389ae90, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042d77e98, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042d77d58, 0xaf19f8, 0x0, 0x0, 0xc042fe9ef0) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc042d77d40, 0xc04262c641, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc042d77d40, 0xc04262c641, 0x1, 0x1, 0xc042a5d200, 0x3, 0xc043244720) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc042bde0d0, 0xc04262c641, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc04262c630) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 126 [select]: github.com/NebulousLabs/Sia/modules/renter.(Renter).managedDownloadIteration(0xc042a10b40, 0xc0432a1f20) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/download.go:381 +0x163 github.com/NebulousLabs/Sia/modules/renter.(Renter).threadedDownloadLoop(0xc042a10b40) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/download.go:644 +0x355 created by github.com/NebulousLabs/Sia/modules/renter.newRenter /home/luke/go/src/github.com/NebulousLabs/Sia/modules/renter/renter.go:269 +0x4b8

goroutine 127 [chan receive]: main.startDaemon.func1(0xc042a4acc0, 0xc042368de0, 0xc0420844b0) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:174 +0x3f created by main.startDaemon /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:173 +0x2e0

goroutine 212 [select]: net.(Dialer).DialContext.func1(0xc0422308a0, 0xc042dc6d00, 0xdeb280, 0xc0422e0900) /usr/local/go/src/net/dial.go:357 +0xf9 created by net.(Dialer).DialContext /usr/local/go/src/net/dial.go:356 +0xa25

goroutine 320 [select]: github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer.func1(0xc042368960, 0xc0420a86e0, 0xc0423689c0, 0xc0421dfc00) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:153 +0x126 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:147 +0x119

goroutine 213 [select]: net.(netFD).connect.func2(0xdeb280, 0xc0422e0900, 0xc04220d440, 0xc042369080) /usr/local/go/src/net/fd_windows.go:105 +0xf9 created by net.(netFD).connect /usr/local/go/src/net/fd_windows.go:104 +0x218

goroutine 176 [select]: net.(Dialer).DialContext.func1(0xc0422308a0, 0xc0422f2800, 0xdeb280, 0xc0420349c0) /usr/local/go/src/net/dial.go:357 +0xf9 created by net.(Dialer).DialContext /usr/local/go/src/net/dial.go:356 +0xa25

goroutine 225 [select]: net.(netFD).connect.func2(0xdeb280, 0xc0420349c0, 0xc042d5f8c0, 0xc04203e7e0) /usr/local/go/src/net/fd_windows.go:105 +0xf9 created by net.(netFD).connect /usr/local/go/src/net/fd_windows.go:104 +0x218

goroutine 200 [select]: net.(netFD).connect.func2(0xdeb280, 0xc042a123c0, 0xc042d76240, 0xc0421eb5c0) /usr/local/go/src/net/fd_windows.go:105 +0xf9 created by net.(netFD).connect /usr/local/go/src/net/fd_windows.go:104 +0x218

goroutine 546 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc04231a2a0, 0xc042a14200, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc04231a2a0, 0xc042a14200, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc04231a2a0, 0xc042a14200) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc04231a2a0, 0xc042a14200) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc04231a2a0, 0xc042a14200) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042a9ee40, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc04231a2a0, 0xc042a14200) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 489 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc04231a2a0, 0xc042a14200) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc04231a2a0, 0xc042a14200) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc04231a2a0, 0xc042a14200) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc04231a2a0, 0xc042a14200) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc04231a2a0, 0xc042a14200) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc04231a2a0, 0xc042a14200) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc04231a2a0, 0xc042a14200) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc04231a2a0, 0xc042a14200) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042043f40, 0xdeb280, 0xc042cbef00) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 371 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).AcceptStream(0xc04303db80, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:125 +0x267 github.com/NebulousLabs/Sia/modules/gateway.smuxSession.Accept(0xc04303db80, 0x0, 0xc04203e300, 0x8c36d2, 0x1) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/stream.go:34 +0x32 github.com/NebulousLabs/Sia/modules/gateway.(peer).accept(0xc0421dfc00, 0xb2d05e00, 0xc0420a8601, 0xdee020, 0xc042e8ec40) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:60 +0x3f github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer(0xc0420a86e0, 0xc0421dfc00) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:166 +0x12a created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).addPeer /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:71 +0x9d

goroutine 370 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepalive(0xc04303db80) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:290 +0x1d0 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:78 +0x220

goroutine 531 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042be6820, 0xdeb280, 0xc043063240) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 565 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc04231a540, 0xc042135500) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc04231a540, 0xc042135500) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc04231a540, 0xc042135500) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc04231a540, 0xc042135500) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc04231a540, 0xc042135500) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc04231a540, 0xc042135500) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc04231a540, 0xc042135500) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc04231a540, 0xc042135500) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042972d20, 0xdeb280, 0xc042bfdac0) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 490 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc04231a380, 0xc042a14300) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc04231a380, 0xc042a14300) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc04231a380, 0xc042a14300) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc04231a380, 0xc042a14300) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc04231a380, 0xc042a14300) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc04231a380, 0xc042a14300) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc04231a380, 0xc042a14300) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc04231a380, 0xc042a14300) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc0424d2000, 0xdeb280, 0xc042cbef80) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 554 [select]: github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).relayTransactionSet.func1(0xc042366000, 0xc042a9f1a0, 0xdee020, 0xc042e8ec40) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/accept.go:360 +0xf8 created by github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).relayTransactionSet /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/accept.go:359 +0x118

goroutine 530 [syscall, locked to thread]: syscall.Syscall(0x7fffbe6826e0, 0x1, 0x1c4, 0x0, 0x0, 0xc042fc9888, 0x42c2e0, 0xc042c796b0) /usr/local/go/src/runtime/syscall_windows.go:163 +0x69 syscall.FlushFileBuffers(0x1c4, 0xc042fc98a0, 0xc042b07001) /usr/local/go/src/syscall/zsyscall_windows.go:948 +0x6b syscall.Fsync(0x1c4, 0xaf1a28, 0xc042a105a0) /usr/local/go/src/syscall/syscall_windows.go:521 +0x32 internal/poll.(FD).Fsync(0xc042a105a0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_posix.go:56 +0x8f os.(File).Sync(0xc0422ee0f8, 0x0, 0x0) /usr/local/go/src/os/file_posix.go:127 +0x51 github.com/NebulousLabs/bolt.fdatasync(0xc042a103c0, 0x1000, 0x1000) /home/luke/go/src/github.com/NebulousLabs/bolt/bolt_windows.go:47 +0x36 github.com/NebulousLabs/bolt.(Tx).writeMeta(0xc042ab20e0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/bolt/tx.go:568 +0x131 github.com/NebulousLabs/bolt.(Tx).Commit(0xc042ab20e0, 0x0, 0xc042b832c0) /home/luke/go/src/github.com/NebulousLabs/bolt/tx.go:221 +0x4e7 github.com/NebulousLabs/Sia/modules/wallet.(Wallet).syncDB(0xc04220a840) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/wallet/database.go:89 +0x4e github.com/NebulousLabs/Sia/modules/wallet.(Wallet).ConfirmedBalance(0xc04220a840, 0xc0426ee958, 0x0, 0xc042fc9ee0, 0x43ec7f, 0xc042fc9f50, 0x2, 0x2, 0xc042fc9fb0, 0x2, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/wallet/money.go:35 +0x13c github.com/NebulousLabs/Sia/api.(API).walletHandler(0xc042170360, 0xdea8c0, 0xc0422f67e0, 0xc042135100, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/wallet.go:124 +0x53 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.walletHandler)-fm(0xdea8c0, 0xc0422f67e0, 0xc042135100, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:106 +0x6d github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc0422f67e0, 0xc042135100) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc0422f67e0, 0xc042135100) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc0422f67e0, 0xc042135100) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042369b00, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc0422f67e0, 0xc042135100) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 557 [semacquire]: sync.runtime_SemacquireMutex(0xc04220a90c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc04220a908) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc04220a908) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/wallet.(Wallet).ConfirmedBalance(0xc04220a840, 0x300000002, 0xc042abc780, 0xc0429f9c98, 0x436766, 0xc042abc780, 0x200000003, 0xc042abc780, 0xc0429f9cd8, 0x4111c1, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/wallet/money.go:31 +0xfe github.com/NebulousLabs/Sia/api.(API).walletHandler(0xc042170360, 0xdea8c0, 0xc04231a540, 0xc042135500, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/wallet.go:124 +0x53 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.walletHandler)-fm(0xdea8c0, 0xc04231a540, 0xc042135500, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:106 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc04231a540, 0xc042135500) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc04231a540, 0xc042135500) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc04231a540, 0xc042135500) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042a9f260, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc04231a540, 0xc042135500) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 369 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).sendLoop(0xc04303db80) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:308 +0x17f created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:77 +0x1fe

goroutine 556 [IO wait]: internal/poll.runtime_pollWait(0x389ac50, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042b77598, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042b77458, 0xaf19f8, 0x0, 0x0, 0xc0432a3ef0) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc042b77440, 0xc04300d601, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc042b77440, 0xc04300d601, 0x1, 0x1, 0xc042abcd80, 0x3, 0xc042a045a0) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc0422ee668, 0xc04300d601, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc04300d5f0) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 547 [IO wait]: internal/poll.runtime_pollWait(0x389a950, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042d5ba18, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042d5b8d8, 0xaf19f8, 0xc0000000000, 0x50, 0x50) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc042d5b8c0, 0xc042a19ed1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc042d5b8c0, 0xc042a19ed1, 0x1, 0x1, 0xc0421e7140, 0x0, 0xde4401) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc042004390, 0xc042a19ed1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc042a19ec0) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 544 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042be6aa0, 0xdeb280, 0xc043063980) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 578 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc0422f6b60, 0xc042b68e00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc0422f6b60, 0xc042b68e00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0428a2180, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 579 [IO wait]: internal/poll.runtime_pollWait(0x389a7d0, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042b777d8, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042b77698, 0xaf19f8, 0x0, 0x0, 0xc042fddef0) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc042b77680, 0xc04300d6f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc042b77680, 0xc04300d6f1, 0x1, 0x1, 0xc042a5d200, 0x3, 0xc042037b00) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc0422ee670, 0xc04300d6f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc04300d6e0) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 648 [syscall, locked to thread]: syscall.Syscall(0x7fffbe6826e0, 0x1, 0x380, 0x0, 0x0, 0xc042fbdec0, 0x42c2e0, 0xc042089340) /usr/local/go/src/runtime/syscall_windows.go:163 +0x69 syscall.FlushFileBuffers(0x380, 0xc042fbded8, 0xc042abcc01) /usr/local/go/src/syscall/zsyscall_windows.go:948 +0x6b syscall.Fsync(0x380, 0xaf1a28, 0xc042b70b40) /usr/local/go/src/syscall/syscall_windows.go:521 +0x32 internal/poll.(FD).Fsync(0xc042b70b40, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_posix.go:56 +0x8f os.(File).Sync(0xc042bde100, 0xaf2338, 0xc0422e6d10) /usr/local/go/src/os/file_posix.go:127 +0x51 github.com/NebulousLabs/Sia/modules/host/contractmanager.(writeAheadLog).syncResources.func4(0xc0422e6d10, 0xc0423bc308) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:85 +0x69 created by github.com/NebulousLabs/Sia/modules/host/contractmanager.(writeAheadLog).syncResources /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:82 +0x20f

goroutine 543 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc0422f6b60, 0xc042b68e00) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042be6a00, 0xdeb280, 0xc043063900) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 533 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc0422f68c0, 0xc042b68a00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc0422f68c0, 0xc042b68a00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042369c20, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc0422f68c0, 0xc042b68a00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 548 [semacquire]: sync.runtime_SemacquireMutex(0xc04220a90c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc04220a908) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc04220a908) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/wallet.(Wallet).ConfirmedBalance(0xc04220a840, 0xc042231ec0, 0xc04203f500, 0xc04203f560, 0xc0421712d8, 0xc0423bc550, 0xde3bc0, 0xc0420330c0, 0xc043001d38, 0x789d7b, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/wallet/money.go:31 +0xfe github.com/NebulousLabs/Sia/api.(API).walletHandler(0xc042170360, 0xdea8c0, 0xc04231a380, 0xc042a14300, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/wallet.go:124 +0x53 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.walletHandler)-fm(0xdea8c0, 0xc04231a380, 0xc042a14300, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:106 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc04231a380, 0xc042a14300) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc04231a380, 0xc042a14300) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc04231a380, 0xc042a14300) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042a9ef60, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc04231a380, 0xc042a14300) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 604 [semacquire]: sync.runtime_Semacquire(0xc0420a87ac) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(RWMutex).RLock(0xc0420a87a0) /usr/local/go/src/sync/rwmutex.go:50 +0x50 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedConnectv130Peer(0xc0420a86e0, 0xdedcc0, 0xc0422ee688, 0xc042afe638, 0x5, 0xc0421ac560, 0x13, 0x0, 0xde4440) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:363 +0x14b github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedConnect(0xc0420a86e0, 0xc0421ac560, 0x13, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:416 +0x8dc github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedPeerManagerConnect(0xc0420a86e0, 0xc0421ac560, 0x13) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:13 +0x119 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).permanentPeerManager.func1(0xc0421ea000, 0xc0420a86e0, 0xc0421ac560, 0x13) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:147 +0xc0 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).permanentPeerManager /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:135 +0x4a4

goroutine 636 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc04231ac40, 0xc042a14e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc04231ac40, 0xc042a14e00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc04231ac40, 0xc042a14e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc04231ac40, 0xc042a14e00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc04231ac40, 0xc042a14e00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc04231ac40, 0xc042a14e00) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc04231ac40, 0xc042a14e00) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc04231ac40, 0xc042a14e00) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042be6f00, 0xdeb280, 0xc0422b6040) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 484 [semacquire]: sync.runtime_Semacquire(0xc0420b3d50) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(RWMutex).Lock(0xc0420b3d48) /usr/local/go/src/sync/rwmutex.go:98 +0x75 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:58 +0x46 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc042a29ea0, 0xc042b68800, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc042a29ea0, 0xc042b68800, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc042a29ea0, 0xc042b68800) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc042a29ea0, 0xc042b68800) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc042a29ea0, 0xc042b68800) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042a9e9c0, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc042a29ea0, 0xc042b68800) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 430 [select]: github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).managedReceiveBlocks.func1(0xc0420b3b80, 0xc04203f8c0, 0xdee020, 0xc042d7e100) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:148 +0xf8 created by github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).managedReceiveBlocks /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:147 +0x144

goroutine 509 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.2(0xc042a9e9c0, 0xc042bfd100, 0xc042b68800) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:155 +0xe5 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:154 +0x1e3

goroutine 423 [syscall, locked to thread]: syscall.Syscall(0x7fffbe6826e0, 0x1, 0x394, 0x0, 0x0, 0xc042031a50, 0x42c2e0, 0xc0421540d0) /usr/local/go/src/runtime/syscall_windows.go:163 +0x69 syscall.FlushFileBuffers(0x394, 0xc042031a68, 0xca01) /usr/local/go/src/syscall/zsyscall_windows.go:948 +0x6b syscall.Fsync(0x394, 0xaf1a28, 0xc042baa960) /usr/local/go/src/syscall/syscall_windows.go:521 +0x32 internal/poll.(FD).Fsync(0xc042baa960, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_posix.go:56 +0x8f os.(File).Sync(0xc0420044f0, 0xc042ac6000, 0xc8d7) /usr/local/go/src/os/file_posix.go:127 +0x51 github.com/NebulousLabs/Sia/persist.SaveJSON.func3(0xc04200be00, 0x3f, 0xc042ac6000, 0xc8d7, 0xca02, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/persist/json.go:203 +0x14f github.com/NebulousLabs/Sia/persist.SaveJSON(0xac4e8a, 0xd, 0xab5e1c, 0x5, 0x9c8240, 0xc042b57820, 0xc04200be00, 0x3f, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/persist/json.go:208 +0x3ca github.com/NebulousLabs/Sia/modules/gateway.(Gateway).saveSync(0xc0420a86e0, 0xc0420afe90, 0xc0421b0940) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/persist.go:51 +0x151 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedConnect(0xc0420a86e0, 0xc0421b0940, 0x11, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:443 +0x520 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedPeerManagerConnect(0xc0420a86e0, 0xc0421b0940, 0x11) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:13 +0x119 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).permanentPeerManager.func1(0xc0421ea000, 0xc0420a86e0, 0xc0421b0940, 0x11) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:147 +0xc0 created by github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentPeerManager /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:135 +0x4a4

goroutine 558 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.2(0xc042a9f0e0, 0xc042cbf680, 0xc042a14500) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:155 +0xe5 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:154 +0x1e3

goroutine 535 [select]: github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).relayTransactionSet.func1(0xc042366000, 0xc042369da0, 0xdee020, 0xc042e8ebc0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/accept.go:360 +0xf8 created by github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).relayTransactionSet /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/accept.go:359 +0x118

goroutine 553 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc04231a460, 0xc042a14500, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc04231a460, 0xc042a14500, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc04231a460, 0xc042a14500) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc04231a460, 0xc042a14500) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc04231a460, 0xc042a14500) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042a9f0e0, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc04231a460, 0xc042a14500) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 516 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc0422f67e0, 0xc042135100) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc0422f67e0, 0xc042135100) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc0422f67e0, 0xc042135100) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc0422f67e0, 0xc042135100) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc0422f67e0, 0xc042135100) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc0422f67e0, 0xc042135100) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc0422f67e0, 0xc042135100) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc0422f67e0, 0xc042135100) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042972b40, 0xdeb280, 0xc042bfd400) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 647 [syscall, locked to thread]: syscall.Syscall(0x7fffbe6826e0, 0x1, 0x324, 0x0, 0x0, 0xc04225de28, 0x42c2e0, 0xc042c78490) /usr/local/go/src/runtime/syscall_windows.go:163 +0x69 syscall.FlushFileBuffers(0x324, 0xc04225de40, 0xc042e27901) /usr/local/go/src/syscall/zsyscall_windows.go:948 +0x6b syscall.Fsync(0x324, 0xaf1a28, 0xc04205fc20) /usr/local/go/src/syscall/syscall_windows.go:521 +0x32 internal/poll.(FD).Fsync(0xc04205fc20, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_posix.go:56 +0x8f os.(File).Sync(0xc0422ee690, 0x2, 0x2) /usr/local/go/src/os/file_posix.go:127 +0x51 github.com/NebulousLabs/Sia/modules/host/contractmanager.(writeAheadLog).syncResources.func1(0xc0422e6d10, 0xc0423bc308) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:30 +0x177 created by github.com/NebulousLabs/Sia/modules/host/contractmanager.(writeAheadLog).syncResources /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:25 +0x9a

goroutine 545 [IO wait]: internal/poll.runtime_pollWait(0x389a890, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042d5b7d8, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042d5b698, 0xaf19f8, 0xc0000000000, 0x50, 0x50) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc042d5b680, 0xc042a19de1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc042d5b680, 0xc042a19de1, 0x1, 0x1, 0xc042a2b020, 0x0, 0xde4401) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc042004380, 0xc042a19de1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc042a19dd0) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 529 [IO wait]: internal/poll.runtime_pollWait(0x389aad0, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042b76ed8, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042b76d98, 0xaf19f8, 0xc0000000000, 0x50, 0x50) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc042b76d80, 0xc04300ceb1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc042b76d80, 0xc04300ceb1, 0x1, 0x1, 0xc0432447e0, 0x0, 0xde4401) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc0422ee650, 0xc04300ceb1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc04300cea0) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 599 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc04231a700, 0xc042a14900, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc04231a700, 0xc042a14900, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc04231a700, 0xc042a14900) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc04231a700, 0xc042a14900) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc04231a700, 0xc042a14900) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042a9f4a0, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc04231a700, 0xc042a14900) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 564 [semacquire]: sync.runtime_Semacquire(0xc0420b3d54) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(RWMutex).RLock(0xc0420b3d48) /usr/local/go/src/sync/rwmutex.go:50 +0x50 github.com/NebulousLabs/demotemutex.(DemoteMutex).RLock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:42 +0x38 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).LockedTryTransactionSet(0xc0420b3b80, 0xc04262c240, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/validtransaction.go:383 +0xad github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).AcceptTransactionSet(0xc042366000, 0xc042956600, 0x3, 0x3, 0x1e8480, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/accept.go:334 +0xf2 github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).relayTransactionSet(0xc042366000, 0xdee020, 0xc042e8ec40, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/accept.go:373 +0x1e6 github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).(github.com/NebulousLabs/Sia/modules/transactionpool.relayTransactionSet)-fm(0xdee020, 0xc042e8ec40, 0x29, 0xc042275f48) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/transactionpool.go:107 +0x45 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedHandleConn(0xc0420a86e0, 0xdee020, 0xc042e8ec40) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:220 +0x36d created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:180 +0x2d0

goroutine 566 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc0422f6c40, 0xc042135600) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc0422f6c40, 0xc042135600) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc0422f6c40, 0xc042135600) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc0422f6c40, 0xc042135600) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc0422f6c40, 0xc042135600) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc0422f6c40, 0xc042135600) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc0422f6c40, 0xc042135600) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc0422f6c40, 0xc042135600) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042972dc0, 0xdeb280, 0xc042bfdbc0) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 567 [IO wait]: internal/poll.runtime_pollWait(0x389ad10, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc0428a4158, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc0428a4018, 0xaf19f8, 0x0, 0x9dd3eb, 0x16247) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc0428a4000, 0xc04262c731, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc0428a4000, 0xc04262c731, 0x1, 0x1, 0x96843, 0xa052c, 0xb907e) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc042bde0d8, 0xc04262c731, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc04262c720) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 568 [semacquire]: sync.runtime_SemacquireMutex(0xc04220a90c, 0x0) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc04220a908) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc04220a908) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/wallet.(Wallet).ConfirmedBalance(0xc04220a840, 0x0, 0x9ce2c6, 0x7b508, 0x9a7d8, 0xc83d1, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/wallet/money.go:31 +0xfe github.com/NebulousLabs/Sia/api.(API).walletHandler(0xc042170360, 0xdea8c0, 0xc042ca4ee0, 0xc042b68f00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/wallet.go:124 +0x53 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.walletHandler)-fm(0xdea8c0, 0xc042ca4ee0, 0xc042b68f00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:106 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0426ef140, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc042ca4ee0, 0xc042b68f00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 580 [semacquire]: sync.runtime_SemacquireMutex(0xc04220a90c, 0xc042e1b300) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc04220a908) /usr/local/go/src/sync/mutex.go:134 +0xf5 sync.(RWMutex).Lock(0xc04220a908) /usr/local/go/src/sync/rwmutex.go:93 +0x34 github.com/NebulousLabs/Sia/modules/wallet.(Wallet).Transactions(0xc04220a840, 0x0, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/wallet/transactions.go:90 +0x94 github.com/NebulousLabs/Sia/api.(API).walletTransactionsHandler(0xc042170360, 0xdea8c0, 0xc0422f6c40, 0xc042135600, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/wallet.go:515 +0x187 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.walletTransactionsHandler)-fm(0xdea8c0, 0xc0422f6c40, 0xc042135600, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:121 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc0422f6c40, 0xc042135600) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc0422f6c40, 0xc042135600) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc0422f6c40, 0xc042135600) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0428a22a0, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc0422f6c40, 0xc042135600) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 559 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.2(0xc0428a23c0, 0xc042cbf6c0, 0xc042b69000) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:155 +0xe5 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:154 +0x1e3

goroutine 583 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc0422f6d20, 0xc042b69000, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc0422f6d20, 0xc042b69000, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc0422f6d20, 0xc042b69000) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc0422f6d20, 0xc042b69000) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc0422f6d20, 0xc042b69000) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0428a23c0, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc0422f6d20, 0xc042b69000) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 682 [IO wait]: internal/poll.runtime_pollWait(0x389a4d0, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042df2a58, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042df2918, 0xaf19f8, 0xefc980, 0x2, 0x6b) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc042df2900, 0xc04262db11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc042df2900, 0xc04262db11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc0422ee6e8, 0xc04262db11, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc04262db00) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 659 [select]: github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer.func1(0xc0426efc80, 0xc0420a86e0, 0xc0426efce0, 0xc042e57f40) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:153 +0x126 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:147 +0x119

goroutine 674 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.2(0xc0428a3020, 0xc0422b6000, 0xc042b69900) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:155 +0xe5 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:154 +0x1e3

goroutine 574 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.2(0xc042a9f920, 0xc042bfdf40, 0xc042a14a00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:155 +0xe5 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:154 +0x1e3

goroutine 635 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc0422f7180, 0xc042b69900, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc0422f7180, 0xc042b69900, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc0422f7180, 0xc042b69900) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc0422f7180, 0xc042b69900) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc0422f7180, 0xc042b69900) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0428a3020, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc0422f7180, 0xc042b69900) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 624 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepalive(0xc042b95280) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:290 +0x1d0 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:78 +0x220

goroutine 610 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc04231a8c0, 0xc042a14a00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc04231a8c0, 0xc042a14a00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc04231a8c0, 0xc042a14a00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc04231a8c0, 0xc042a14a00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc04231a8c0, 0xc042a14a00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042a9f920, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc04231a8c0, 0xc042a14a00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 676 [semacquire]: sync.runtime_Semacquire(0xc0420a87ac) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(RWMutex).RLock(0xc0420a87a0) /usr/local/go/src/sync/rwmutex.go:50 +0x50 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).Peers(0xc0420a86e0, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:506 +0x79 github.com/NebulousLabs/Sia/api.(API).gatewayHandler(0xc042170360, 0xdea8c0, 0xc04231ac40, 0xc042a14e00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/gateway.go:19 +0x42 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.gatewayHandler)-fm(0xdea8c0, 0xc04231ac40, 0xc042a14e00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:36 +0x6d github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc04231ac40, 0xc042a14e00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc04231ac40, 0xc042a14e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc04231ac40, 0xc042a14e00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042a9ff80, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc04231ac40, 0xc042a14e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 666 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.2(0xc0428a33e0, 0xc042ae02c0, 0xc042135f00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:155 +0xe5 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:154 +0x1e3

goroutine 621 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc04231ab60, 0xc042a14c00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc04231ab60, 0xc042a14c00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc04231ab60, 0xc042a14c00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc04231ab60, 0xc042a14c00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc04231ab60, 0xc042a14c00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042a9fc80, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc04231ab60, 0xc042a14c00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 673 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).AcceptStream(0xc042b95280, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:125 +0x267 github.com/NebulousLabs/Sia/modules/gateway.smuxSession.Accept(0xc042b95280, 0xc042ffdec8, 0x8ce199, 0x459350, 0xc042ffdf08) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/stream.go:34 +0x32 github.com/NebulousLabs/Sia/modules/gateway.(peer).accept(0xc042e57f40, 0xaf13b8, 0xc0426efc80, 0xc0420a86e0, 0xc0426efce0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:60 +0x3f github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer(0xc0420a86e0, 0xc042e57f40) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:166 +0x12a created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).addPeer /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:71 +0x9d

goroutine 623 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).sendLoop(0xc042b95280) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:308 +0x17f created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:77 +0x1fe

goroutine 622 [IO wait]: internal/poll.runtime_pollWait(0x3814be0, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042da85d8, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042da8498, 0xaf19f8, 0xc04229dc68, 0x43e5b3, 0xc0426efc18) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc042da8480, 0xc04334c000, 0x8, 0x10008, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc042da8480, 0xc04334c000, 0x8, 0x10008, 0x0, 0x0, 0xc04229dd60) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc0422ee628, 0xc04334c000, 0x8, 0x10008, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 io.ReadAtLeast(0x3890028, 0xc0422ee628, 0xc04334c000, 0x8, 0x10008, 0x8, 0xa99220, 0x0, 0x3890028) /usr/local/go/src/io/io.go:309 +0x8d io.ReadFull(0x3890028, 0xc0422ee628, 0xc04334c000, 0x8, 0x10008, 0x101, 0xc04229de78, 0x44347e) /usr/local/go/src/io/io.go:327 +0x5f github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).readFrame(0xc042b95280, 0xc04334c000, 0x10008, 0x10008, 0x10008, 0x10008, 0xc04229de01, 0xc04229dee0, 0x493a0f, 0xc0422a7ec8) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:213 +0x98 github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).recvLoop(0xc042b95280) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:242 +0x101 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:76 +0x1dc

goroutine 675 [IO wait]: internal/poll.runtime_pollWait(0x389a710, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc0428a5358, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc0428a5218, 0xaf19f8, 0x2, 0x2, 0xc04229ffa8) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc0428a5200, 0xc04207b691, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc0428a5200, 0xc04207b691, 0x1, 0x1, 0x0, 0xc0426ef9e0, 0x20002) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc042bde148, 0xc04207b691, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc04207b680) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 661 [semacquire]: sync.runtime_Semacquire(0xc0420a87ac) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(RWMutex).RLock(0xc0420a87a0) /usr/local/go/src/sync/rwmutex.go:50 +0x50 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).Peers(0xc0420a86e0, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:506 +0x79 github.com/NebulousLabs/Sia/api.(API).gatewayHandler(0xc042170360, 0xdea8c0, 0xc042ca5340, 0xc042a14f00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/gateway.go:19 +0x42 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.gatewayHandler)-fm(0xdea8c0, 0xc042ca5340, 0xc042a14f00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:36 +0x6d github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc042ca5340, 0xc042a14f00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc042ca5340, 0xc042a14f00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc042ca5340, 0xc042a14f00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0426efda0, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc042ca5340, 0xc042a14f00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 660 [IO wait]: internal/poll.runtime_pollWait(0x3814ee0, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc0428a57d8, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc0428a5698, 0xaf19f8, 0xc04229be68, 0xc04229bfc8, 0x7838ca) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc0428a5680, 0xc04207b781, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc0428a5680, 0xc04207b781, 0x1, 0x1, 0xc6d79, 0x0, 0x0) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc042bde158, 0xc04207b781, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc04207b770) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 637 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc0422f7260, 0xc042135d00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc0422f7260, 0xc042135d00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc0422f7260, 0xc042135d00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc0422f7260, 0xc042135d00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc0422f7260, 0xc042135d00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc0422f7260, 0xc042135d00) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc0422f7260, 0xc042135d00) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc0422f7260, 0xc042135d00) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042be6fa0, 0xdeb280, 0xc0422a7fc0) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 638 [IO wait]: internal/poll.runtime_pollWait(0x3814d60, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc0428a5598, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc0428a5458, 0xaf19f8, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc0428a5440, 0xc042b966a1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc0428a5440, 0xc042b966a1, 0x1, 0x1, 0x0, 0xc0429b1620, 0x11) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc042bde150, 0xc042b966a1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc042b96690) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 639 [semacquire]: sync.runtime_Semacquire(0xc0420a87ac) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(RWMutex).RLock(0xc0420a87a0) /usr/local/go/src/sync/rwmutex.go:50 +0x50 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).Peers(0xc0420a86e0, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:506 +0x79 github.com/NebulousLabs/Sia/api.(API).gatewayHandler(0xc042170360, 0xdea8c0, 0xc0422f7260, 0xc042135d00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/gateway.go:19 +0x42 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.gatewayHandler)-fm(0xdea8c0, 0xc0422f7260, 0xc042135d00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:36 +0x6d github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc0422f7260, 0xc042135d00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc0422f7260, 0xc042135d00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc0422f7260, 0xc042135d00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0428a31a0, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc0422f7260, 0xc042135d00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 640 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc042ca5340, 0xc042a14f00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc042ca5340, 0xc042a14f00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc042ca5340, 0xc042a14f00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc042ca5340, 0xc042a14f00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc042ca5340, 0xc042a14f00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc042ca5340, 0xc042a14f00) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc042ca5340, 0xc042a14f00) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc042ca5340, 0xc042a14f00) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042be7040, 0xdeb280, 0xc0422b6140) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 683 [semacquire]: sync.runtime_Semacquire(0xc0420a87ac) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(RWMutex).RLock(0xc0420a87a0) /usr/local/go/src/sync/rwmutex.go:50 +0x50 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).Peers(0xc0420a86e0, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:506 +0x79 github.com/NebulousLabs/Sia/api.(API).gatewayHandler(0xc042170360, 0xdea8c0, 0xc04231ad20, 0xc042b69b00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/gateway.go:19 +0x42 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.gatewayHandler)-fm(0xdea8c0, 0xc04231ad20, 0xc042b69b00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:36 +0x6d github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc04231ad20, 0xc042b69b00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc04231ad20, 0xc042b69b00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc04231ad20, 0xc042b69b00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc042ad6420, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc04231ad20, 0xc042b69b00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 691 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc0422f7340, 0xc042b69a00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc0422f7340, 0xc042b69a00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc0422f7340, 0xc042b69a00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc0422f7340, 0xc042b69a00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc0422f7340, 0xc042b69a00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0428a32c0, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc0422f7340, 0xc042b69a00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 684 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.2(0xc0428a32c0, 0xc0422b63c0, 0xc042b69a00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:155 +0xe5 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:154 +0x1e3

goroutine 667 [select]: github.com/NebulousLabs/go-upnp/goupnp/httpu.(HTTPUClient).Do.func1(0xc042b50000, 0xc042b4e000, 0xc0422a9580) /home/luke/go/src/github.com/NebulousLabs/go-upnp/goupnp/httpu/httpu.go:79 +0x108 created by github.com/NebulousLabs/go-upnp/goupnp/httpu.(HTTPUClient).Do /home/luke/go/src/github.com/NebulousLabs/go-upnp/goupnp/httpu/httpu.go:78 +0x408

goroutine 662 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc042ca5420, 0xc042135e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc042ca5420, 0xc042135e00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc042ca5420, 0xc042135e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc042ca5420, 0xc042135e00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc042ca5420, 0xc042135e00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc042ca5420, 0xc042135e00) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc042ca5420, 0xc042135e00) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc042ca5420, 0xc042135e00) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042973040, 0xdeb280, 0xc042ae00c0) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 663 [IO wait]: internal/poll.runtime_pollWait(0x389a590, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042df2818, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042df26d8, 0xaf19f8, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc042df26c0, 0xc042b967f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc042df26c0, 0xc042b967f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc0422ee6e0, 0xc042b967f1, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc042b967e0) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 664 [semacquire]: sync.runtime_Semacquire(0xc0420a87ac) /usr/local/go/src/runtime/sema.go:56 +0x40 sync.(RWMutex).RLock(0xc0420a87a0) /usr/local/go/src/sync/rwmutex.go:50 +0x50 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).Peers(0xc0420a86e0, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:506 +0x79 github.com/NebulousLabs/Sia/api.(API).gatewayHandler(0xc042170360, 0xdea8c0, 0xc042ca5420, 0xc042135e00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/gateway.go:19 +0x42 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.gatewayHandler)-fm(0xdea8c0, 0xc042ca5420, 0xc042135e00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:36 +0x6d github.com/julienschmidt/httprouter.(*Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc042ca5420, 0xc042135e00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc042ca5420, 0xc042135e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc042ca5420, 0xc042135e00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0426eff20, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc042ca5420, 0xc042135e00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 665 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc04231ad20, 0xc042b69b00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc04231ad20, 0xc042b69b00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc04231ad20, 0xc042b69b00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc04231ad20, 0xc042b69b00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc04231ad20, 0xc042b69b00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc04231ad20, 0xc042b69b00) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc04231ad20, 0xc042b69b00) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc04231ad20, 0xc042b69b00) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc0429730e0, 0xdeb280, 0xc042b00500) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 693 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc0422f7420, 0xc042135f00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc0422f7420, 0xc042135f00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc0422f7420, 0xc042135f00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc0422f7420, 0xc042135f00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc0422f7420, 0xc042135f00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0428a33e0, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc0422f7420, 0xc042135f00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 668 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.2(0xc0428a3500, 0xc042ae0440, 0xc042a15200) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:155 +0xe5 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:154 +0x1e3

goroutine 696 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc0422f7500, 0xc042a15200, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc0422f7500, 0xc042a15200, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc0422f7500, 0xc042a15200) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc0422f7500, 0xc042a15200) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc0422f7500, 0xc042a15200) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0428a3500, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc0422f7500, 0xc042a15200) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe

goroutine 686 [IO wait]: internal/poll.runtime_pollWait(0x389a410, 0x72, 0xde6900) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc042df2c98, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc042df2b58, 0xaf1a00, 0xc042ae0380, 0xc042215310, 0x4a3f09) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).ReadFrom(0xc042df2b40, 0xc042df0800, 0x800, 0x800, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:572 +0x106 net.(netFD).readFrom(0xc042df2b40, 0xc042df0800, 0x800, 0x800, 0x1, 0xc0422153f0, 0x42b1ff, 0x7fffbe6824b0, 0x4111c1) /usr/local/go/src/net/fd_windows.go:157 +0x65 net.(UDPConn).readFrom(0xc0422ee6f0, 0xc042df0800, 0x800, 0x800, 0x2, 0xc0422154b0, 0x44b805, 0xc0422154b0) /usr/local/go/src/net/udpsock_posix.go:47 +0x71 net.(UDPConn).ReadFrom(0xc0422ee6f0, 0xc042df0800, 0x800, 0x800, 0x800, 0x800, 0x85, 0x0, 0x0) /usr/local/go/src/net/udpsock.go:118 +0x79 github.com/NebulousLabs/go-upnp/goupnp/httpu.(HTTPUClient).Do(0xc0422a9580, 0xc042b4e000, 0x7d2b7500, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/go-upnp/goupnp/httpu/httpu.go:102 +0x72c github.com/NebulousLabs/go-upnp/goupnp/ssdp.SSDPRawSearchCtx(0xdeb2c0, 0xc04200e1a8, 0xc0422a9580, 0xaddc02, 0x2f, 0x2, 0x3, 0xc042b1bab8, 0x5591b2, 0xc0422e7f98, ...) /home/luke/go/src/github.com/NebulousLabs/go-upnp/goupnp/ssdp/ssdp.go:58 +0x590 github.com/NebulousLabs/go-upnp/goupnp.DiscoverDevicesCtx(0xdeb2c0, 0xc04200e1a8, 0xaddc02, 0x2f, 0x0, 0x0, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/go-upnp/goupnp/goupnp.go:72 +0x112 github.com/NebulousLabs/go-upnp/goupnp.NewServiceClientsCtx(0xdeb2c0, 0xc04200e1a8, 0xaddc02, 0x2f, 0x8, 0xc0422e7f98, 0xc042b1bc00, 0x5594ab, 0x1388, 0x115a, ...) /home/luke/go/src/github.com/NebulousLabs/go-upnp/goupnp/service_client.go:33 +0x71 github.com/NebulousLabs/go-upnp/goupnp/dcps/internetgateway1.NewWANPPPConnection1Clients(0xdeb2c0, 0xc04200e1a8, 0x42cccd, 0xaf2318, 0xc042b1bc78, 0x71, 0xc042c16c00, 0xaf2318, 0xc042ae0300, 0xc042c16c28) /home/luke/go/src/github.com/NebulousLabs/go-upnp/goupnp/dcps/internetgateway1/internetgateway1.go:2861 +0x69 github.com/NebulousLabs/go-upnp.DiscoverCtx(0xdeb2c0, 0xc04200e1a8, 0x4a, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/go-upnp/upnp.go:134 +0x99 github.com/NebulousLabs/go-upnp.Discover(0xc042154140, 0xc042b1be60, 0x1) /home/luke/go/src/github.com/NebulousLabs/go-upnp/upnp.go:120 +0x40 github.com/NebulousLabs/Sia/modules/host.(Host).managedLearnHostname(0xc0420aa580) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/upnp.go:47 +0x168 github.com/NebulousLabs/Sia/modules/host.(Host).threadedUpdateHostname(0xc0420aa580, 0xc042ad64e0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/network.go:37 +0x74 created by github.com/NebulousLabs/Sia/modules/host.(Host).initNetworking.func2 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/network.go:220 +0x1a1

goroutine 687 [select]: github.com/NebulousLabs/Sia/modules/host.(Host).threadedTrackWorkingStatus(0xc0420aa580, 0xc042ad6540) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/network.go:61 +0x15b created by github.com/NebulousLabs/Sia/modules/host.(Host).initNetworking.func2 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/network.go:226 +0x23d

goroutine 688 [select]: github.com/NebulousLabs/Sia/modules/host.(Host).threadedTrackConnectabilityStatus(0xc0420aa580, 0xc042ad65a0) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/network.go:113 +0x182 created by github.com/NebulousLabs/Sia/modules/host.(Host).initNetworking.func2 /home/luke/go/src/github.com/NebulousLabs/Sia/modules/host/network.go:232 +0x2d9

goroutine 697 [select]: github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1(0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:145 +0x18d net/http.HandlerFunc.ServeHTTP(0xc042ba65c0, 0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.(API).ServeHTTP(0xc042170360, 0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/api.go:105 +0x5f main.(Server).apiHandler(0xc0420844b0, 0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:400 +0xa8 main.(Server).(main.apiHandler)-fm(0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:447 +0x4f net/http.HandlerFunc.ServeHTTP(0xc042146340, 0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /usr/local/go/src/net/http/server.go:1918 +0x4b net/http.(ServeMux).ServeHTTP(0xc0420afd70, 0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /usr/local/go/src/net/http/server.go:2254 +0x137 net/http.serverHandler.ServeHTTP(0xc04206b380, 0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /usr/local/go/src/net/http/server.go:2619 +0xbb net/http.(conn).serve(0xc042be72c0, 0xdeb280, 0xc042b00800) /usr/local/go/src/net/http/server.go:1801 +0x724 created by net/http.(Server).Serve /usr/local/go/src/net/http/server.go:2720 +0x28f

goroutine 698 [IO wait]: internal/poll.runtime_pollWait(0x389ab90, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x5e internal/poll.(pollDesc).wait(0xc0428a5e98, 0x72, 0xde1500, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xb5 internal/poll.(ioSrv).ExecIO(0xef9158, 0xc0428a5d58, 0xaf19f8, 0xc86d5, 0xc86d6, 0xc86d7) /usr/local/go/src/internal/poll/fd_windows.go:195 +0x13a internal/poll.(FD).Read(0xc0428a5d40, 0xc04262de71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_windows.go:439 +0x266 net.(netFD).Read(0xc0428a5d40, 0xc04262de71, 0x1, 0x1, 0xc8b10, 0xc8b11, 0xc8b12) /usr/local/go/src/net/fd_windows.go:151 +0x59 net.(conn).Read(0xc042bde170, 0xc04262de71, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x74 net/http.(connReader).backgroundRead(0xc04262de60) /usr/local/go/src/net/http/server.go:660 +0x69 created by net/http.(*connReader).startBackgroundRead /usr/local/go/src/net/http/server.go:656 +0xdf

goroutine 699 [semacquire]: sync.runtime_SemacquireMutex(0xc0420b3d44, 0xc000000000) /usr/local/go/src/runtime/sema.go:71 +0x44 sync.(Mutex).Lock(0xc0420b3d40) /usr/local/go/src/sync/mutex.go:134 +0xf5 github.com/NebulousLabs/demotemutex.(DemoteMutex).Lock(0xc0420b3d40) /home/luke/go/src/github.com/NebulousLabs/demotemutex/demotemutex.go:57 +0x34 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).CurrentBlock(0xc0420b3b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:256 +0xb5 github.com/NebulousLabs/Sia/api.(API).consensusHandler(0xc042170360, 0xdea8c0, 0xc0422f75e0, 0xc042b69c00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/consensus.go:24 +0x52 github.com/NebulousLabs/Sia/api.(API).(github.com/NebulousLabs/Sia/api.consensusHandler)-fm(0xdea8c0, 0xc0422f75e0, 0xc042b69c00, 0x0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:23 +0x6d github.com/julienschmidt/httprouter.(Router).ServeHTTP(0xc0422e0440, 0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /home/luke/go/src/github.com/julienschmidt/httprouter/router.go:344 +0x7a0 github.com/NebulousLabs/Sia/api.RequireUserAgent.func1(0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:173 +0xc1 net/http.HandlerFunc.ServeHTTP(0xc042a18ab0, 0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /usr/local/go/src/net/http/server.go:1918 +0x4b github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1.1(0xc0428a3620, 0xde5f80, 0xc042a18ab0, 0xdea8c0, 0xc0422f75e0, 0xc042b69c00) /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:143 +0x80 created by github.com/NebulousLabs/Sia/api.cleanCloseHandler.func1 /home/luke/go/src/github.com/NebulousLabs/Sia/api/routes.go:141 +0xbe rax 0x824f1000 rbx 0x3 rcx 0x0 rdi 0xc042c941e8 rsi 0x0 rbp 0xc042cb2b30 rsp 0xc042cb2a68 r8 0x8 r9 0xc042cb2ae8 r10 0xc042d7eae0 r11 0xc042d7eae8 r12 0xdb6db6db6db6db r13 0x0 r14 0x13 r15 0x0 rip 0x5f0986 rflags 0x10206 cs 0x33 fs 0x53 gs 0x2b

OS: windows

tbenz9 commented 6 years ago

Duplicate of #2639