SiaFoundation / siad

The Sia daemon
https://sia.tech
MIT License
131 stars 29 forks source link

I have a electric cutting, and when load sia again it shows errors #154

Open cmdntd opened 1 year ago

cmdntd commented 1 year ago

I have a electric cutting, and when load sia again it shows errors (2 times, when run like renter, and when create new node)

2023-02-05 21:17:01 error: [server is unable to create the Sia node; unable to create host; unable to read persisted json object from disk: loading a file with a bad checksum]

2023-02-05 22:05:09 error: [server is unable to create the Sia node; unable to create host; unable to read persisted json object from disk: loading a file with a bad checksum]

2023-02-05 22:05:25 error: [server is unable to create the Sia node; unable to create host; unable to read persisted json object from disk: loading a file with a bad checksum]

2023-02-05 22:05:43 error: [server is unable to create the Sia node; unable to create host; unable to read persisted json object from disk: loading a file with a bad checksum]

2023-02-05 22:05:50 error: [server is unable to create the Sia node; unable to create host; unable to read persisted json object from disk: loading a file with a bad checksum]

2023-02-05 22:14:34 error: [server is unable to create the Sia node; unable to create host; unable to read persisted json object from disk: loading a file with a bad checksum]

2023-02-05 22:21:01 error: panic: invalid page type: 10819914: 10

goroutine 59 [running]:

2023-02-05 22:21:01 error: gitlab.com/NebulousLabs/bolt.(*Cursor).search
2023-02-05 22:21:01 error: (0xc001e7eef8, 0xc001e7ef98, 0x20, 0x20, 0xa5194a)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:250 +0x345
gitlab.com/NebulousLabs/bolt.(*Cursor).searchPage(0xc001e7eef8, 0xc001e7ef98, 0x20, 0x20, 0x1bf1db000)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:308 +0x16c
gitlab.com/NebulousLabs/bolt.(*Cursor).search(0xc001e7eef8, 0xc001e7ef98, 0x20, 0x20, 0x13f1eb)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:265 +0x194
gitlab.com/NebulousLabs/bolt.(*Cursor).searchPage(0xc001e7eef8, 0xc001e7ef98, 0x20, 0x20, 0x1bf1de000)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:308 +0x16c
gitlab.com/NebulousLabs/bolt.(*Cursor).search(0xc001e7eef8, 0xc001e7ef98, 0x20, 0x20, 0x13f1ee)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:265 +0x194
gitlab.com/NebulousLabs/bolt.(*Cursor).searchPage(0xc001e7eef8, 0xc001e7ef98, 0x20, 0x20, 0x1bf2fa000)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:308 +0x16c
gitlab.com/NebulousLabs/bolt.(*Cursor).search(0xc001e7eef8, 0xc001e7ef98, 0x20, 0x20, 0x13f30a)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:265 +0x194
gitlab.com/NebulousLabs/bolt.(*Cursor).seek(0xc001e7eef8, 0xc001e7ef98, 0x20, 0x20, 0x1c1029136, 0x10, 0x10, 0x1, 0x171dd4ee8, 0x10, ...)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:159 +0x85
gitlab.com/NebulousLabs/bolt.(*Bucket).Get(0xc001ff3fc0, 0xc001e7ef98, 0x20, 0x20, 0xc001ff3fc0, 0x20, 0xf6a978)
    gitlab.com/NebulousLabs/bolt@v1.4.4/bucket.go:262 +0xc5
go.sia.tech/siad/modules/consensus.getBlockMap(0xc000228700, 0x0, 0x9e6c5a8746b46ad4, 0x6555608e118acf89, 0x1102b081e516c56, 0x8e3a2f721b0c682a, 0x20, 0x20)
    go.sia.tech/siad/modules/consensus/consensusdb.go:196 +0x8f
go.sia.tech/siad/modules/consensus.(*ConsensusSet).computeConsensusChange(0xc00037c000, 0xc000228700, 0x0, 0x0, 0x0, 0xc001fa8fc0, 0x1, 0x1, 0x0, 0x0, ...)
    go.sia.tech/siad/modules/consensus/subscribe.go:77 +0x7f8
