# Panic and crash at startup

**URL:** https://forum.syncthing.net/t/panic-and-crash-at-startup/5175
**Category:** Support
**Created:** [July 15, 2015, 11:22pm UTC](https://forum.syncthing.net/t/panic-and-crash-at-startup/5175 "2015-07-15T23:22:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![VIP00](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/v/ebca7d/32.png) [@VIP00](https://forum.syncthing.net/u/VIP00)
#### Post date: [July 15, 2015, 11:22pm UTC](https://forum.syncthing.net/t/panic-and-crash-at-startup/5175/1 "2015-07-15T23:22:54Z")

</div>

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]: [github.com/syncthing/syncthing/internal/db.ldbCheckGlobals](http://github.com/syncthing/syncthing/internal/db.ldbCheckGlobals)(0xc082228160, 0xc08a0efc60, 0xb, 0x10) /go/src/github.com/syncthing/syncthing/internal/db/leveldb.go:1053 +0xde7 [github.com/syncthing/syncthing/internal/db.NewFileSet](http://github.com/syncthing/syncthing/internal/db.NewFileSet)(0xc082116954, 0xb, 0xc082228160, 0xc08314e350) /go/src/github.com/syncthing/syncthing/internal/db/set.go:55 +0x28c [github.com/syncthing/syncthing/internal/model.(\*Model).AddFolder](http://github.com/syncthing/syncthing/internal/model.(*Model).AddFolder)(0xc082afc900, 0xc082116954, 0xb, 0xc0821168d0, 0xe, 0xc0820bf380, 0x2, 0x4, 0x0, 0x3c, …) /go/src/github.com/syncthing/syncthing/internal/model/model.go:1172 +0x1a8 main.syncthingMain() /go/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:621 +0x221d main.main() /go/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:383 +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/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(0xc0820e0000)](http://github.com/thejerf/suture.(*Supervisor).Serve(0xc0820e0000)) /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](http://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/syncthing/syncthing/internal/events.(\*Subscription).Poll](http://github.com/syncthing/syncthing/internal/events.(*Subscription).Poll)(0xc082007980, 0xdf8475800, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, …) /go/src/github.com/syncthing/syncthing/internal/events/events.go:186 +0x370 [github.com/syncthing/syncthing/internal/events.(\*BufferedSubscription).pollingLoop(0xc08200c5f0)](http://github.com/syncthing/syncthing/internal/events.(*BufferedSubscription).pollingLoop(0xc08200c5f0)) /go/src/github.com/syncthing/syncthing/internal/events/events.go:223 +0x4f created by [github.com/syncthing/syncthing/internal/events.NewBufferedSubscription](http://github.com/syncthing/syncthing/internal/events.NewBufferedSubscription) /go/src/github.com/syncthing/syncthing/internal/events/events.go:217 +0x299 goroutine 11 [select]: [github.com/syndtr/goleveldb/leveldb/util.(\*BufferPool).drain(0xc0820a01c0)](http://github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0820a01c0)) /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](http://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 12 [select]: [github.com/syndtr/goleveldb/leveldb.(\*DB).compactionError(0xc082228160)](http://github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc082228160)) /go/src/github.com/syncthing/syncthing/Godeps/\_workspace/src/github.com/syndtr/goleveldb/leveldb/db\_compaction.go:69 +0x561 created by [github.com/syndtr/goleveldb/leveldb.openDB](http://github.com/syndtr/goleveldb/leveldb.openDB) /go/src/github.com/syncthing/syncthing/Godeps/\_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:139 +0x7d3 goroutine 13 [select]: [github.com/syndtr/goleveldb/leveldb.(\*DB).mpoolDrain(0xc082228160)](http://github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc082228160)) /go/src/github.com/syncthing/syncthing/Godeps/\_workspace/src/github.com/syndtr/goleveldb/leveldb/db\_state.go:82 +0x151 created by [github.com/syndtr/goleveldb/leveldb.openDB](http://github.com/syndtr/goleveldb/leveldb.openDB) /go/src/github.com/syncthing/syncthing/Godeps/\_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:140 +0x7ed goroutine 14 [select]: [github.com/syndtr/goleveldb/leveldb.(\*DB).tCompaction(0xc082228160)](http://github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc082228160)) /go/src/github.com/syncthing/syncthing/Godeps/\_workspace/src/github.com/syndtr/goleveldb/leveldb/db\_compaction.go:768 +0x85f created by [github.com/syndtr/goleveldb/leveldb.openDB](http://github.com/syndtr/goleveldb/leveldb.openDB) /go/src/github.com/syncthing/syncthing/Godeps/\_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:146 +0x9d6 goroutine 15 [select]: [github.com/syndtr/goleveldb/leveldb.(\*DB).mCompaction(0xc082228160)](http://github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc082228160)) /go/src/github.com/syncthing/syncthing/Godeps/\_workspace/src/github.com/syndtr/goleveldb/leveldb/db\_compaction.go:715 +0x28a created by [github.com/syndtr/goleveldb/leveldb.openDB](http://github.com/syndtr/goleveldb/leveldb.openDB) /go/src/github.com/syncthing/syncthing/Godeps/\_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:147 +0x9f0 goroutine 16 [select]: [github.com/syndtr/goleveldb/leveldb.(\*DB).jWriter(0xc082228160)](http://github.com/syndtr/goleveldb/leveldb.(*DB).jWriter(0xc082228160)) /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](http://github.com/syndtr/goleveldb/leveldb.openDB) /go/src/github.com/syncthing/syncthing/Godeps/\_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:148 +0xa0a goroutine 49 [chan receive]: [github.com/syncthing/syncthing/internal/scanner.hashFiles](http://github.com/syncthing/syncthing/internal/scanner.hashFiles)(0xc084b541a0, 0x15, 0x20000, 0xc0821a6e40, 0xc0821a6d20) /go/src/github.com/syncthing/syncthing/internal/scanner/blockqueue.go:61 +0x7e [github.com/syncthing/syncthing/internal/scanner.func·001()](http://github.com/syncthing/syncthing/internal/scanner.func%C2%B7001()) /go/src/github.com/syncthing/syncthing/internal/scanner/blockqueue.go:28 +0x5f created by [github.com/syncthing/syncthing/internal/scanner.newParallelHasher](http://github.com/syncthing/syncthing/internal/scanner.newParallelHasher) /go/src/github.com/syncthing/syncthing/internal/scanner/blockqueue.go:30 +0x2b9 goroutine 20 [select]: [github.com/syncthing/syncthing/internal/model.(\*ProgressEmitter).Serve(0xc0831362c0)](http://github.com/syncthing/syncthing/internal/model.(*ProgressEmitter).Serve(0xc0831362c0)) /go/src/github.com/syncthing/syncthing/internal/model/progressemitter.go:52 +0x8f9 created by [github.com/syncthing/syncthing/internal/model.NewModel](http://github.com/syncthing/syncthing/internal/model.NewModel) /go/src/github.com/syncthing/syncthing/internal/model/model.go:144 +0xb8c goroutine 21 [select]: [github.com/syncthing/syncthing/internal/ignore.(\*Matcher).clean](http://github.com/syncthing/syncthing/internal/ignore.(*Matcher).clean)(0xc082225310, 0x68c61714000) /go/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:161 +0x1d0 created by [github.com/syncthing/syncthing/internal/ignore.New](http://github.com/syncthing/syncthing/internal/ignore.New) /go/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:53 +0x177 goroutine 22 [select]: [github.com/syncthing/syncthing/internal/ignore.(\*Matcher).clean](http://github.com/syncthing/syncthing/internal/ignore.(*Matcher).clean)(0xc084b46c80, 0x68c61714000) /go/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:161 +0x1d0 created by [github.com/syncthing/syncthing/internal/ignore.New](http://github.com/syncthing/syncthing/internal/ignore.New) /go/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:53 +0x177 goroutine 23 [chan receive]: [github.com/syncthing/syncthing/internal/model.(\*Model).internalScanFolderSubs](http://github.com/syncthing/syncthing/internal/model.(*Model).internalScanFolderSubs)(0xc082afc900, 0xc082116100, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0) /go/src/github.com/syncthing/syncthing/internal/model/model.go:1327 +0x1244 [github.com/syncthing/syncthing/internal/model.(\*roFolder).Serve(0xc082175830)](http://github.com/syncthing/syncthing/internal/model.(*roFolder).Serve(0xc082175830)) /go/src/github.com/syncthing/syncthing/internal/model/rofolder.go:86 +0x858 created by [github.com/syncthing/syncthing/internal/model.(\*Model).StartFolderRO](http://github.com/syncthing/syncthing/internal/model.(*Model).StartFolderRO) /go/src/github.com/syncthing/syncthing/internal/model/model.go:214 +0x313 goroutine 33 [select]: [github.com/syncthing/syncthing/internal/ignore.(\*Matcher).clean](http://github.com/syncthing/syncthing/internal/ignore.(*Matcher).clean)(0xc0864457c0, 0x68c61714000) /go/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:161 +0x1d0 created by [github.com/syncthing/syncthing/internal/ignore.New](http://github.com/syncthing/syncthing/internal/ignore.New) /go/src/github.com/syncthing/syncthing/internal/ignore/ignore.go:53 +0x177 goroutine 50 [semacquire]: sync.(\*WaitGroup).Wait(0xc084b54220) c:/go/src/sync/waitgroup.go:132 +0x170 [github.com/syncthing/syncthing/internal/scanner.func·002()](http://github.com/syncthing/syncthing/internal/scanner.func%C2%B7002()) /go/src/github.com/syncthing/syncthing/internal/scanner/blockqueue.go:34 +0x49 created by [github.com/syncthing/syncthing/internal/scanner.newParallelHasher](http://github.com/syncthing/syncthing/internal/scanner.newParallelHasher) /go/src/github.com/syncthing/syncthing/internal/scanner/blockqueue.go:36 +0x34d goroutine 51 [semacquire]: sync.(\*RWMutex).RLock(0xc082226740) c:/go/src/sync/rwmutex.go:36 +0x66 [github.com/syncthing/syncthing/internal/model.(\*Model).CurrentFolderFile](http://github.com/syncthing/syncthing/internal/model.(*Model).CurrentFolderFile)(0xc082afc900, 0xc082116100, 0x9, 0xc083058f36, 0x90, 0x0, 0x0, 0x0, 0x0, 0x0, …) /go/src/github.com/syncthing/syncthing/internal/model/model.go:859 +0x75 [github.com/syncthing/syncthing/internal/model.cFiler.CurrentFile](http://github.com/syncthing/syncthing/internal/model.cFiler.CurrentFile)(0xc082afc900, 0xc082116100, 0x9, 0xc083058f36, 0x90, 0x0, 0x0, 0x0, 0x0, 0x0, …) /go/src/github.com/syncthing/syncthing/internal/model/model.go:887 +0x77 [github.com/syncthing/syncthing/internal/model.(\*cFiler).CurrentFile](http://github.com/syncthing/syncthing/internal/model.(*cFiler).CurrentFile)(0xc084b541e0, 0xc083058f36, 0x90, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, …) :93 +0xe2 [github.com/syncthing/syncthing/internal/scanner.func·004](http://github.com/syncthing/syncthing/internal/scanner.func%C2%B7004)(0xc083058f20, 0xa6, 0x142260, 0xc0848a3380, 0x0, 0x0, 0x0, 0x0) /go/src/github.com/syncthing/syncthing/internal/scanner/walk.go:334 +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 [github.com/syncthing/syncthing/internal/scanner.func·003()](http://github.com/syncthing/syncthing/internal/scanner.func%C2%B7003()) /go/src/github.com/syncthing/syncthing/internal/scanner/walk.go:102 +0x8c created by [github.com/syncthing/syncthing/internal/scanner.(\*Walker).Walk](http://github.com/syncthing/syncthing/internal/scanner.(*Walker).Walk) /go/src/github.com/syncthing/syncthing/internal/scanner/walk.go:109 +0x442 goroutine 25 [semacquire]: sync.(\*RWMutex).RLock(0xc082226740) c:/go/src/sync/rwmutex.go:36 +0x66 [github.com/syncthing/syncthing/internal/model.(\*Model).CurrentLocalVersion](http://github.com/syncthing/syncthing/internal/model.(*Model).CurrentLocalVersion)(0xc082afc900, 0xc082116560, 0x8, 0xc08626cba0, 0x0) /go/src/github.com/syncthing/syncthing/internal/model/model.go:1560 +0x52 [github.com/syncthing/syncthing/internal/model.(\*Model).CheckFolderHealth](http://github.com/syncthing/syncthing/internal/model.(*Model).CheckFolderHealth)(0xc082afc900, 0xc082116560, 0x8, 0x0, 0x0) /go/src/github.com/syncthing/syncthing/internal/model/model.go:1700 +0x2aa [github.com/syncthing/syncthing/internal/model.(\*roFolder).Serve(0xc086eb3a70)](http://github.com/syncthing/syncthing/internal/model.(*roFolder).Serve(0xc086eb3a70)) /go/src/github.com/syncthing/syncthing/internal/model/rofolder.go:76 +0x470 created by [github.com/syncthing/syncthing/internal/model.(\*Model).StartFolderRO](http://github.com/syncthing/syncthing/internal/model.(*Model).StartFolderRO) /go/src/github.com/syncthing/syncthing/internal/model/model.go:214 +0x313

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

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [July 16, 2015, 6:03am UTC](https://forum.syncthing.net/t/panic-and-crash-at-startup/5175/2 "2015-07-16T06:03:10Z")

</div>

These threads answer this and what to do:

> [@Panic: leveldb/table: corruption on data-block](https://forum.syncthing.net/t/panic-leveldb-table-corruption-on-data-block/2526):
>
> can’t start ST + SyncTrayzor, i keep getting the above panic. Partial log : [http://pastebin.com/424ykBpL](http://pastebin.com/424ykBpL) help? thx, Tom.

> [@Leveldb/storage: corrupted or incomplete CURRENT file](https://forum.syncthing.net/t/leveldb-storage-corrupted-or-incomplete-current-file/1160):
>
> I get the following error five times when I try to start the most recent version of PulseThing on Windows 8.1. [monitor] 03:27:38 INFO: Starting syncthing [26Y7O] 03:27:39 INFO: syncthing v0.10.1 (go1.3.3 windows-amd64 default) jenkins @build.syncthing.net 2014-10-12 12:09:40 UTC [26Y7O] 03:27:39 INFO: My ID: 26Y7OM6-FAI6BEQ-GOOEHNV-GXEMZJ7-5XFPLQS-TD6YGL5-I2 TKKGS-EPLKSQI [26Y7O] 03:27:39 FATAL: Cannot open database: leveldb/storage: corrupted or inco mplete CURRENT file - Is another copy of S…

> [@Syncthing crashes with "corruption on data-block"](https://forum.syncthing.net/t/syncthing-crashes-with-corruption-on-data-block/3047/10):
>
> SyncTrayzor will forcibly terminate the Syncthing process in 4 scenarios: You select Syncthing -\> Kill from the menu You select Syncthing -\> Kill all Syncthing processes from the menu You log off / shut down your computer, and Syncthing does terminate within 250ms after receiving a ‘Shutdown’ command over its Rest interface SyncTrayzor crashes, and shows the ‘SyncTrayzor crashed, please open an issue on GitHub’ page Aside from these, all shutdowns are graceful EDIT: To update this, SyncTray…

---

<div class="post-metadata">

### Author: ![calmh](https://forum.syncthing.net/user_avatar/forum.syncthing.net/calmh/32/15311_2.png) [@calmh](https://forum.syncthing.net/u/calmh)
#### Post date: [July 16, 2015, 6:03am UTC](https://forum.syncthing.net/t/panic-and-crash-at-startup/5175/3 "2015-07-16T06:03:22Z")

</div>

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

Duplicate.
