Skip to content

"panic: filling Blocks: leveldb: snapshot released" on folder save #6994

Closed

Description

@tomasz1986

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

panic-20200920-115648.log

Activity

  1. added
    bug
    needs-triage
    on Sep 20, 2020
  2. added 4 commits that reference this issue on Sep 21, 2020
    f1ee196
    8a2ec63
    0f8b49b
    6d4a16e
  3. added a commit that references this issue on Sep 25, 2020
    8452fd2
  4. added this to the v1.10.1 milestone on Sep 28, 2020
  5. added a commit that references this issue on Sep 29, 2020
    7fd07ce
  6. added
    frozen-due-to-age
    on Sep 26, 2021
  7. locked and limited conversation to collaborators on Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-ageneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions