Syncthing Panic in 0.13.8

Hi,

I’m having the following PANIC when starting Syncthing on an Ubuntu based distro (Bodhi) It has worked nicely since a couple of days ago. I’m not sure if it was after the upgrade to 0.13.8

Thank you for any suggestion. This is critical for me.

Output form file panic-20160629-145131.log

[XPVLF] 14:51:31 INFO: syncthing v0.13.8 “Copper Cockroach” (go1.6.2 linux-386) unknown-user@lx-buildslave.syncthing.net 2016-06-26 10:48:18 UTC [XPVLF] 14:51:31 INFO: My ID: XPVLFDC-KO6L4ND-HA6L3LK-VSRJHFO-M4H56XS-TPQFSHS-4VVSGRO-KTTUMAO [XPVLF] 14:51:31 INFO: Single thread hash performance is ~151 MB/s … Panic at 2016-06-29T14:51:31+02:00 panic: runtime error: invalid memory address or nil pointer dereference [signal 0xb code=0x1 addr=0x0 pc=0x835868c]

goroutine 1 [running]: panic(0x8630e40, 0x18e0a038) /usr/local/go/src/runtime/panic.go:481 +0x326 sync/atomic.AddUint64(0x18fae32c, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/sync/atomic/asm_386.s:112 +0xc github.com/syncthing/syncthing/lib/db.readWriteTransaction.flush(0x18e15230, 0x18fae320, 0x18faece0) /home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/db/leveldb_transactions.go:74 +0x96 github.com/syncthing/syncthing/lib/db.readWriteTransaction.close(0x18e15230, 0x18fae320, 0x18faece0) /home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/db/leveldb_transactions.go:59 +0x31 github.com/syncthing/syncthing/lib/db.(*Instance).checkGlobals(0x18fae320, 0x18f98610, 0x5, 0x8, 0x18e12304) /home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/db/leveldb_dbinstance.go:643 +0x989 github.com/syncthing/syncthing/lib/db.NewFileSet(0x18f992b8, 0x5, 0x18fae320, 0x18fa1504) /home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/db/set.go:104 +0x273 github.com/syncthing/syncthing/lib/model.(*Model).AddFolder(0x18e60160, 0x18f992b8, 0x5, 0x0, 0x0, 0x18fb1740, 0x26, 0x0, 0x18f83480, 0x2, …) /home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/lib/model/model.go:1378 +0x11a main.syncthingMain(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x86b1248, 0x1, 0x0, …) /home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:688 +0x18d2 main.main() /home/buildslave/workspace/syncthing-release/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:364 +0x7d7

Thank you

Upgrade to 0.13.9 where this is solved.

syncthing -upgrade should do that if you’re running the GitHub release.

Thanks. :grin:

1 Like

Fixed it! You guys are magic and VERY VERY important to me… I also love the technology you use :slight_smile:

Thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.