Repository navigation
Closed
Labels
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validated
Milestone
Description
Following https://forum.syncthing.net/t/panic-filling-blocks-leveldb-snapshot-released/15638. This happened when I was trying to save changes to a folder using the Web GUI.
Syncthing version is v1.10.0-rc.2 (x86-32). The OS is Windows 10 Enterprise 2016 LTSB x86. Not sure if of any significance, but the file system is NTFS, encrypted with BitLocker, and with NTFS compression enabled.
[7LDIB] 11:56:48 WARNING: Fatal error: ghgck-scplg Get(xxx): filling Blocks: leveldb: snapshot released
Panic at 2020-09-20T11:56:48+09:00
panic: filling Blocks: leveldb: snapshot released
goroutine 486054 [running]:
github.com/syncthing/syncthing/lib/db.fatalError(0x1599140, 0x13d425b0, 0x175f79e0, 0x5f, 0x1258e540)
github.com/syncthing/syncthing/lib/db/set.go:535 +0x1e1
github.com/syncthing/syncthing/lib/db.(*FileSet).Snapshot.func1(0x1599140, 0x13d425b0, 0x175f79e0, 0x5f)
github.com/syncthing/syncthing/lib/db/set.go:149 +0x43
github.com/syncthing/syncthing/lib/db.(*Snapshot).Get(0x15018d60, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x131fb6d0, ...)
github.com/syncthing/syncthing/lib/db/set.go:241 +0x3ab
github.com/syncthing/syncthing/lib/model.cFiler.CurrentFile(0x15018d60, 0x131fb6d0, 0x4e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
github.com/syncthing/syncthing/lib/model/folder.go:1153 +0x65
github.com/syncthing/syncthing/lib/scanner.(*walker).walkRegular(0x1411ff80, 0x15a2fc0, 0x15018da0, 0x131fb6d0, 0x4e, 0x15abae0, 0x1668a1c8, 0x14c28cc0, 0x0, 0x0)
github.com/syncthing/syncthing/lib/scanner/walk.go:332 +0x5c
github.com/syncthing/syncthing/lib/scanner.(*walker).handleItem(0x1411ff80, 0x15a2fc0, 0x15018da0, 0x131fb6d0, 0x4e, 0x15abae0, 0x1668a1c8, 0x14c28cc0, 0x14c28d00, 0x0, ...)
github.com/syncthing/syncthing/lib/scanner/walk.go:325 +0x1a3
github.com/syncthing/syncthing/lib/scanner.(*walker).walkAndHashFiles.func1(0x131fb6d0, 0x4e, 0x15abae0, 0x1668a1c8, 0x0, 0x0, 0x0, 0x0)
github.com/syncthing/syncthing/lib/scanner/walk.go:268 +0xae2
github.com/syncthing/syncthing/lib/fs.(*MtimeFS).Walk.func1(0x131fb6d0, 0x4e, 0x15abae0, 0x1668a1c8, 0x0, 0x0, 0x8f198b, 0x1668a1c8)
github.com/syncthing/syncthing/lib/fs/mtimefs.go:124 +0x71
github.com/syncthing/syncthing/lib/fs.(*walkFilesystem).walk(0x14958fa8, 0x131fb6d0, 0x4e, 0x15abae0, 0x1668a1c8, 0x155f63e0, 0x14155f50, 0x0, 0x0)
github.com/syncthing/syncthing/lib/fs/walkfs.go:80 +0x13e
github.com/syncthing/syncthing/lib/fs.(*walkFilesystem).walk(0x14958fa8, 0x14b6e000, 0x43, 0x15abae0, 0x154cf548, 0x155f63e0, 0x14155f50, 0x0, 0x0)
github.com/syncthing/syncthing/lib/fs/walkfs.go:112 +0x458
github.com/syncthing/syncthing/lib/fs.(*walkFilesystem).walk(0x14958fa8, 0x14c29040, 0x39, 0x15abae0, 0x154ce508, 0x155f63e0, 0x14155f50, 0x0, 0x0)
github.com/syncthing/syncthing/lib/fs/walkfs.go:112 +0x458
github.com/syncthing/syncthing/lib/fs.(*walkFilesystem).walk(0x14958fa8, 0x12a36840, 0xd, 0x15abae0, 0x154ce410, 0x155f63e0, 0x14155f50, 0x0, 0x0)
github.com/syncthing/syncthing/lib/fs/walkfs.go:112 +0x458
github.com/syncthing/syncthing/lib/fs.(*walkFilesystem).walk(0x14958fa8, 0x12d06f1, 0x1, 0x15abae0, 0x154ce2f8, 0x155f63e0, 0x14155f50, 0x0, 0x0)
github.com/syncthing/syncthing/lib/fs/walkfs.go:112 +0x458
github.com/syncthing/syncthing/lib/fs.(*walkFilesystem).Walk(0x14958fa8, 0x12d06f1, 0x1, 0x155f63e0, 0x0, 0x155f63e0)
github.com/syncthing/syncthing/lib/fs/walkfs.go:135 +0xe5
github.com/syncthing/syncthing/lib/fs.(*caseFilesystem).Walk(0x151692e0, 0x12d06f1, 0x1, 0x155f63e0, 0x34cd, 0x1ae2300)
github.com/syncthing/syncthing/lib/fs/casefs.go:273 +0x88
github.com/syncthing/syncthing/lib/fs.(*MtimeFS).Walk(0x15018dc0, 0x12d06f1, 0x1, 0x1248e900, 0x14c28d00, 0x1248e900)
github.com/syncthing/syncthing/lib/fs/mtimefs.go:110 +0x6c
github.com/syncthing/syncthing/lib/scanner.(*walker).walk.func1(0x1411ff80, 0x15a2fc0, 0x15018da0, 0x14c28cc0, 0x14c28d00)
github.com/syncthing/syncthing/lib/scanner/walk.go:114 +0x1bf
created by github.com/syncthing/syncthing/lib/scanner.(*walker).walk
github.com/syncthing/syncthing/lib/scanner/walk.go:111 +0x13e
Metadata
Metadata
Assignees
Labels
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validated
Activity
lib/model: Prevent race on db-error while scanning (fixes syncthing#6994
lib/model, lib/scanner: Prevent races aborting scans (fixes syncthing…
lib/model, lib/scanner: Prevent races aborting scans (fixes syncthing…
lib/model, lib/scanner: Prevent races aborting scans (fixes syncthing…
lib/model, lib/scanner: Prevent races aborting scans (fixes #6994) (#…
Merge branch 'main' into cdc