Bug#1049983: panic: connection already exists

2023-08-17 Thread Shengjing Zhu
Control: severity -1 grave

On Fri, Aug 18, 2023 at 4:51 AM Yuri D'Elia  wrote:
>
> Package: syncthing
> Version: 1.19.2~ds1-2
> Severity: normal
>
> With 1.19.2~ds1-2 syncthing panis immediately on the first connection
> with the following error:
>
> | goroutine 685 [select]:
> | 
> github.com/syncthing/syncthing/lib/fs.(*BasicFilesystem).watchLoop(0xc0002ec180,
>  {0x12318d0, 0xc00066f7c0}, {0x1221680, 0x1}, {0xc00270ca00, 0x1, 0x1}, 
> 0xc0026a6480, 0xc0005f1080, ...)
> | github.com/syncthing/syncthing/lib/fs/basicfs_watch.go:81 +0x13d
> | created by github.com/syncthing/syncthing/lib/fs.(*BasicFilesystem).Watch 
> in goroutine 836
> | github.com/syncthing/syncthing/lib/fs/basicfs_watch.go:59 +0x453
> | panic: connection already exists
>
> Rolling back to 1.19.2~ds1-1+b5 and keeping everything else the same the
> problem disappears...

Thanks for the report, I'm raising the severity to prevent it
migrating to testing.

-- 
Shengjing Zhu



Bug#1049983: panic: connection already exists

2023-08-17 Thread Yuri D'Elia
Package: syncthing
Version: 1.19.2~ds1-2
Severity: normal

With 1.19.2~ds1-2 syncthing panis immediately on the first connection
with the following error:

| goroutine 685 [select]:
| 
github.com/syncthing/syncthing/lib/fs.(*BasicFilesystem).watchLoop(0xc0002ec180,
 {0x12318d0, 0xc00066f7c0}, {0x1221680, 0x1}, {0xc00270ca00, 0x1, 0x1}, 
0xc0026a6480, 0xc0005f1080, ...)
| github.com/syncthing/syncthing/lib/fs/basicfs_watch.go:81 +0x13d
| created by github.com/syncthing/syncthing/lib/fs.(*BasicFilesystem).Watch in 
goroutine 836
| github.com/syncthing/syncthing/lib/fs/basicfs_watch.go:59 +0x453
| panic: connection already exists

Rolling back to 1.19.2~ds1-1+b5 and keeping everything else the same the
problem disappears...

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (800, 'experimental'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages syncthing depends on:
ii  init-system-helpers  1.65.2
ii  libc62.37-7

syncthing recommends no packages.

syncthing suggests no packages.