[pkg-go] Bug#896888: panics during start on protocol.DeviceIDFromBytes
Andrea Villa
andreakarimodm at gmail.com
Wed Apr 25 13:53:28 BST 2018
Package: syncthing
Version: 0.14.46+ds1-1
Severity: grave
Tags: upstream
Justification: renders package unusable
Syncthing refuses to start with the following error:
[edited] 14:47:33 INFO: syncthing v0.14.46-ds1 "Dysprosium Dragonfly"
(go1.10.1 linux-amd64) debian at debian 2018-04-04 18:28:29 UTC [noupgrade]
[edited] 14:47:33 INFO: My ID: [edited]
[edited] 14:47:34 INFO: Single thread SHA256 performance is 344 MB/s using
minio/sha256-simd (287 MB/s using crypto/sha256).
[edited] 14:47:34 INFO: Hashing performance with weak hash is 249.13 MB/s
[edited] 14:47:34 INFO: Hashing performance without weak hash is 335.79 MB/s
[edited] 14:47:34 INFO: Weak hash disabled, as it has an unacceptable
performance impact.
...
Panic at 2018-04-25T14:47:35+02:00
panic: incorrect length of byte slice representing device ID
goroutine 1 [running]:
github.com/syncthing/syncthing/lib/protocol.DeviceIDFromBytes(0x1111234,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/build/syncthing-PqLcAU/syncthing-0.14.46+ds1/_build/src/
github.com/syncthing/syncthing/lib/protocol/deviceid.go:44 +0xa7
github.com/syncthing/syncthing/lib/db.readWriteTransaction.updateGlobal(...)
/build/syncthing-PqLcAU/syncthing-0.14.46+ds1/_build/src/
github.com/syncthing/syncthing/lib/db/leveldb_transactions.go:89 +0x8d
github.com/syncthing/syncthing/lib/db.(*Instance).updateSchema0to1(0xc42021b7a0)
/build/syncthing-PqLcAU/syncthing-0.14.46+ds1/_build/src/
github.com/syncthing/syncthing/lib/db/leveldb_dbinstance.go:593 +0x651
github.com/syncthing/syncthing/lib/db.(*Instance).UpdateSchema(0xc42021b7a0)
/build/syncthing-PqLcAU/syncthing-0.14.46+ds1/_build/src/
github.com/syncthing/syncthing/lib/db/leveldb_dbinstance.go:92 +0xf1
main.syncthingMain(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb349d4, 0x1, 0x0, 0x0,
...)
/build/syncthing-PqLcAU/syncthing-0.14.46+ds1/_build/src/
github.com/syncthing/syncthing/cmd/syncthing/main.go:774 +0x11cd
main.main()
/build/syncthing-PqLcAU/syncthing-0.14.46+ds1/_build/src/
github.com/syncthing/syncthing/cmd/syncthing/main.go:440 +0x3e9
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages syncthing depends on:
ii libc6 2.27-3
syncthing recommends no packages.
syncthing suggests no packages.
-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20180425/3284d938/attachment.html>
More information about the Pkg-go-maintainers
mailing list