Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes while trying to process the same block #1094

Open
Richard87 opened this issue Dec 10, 2017 · 2 comments
Open

Crashes while trying to process the same block #1094

Richard87 opened this issue Dec 10, 2017 · 2 comments

Comments

@Richard87
Copy link

Hi, I have btcd running, and it keeps crashing at the same time... this is the error message I receive:

2017-12-10 12:15:29.232 [INF] SYNC: Processed 11 blocks in the last 10.25s (23601 transactions, height 464256, 2017-04-30 22:20:13 +0000 UTC)
2017-12-10 12:15:39.304 [INF] SYNC: Processed 11 blocks in the last 10.07s (21869 transactions, height 464267, 2017-04-30 23:48:13 +0000 UTC)
2017-12-10 12:15:39.304 [INF] SYNC: New valid peer 71.183.7.180:8333 (outbound) (/Satoshi:0.15.0.1(UASF-SegWit-BIP148--No-2x-you-dumb-jerks)/)
2017-12-10 12:15:39.304 [INF] SYNC: New valid peer 174.100.122.162:8333 (outbound) (/Satoshi:0.14.2/)
2017-12-10 12:15:39.304 [INF] SYNC: New valid peer 52.220.90.194:8333 (outbound) (/Satoshi:0.14.2/)
2017-12-10 12:15:49.736 [INF] SYNC: Processed 11 blocks in the last 10.43s (14974 transactions, height 464278, 2017-05-01 01:14:16 +0000 UTC)
2017-12-10 12:15:49.972 [ERR] SYNC: Failed to process block 000000000000000000a801d655366dc0547edb05544e5e0deb28d21fa549d834: failed to open ldb transaction: leveldb/table: corruption on table-footer (pos=2118892): bad magic number [file=1181016.ldb]
panic: failed to open ldb transaction: leveldb/table: corruption on table-footer (pos=2118892): bad magic number [file=1181016.ldb]
goroutine 82 [running]:
github.com/btcsuite/btcd/netsync.(*SyncManager).handleBlockMsg(0xc42007e6e0, 0xc434df1180)
	/go/src/github.com/btcsuite/btcd/netsync/manager.go:581 +0x16a4
github.com/btcsuite/btcd/netsync.(*SyncManager).blockHandler(0xc42007e6e0)
	/go/src/github.com/btcsuite/btcd/netsync/manager.go:1149 +0x588
created by github.com/btcsuite/btcd/netsync.(*SyncManager).Start
	/go/src/github.com/btcsuite/btcd/netsync/manager.go:1352 +0xe5
@Roasbeef
Copy link
Member

Your database is corrupted unfortunately :/

You'll need to wipe it, then sync from scratch.

@Richard87
Copy link
Author

Okay, thanks... Any reason it was corrupted, or just a random glitch on the harddrive?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants