Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1871425 - syncthing panic Fedora 33
Summary: syncthing panic Fedora 33
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: syncthing
Version: 33
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1874868 (view as bug list)
Depends On: 1858155
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-23 12:14 UTC by Jaap
Modified: 2020-09-25 16:49 UTC (History)
5 users (show)

Fixed In Version: syncthing-1.9.0~rc5-2.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-25 16:49:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jaap 2020-08-23 12:14:12 UTC
Description of problem:
panic  syncthing
panic: qtls.ClientSessionState not compatible with tls.ClientSessionState


Version-Release number of selected component (if applicable):
1.8.0-2.fc33   

How reproducible:

try to start syncthing CLI: syncthing
Steps to Reproduce:
1.CLI
2.syncthing
3.

Actual results:


panic: qtls.ClientSessionState not compatible with tls.ClientSessionState

goroutine 1 [running]:
panic(0x560874f27d40, 0x5608750baae0)
	/usr/lib/golang/src/runtime/panic.go:1064 +0x470 fp=0xc0000e7e18 sp=0xc0000e7d60 pc=0x5608741569f0
github.com/syncthing/syncthing/vendor/github.com/lucas-clemente/quic-go/internal/handshake.init.2()
	/builddir/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing/vendor/github.com/lucas-clemente/quic-go/internal/handshake/unsafe.go:26 +0x205 fp=0xc0000e7e68 sp=0xc0000e7e18 pc=0x5608749a3265
runtime.doInit(0x5608756f2540)
	/usr/lib/golang/src/runtime/proc.go:5625 +0x8c fp=0xc0000e7e98 sp=0xc0000e7e68 pc=0x560874166aec
runtime.doInit(0x5608756f1380)
	/usr/lib/golang/src/runtime/proc.go:5620 +0x59 fp=0xc0000e7ec8 sp=0xc0000e7e98 pc=0x560874166ab9
runtime.doInit(0x5608756f3040)
	/usr/lib/golang/src/runtime/proc.go:5620 +0x59 fp=0xc0000e7ef8 sp=0xc0000e7ec8 pc=0x560874166ab9
runtime.doInit(0x5608756f4860)
	/usr/lib/golang/src/runtime/proc.go:5620 +0x59 fp=0xc0000e7f28 sp=0xc0000e7ef8 pc=0x560874166ab9
runtime.doInit(0x5608756f2c80)
	/usr/lib/golang/src/runtime/proc.go:5620 +0x59 fp=0xc0000e7f58 sp=0xc0000e7f28 pc=0x560874166ab9
runtime.doInit(0x5608756f3e60)
	/usr/lib/golang/src/runtime/proc.go:5620 +0x59 fp=0xc0000e7f88 sp=0xc0000e7f58 pc=0x560874166ab9
runtime.main()
	/usr/lib/golang/src/runtime/proc.go:191 +0x1c5 fp=0xc0000e7fe0 sp=0xc0000e7f88 pc=0x5608741595a5
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0000e7fe8 sp=0xc0000e7fe0 pc=0x56087418fc21

goroutine 2 [force gc (idle)]:
runtime.gopark(0x5608750b6448, 0x560875737e90, 0x1411, 0x1)
	/usr/lib/golang/src/runtime/proc.go:306 +0xe6 fp=0xc000054fb0 sp=0xc000054f90 pc=0x5608741599e6
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:312
runtime.forcegchelper()
	/usr/lib/golang/src/runtime/proc.go:255 +0xc5 fp=0xc000054fe0 sp=0xc000054fb0 pc=0x560874159885
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000054fe8 sp=0xc000054fe0 pc=0x56087418fc21
created by runtime.init.7
	/usr/lib/golang/src/runtime/proc.go:243 +0x37

goroutine 3 [GC sweep wait]:
runtime.gopark(0x5608750b6448, 0x5608757387a0, 0x140c, 0x1)
	/usr/lib/golang/src/runtime/proc.go:306 +0xe6 fp=0xc0000557a8 sp=0xc000055788 pc=0x5608741599e6
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:312
runtime.bgsweep(0xc00007a000)
	/usr/lib/golang/src/runtime/mgcsweep.go:163 +0xa5 fp=0xc0000557d8 sp=0xc0000557a8 pc=0x5608741440e5
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0000557e0 sp=0xc0000557d8 pc=0x56087418fc21
created by runtime.gcenable
	/usr/lib/golang/src/runtime/mgc.go:217 +0x5e

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x5608750b6448, 0x560875739140, 0x140d, 0x1)
	/usr/lib/golang/src/runtime/proc.go:306 +0xe6 fp=0xc000055f78 sp=0xc000055f58 pc=0x5608741599e6
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:312
runtime.bgscavenge(0xc00007a000)
	/usr/lib/golang/src/runtime/mgcscavenge.go:265 +0xd6 fp=0xc000055fd8 sp=0xc000055f78 pc=0x560874142116
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000055fe0 sp=0xc000055fd8 pc=0x56087418fc21
created by runtime.gcenable
	/usr/lib/golang/src/runtime/mgc.go:218 +0x85

goroutine 5 [finalizer wait]:
runtime.gopark(0x5608750b6448, 0x560875774d38, 0xffff1410, 0x1)
	/usr/lib/golang/src/runtime/proc.go:306 +0xe6 fp=0xc000054758 sp=0xc000054738 pc=0x5608741599e6