go.sia.tech/siad/modules/consensus.(*ConsensusSet).managedInitializeSubscribe.func2(0xc000228700, 0x0, 0xc000228700)
    go.sia.tech/siad/modules/consensus/subscribe.go:208 +0x22e
gitlab.com/NebulousLabs/bolt.(*DB).View(0xc00033e200, 0xc0000e9ca8, 0x0, 0x0)
    gitlab.com/NebulousLabs/bolt@v1.4.4/db.go:730 +0x98
go.sia.tech/siad/modules/consensus.(*ConsensusSet).managedInitializeSubscribe(0xc00037c000, 0xf57620, 0xc000085380, 0x4e507b21e0d9718f, 0x42fd359925d4b724, 0xf7eca06dec026e1, 0x6ca5b55e6927a3e5, 0xc000088420, 0x0, 0x0, ...)
    go.sia.tech/siad/modules/consensus/subscribe.go:200 +0x32e
go.sia.tech/siad/modules/consensus.(*ConsensusSet).ConsensusSetSubscribe(0xc00037c000, 0xf57620, 0xc000085380, 0x4e507b21e0d9718f, 0x42fd359925d4b724, 0xf7eca06dec026e1, 0x6ca5b55e6927a3e5, 0xc000088420, 0x0, 0x0)
    go.sia.tech/siad/modules/consensus/subscribe.go:256 +0x11f
go.sia.tech/siad/modules/transactionpool.(*TransactionPool).initPersist.func4(0xc000085380, 0x4e507b21e0d9718f, 0x42fd359925d4b724, 0xf7eca06dec026e1, 0x6ca5b55e6927a3e5)
    go.sia.tech/siad/modules/transactionpool/persist.go:183 +0xa6
created by go.sia.tech/siad/modules/transactionpool.(*TransactionPool).initPersist
    go.sia.tech/siad/modules/transactionpool/persist.go:182 +0xd7d

2023-02-05 22:21:19 error: panic: invalid page type: 10819914: 10

goroutine 21 [running]:
gitlab.com/NebulousLabs/bolt.(*Cursor).search(0xc00041cef8, 0xc00041cf98, 0x20, 0x20, 0xa5194a)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:250 +0x345
gitlab.com/NebulousLabs/bolt.(*Cursor).searchPage(0xc00041cef8, 0xc00041cf98, 0x20, 0x20, 0x1bf1db000)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:308 +0x16c
gitlab.com/NebulousLabs/bolt.(*Cursor).search(0xc00041cef8, 0xc00041cf98, 0x20, 0x20, 0x13f1eb)

2023-02-05 22:21:19 error: gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:265 +0x194
gitlab.com/NebulousLabs/bolt.(*Cursor).searchPage(0xc00041cef8, 0xc00041cf98, 0x20, 0x20, 0x1bf1de000)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:308 +0x16c
gitlab.com/NebulousLabs/bolt.(*Cursor).search(0xc00041cef8, 0xc00041cf98, 0x20, 0x20, 0x13f1ee)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:265 +0x194
gitlab.com/NebulousLabs/bolt.(*Cursor).searchPage(0xc00041cef8, 0xc00041cf98, 0x20, 0x20, 0x1bf2fa000)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:308 +0x16c
gitlab.com/NebulousLabs/bolt.(*Cursor).search(0xc00041cef8, 0xc00041cf98, 0x20, 0x20, 0x13f30a)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:265 +0x194
gitlab.com/NebulousLabs/bolt.(*Cursor).seek(0xc00041cef8, 0xc00041cf98, 0x20, 0x20, 0x1c1029136, 0x10, 0x10, 0x1, 0x171dd4ee8, 0x10, ...)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:159 +0x85
gitlab.com/NebulousLabs/bolt.(*Bucket).Get(0xc000488040, 0xc00041cf98, 0x20, 0x20, 0xc000488040, 0x20, 0xf6a978)
    gitlab.com/NebulousLabs/bolt@v1.4.4/bucket.go:262 +0xc5
