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

Siad has exited unexpectedly #3035

Closed zights closed 6 years ago

zights commented 6 years ago

Stack Trace or error message

Sia Daemon v1.3.2 Git Revision 72938f5 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.0540585 seconds panic: page 14885 already freed

goroutine 21 [running]: github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(freelist).free(0xc04215c450, 0xb61, 0x81d5000) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/freelist.go:143 +0x4b4 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(node).spill(0xc04270f5e0, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/node.go:363 +0x217 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(node).spill(0xc042088c40, 0x0, 0x0) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/node.go:350 +0xc6 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(node).spill(0xc042088850, 0xc0420ad770, 0xc0424a9a78) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/node.go:350 +0xc6 github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(Bucket).spill(0xc042326180, 0xc0424a9b00, 0x15) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/bucket.go:568 +0x4da github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(Bucket).spill(0xc042220018, 0x1bf53f8ea8, 0xf06c00) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/bucket.go:535 +0x41e github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(Tx).Commit(0xc042220000, 0x2, 0x44b912) /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/tx.go:160 +0x130 github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).syncDB(0xc042268160) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:43 +0x4e github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).threadedRegularSync(0xc042268160) /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:33 +0xbd created by github.com/NebulousLabs/Sia/modules/transactionpool.(TransactionPool).initPersist /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:122 +0x3ae

Expected Behavior

Sia-UI not crashing when it is launched and trying to sync with the network

How to reproduce it (as minimally and precisely as possible)

Launch Sia-UI, let it sync in the background, crash occurs

Environment

tbenz9 commented 6 years ago

Duplicate of #2413