runtime.goparkunlock(...)
	/usr/lib/golang/src/runtime/proc.go:312
runtime.runfinq()
	/usr/lib/golang/src/runtime/mfinal.go:175 +0xab fp=0xc0000547e0 sp=0xc000054758 pc=0x560874138e2b
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0000547e8 sp=0xc0000547e0 pc=0x56087418fc21
created by runtime.createfing
	/usr/lib/golang/src/runtime/mfinal.go:156 +0x66

goroutine 7 [chan receive]:
runtime.gopark(0x5608750b6230, 0xc00007ead8, 0x170e, 0x2)
	/usr/lib/golang/src/runtime/proc.go:306 +0xe6 fp=0xc000056e98 sp=0xc000056e78 pc=0x5608741599e6
runtime.chanrecv(0xc00007ea80, 0xc000056fb0, 0x1, 0x0)
	/usr/lib/golang/src/runtime/chan.go:567 +0x365 fp=0xc000056f28 sp=0xc000056e98 pc=0x560874125ea5
runtime.chanrecv2(0xc00007ea80, 0xc000056fb0, 0x0)
	/usr/lib/golang/src/runtime/chan.go:439 +0x2b fp=0xc000056f58 sp=0xc000056f28 pc=0x560874125b2b
github.com/syncthing/syncthing/vendor/github.com/syncthing/notify.(*nonrecursiveTree).dispatch(0xc00007eb40, 0xc00007ea80)
	/builddir/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing/vendor/github.com/syncthing/notify/tree_nonrecursive.go:36 +0xb8 fp=0xc000056fd0 sp=0xc000056f58 pc=0x560874539b78
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000056fd8 sp=0xc000056fd0 pc=0x56087418fc21
created by github.com/syncthing/syncthing/vendor/github.com/syncthing/notify.newNonrecursiveTree
	/builddir/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing/vendor/github.com/syncthing/notify/tree_nonrecursive.go:29 +0xe5

goroutine 8 [chan receive]:
runtime.gopark(0x5608750b6230, 0xc00007eb38, 0x170e, 0x2)
	/usr/lib/golang/src/runtime/proc.go:306 +0xe6 fp=0xc000057618 sp=0xc0000575f8 pc=0x5608741599e6
runtime.chanrecv(0xc00007eae0, 0xc000057770, 0x1, 0x0)
	/usr/lib/golang/src/runtime/chan.go:567 +0x365 fp=0xc0000576a8 sp=0xc000057618 pc=0x560874125ea5
runtime.chanrecv2(0xc00007eae0, 0xc000057770, 0x0)
	/usr/lib/golang/src/runtime/chan.go:439 +0x2b fp=0xc0000576d8 sp=0xc0000576a8 pc=0x560874125b2b
github.com/syncthing/syncthing/vendor/github.com/syncthing/notify.(*nonrecursiveTree).internal(0xc00007eb40, 0xc00007eae0)
	/builddir/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing/vendor/github.com/syncthing/notify/tree_nonrecursive.go:81 +0x5a fp=0xc0000577d0 sp=0xc0000576d8 pc=0x560874539cfa
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc0000577d8 sp=0xc0000577d0 pc=0x56087418fc21
created by github.com/syncthing/syncthing/vendor/github.com/syncthing/notify.newNonrecursiveTree
	/builddir/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing/vendor/github.com/syncthing/notify/tree_nonrecursive.go:30 +0x111

goroutine 9 [sleep]:
runtime.gopark(0x5608750b6480, 0xc0001a2000, 0x1313, 0x1)
	/usr/lib/golang/src/runtime/proc.go:306 +0xe6 fp=0xc000057f70 sp=0xc000057f50 pc=0x5608741599e6
time.Sleep(0x1dcd6500)
	/usr/lib/golang/src/runtime/time.go:188 +0xbf fp=0xc000057fb0 sp=0xc000057f70 pc=0x56087418cbdf
github.com/syncthing/syncthing/lib/dialer.init.1.func2()
	/builddir/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing/lib/dialer/internal.go:44 +0x2c fp=0xc000057fe0 sp=0xc000057fb0 pc=0x56087466f24c
runtime.goexit()
	/usr/lib/golang/src/runtime/asm_amd64.s:1374 +0x1 fp=0xc000057fe8 sp=0xc000057fe0 pc=0x56087418fc21
created by github.com/syncthing/syncthing/lib/dialer.init.1
	/builddir/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing/lib/dialer/internal.go:43 +0x15f
Afgebroken (geheugendump gemaakt)


Expected results:


Additional info:

Comment 1 Fabio Valentini 2020-08-23 12:18:25 UTC
Ugh. I thought I had worked around this issue by building syncthing with "noquic":
https://src.fedoraproject.org/rpms/syncthing/blob/11ede8be92e4a96f54525fa325da51282b60708d/f/syncthing.spec#_284
But it looks like that doesn't work.

The next syncthing release (1.9.0) should have the proper fix for the quic+go1.15 issue ... sorry about the trouble.

Comment 2 Fabio Valentini 2020-09-02 13:13:18 UTC
*** Bug 1874868 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2020-09-06 21:19:10 UTC
FEDORA-2020-f51b63eb39 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f51b63eb39

Comment 5 Fedora Update System 2020-09-07 21:44:40 UTC
FEDORA-2020-ec819b3299 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-ec819b3299`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ec819b3299

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-09-25 16:49:30 UTC
FEDORA-2020-ec819b3299 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.