Panic and crash at startup

I am having issues with syncthing crashing - I am using it with the SyncTrayzor wrapper.

Here’s what it spits out at me:

panic: leveldb/table: corruption on data-block (pos=1038704): checksum mismatch, want=0x54cb7642 got=0x925315e0 [file=125444.ldb] goroutine 1 [running]:, 0xc08a0efc60, 0xb, 0x10) /go/src/ +0xde7, 0xb, 0xc082228160, 0xc08314e350) /go/src/ +0x28c*Model).AddFolder(0xc082afc900, 0xc082116954, 0xb, 0xc0821168d0, 0xe, 0xc0820bf380, 0x2, 0x4, 0x0, 0x3c, …) /go/src/ +0x1a8 main.syncthingMain() /go/src/ +0x221d main.main() /go/src/ +0x23da 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/ +0x496 created by main.init·2 /go/src/ +0x2c goroutine 8 [select]:*Supervisor).Serve(0xc0820e0000) /go/src/ +0xf6b created by*Supervisor).ServeBackground /go/src/ +0x39 goroutine 10 [select]:*Subscription).Poll(0xc082007980, 0xdf8475800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, …) /go/src/ +0x370*BufferedSubscription).pollingLoop(0xc08200c5f0) /go/src/ +0x4f created by /go/src/ +0x299 goroutine 11 [select]:*BufferPool).drain(0xc0820a01c0) /go/src/ +0x225 created by /go/src/ +0x253 goroutine 12 [select]:*DB).compactionError(0xc082228160) /go/src/ +0x561 created by /go/src/ +0x7d3 goroutine 13 [select]:*DB).mpoolDrain(0xc082228160) /go/src/ +0x151 created by /go/src/ +0x7ed goroutine 14 [select]:*DB).tCompaction(0xc082228160) /go/src/ +0x85f created by /go/src/ +0x9d6 goroutine 15 [select]:*DB).mCompaction(0xc082228160) /go/src/ +0x28a created by /go/src/ +0x9f0 goroutine 16 [select]:*DB).jWriter(0xc082228160) /go/src/ +0x19e created by /go/src/ +0xa0a goroutine 49 [chan receive]:, 0x15, 0x20000, 0xc0821a6e40, 0xc0821a6d20) /go/src/ +0x7e·001() /go/src/ +0x5f created by /go/src/ +0x2b9 goroutine 20 [select]:*ProgressEmitter).Serve(0xc0831362c0) /go/src/ +0x8f9 created by /go/src/ +0xb8c goroutine 21 [select]:*Matcher).clean(0xc082225310, 0x68c61714000) /go/src/ +0x1d0 created by /go/src/ +0x177 goroutine 22 [select]:*Matcher).clean(0xc084b46c80, 0x68c61714000) /go/src/ +0x1d0 created by /go/src/ +0x177 goroutine 23 [chan receive]:*Model).internalScanFolderSubs(0xc082afc900, 0xc082116100, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0) /go/src/ +0x1244*roFolder).Serve(0xc082175830) /go/src/ +0x858 created by*Model).StartFolderRO /go/src/ +0x313 goroutine 33 [select]:*Matcher).clean(0xc0864457c0, 0x68c61714000) /go/src/ +0x1d0 created by /go/src/ +0x177 goroutine 50 [semacquire]: sync.(*WaitGroup).Wait(0xc084b54220) c:/go/src/sync/waitgroup.go:132 +0x170·002() /go/src/ +0x49 created by /go/src/ +0x34d goroutine 51 [semacquire]: sync.(*RWMutex).RLock(0xc082226740) c:/go/src/sync/rwmutex.go:36 +0x66*Model).CurrentFolderFile(0xc082afc900, 0xc082116100, 0x9, 0xc083058f36, 0x90, 0x0, 0x0, 0x0, 0x0, 0x0, …) /go/src/ +0x75, 0xc082116100, 0x9, 0xc083058f36, 0x90, 0x0, 0x0, 0x0, 0x0, 0x0, …) /go/src/ +0x77*cFiler).CurrentFile(0xc084b541e0, 0xc083058f36, 0x90, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, …) :93 +0xe2·004(0xc083058f20, 0xa6, 0x142260, 0xc0848a3380, 0x0, 0x0, 0x0, 0x0) /go/src/ +0x2613 path/filepath.walk(0xc083058f20, 0xa6, 0x142260, 0xc0848a3380, 0xc084b542c0, 0x0, 0x0) c:/go/src/path/filepath/path.go:347 +0x98 path/filepath.walk(0xc08908c180, 0x72, 0x142260, 0xc08626c840, 0xc084b542c0, 0x0, 0x0) c:/go/src/path/filepath/path.go:372 +0x524 path/filepath.walk(0xc0848c3aa0, 0x58, 0x142260, 0xc0848c3b00, 0xc084b542c0, 0x0, 0x0) c:/go/src/path/filepath/path.go:372 +0x524 path/filepath.walk(0xc085394d20, 0x48, 0x142260, 0xc086126b40, 0xc084b542c0, 0x0, 0x0) c:/go/src/path/filepath/path.go:372 +0x524 path/filepath.walk(0xc083081080, 0x37, 0x142260, 0xc089736d20, 0xc084b542c0, 0x0, 0x0) c:/go/src/path/filepath/path.go:372 +0x524 path/filepath.walk(0xc08ac44060, 0x2c, 0x142260, 0xc08742e6c0, 0xc084b542c0, 0x0, 0x0) c:/go/src/path/filepath/path.go:372 +0x524 path/filepath.walk(0xc08b66fe60, 0x28, 0x142260, 0xc0855a07e0, 0xc084b542c0, 0x0, 0x0) c:/go/src/path/filepath/path.go:372 +0x524 path/filepath.walk(0xc087028fe0, 0x1a, 0x142260, 0xc084b2dd40, 0xc084b542c0, 0x0, 0x0) c:/go/src/path/filepath/path.go:372 +0x524 path/filepath.walk(0xc084b541a0, 0x15, 0x142260, 0xc0821a7080, 0xc084b542c0, 0x0, 0x0) c:/go/src/path/filepath/path.go:372 +0x524 path/filepath.Walk(0xc084b541a0, 0x15, 0xc084b542c0, 0x0, 0x0) c:/go/src/path/filepath/path.go:394 +0xf9·003() /go/src/ +0x8c created by*Walker).Walk /go/src/ +0x442 goroutine 25 [semacquire]: sync.(*RWMutex).RLock(0xc082226740) c:/go/src/sync/rwmutex.go:36 +0x66*Model).CurrentLocalVersion(0xc082afc900, 0xc082116560, 0x8, 0xc08626cba0, 0x0) /go/src/ +0x52*Model).CheckFolderHealth(0xc082afc900, 0xc082116560, 0x8, 0x0, 0x0) /go/src/ +0x2aa*roFolder).Serve(0xc086eb3a70) /go/src/ +0x470 created by*Model).StartFolderRO /go/src/ +0x313

This happens at every startup, so I am unable to run syncthing at all. I am open to any ideas!

These threads answer this and what to do:

This topic is now closed. New replies are no longer allowed.