I had this panic yesterday. I’m suspecting the USB external SSD, but maybe it’s something else. I haven’t been able to find any other similar panic reports though.
[54KK4] WARNING: Fatal error: 2y777-pnfq6 Update(7777777-777777N-7777777-777777N-7777777-777777N-7777777-77777Q4, [77]): write XXX\index-v0.14.0.db\000611.log: The semaphore timeout period has expired.
Panic at 2022-01-06T21:58:46+01:00
panic: write x: The semaphore timeout period has expired.
goroutine 13 [running]:
github.com/syncthing/syncthing/lib/db.fatalError({0x1588180, 0xc0051fc1b0}, {0xc009def6e0, 0x59}, 0xc00269a000)
github.com/syncthing/syncthing/lib/db/set.go:516 +0x125
github.com/syncthing/syncthing/lib/db.(*FileSet).Update(0xc0004f2440, {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, ...}, ...)
github.com/syncthing/syncthing/lib/db/set.go:137 +0x39a
github.com/syncthing/syncthing/lib/model.(*folder).updateLocals(0xc000152a80, {0xc000c80000, 0x4d, 0x0})
github.com/syncthing/syncthing/lib/model/folder.go:1177 +0x67
github.com/syncthing/syncthing/lib/model.(*folder).updateLocalsFromScanning(0xc000152a80, {0xc000c80000, 0x4d, 0x3e8})
github.com/syncthing/syncthing/lib/model/folder.go:1165 +0x2d
github.com/syncthing/syncthing/lib/model.(*folder).newScanBatch.func1({0xc000c80000, 0x4d, 0x3e8})
github.com/syncthing/syncthing/lib/model/folder.go:542 +0x24f
github.com/syncthing/syncthing/lib/db.(*FileInfoBatch).Flush(0xc000a8bec0)
github.com/syncthing/syncthing/lib/db/util.go:56 +0x36
github.com/syncthing/syncthing/lib/db.(*FileInfoBatch).FlushIfFull(...)
github.com/syncthing/syncthing/lib/db/util.go:47
github.com/syncthing/syncthing/lib/model.(*scanBatch).FlushIfFull(0xc001a1be40)
github.com/syncthing/syncthing/lib/model/folder.go:568 +0x72
github.com/syncthing/syncthing/lib/model.(*folder).scanSubdirsChangedAndNew(0xc000152a80, {0x0, 0x0, 0x0}, 0x1)
github.com/syncthing/syncthing/lib/model/folder.go:645 +0x4aa
github.com/syncthing/syncthing/lib/model.(*folder).scanSubdirs(0xc000152a80, {0x0, 0x0, 0x0})
github.com/syncthing/syncthing/lib/model/folder.go:491 +0x5f4
github.com/syncthing/syncthing/lib/model.(*folder).scanTimerFired(0xc000152a80)
github.com/syncthing/syncthing/lib/model/folder.go:884 +0x3d
github.com/syncthing/syncthing/lib/model.(*folder).Serve(0xc000152a80, {0x159f978, 0xc000a83e00})
github.com/syncthing/syncthing/lib/model/folder.go:198 +0x6dd
github.com/thejerf/suture/v4.(*Supervisor).runService.func2()
github.com/thejerf/suture/v4@v4.0.1/supervisor.go:551 +0xb0
created by github.com/thejerf/suture/v4.(*Supervisor).runService
github.com/thejerf/suture/v4@v4.0.1/supervisor.go:539 +0x1cf
panic-20220106-215846.reported.log (543.7 KB)
This comes from my own build of Syncthing v1.18.5 with a few custom commits on top.