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 442 forks source link

Crashing in raspberryPi3 siad #3103

Closed Shevchenko-Alexander closed 6 years ago

Shevchenko-Alexander commented 6 years ago

After the ./siad -d /mnt/PIHDD/Sia command on my RaspberryPi3 I'm getting this crash:

Sia Daemon v1.3.3 WARN: compiled without build commit or version. To compile correctly, please use the makefile 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 3.862799602 seconds unexpected fault address 0x41401040 fatal error: fault [signal SIGSEGV: segmentation violation code=0x1 addr=0x41401040 pc=0x1c1c18]

goroutine 31 [running]: runtime.throw(0x597b8d, 0x5) /home/pi/go/src/runtime/panic.go:589 +0x4c fp=0x26f4d14 sp=0x26f4d00 pc=0x3d128 runtime.sigpanic() /home/pi/go/src/runtime/signal_unix.go:397 +0x1bc fp=0x26f4d38 sp=0x26f4d14 pc=0x52b1c github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(DB).meta(0x24fa640, 0xdc2) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/db.go:880 +0x1c fp=0x26f4d54 sp=0x26f4d3c pc=0x1c1c18 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(Tx).rollback(0x33d2780) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/tx.go:267 +0x6c fp=0x26f4d68 sp=0x26f4d54 pc=0x1c9290 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(DB).Update.func1(0x33d2780) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/db.go:665 +0x2c fp=0x26f4d70 sp=0x26f4d68 pc=0x1cb9b0 runtime.call16(0x0, 0x5d3bf0, 0x25784fc, 0x4, 0x4) /home/pi/go/src/runtime/asm_arm.s:515 +0x4c fp=0x26f4d84 sp=0x26f4d70 pc=0x691a4 panic(0x5121c8, 0x2574528) /home/pi/go/src/runtime/panic.go:494 +0x194 fp=0x26f4dcc sp=0x26f4d84 pc=0x3ccd4 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(DB).mmap(0x24fa640, 0x200b7000, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/db.go:338 +0x43c fp=0x26f4e2c sp=0x26f4dcc pc=0x1bff08 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(DB).allocate(0x24fa640, 0xdc2, 0x0, 0xd0, 0x1c663c, 0x26f4e88, 0xb7a1a8d7) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/db.go:918 +0x140 fp=0x26f4e58 sp=0x26f4e2c pc=0x1c1e28 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(Tx).allocate(0x33d2780, 0xd0, 0x0, 0x46d34000, 0xb022d0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/tx.go:477 +0x3c fp=0x26f4e7c sp=0x26f4e58 pc=0x1ca4f8 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(node).spill(0x4db2b80, 0x32e43f0, 0x69e1c8) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/node.go:368 +0x26c fp=0x26f4ef4 sp=0x26f4e7c pc=0x1c645c github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(node).spill(0x4db2b40, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/node.go:350 +0x98 fp=0x26f4f6c sp=0x26f4ef4 pc=0x1c6288 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(node).spill(0x3325e40, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/node.go:350 +0x98 fp=0x26f4fe4 sp=0x26f4f6c pc=0x1c6288 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(node).spill(0x3325e00, 0x3bc4a20, 0x26f5194) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/node.go:350 +0x98 fp=0x26f505c sp=0x26f4fe4 pc=0x1c6288 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(Bucket).spill(0x3bc4a00, 0x26f5200, 0xd) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/bucket.go:568 +0x374 fp=0x26f51c4 sp=0x26f505c pc=0x1bcaf8 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(Bucket).spill(0x33d278c, 0xbec051c5, 0x6325cb3e) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/bucket.go:535 +0x2d4 fp=0x26f532c sp=0x26f51c4 pc=0x1bca58 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(Tx).Commit(0x33d2780, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/tx.go:160 +0xb8 fp=0x26f53b4 sp=0x26f532c pc=0x1c8a7c github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(DB).Update(0x24fa640, 0x342f4ec, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/db.go:680 +0xd4 fp=0x26f53d8 sp=0x26f53b4 pc=0x1c1250 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).managedAcceptBlocks(0x24f81a0, 0x2529800, 0xa, 0xa, 0x0, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/consensus/accept.go:243 +0x2b8 fp=0x26f5514 sp=0x26f53d8 pc=0x331dd0 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).managedReceiveBlocks(0x24f81a0, 0x6a03d0, 0x25a7410, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:225 +0x430 fp=0x26f5dc8 sp=0x26f5514 pc=0x340b40 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).managedReceiveBlocks-fm(0x6a03d0, 0x25a7410, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:445 +0x2c fp=0x26f5de0 sp=0x26f5dc8 pc=0x34a510 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedRPC(0x2460ee0, 0x2483220, 0xf, 0x5a2104, 0xa, 0x2574168, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x258 fp=0x26f5e80 sp=0x26f5de0 pc=0x3bfa0c github.com/NebulousLabs/Sia/modules/gateway.(Gateway).RPC(0x2460ee0, 0x2483220, 0xf, 0x5a2104, 0xa, 0x2574168, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:76 +0xa0 fp=0x26f5ea8 sp=0x26f5e80 pc=0x3bfc48 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).threadedInitialBlockchainDownload.func1(0x24f81a0, 0x26f5f54, 0x26f5f38, 0x26f5f3c, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:580 +0xd8 fp=0x26f5f04 sp=0x26f5ea8 pc=0x348bd4 github.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedInitialBlockchainDownload(0x24f81a0, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:601 +0x210 fp=0x26f5fb8 sp=0x26f5f04 pc=0x3420b4 github.com/NebulousLabs/Sia/modules/consensus.NewCustomConsensusSet.func1(0x1, 0x24f81a0, 0x2479498, 0x6a0858, 0x2460ee0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:160 +0x2dc fp=0x26f5fd4 sp=0x26f5fb8 pc=0x344ee8 runtime.goexit() /home/pi/go/src/runtime/asm_arm.s:838 +0x4 fp=0x26f5fd4 sp=0x26f5fd4 pc=0x6abe8 created by github.com/NebulousLabs/Sia/modules/consensus.NewCustomConsensusSet /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:153 +0x38c

goroutine 1 [select]: main.startDaemon.func3(0x246c2c0, 0x3942280, 0x2492480, 0x28, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:203 +0x80 main.startDaemon(0x0, 0x0, 0x5a6d96, 0xe, 0x596f3a, 0x5, 0x596f3f, 0x5, 0x0, 0x5996f3, ...) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:210 +0x3a8 main.startDaemonCmd(0x24fa140, 0x2513690, 0x0, 0x2) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:236 +0x100 github.com/spf13/cobra.(Command).execute(0x24fa140, 0x247c068, 0x2, 0x3, 0x24fa140, 0x247c068) /home/pi/go/bin/src/github.com/spf13/cobra/command.go:766 +0x20c github.com/spf13/cobra.(Command).ExecuteC(0x24fa140, 0x5c498a, 0x3b, 0x24a8780) /home/pi/go/bin/src/github.com/spf13/cobra/command.go:852 +0x210 github.com/spf13/cobra.(*Command).Execute(0x24fa140, 0xaf0c28, 0x5abf24) /home/pi/go/bin/src/github.com/spf13/cobra/command.go:800 +0x1c main.main() /home/pi/go/bin/src/github.com/NebulousLabs/Sia/cmd/siad/main.go:174 +0x5f0

goroutine 20 [syscall]: os/signal.signal_recv(0x0) /home/pi/go/src/runtime/sigqueue.go:139 +0x130 os/signal.loop() /home/pi/go/src/os/signal/signal_unix.go:23 +0x14 created by os/signal.init.0 /home/pi/go/src/os/signal/signal_unix.go:29 +0x30

goroutine 21 [chan receive]: main.startDaemon.func1(0x252ebc0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:171 +0x24 created by main.startDaemon /home/pi/go/bin/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:170 +0x114

goroutine 23 [IO wait]: internal/poll.runtime_pollWait(0x653160d0, 0x72, 0x0) /home/pi/go/src/runtime/netpoll.go:173 +0x44 internal/poll.(pollDesc).wait(0x24a8974, 0x72, 0x2578000, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(pollDesc).waitRead(0x24a8974, 0xffffff00, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(FD).Accept(0x24a8960, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_unix.go:378 +0x17c net.(netFD).accept(0x24a8960, 0x306698, 0x45ca0, 0x30a500) /home/pi/go/src/net/fd_unix.go:239 +0x20 net.(TCPListener).accept(0x24793a0, 0x242df58, 0x242df5c, 0xc) /home/pi/go/src/net/tcpsock_posix.go:139 +0x20 net.(TCPListener).Accept(0x24793a0, 0x5d3e84, 0x24b05a0, 0x69eb80, 0x25780a0) /home/pi/go/src/net/tcpsock.go:260 +0x3c net/http.(Server).Serve(0x2492500, 0x69dfc8, 0x24793a0, 0x0, 0x0) /home/pi/go/src/net/http/server.go:2789 +0x174 main.(Server).Serve(0x2492480, 0x0, 0xaf0378) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/cmd/siad/server.go:608 +0x30 main.startDaemon.func2(0x246c2c0, 0x2492480) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:186 +0x1c created by main.startDaemon /home/pi/go/bin/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:185 +0x1bc

goroutine 24 [select]: github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedSaveLoop(0x2460ee0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/persist.go:57 +0xac created by github.com/NebulousLabs/Sia/modules/gateway.New /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:251 +0x3e8

goroutine 25 [IO wait]: internal/poll.runtime_pollWait(0x65315fd0, 0x72, 0x0) /home/pi/go/src/runtime/netpoll.go:173 +0x44 internal/poll.(pollDesc).wait(0x24a8a64, 0x72, 0x2416000, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(pollDesc).waitRead(0x24a8a64, 0xffffff00, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(FD).Accept(0x24a8a50, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_unix.go:378 +0x17c net.(netFD).accept(0x24a8a50, 0x4, 0x242ef58, 0x0) /home/pi/go/src/net/fd_unix.go:239 +0x20 net.(TCPListener).accept(0x2479478, 0x3bb9b4, 0x4, 0x2416040) /home/pi/go/src/net/tcpsock_posix.go:139 +0x20 net.(TCPListener).Accept(0x2479478, 0x5d4078, 0x246c400, 0x0, 0x0) /home/pi/go/src/net/tcpsock.go:260 +0x3c github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentListen(0x2460ee0, 0x246c400) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:117 +0x4c created by github.com/NebulousLabs/Sia/modules/gateway.New /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:303 +0x7d4

goroutine 26 [select]: github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedSleep(0x2460ee0, 0x2a05f200, 0x1, 0x2460ee0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:164 +0x9c github.com/NebulousLabs/Sia/modules/gateway.(Gateway).permanentPeerManager(0x2460ee0, 0x246c540) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:154 +0x26c created by github.com/NebulousLabs/Sia/modules/gateway.New /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:310 +0x854

goroutine 27 [select]: github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentNodeManager(0x2460ee0, 0x246c580) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/nodes.go:324 +0x2d0 created by github.com/NebulousLabs/Sia/modules/gateway.New /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:317 +0x8d4

goroutine 28 [select]: github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentNodePurger(0x2460ee0, 0x246c5c0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/nodes.go:227 +0x130 created by github.com/NebulousLabs/Sia/modules/gateway.New /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:324 +0x954

goroutine 29 [select]: github.com/NebulousLabs/go-upnp.DiscoverCtx(0x69eb40, 0x2482048, 0x2578100, 0x2460f98, 0x25bef70) /home/pi/go/bin/src/github.com/NebulousLabs/go-upnp/upnp.go:148 +0x13c github.com/NebulousLabs/go-upnp.Discover(0x4, 0x5d3be0, 0x2460f70) /home/pi/go/bin/src/github.com/NebulousLabs/go-upnp/upnp.go:126 +0x28 github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedForwardPort(0x2460ee0, 0x2483b45, 0x4) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/upnp.go:117 +0x5c created by github.com/NebulousLabs/Sia/modules/gateway.New /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:327 +0x980

goroutine 30 [select]: github.com/NebulousLabs/go-upnp.DiscoverCtx(0x69eb40, 0x2482048, 0x25e2040, 0x2460f98, 0x25bf76c) /home/pi/go/bin/src/github.com/NebulousLabs/go-upnp/upnp.go:148 +0x13c github.com/NebulousLabs/go-upnp.Discover(0x4, 0x5d3be0, 0x2460f70) /home/pi/go/bin/src/github.com/NebulousLabs/go-upnp/upnp.go:126 +0x28 github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).threadedLearnHostname(0x2460ee0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/upnp.go:59 +0x5c created by github.com/NebulousLabs/Sia/modules/gateway.New /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/gateway.go:328 +0x99c

goroutine 114 [IO wait]: internal/poll.runtime_pollWait(0x653155d0, 0x72, 0x9d634) /home/pi/go/src/runtime/netpoll.go:173 +0x44 internal/poll.(pollDesc).wait(0x26200b4, 0x72, 0xffffff00, 0x69c700, 0x9f02a4) /home/pi/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(pollDesc).waitRead(0x26200b4, 0x3740000, 0x8, 0x10008) /home/pi/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(FD).Read(0x26200a0, 0x3740000, 0x8, 0x10008, 0x0, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_unix.go:163 +0x14c net.(netFD).Read(0x26200a0, 0x3740000, 0x8, 0x10008, 0xbec051e2, 0x19924, 0x19614) /home/pi/go/src/net/fd_unix.go:203 +0x38 net.(conn).Read(0x25ea058, 0x3740000, 0x8, 0x10008, 0x0, 0x0, 0x0) /home/pi/go/src/net/net.go:176 +0x58 io.ReadAtLeast(0x69b980, 0x25ea058, 0x3740000, 0x8, 0x10008, 0x8, 0x583828, 0x0, 0x69b980) /home/pi/go/src/io/io.go:310 +0x6c io.ReadFull(0x69b980, 0x25ea058, 0x3740000, 0x8, 0x10008, 0x0, 0x0, 0x0) /home/pi/go/src/io/io.go:329 +0x40 github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).readFrame(0x3520180, 0x3740000, 0x10008, 0x10008, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:212 +0x128 github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).recvLoop(0x3520180) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:241 +0xcc created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:67 +0x134

goroutine 52 [select]: github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer.func1(0x3244040, 0x2460ee0, 0x3244080, 0x32600a0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:153 +0xa4 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:147 +0xc4

goroutine 32 [select]: github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).threadedRegularSync(0x24f4340) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:28 +0x10c created by github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).initPersist /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:123 +0x28c

goroutine 39 [IO wait]: internal/poll.runtime_pollWait(0x65315e50, 0x72, 0x9d634) /home/pi/go/src/runtime/netpoll.go:173 +0x44 internal/poll.(pollDesc).wait(0x2638064, 0x72, 0xffffff00, 0x69c700, 0x9f02a4) /home/pi/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(pollDesc).waitRead(0x2638064, 0x298cd00, 0x2c2, 0xf2c2) /home/pi/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(FD).Read(0x2638050, 0x298cd46, 0x2c2, 0xf2c2, 0x0, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_unix.go:163 +0x14c net.(netFD).Read(0x2638050, 0x298cd46, 0x2c2, 0xf2c2, 0x506, 0x0, 0x0) /home/pi/go/src/net/fd_unix.go:203 +0x38 net.(conn).Read(0x25ea050, 0x298cd46, 0x2c2, 0xf2c2, 0x0, 0x0, 0x0) /home/pi/go/src/net/net.go:176 +0x58 io.ReadAtLeast(0x69b980, 0x25ea050, 0x298c008, 0x1000, 0x10000, 0x1000, 0x583828, 0x0, 0x69b980) /home/pi/go/src/io/io.go:310 +0x6c io.ReadFull(0x69b980, 0x25ea050, 0x298c008, 0x1000, 0x10000, 0x8, 0x0, 0x0) /home/pi/go/src/io/io.go:329 +0x40 github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).readFrame(0x2d84120, 0x298c000, 0x10008, 0x10008, 0x201, 0x5, 0x0, 0x0, 0x0, 0x0, ...) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:225 +0x254 github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).recvLoop(0x2d84120) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:241 +0xcc created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:67 +0x134

goroutine 40 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveSend(0x2d84120) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:288 +0x148 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:72 +0x150

goroutine 41 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveTimeout(0x2d84120) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:304 +0xb0 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:73 +0x16c

goroutine 42 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).AcceptStream(0x2d84120, 0x0, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:120 +0x194 github.com/NebulousLabs/Sia/modules/gateway.smuxSession.Accept(0x2d84120, 0x682a8, 0x25c4f64, 0x25c4f68, 0x10) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/stream.go:34 +0x1c github.com/NebulousLabs/Sia/modules/gateway.(peer).accept(0x32600a0, 0x5d3a34, 0x3244040, 0x2460ee0, 0x3244080) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:60 +0x28 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer(0x2460ee0, 0x32600a0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:166 +0xd0 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).addPeer /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:71 +0x7c

goroutine 140 [IO wait]: internal/poll.runtime_pollWait(0x65315550, 0x72, 0x9d634) /home/pi/go/src/runtime/netpoll.go:173 +0x44 internal/poll.(pollDesc).wait(0x24a8a14, 0x72, 0xffffff00, 0x69c700, 0x9f02a4) /home/pi/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(pollDesc).waitRead(0x24a8a14, 0x307a000, 0x8, 0x10008) /home/pi/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(FD).Read(0x24a8a00, 0x307a000, 0x8, 0x10008, 0x0, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_unix.go:163 +0x14c net.(netFD).Read(0x24a8a00, 0x307a000, 0x8, 0x10008, 0xbec051e3, 0x19924, 0x19614) /home/pi/go/src/net/fd_unix.go:203 +0x38 net.(conn).Read(0x25ea230, 0x307a000, 0x8, 0x10008, 0x0, 0x0, 0x0) /home/pi/go/src/net/net.go:176 +0x58 io.ReadAtLeast(0x69b980, 0x25ea230, 0x307a000, 0x8, 0x10008, 0x8, 0x583828, 0x0, 0x69b980) /home/pi/go/src/io/io.go:310 +0x6c io.ReadFull(0x69b980, 0x25ea230, 0x307a000, 0x8, 0x10008, 0x0, 0x0, 0x0) /home/pi/go/src/io/io.go:329 +0x40 github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).readFrame(0x3521a40, 0x307a000, 0x10008, 0x10008, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:212 +0x128 github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).recvLoop(0x3521a40) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:241 +0xcc created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:67 +0x134

goroutine 7 [select]: github.com/NebulousLabs/Sia/modules/wallet.(Wallet).threadedDBUpdate(0x3588870) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/wallet/database.go:79 +0xdc created by github.com/NebulousLabs/Sia/modules/wallet.(Wallet).initPersist /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/wallet/persist.go:146 +0x274

goroutine 8 [select]: github.com/NebulousLabs/Sia/modules/host/contractmanager.(writeAheadLog).threadedSyncLoop(0x25f4864, 0x37ccb40, 0x37ccb80) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:290 +0xe8 created by github.com/NebulousLabs/Sia/modules/host/contractmanager.(writeAheadLog).spawnSyncLoop /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:245 +0xb8

goroutine 9 [select]: github.com/NebulousLabs/Sia/modules/host/contractmanager.(*ContractManager).threadedFolderRecheck(0x25f47e0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/storagefolder.go:295 +0x380 created by github.com/NebulousLabs/Sia/modules/host/contractmanager.newContractManager /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/contractmanager.go:213 +0x534

goroutine 10 [select]: github.com/NebulousLabs/go-upnp.DiscoverCtx(0x69eb40, 0x2482048, 0x0, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/go-upnp/upnp.go:148 +0x13c github.com/NebulousLabs/go-upnp.Discover(0x363b7c5, 0x4, 0x26fe) /home/pi/go/bin/src/github.com/NebulousLabs/go-upnp/upnp.go:126 +0x28 github.com/NebulousLabs/Sia/modules/host.(Host).managedForwardPort(0x2486e00, 0x363b7c5, 0x4, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/host/upnp.go:120 +0x40 github.com/NebulousLabs/Sia/modules/host.(Host).initNetworking.func2(0x2486e00, 0x363b7c5, 0x4) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/host/network.go:206 +0x74 created by github.com/NebulousLabs/Sia/modules/host.(*Host).initNetworking /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/host/network.go:194 +0x1c4

goroutine 11 [IO wait]: internal/poll.runtime_pollWait(0x65315850, 0x72, 0x0) /home/pi/go/src/runtime/netpoll.go:173 +0x44 internal/poll.(pollDesc).wait(0x2620604, 0x72, 0x2578200, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(pollDesc).waitRead(0x2620604, 0xffffff00, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(FD).Accept(0x26205f0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_unix.go:378 +0x17c net.(netFD).accept(0x26205f0, 0x2460f50, 0x0, 0x32fbec) /home/pi/go/src/net/fd_unix.go:239 +0x20 net.(TCPListener).accept(0x25745f0, 0x3e6df8, 0x4, 0x24160c0) /home/pi/go/src/net/tcpsock_posix.go:139 +0x20 net.(TCPListener).Accept(0x25745f0, 0x5d4078, 0x37cce40, 0x2460ee0, 0x2483220) /home/pi/go/src/net/tcpsock.go:260 +0x3c github.com/NebulousLabs/Sia/modules/host.(Host).threadedListen(0x2486e00, 0x37cce40) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/host/network.go:317 +0x4c created by github.com/NebulousLabs/Sia/modules/host.(Host).initNetworking /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/host/network.go:239 +0x1e8

goroutine 12 [select]: github.com/NebulousLabs/Sia/modules/renter/hostdb.(*HostDB).threadedSaveLoop(0x25f4e00) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/persist.go:86 +0x9c created by github.com/NebulousLabs/Sia/modules/renter/hostdb.NewCustomHostDB /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/hostdb.go:139 +0x2f4

goroutine 13 [semacquire]: sync.runtime_SemacquireMutex(0x24f82e8, 0x0) /home/pi/go/src/runtime/sema.go:71 +0x2c sync.(RWMutex).RLock(0x24f82dc) /home/pi/go/src/sync/rwmutex.go:50 +0x54 github.com/NebulousLabs/demotemutex.(DemoteMutex).RLock(0x24f82d4) /home/pi/go/bin/src/github.com/NebulousLabs/demotemutex/demotemutex.go:42 +0x24 github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).Synced(0x24f81a0, 0x2440600) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:638 +0x74 github.com/NebulousLabs/Sia/modules/renter/hostdb.(HostDB).threadedScan(0x25f4e00) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/scan.go:397 +0x78 created by github.com/NebulousLabs/Sia/modules/renter/hostdb.NewCustomHostDB /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/renter/hostdb/hostdb.go:183 +0x580

goroutine 85 [select]: github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer.func1(0x241a700, 0x2460ee0, 0x241a740, 0x3260360) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:153 +0xa4 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:147 +0xc4

goroutine 14 [sleep]: time.Sleep(0xf46b0400, 0x14) /home/pi/go/src/runtime/time.go:105 +0x14c github.com/NebulousLabs/Sia/sync.(*RWMutex).threadedDeadlockFinder(0x3942040) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/sync/lock.go:78 +0x2e0 created by github.com/NebulousLabs/Sia/sync.New /home/pi/go/bin/src/github.com/NebulousLabs/Sia/sync/lock.go:47 +0x78

goroutine 15 [select]: github.com/NebulousLabs/Sia/modules/renter.(*Renter).threadedDownloadLoop(0x24fa000) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/renter/downloadheap.go:213 +0x1d8 created by github.com/NebulousLabs/Sia/modules/renter.NewCustomRenter /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/renter/renter.go:528 +0x3b4

goroutine 16 [select]: github.com/NebulousLabs/Sia/modules/renter.(*Renter).threadedUploadLoop(0x24fa000) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/renter/uploadheap.go:358 +0x1b4 created by github.com/NebulousLabs/Sia/modules/renter.NewCustomRenter /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/renter/renter.go:529 +0x3d0

goroutine 314 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).AcceptStream(0x448e180, 0x0, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:120 +0x194 github.com/NebulousLabs/Sia/modules/gateway.smuxSession.Accept(0x448e180, 0x682a8, 0x25bff64, 0x25bff68, 0x10) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/stream.go:34 +0x1c github.com/NebulousLabs/Sia/modules/gateway.(peer).accept(0x411e140, 0x5d3a34, 0x27fc040, 0x2460ee0, 0x27fc080) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:60 +0x28 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer(0x2460ee0, 0x411e140) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:166 +0xd0 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).addPeer /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:71 +0x7c

goroutine 115 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveSend(0x3520180) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:288 +0x148 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:72 +0x150

goroutine 116 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveTimeout(0x3520180) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:304 +0xb0 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:73 +0x16c

goroutine 117 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).AcceptStream(0x3520180, 0x0, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:120 +0x194 github.com/NebulousLabs/Sia/modules/gateway.smuxSession.Accept(0x3520180, 0x682a8, 0x25fbf64, 0x25fbf68, 0x10) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/stream.go:34 +0x1c github.com/NebulousLabs/Sia/modules/gateway.(peer).accept(0x3260360, 0x5d3a34, 0x241a700, 0x2460ee0, 0x241a740) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:60 +0x28 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer(0x2460ee0, 0x3260360) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:166 +0xd0 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).addPeer /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:71 +0x7c

goroutine 141 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveSend(0x3521a40) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:288 +0x148 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:72 +0x150

goroutine 142 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveTimeout(0x3521a40) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:304 +0xb0 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:73 +0x16c

goroutine 143 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).AcceptStream(0x3521a40, 0x0, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:120 +0x194 github.com/NebulousLabs/Sia/modules/gateway.smuxSession.Accept(0x3521a40, 0x682a8, 0x2432f64, 0x2432f68, 0x10) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/stream.go:34 +0x1c github.com/NebulousLabs/Sia/modules/gateway.(peer).accept(0x32614c0, 0x5d3a34, 0x3244140, 0x2460ee0, 0x3244180) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:60 +0x28 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer(0x2460ee0, 0x32614c0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:166 +0xd0 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).addPeer /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:71 +0x7c

goroutine 59 [select]: github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer.func1(0x3244140, 0x2460ee0, 0x3244180, 0x32614c0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:153 +0xa4 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:147 +0xc4

goroutine 139 [select]: github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).managedReceiveBlocks.func1(0x24f81a0, 0x2d86a80, 0x6a03d0, 0x25a7410) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:148 +0x80 created by github.com/NebulousLabs/Sia/modules/consensus.(ConsensusSet).managedReceiveBlocks /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:147 +0x114

goroutine 311 [IO wait]: internal/poll.runtime_pollWait(0x653157d0, 0x72, 0x9d634) /home/pi/go/src/runtime/netpoll.go:173 +0x44 internal/poll.(pollDesc).wait(0x26201f4, 0x72, 0xffffff00, 0x69c700, 0x9f02a4) /home/pi/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(pollDesc).waitRead(0x26201f4, 0x458c000, 0x8, 0x10008) /home/pi/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(FD).Read(0x26201e0, 0x458c000, 0x8, 0x10008, 0x0, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_unix.go:163 +0x14c net.(netFD).Read(0x26201e0, 0x458c000, 0x8, 0x10008, 0xbec051e2, 0x19924, 0x19614) /home/pi/go/src/net/fd_unix.go:203 +0x38 net.(conn).Read(0x25740b8, 0x458c000, 0x8, 0x10008, 0x0, 0x0, 0x0) /home/pi/go/src/net/net.go:176 +0x58 io.ReadAtLeast(0x69b980, 0x25740b8, 0x458c000, 0x8, 0x10008, 0x8, 0x583828, 0x0, 0x69b980) /home/pi/go/src/io/io.go:310 +0x6c io.ReadFull(0x69b980, 0x25740b8, 0x458c000, 0x8, 0x10008, 0x0, 0x0, 0x0) /home/pi/go/src/io/io.go:329 +0x40 github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(Session).readFrame(0x448e180, 0x458c000, 0x10008, 0x10008, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:212 +0x128 github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).recvLoop(0x448e180) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:241 +0xcc created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:67 +0x134

goroutine 313 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveTimeout(0x448e180) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:304 +0xb0 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:73 +0x16c

goroutine 328 [IO wait]: internal/poll.runtime_pollWait(0x65315ed0, 0x72, 0x9d634) /home/pi/go/src/runtime/netpoll.go:173 +0x44 internal/poll.(pollDesc).wait(0x260c244, 0x72, 0xffffff00, 0x69c700, 0x9f02a4) /home/pi/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(pollDesc).waitRead(0x260c244, 0x3bb4300, 0x8, 0x8) /home/pi/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(FD).Read(0x260c230, 0x3bb4350, 0x8, 0x8, 0x0, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_unix.go:163 +0x14c net.(netFD).Read(0x260c230, 0x3bb4350, 0x8, 0x8, 0x7ffff800, 0x4, 0x260c23c) /home/pi/go/src/net/fd_unix.go:203 +0x38 net.(conn).Read(0x25ea220, 0x3bb4350, 0x8, 0x8, 0x0, 0x0, 0x0) /home/pi/go/src/net/net.go:176 +0x58 io.ReadAtLeast(0x69b980, 0x25ea220, 0x3bb4350, 0x8, 0x8, 0x8, 0x512408, 0x1, 0x3bb4350) /home/pi/go/src/io/io.go:310 +0x6c io.ReadFull(0x69b980, 0x25ea220, 0x3bb4350, 0x8, 0x8, 0x8, 0x69b980, 0x3ff) /home/pi/go/src/io/io.go:329 +0x40 github.com/NebulousLabs/Sia/encoding.ReadPrefix(0x69b980, 0x25ea220, 0x64, 0x0, 0x3bd0cc, 0x5288d8, 0x583828, 0x0, 0x69b980) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/encoding/prefix.go:13 +0x5c github.com/NebulousLabs/Sia/encoding.ReadObject(0x69b980, 0x25ea220, 0x4ec5b0, 0x25ea288, 0x64, 0x0, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/encoding/prefix.go:28 +0x34 github.com/NebulousLabs/Sia/modules/gateway.exchangeOurHeader(0x6a00b0, 0x25ea220, 0xb9e3f625, 0xf6615a29, 0x6a95cb9f, 0x76009fca, 0x2ecf4e23, 0xdb99d302, 0xe2b64854, 0x1ce8262f, ...) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:353 +0x140 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedConnectPeer(0x2460ee0, 0x6a00b0, 0x25ea220, 0x3bb4320, 0x5, 0x25a4d00, 0x12, 0x0, 0x3bb41e8) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:396 +0xe0 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedConnect(0x2460ee0, 0x25a4d00, 0x12, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:441 +0x23c github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedPeerManagerConnect(0x2460ee0, 0x25a4d00, 0x12) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:13 +0x58 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).permanentPeerManager.func1(0x241a1c0, 0x2460ee0, 0x25a4d00, 0x12) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:148 +0x98 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).permanentPeerManager /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:136 +0x248

goroutine 312 [select]: github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.(*Session).keepAliveSend(0x448e180) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:288 +0x148 created by github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux.newSession /home/pi/go/bin/src/github.com/NebulousLabs/Sia/vendor/github.com/xtaci/smux/session.go:72 +0x150

goroutine 279 [select]: github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer.func1(0x27fc040, 0x2460ee0, 0x27fc080, 0x411e140) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:153 +0xa4 created by github.com/NebulousLabs/Sia/modules/gateway.(Gateway).threadedListenPeer /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:147 +0xc4

goroutine 172 [IO wait]: internal/poll.runtime_pollWait(0x65315f50, 0x72, 0x9d634) /home/pi/go/src/runtime/netpoll.go:173 +0x44 internal/poll.(pollDesc).wait(0x2620424, 0x72, 0xffffff00, 0x69c700, 0x9f02a4) /home/pi/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(pollDesc).waitRead(0x2620424, 0x3c8ed00, 0x8, 0x8) /home/pi/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(FD).Read(0x2620410, 0x3c8ed60, 0x8, 0x8, 0x0, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_unix.go:163 +0x14c net.(netFD).Read(0x2620410, 0x3c8ed60, 0x8, 0x8, 0x7ffff800, 0x4, 0x262041c) /home/pi/go/src/net/fd_unix.go:203 +0x38 net.(conn).Read(0x25ea258, 0x3c8ed60, 0x8, 0x8, 0x0, 0x0, 0x0) /home/pi/go/src/net/net.go:176 +0x58 io.ReadAtLeast(0x69b980, 0x25ea258, 0x3c8ed60, 0x8, 0x8, 0x8, 0x512408, 0x1, 0x3c8ed60) /home/pi/go/src/io/io.go:310 +0x6c io.ReadFull(0x69b980, 0x25ea258, 0x3c8ed60, 0x8, 0x8, 0x8, 0x69b980, 0x3ff) /home/pi/go/src/io/io.go:329 +0x40 github.com/NebulousLabs/Sia/encoding.ReadPrefix(0x69b980, 0x25ea258, 0x64, 0x0, 0x3bc970, 0x5288d8, 0x583828, 0x0, 0x69b980) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/encoding/prefix.go:13 +0x5c github.com/NebulousLabs/Sia/encoding.ReadObject(0x69b980, 0x25ea258, 0x4ec5b0, 0x25ea260, 0x64, 0x0, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/encoding/prefix.go:28 +0x34 github.com/NebulousLabs/Sia/modules/gateway.connectVersionHandshake(0x6a00b0, 0x25ea258, 0x596f26, 0x5, 0x25ea258, 0x0, 0x0, 0x40) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:309 +0x188 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedConnect(0x2460ee0, 0x24831a0, 0x10, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:434 +0x1b8 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedPeerManagerConnect(0x2460ee0, 0x24831a0, 0x10) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:13 +0x58 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).permanentPeerManager.func1(0x241a1c0, 0x2460ee0, 0x24831a0, 0x10) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:148 +0x98 created by github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentPeerManager /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:136 +0x248

goroutine 224 [IO wait]: internal/poll.runtime_pollWait(0x653154d0, 0x72, 0x9d634) /home/pi/go/src/runtime/netpoll.go:173 +0x44 internal/poll.(pollDesc).wait(0x2620064, 0x72, 0xffffff00, 0x69c700, 0x9f02a4) /home/pi/go/src/internal/poll/fd_poll_runtime.go:85 +0x7c internal/poll.(pollDesc).waitRead(0x2620064, 0x26d6100, 0x8, 0x8) /home/pi/go/src/internal/poll/fd_poll_runtime.go:90 +0x2c internal/poll.(FD).Read(0x2620050, 0x26d6160, 0x8, 0x8, 0x0, 0x0, 0x0) /home/pi/go/src/internal/poll/fd_unix.go:163 +0x14c net.(netFD).Read(0x2620050, 0x26d6160, 0x8, 0x8, 0x7ffff800, 0x4, 0x262005c) /home/pi/go/src/net/fd_unix.go:203 +0x38 net.(conn).Read(0x2574060, 0x26d6160, 0x8, 0x8, 0x0, 0x0, 0x0) /home/pi/go/src/net/net.go:176 +0x58 io.ReadAtLeast(0x69b980, 0x2574060, 0x26d6160, 0x8, 0x8, 0x8, 0x512408, 0x1, 0x26d6160) /home/pi/go/src/io/io.go:310 +0x6c io.ReadFull(0x69b980, 0x2574060, 0x26d6160, 0x8, 0x8, 0x8, 0x69b980, 0x3ff) /home/pi/go/src/io/io.go:329 +0x40 github.com/NebulousLabs/Sia/encoding.ReadPrefix(0x69b980, 0x2574060, 0x64, 0x0, 0x3bc970, 0x5288d8, 0x583828, 0x0, 0x69b980) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/encoding/prefix.go:13 +0x5c github.com/NebulousLabs/Sia/encoding.ReadObject(0x69b980, 0x2574060, 0x4ec5b0, 0x2574068, 0x64, 0x0, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/encoding/prefix.go:28 +0x34 github.com/NebulousLabs/Sia/modules/gateway.connectVersionHandshake(0x6a00b0, 0x2574060, 0x596f26, 0x5, 0x2574060, 0x0, 0x0, 0x7) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:309 +0x188 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedConnect(0x2460ee0, 0x25a8120, 0x13, 0x0, 0x0) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peers.go:434 +0x1b8 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).managedPeerManagerConnect(0x2460ee0, 0x25a8120, 0x13) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:13 +0x58 github.com/NebulousLabs/Sia/modules/gateway.(Gateway).permanentPeerManager.func1(0x241a1c0, 0x2460ee0, 0x25a8120, 0x13) /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:148 +0x98 created by github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).permanentPeerManager /home/pi/go/bin/src/github.com/NebulousLabs/Sia/modules/gateway/peersmanager.go:136 +0x248

tbenz9 commented 6 years ago

What operating system are you running? Most Raspberry Pi operating systems are 32bit, and Sia requires 64bit. I see the mmap error, which is the 32bit incompatibility.

Shevchenko-Alexander commented 6 years ago

thank you for your response. I'm getting this outputs:

pi@raspberrypi:~/go/bin/bin $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)" NAME="Raspbian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" pi@raspberrypi:~/go/bin/bin $ uname -a Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux pi@raspberrypi:~/go/bin/bin $ cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 1 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 2 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

processor : 3 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4

Hardware : BCM2835 Revision : a22082 Serial : 000000009e77be22

Does it mean that I'm not able to install Sia on this OS? I just sow http://www.siaberry.com project and it seams that it's 64bit if you say that...

tbenz9 commented 6 years ago

Raspbian is a 32bit OS and will not run Sia.

Siaberry uses Gentoo (I think) to get a 64bit OS.