NebulousLabs / Sia-UI

A Graphical Frontend for Sia - https://sia.tech
MIT License
389 stars 109 forks source link

Sia-UI errors when loading on Windows #714

Open ianwesty opened 7 years ago

ianwesty commented 7 years ago

I'm seeing the following errors when Sia-UI is trying load.

Loaded up the Sia-UI today and received the following errors
panic: assertion failed: tx closed

goroutine 1 [running]:
github.com/NebulousLabs/bolt._assert(0xc04202b100, 0xadba96, 0x9, 0x0, 0x0, 0x0)
    /home/luke/go/src/github.com/NebulousLabs/bolt/db.go:1034 +0xfd
github.com/NebulousLabs/bolt.(*Cursor).Next(0xc04202b1d8, 0x20, 0x20, 0xbe3a310, 0x0, 0x0, 0x0)
    /home/luke/go/src/github.com/NebulousLabs/bolt/cursor.go:74 +0x76
github.com/NebulousLabs/bolt.(*Bucket).ForEach(0xc0421c4700, 0xc04202b290, 0x15, 0x15)
    /home/luke/go/src/github.com/NebulousLabs/bolt/bucket.go:389 +0x123
github.com/NebulousLabs/bolt.(*Bucket).DeleteBucket(0xc0421e6718, 0xdd81e0, 0x15, 0x15, 0xee9fe0, 0xdcc6b4)
    /home/luke/go/src/github.com/NebulousLabs/bolt/bucket.go:244 +0x205
github.com/NebulousLabs/bolt.(*Tx).DeleteBucket(0xc0421e6700, 0xdd81e0, 0x15, 0x15, 0xc042290230, 0x43)
    /home/luke/go/src/github.com/NebulousLabs/bolt/tx.go:121 +0x56
github.com/NebulousLabs/Sia/modules/transactionpool.(*TransactionPool).resetDB(0xc042067b80, 0xc0421e6700, 0x1, 0x1)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:67 +0x5a
github.com/NebulousLabs/Sia/modules/transactionpool.(*TransactionPool).initPersist(0xc042067b80, 0xc042067b80, 0xc0421f5050)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/persist.go:188 +0xb44
github.com/NebulousLabs/Sia/modules/transactionpool.New(0xde5060, 0xc042127b80, 0xde4440, 0xc042066dc0, 0xc042290500, 0x41, 0x0, 0x0, 0x0)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/transactionpool/transactionpool.go:101 +0x27d
main.startDaemon(0x0, 0x0, 0xc0420363eb, 0xe, 0xc04203642b, 0x5, 0xc04203640c, 0x5, 0x0, 0xc04203644a, ...)
    /home/luke/go/src/github.com/NebulousLabs/Sia/siad/daemon.go:202 +0x169a
main.startDaemonCmd(0xc04206d200, 0xc04204f450, 0x0, 0x5)
    /home/luke/go/src/github.com/NebulousLabs/Sia/siad/daemon.go:335 +0x169
github.com/spf13/cobra.(*Command).execute(0xc04206d200, 0xc04202e070, 0x5, 0x5, 0xc04206d200, 0xc04202e070)
    /home/luke/go/src/github.com/spf13/cobra/command.go:653 +0x2a0
github.com/spf13/cobra.(*Command).ExecuteC(0xc04206d200, 0xb002aa, 0x3b, 0xc042136be0)
    /home/luke/go/src/github.com/spf13/cobra/command.go:728 +0x340
github.com/spf13/cobra.(*Command).Execute(0xc04206d200, 0xeea320, 0xae8452)
    /home/luke/go/src/github.com/spf13/cobra/command.go:687 +0x32
main.main()
    /home/luke/go/src/github.com/NebulousLabs/Sia/siad/main.go:174 +0x7b1