go.sia.tech/siad/modules/consensus.getBlockMap(0xc0003fa0e0, 0x0, 0x9e6c5a8746b46ad4, 0x6555608e118acf89, 0x1102b081e516c56, 0x8e3a2f721b0c682a, 0x20, 0x20)
    go.sia.tech/siad/modules/consensus/consensusdb.go:196 +0x8f
go.sia.tech/siad/modules/consensus.(*ConsensusSet).computeConsensusChange(0xc0002fa000, 0xc0003fa0e0, 0x0, 0x0, 0x0, 0xc00043eae0, 0x1, 0x1, 0x0, 0x0, ...)
    go.sia.tech/siad/modules/consensus/subscribe.go:77 +0x7f8
go.sia.tech/siad/modules/consensus.(*ConsensusSet).managedInitializeSubscribe.func2(0xc0003fa0e0, 0x0, 0xc0003fa0e0)
    go.sia.tech/siad/modules/consensus/subscribe.go:208 +0x22e
gitlab.com/NebulousLabs/bolt.(*DB).View(0xc0002ce200, 0xc0003f1ca8, 0x0, 0x0)
    gitlab.com/NebulousLabs/bolt@v1.4.4/db.go:730 +0x98
go.sia.tech/siad/modules/consensus.(*ConsensusSet).managedInitializeSubscribe(0xc0002fa000, 0xf57620, 0xc000084780, 0x4e507b21e0d9718f, 0x42fd359925d4b724, 0xf7eca06dec026e1, 0x6ca5b55e6927a3e5, 0xc000202480, 0x0, 0x0, ...)
    go.sia.tech/siad/modules/consensus/subscribe.go:200 +0x32e
go.sia.tech/siad/modules/consensus.(*ConsensusSet).ConsensusSetSubscribe(0xc0002fa000, 0xf57620, 0xc000084780, 0x4e507b21e0d9718f, 0x42fd359925d4b724, 0xf7eca06dec026e1, 0x6ca5b55e6927a3e5, 0xc000202480, 0x0, 0x0)
    go.sia.tech/siad/modules/consensus/subscribe.go:256 +0x11f
go.sia.tech/siad/modules/transactionpool.(*TransactionPool).initPersist.func4(0xc000084780, 0x4e507b21e0d9718f, 0x42fd359925d4b724, 0xf7eca06dec026e1, 0x6ca5b55e6927a3e5)
    go.sia.tech/siad/modules/transactionpool/persist.go:183 +0xa6
created by go.sia.tech/siad/modules/transactionpool.(*TransactionPool).initPersist
    go.sia.tech/siad/modules/transactionpool/persist.go:182 +0xd7d

2023-02-05 22:25:20 error: panic: invalid page type: 10819914: 10

goroutine 41 [running]:
gitlab.com/NebulousLabs/bolt.(*Cursor).search(0xc001f16ef8, 0xc001f16f98, 0x20, 0x20, 0xa5194a)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go
2023-02-05 22:25:20 error: :250 +0x345
gitlab.com/NebulousLabs/bolt.(*Cursor).searchPage(0xc001f16ef8, 0xc001f16f98, 0x20, 0x20, 0x1bf1db000)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:308 +0x16c
gitlab.com/NebulousLabs/bolt.(*Cursor).search(0xc001f16ef8, 0xc001f16f98, 0x20, 0x20, 0x13f1eb)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:265 +0x194
gitlab.com/NebulousLabs/bolt.(*Cursor).searchPage(0xc001f16ef8, 0xc001f16f98, 0x20, 0x20, 0x1bf1de000)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:308 +0x16c
gitlab.com/NebulousLabs/bolt.(*Cursor).search(0xc001f16ef8, 0xc001f16f98, 0x20, 0x20, 0x13f1ee)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:265 +0x194
gitlab.com/NebulousLabs/bolt.(*Cursor).searchPage(0xc001f16ef8, 0xc001f16f98, 0x20, 0x20, 0x1bf2fa000)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:308 +0x16c
gitlab.com/NebulousLabs/bolt.(*Cursor).search(0xc001f16ef8, 0xc001f16f98, 0x20, 0x20, 0x13f30a)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:265 +0x194
gitlab.com/NebulousLabs/bolt.(*Cursor).seek(0xc001f16ef8, 0xc001f16f98, 0x20, 0x20, 0x1c1029136, 0x10, 0x10, 0x1, 0x171dd4ee8, 0x10, ...)
    gitlab.com/NebulousLabs/bolt@v1.4.4/cursor.go:159 +0x85
