today the client got stuck:
I1026 14:22:30.340734 20693 downloader.go:254] Synchronisation failed: hash fetching canceled (requested)
I1026 14:22:37.163353 20693 chain_manager.go:671] imported 0 block(s) (0 queued 1 ignored) including 0 txs in 4.142695ms. #263289 [daba2d47 daba2d47]
I1026 14:22:37.724659 20693 chain_manager.go:863] Bad block #263290 (95a3f537b3b813140d6db57a91757f6dceb2fd8c46904f61dc1cbb8e0fd495a3)
I1026 14:22:37.724700 20693 chain_manager.go:864] invalid merkle root. received=620d52e223d737791645b49a94ba3eec9a24a145212412d6900e3399d371f93e got=330c336f53c63675ed177596f08d1287ce2b9e02b6de4d9f6b28efc82fac7caa
I1026 14:22:37.724810 20693 downloader.go:254] Synchronisation failed: hash fetching canceled (requested)
i've tried the recover command, but no dice:
I1026 14:25:30.256126 16022 database.go:73] Alloted 16MB cache tohome/skunk/.Shift/blockchain
panic: runtime error: index out of range
goroutine 1 [running]:
main.blockRecovery(0xc2080a4e00)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/cmd/shift/main.go:558 +0xa82
github.com/codegangsta/cli.Command.Run(0xe5c8b0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfb9390, 0x64, 0x11212f0, ...)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/codegangsta/cli/command.go:118 +0x104b
github.com/codegangsta/cli.(*App).Run(0xc2080ba000, 0xc20800a000, 0x2, 0x2, 0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/codegangsta/cli/app.go:177 +0xdf6
main.main()
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/cmd/shift/main.go:362 +0x80
goroutine 5 [syscall]:
os/signal.loop()
usr/lib/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
usr/lib/go/src/os/signal/signal_unix.go:27 +0x35
goroutine 7 [chan receive]:
github.com/shiftcurrency/shift/logger/glog.(*loggingT).flushDaemon(0x16e41a0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/logger/glog/glog.go:897 +0x78
created by github.com/shiftcurrency/shift/logger/glog.init·1
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/logger/glog/glog.go:428 +0x77
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
usr/lib/go/src/runtime/asm_amd64.s:2232 +0x1
goroutine 8 [select]:
github.com/shiftcurrency/shift/logger.dispatchLoop()
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/logger/sys.go:81 +0x6d1
created by github.com/shiftcurrency/shift/logger.init·1
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/logger/sys.go:60 +0x25
goroutine 34 [IO wait]:
net.(*pollDesc).Wait(0xc2080f80d0, 0x72, 0x0, 0x0)
usr/lib/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2080f80d0, 0x0, 0x0)
usr/lib/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).readFrom(0xc2080f8070, 0xc208220000, 0x800, 0x800, 0x0, 0x0, 0x0, 0x7fdb32a7b848, 0xc2081c4100)
usr/lib/go/src/net/fd_unix.go:269 +0x4a1
net.(*UDPConn).ReadFromUDP(0xc2081ec000, 0xc208220000, 0x800, 0x800, 0x4f4640, 0x0, 0x0, 0x0)
usr/lib/go/src/net/udpsock_posix.go:67 +0x124
net.(*UDPConn).ReadFrom(0xc2081ec000, 0xc208220000, 0x800, 0x800, 0x800, 0x0, 0x0, 0x0, 0x0)
usr/lib/go/src/net/udpsock_posix.go:82 +0x12e
github.com/huin/goupnp/httpu.(*HTTPUClient).Do(0xc2081de040, 0xc208206000, 0x7d2b7500, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/huin/goupnp/httpu/httpu.go:96 +0xba4
github.com/huin/goupnp/ssdp.SSDPRawSearch(0xc2081de040, 0xf94990, 0x31, 0x2, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/huin/goupnp/ssdp/ssdp.go:53 +0x654
github.com/huin/goupnp.DiscoverDevices(0xf94990, 0x31, 0x0, 0x0, 0x0, 0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/huin/goupnp/goupnp.go:57 +0x129
github.com/shiftcurrency/shift/p2p/nat.discover(0xc2081c2000, 0xf94990, 0x31, 0x1114190)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/natupnp.go:137 +0x40
created by github.com/shiftcurrency/shift/p2p/nat.discoverUPnP
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/natupnp.go:115 +0x84
goroutine 35 [IO wait]:
net.(*pollDesc).Wait(0xc208010300, 0x72, 0x0, 0x0)
usr/lib/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208010300, 0x0, 0x0)
usr/lib/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).readFrom(0xc2080102a0, 0xc2080f5800, 0x800, 0x800, 0x0, 0x0, 0x0, 0x7fdb32a7b848, 0xc2081a2af0)
usr/lib/go/src/net/fd_unix.go:269 +0x4a1
net.(*UDPConn).ReadFromUDP(0xc2081e8000, 0xc2080f5800, 0x800, 0x800, 0x4f4640, 0x0, 0x0, 0x0)
usr/lib/go/src/net/udpsock_posix.go:67 +0x124
net.(*UDPConn).ReadFrom(0xc2081e8000, 0xc2080f5800, 0x800, 0x800, 0x800, 0x0, 0x0, 0x0, 0x0)
usr/lib/go/src/net/udpsock_posix.go:82 +0x12e
github.com/huin/goupnp/httpu.(*HTTPUClient).Do(0xc2081da040, 0xc2081f00d0, 0x7d2b7500, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/huin/goupnp/httpu/httpu.go:96 +0xba4
github.com/huin/goupnp/ssdp.SSDPRawSearch(0xc2081da040, 0xf949f0, 0x31, 0x2, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/huin/goupnp/ssdp/ssdp.go:53 +0x654
github.com/huin/goupnp.DiscoverDevices(0xf949f0, 0x31, 0x0, 0x0, 0x0, 0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/huin/goupnp/goupnp.go:57 +0x129
github.com/shiftcurrency/shift/p2p/nat.discover(0xc2081c2000, 0xf949f0, 0x31, 0x1114198)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/natupnp.go:137 +0x40
created by github.com/shiftcurrency/shift/p2p/nat.discoverUPnP
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/natupnp.go:127 +0xbd
goroutine 11 [chan receive]:
github.com/shiftcurrency/shift/p2p/nat.func·004(0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/nat.go:158 +0x175
github.com/shiftcurrency/shift/p2p/nat.func·005()
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/nat.go:242 +0x51
sync.(*Once).Do(0xc2081a4390, 0xc208017798)
usr/lib/go/src/sync/once.go:44 +0xd4
github.com/shiftcurrency/shift/p2p/nat.(*autodisc).wait(0xc2081a4380, 0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/nat.go:244 +0x79
created by github.com/shiftcurrency/shift/p2p/nat.startautodisc
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/nat.go:203 +0xc7
goroutine 18 [chan receive]:
github.com/shiftcurrency/shift/p2p/nat.discoverUPnP(0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/natupnp.go:129 +0x109
github.com/shiftcurrency/shift/p2p/nat.func·002()
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/nat.go:155 +0x28
created by github.com/shiftcurrency/shift/p2p/nat.func·004
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/nat.go:155 +0xcb
goroutine 19 [select]:
github.com/shiftcurrency/shift/p2p/nat.discoverPMP(0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/natpmp.go:86 +0x39d
github.com/shiftcurrency/shift/p2p/nat.func·003()
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/nat.go:156 +0x28
created by github.com/shiftcurrency/shift/p2p/nat.func·004
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/nat.go:156 +0x121
goroutine 36 [select]:
github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc208226000)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:205 +0x21e
created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:236 +0x24c
goroutine 21 [IO wait]:
net.(*pollDesc).Wait(0xc208122060, 0x72, 0x0, 0x0)
usr/lib/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208122060, 0x0, 0x0)
usr/lib/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).readFrom(0xc208122000, 0xc2081b20e0, 0xc, 0xc, 0x0, 0x0, 0x0, 0x7fdb32a7b848, 0xc2081b20d8)
usr/lib/go/src/net/fd_unix.go:269 +0x4a1
net.(*UDPConn).ReadFromUDP(0xc2081ac010, 0xc2081b20e0, 0xc, 0xc, 0x2, 0x0, 0x0, 0x0)
usr/lib/go/src/net/udpsock_posix.go:67 +0x124
github.com/jackpal/go-nat-pmp.(*Client).rpc(0xc2081b0820, 0xc208055ede, 0x2, 0x2, 0xc, 0xc2081b20e0, 0xc, 0xc, 0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go:130 +0x3c8
github.com/jackpal/go-nat-pmp.(*Client).GetExternalAddress(0xc2081b0820, 0x0, 0x0, 0x0)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go:52 +0xc8
github.com/shiftcurrency/shift/p2p/nat.func·006()
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/natpmp.go:73 +0xa5
created by github.com/shiftcurrency/shift/p2p/nat.discoverPMP
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/p2p/nat/natpmp.go:78 +0x1a1
goroutine 12 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc208208160)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:120 +0x48c
created by github.com/syndtr/goleveldb/leveldb.openDB
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:126 +0x849
goroutine 13 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc208208160)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_state.go:82 +0x14a
created by github.com/syndtr/goleveldb/leveldb.openDB
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:127 +0x863
goroutine 14 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc208208160)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:812 +0x858
created by github.com/syndtr/goleveldb/leveldb.openDB
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:130 +0x8a7
goroutine 15 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc208208160)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:759 +0x283
created by github.com/syndtr/goleveldb/leveldb.openDB
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:131 +0x8c1
goroutine 16 [select]:
github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0xc208208160)
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_write.go:37 +0x197
created by github.com/syndtr/goleveldb/leveldb.openDB
home/skunk/bitcoin/shift/build/_workspace/src/github.com/shiftcurrency/shift/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:132 +0x8db
then i've tried the removedb command, but it gets stuck on block 31 now:
I1026 14:42:13.540037 24069 downloader.go:254] Synchronisation failed: hash fetching canceled (requested)
I1026 14:42:27.769112 24069 chain_manager.go:863] Bad block #31 (a4e7785f19f984044087ed2b32523f8e86b2b487646c516cc690cc4e883bb9f3)
I1026 14:50:18.614341 24069 chain_manager.go:864] invalid merkle root. received=8a549bff93cf2aff5b5493f005515120e54fea0085061c91d0a103679052daa9 got=f5d060911dd5c66b2ca20d97f264149b3877cf615f67006c7e0cce409c250cc7
I1026 14:50:18.614436 24069 downloader.go:254] Synchronisation failed: block downloading canceled (requested)
SHIFT
Version: 0.4.0
Git Commit: e9d3f48fefdbcd0a69fa0b8f314755b193e4df9f
Protocol Versions: [61 60]
Network Id: 1
Go Version: go1.4.2
OS: linux
GOPATH=
GOROOT=/usr/lib/go
peerCount varies from 0 to 3 and it doesn't stay connected...
i'm running eth, exp and soil clients without problems...