This has happened several times now. After it happened two days ago I deleted the index and let it rebuild everything (taking a couple of hours). All files finished syncing and everything seemed to be working fine for a day. Then it happened again today. It won’t restart without deleting the index.
The crash happens on a Windows 2012 Server that is continually running. There are no hard drive problems.
I did have it running within SyncTrazor. I don’t know if that make a difference, but it doesn’t restart even when run separately.
Any ideas?
Here’s the error:
[HOD5B] 15:38:48 INFO: syncthing v0.11.9 (go1.4.2 windows-amd64 default) unknown-user@syncthing-builder 2015-06-14 11:52:00 UTC [HOD5B] 15:38:48 INFO: My ID: HOD5BMZ [HOD5B] 15:38:48 INFO: Database block cache capacity 65536 KiB [HOD5B] 15:38:50 OK: Ready to synchronize Server2 (read-write) panic: leveldb/table: corruption on data-block (pos=838243): checksum mismatch, want=0xd2dbcbda got=0xc72aff56 [file=012607.ldb] goroutine 1 [running]: github.com/syncthing/syncthing/internal/db.ldbCheckGlobals(0xc0820aa580, 0xc085ad41c8, 0x4, 0x8) /go/src/github.com/syncthing/syncthing/internal/db/leveldb.go:1053 +0xde7 github.com/syncthing/syncthing/internal/db.NewFileSet(0xc0820e2440, 0x4, 0xc0820aa580, 0xc082442420) /go/src/github.com/syncthing/syncthing/internal/db/set.go:55 +0x28c github.com/syncthing/syncthing/internal/model.(*Model).AddFolder(0xc082216000, 0xc0820e2440, 0x4, 0xc0820fc260, 0x11, 0xc082112280, 0x2, 0x4, 0x0, 0x708, …) /go/src/github.com/syncthing/syncthing/internal/model/model.go:1166 +0x1a8 main.syncthingMain() /go/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:607 +0x2150 main.main() /go/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:379 +0x2325 goroutine 5 [syscall]: os/signal.loop() c:/go/src/os/signal/signal_unix.go:21 +0x26 created by os/signal.init·1 c:/go/src/os/signal/signal_unix.go:27 +0x3c goroutine 7 [chan receive]: main.trackCPUUsage() /go/src/github.com/syncthing/syncthing/cmd/syncthing/gui_windows.go:37 +0x496 created by main.init·2 /go/src/github.com/syncthing/syncthing/cmd/syncthing/gui_windows.go:17 +0x2c goroutine 8 [select]: github.com/thejerf/suture.(*Supervisor).Serve(0xc0820d8240) /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/thejerf/suture/suture.go:411 +0xf6b created by github.com/thejerf/suture.(*Supervisor).ServeBackground /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/thejerf/suture/suture.go:373 +0x39 goroutine 10 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc08200a1c0) /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:205 +0x225 created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:236 +0x253 goroutine 11 [select]: github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc0820aa580) /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:153 +0x2db created by github.com/syndtr/goleveldb/leveldb.openDB /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:126 +0x850 goroutine 12 [select]: github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc0820aa580) /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_state.go:73 +0x151 created by github.com/syndtr/goleveldb/leveldb.openDB /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:127 +0x86a goroutine 14 [select]: github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc0820aa580) /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:759 +0x28a created by github.com/syndtr/goleveldb/leveldb.openDB /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:131 +0x8c8 goroutine 15 [select]: github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0xc0820aa580) /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db_write.go:37 +0x19e created by github.com/syndtr/goleveldb/leveldb.openDB /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:132 +0x8e2 goroutine 21 [select]: github.com/syncthing/syncthing/internal/model.(*ProgressEmitter).Serve(0xc0852faac0) /go/src/github.com/syncthing/syncthing/internal/model/progressemitter.go:52 +0x8f9 created by github.com/syncthing/syncthing/internal/model.NewModel /go/src/github.com/syncthing/syncthing/internal/model/model.go:144 +0xb8c goroutine 22 [select]: github.com/thejerf/suture.(*Supervisor).Serve(0xc0820f3440) /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/thejerf/suture/suture.go:411 +0xf6b github.com/thejerf/suture.func·007() /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/thejerf/suture/suture.go:516 +0xfd created by github.com/thejerf/suture.(*Supervisor).runService /go/src/github.com/syncthing/syncthing/Godeps/_workspace/src/github.com/thejerf/suture/suture.go:519 +0x125 goroutine 23 [select]: github.com/syncthing/syncthing/internal/ignore.(*Matcher).clean(0xc086f994a0, 0x68c61714000) /go/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:161 +0x1d0 created by github.com/syncthing/syncthing/internal/ignore.New /go/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:53 +0x177 goroutine 24 [semacquire]: sync.(*RWMutex).RLock(0xc0820ea0a0) c:/go/src/sync/rwmutex.go:36 +0x66 github.com/syncthing/syncthing/internal/model.(*Model).CurrentLocalVersion(0xc082216000, 0xc082009ff0, 0xc, 0xc0820ae000) /go/src/github.com/syncthing/syncthing/internal/model/model.go:1540 +0x52 github.com/syncthing/syncthing/internal/model.(*Model).CheckFolderHealth(0xc082216000, 0xc082009ff0, 0xc, 0x0, 0x0) /go/src/github.com/syncthing/syncthing/internal/model/model.go:1680 +0x2aa github.com/syncthing/syncthing/internal/model.(*rwFolder).Serve(0xc086a61c00) /go/src/github.com/syncthing/syncthing/internal/model/rwfolder.go:258 +0x17e3 created by github.com/syncthing/syncthing/internal/model.(*Model).StartFolderRW /go/src/github.com/syncthing/syncthing/internal/model/model.go:192 +0x5e6