gitlab.com/NebulousLabs/bolt.(*Bucket).Get(0xc001f8b940, 0xc001f16f98, 0x20, 0x20, 0xc001f8b940, 0x20, 0xf6a978)
    gitlab.com/NebulousLabs/bolt@v1.4.4/bucket.go:262 +0xc5
go.sia.tech/siad/modules/consensus.getBlockMap(0xc0003180e0, 0x0, 0x9e6c5a8746b46ad4, 0x6555608e118acf89, 0x1102b081e516c56, 0x8e3a2f721b0c682a, 0x20, 0x20)
    go.sia.tech/siad/modules/consensus/consensusdb.go:196 +0x8f
go.sia.tech/siad/modules/consensus.(*ConsensusSet).computeConsensusChange(0xc0002fe000, 0xc0003180e0, 0x0, 0x0, 0x0, 0xc001f8e220, 0x1, 0x1, 0x0, 0x0, ...)
    go.sia.tech/siad/modules/consensus/subscribe.go:77 +0x7f8
go.sia.tech/siad/modules/consensus.(*ConsensusSet).managedInitializeSubscribe.func2(0xc0003180e0, 0x0, 0xc0003180e0)
    go.sia.tech/siad/modules/consensus/subscribe.go:208 +0x22e
gitlab.com/NebulousLabs/bolt.(*DB).View(0xc0002c0200, 0xc000321ca8, 0x0, 0x0)
    gitlab.com/NebulousLabs/bolt@v1.4.4/db.go:730 +0x98
go.sia.tech/siad/modules/consensus.(*ConsensusSet).managedInitializeSubscribe(0xc0002fe000, 0xf57620, 0xc00020ec00, 0x4e507b21e0d9718f, 0x42fd359925d4b724, 0xf7eca06dec026e1, 0x6ca5b55e6927a3e5, 0xc000086360, 0x0, 0x0, ...)
    go.sia.tech/siad/modules/consensus/subscribe.go:200 +0x32e
go.sia.tech/siad/modules/consensus.(*ConsensusSet).ConsensusSetSubscribe(0xc0002fe000, 0xf57620, 0xc00020ec00, 0x4e507b21e0d9718f, 0x42fd359925d4b724, 0xf7eca06dec026e1, 0x6ca5b55e6927a3e5, 0xc000086360, 0x0, 0x0)
    go.sia.tech/siad/modules/consensus/subscribe.go:256 +0x11f
go.sia.tech/siad/modules/transactionpool.(*TransactionPool).initPersist.func4(0xc00020ec00, 0x4e507b21e0d9718f, 0x42fd359925d4b724, 0xf7eca06dec026e1, 0x6ca5b55e6927a3e5)
    go.sia.tech/siad/modules/transactionpool/persist.go:183 +0xa6
created by go.sia.tech/siad/modules/transactionpool.(*TransactionPool).initPersist
    go.sia.tech/siad/modules/transactionpool/persist.go:182 +0xd7d

2023-02-05 22:48:05 error: [server is unable to create the Sia node; unable to create host; unable to read persisted json object from disk: loading a file with a bad checksum]

2023-02-05 22:48:16 error: [server is unable to create the Sia node; unable to create host; unable to read persisted json object from disk: loading a file with a bad checksum]

2023-02-05 22:53:44 error: [server is unable to create the Sia node; unable to create host; unable to read persisted json object from disk: loading a file with a bad checksum]

2023-02-05 22:55:02 error: [server is unable to create the Sia node; unable to create host; unable to read persisted json object from disk: loading a file with a bad checksum]