syncthing: SIGSEGV panic errors on folder delete
It happens when I try to delete a shared “folder” from the web UI, with a syncthing daemon running in background.
Logs in terminal (daemon):
panic: runtime error: invalid memory address or nil pointer dereference
[monitor] 15:13:39 WARNING: Panic detected, writing to "/home/vasya/.config/syncthing/panic-20170909-151339.log"
[monitor] 15:13:39 WARNING: Please check for existing issues with similar panic message at https://github.com/syncthing/syncthing/issues/
[monitor] 15:13:39 WARNING: If no issue with similar panic message exists, please create a new issue with the panic log attached
[monitor] 15:13:39 INFO: Syncthing exited: exit status 2
[monitor] 15:13:40 INFO: Starting syncthing
[NW274] 15:13:41 INFO: syncthing v0.14.37 "Dysprosium Dragonfly" (go1.9 linux-amd64) builduser@svetlemodry 2017-09-06 17:09:47 UTC [noupgrade]
Version Information
Syncthing Version: 0.14.37-1, installed by default via package manager (pacman) OS Version: ArchLinux Browser Version: firefox-55.0.3 (most probably not relevant)
Reproducable: yes, every time I try to delete this folder.
Panic log (spoiler, click to expand):
Click to expand
Panic at 2017-09-09T15:13:39+03:00 panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x88 pc=0x923726]goroutine 458 [running]: github.com/syncthing/syncthing/lib/model.(*Model).RemoveFolder(0xc4200b6000, 0xc420488c14, 0xb) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/model/model.go:339 +0x116 github.com/syncthing/syncthing/lib/model.(*Model).CommitConfiguration(0xc4200b6000, 0x16, 0xc420169c00, 0x3, 0x3, 0xc42087f2c0, 0x3, 0x3, 0x1, 0xc4204897d0, …) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/model/model.go:2387 +0xa89 github.com/syncthing/syncthing/lib/config.(*Wrapper).notifyListener(0xc42017e400, 0x1085fa0, 0xc4200b6000, 0x16, 0xc420169c00, 0x3, 0x3, 0xc42087f2c0, 0x3, 0x3, …) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/config/wrapper.go:171 +0x166 created by github.com/syncthing/syncthing/lib/config.(*Wrapper).notifyListeners /build/syncthing/src/src/github.com/syncthing/syncthing/lib/config/wrapper.go:165 +0x1f8
goroutine 1 [chan receive]: main.syncthingMain(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb5e1d4, 0x1, 0x0, 0x0, …) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:927 +0x1d80 main.main() /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:432 +0x3b9
goroutine 37 [sleep]: time.Sleep(0x1dcd65000) /usr/bin/src/runtime/time.go:65 +0x130 github.com/syncthing/syncthing/lib/connections.(*Service).connect(0xc4201dc780) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/connections/service.go:416 +0x1f00 github.com/syncthing/syncthing/lib/connections.(*Service).(github.com/syncthing/syncthing/lib/connections.connect)-fm() /build/syncthing/src/src/github.com/syncthing/syncthing/lib/connections/service.go:144 +0x2a github.com/syncthing/syncthing/lib/connections.serviceFunc.Serve(0xc420011bf0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/connections/structs.go:133 +0x25 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a540, 0xc400000000, 0x1084e20, 0xc420011bf0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 7 [select]: github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go.(*updateHeap).updateTask(0x10ea960) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go/updater.go:84 +0x3b5 created by github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go.init.2 /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/xtaci/kcp-go/updater.go:13 +0xb5
goroutine 8 [syscall]: os/signal.signal_recv(0x0) /usr/bin/src/runtime/sigqueue.go:131 +0xa6 os/signal.loop() /usr/bin/src/os/signal/signal_unix.go:22 +0x22 created by os/signal.init.0 /usr/bin/src/os/signal/signal_unix.go:28 +0x41
goroutine 10 [select, locked to thread]: runtime.gopark(0xd093d8, 0x0, 0xb60db9, 0x6, 0x18, 0x1) /usr/bin/src/runtime/proc.go:277 +0x12c runtime.selectgo(0xc42003ff50, 0xc42001e660) /usr/bin/src/runtime/select.go:395 +0x1138 runtime.ensureSigM.func1() /usr/bin/src/runtime/signal_unix.go:511 +0x220 runtime.goexit() /usr/bin/src/runtime/asm_amd64.s:2337 +0x1
goroutine 11 [chan receive]: main.setupSignalHandling.func1(0xc4200624e0) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:947 +0x34 created by main.setupSignalHandling /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:946 +0xbc
goroutine 12 [chan receive]: main.setupSignalHandling.func2(0xc4200625a0) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:957 +0x34 created by main.setupSignalHandling /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:956 +0x181
goroutine 13 [select]: github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).Serve(0xc42010a2a0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:338 +0x304 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).ServeBackground /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:297 +0x3f
goroutine 14 [chan receive]: github.com/syncthing/syncthing/lib/events.(*bufferedSubscription).pollingLoop(0xc42008a5f0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/events/events.go:379 +0x8c created by github.com/syncthing/syncthing/lib/events.NewBufferedSubscription /build/syncthing/src/src/github.com/syncthing/syncthing/lib/events/events.go:374 +0x19b
goroutine 15 [chan receive]: github.com/syncthing/syncthing/lib/events.(*bufferedSubscription).pollingLoop(0xc42008a640) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/events/events.go:379 +0x8c created by github.com/syncthing/syncthing/lib/events.NewBufferedSubscription /build/syncthing/src/src/github.com/syncthing/syncthing/lib/events/events.go:374 +0x19b
goroutine 66 [select]: github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc42010a000) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:206 +0x172 created by github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/util.NewBufferPool /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:237 +0x195
goroutine 82 [select]: github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc4204b5500) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:90 +0x119 created by github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.openDB /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db.go:139 +0x4bd
goroutine 83 [select]: github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc4204b5500) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db_state.go:101 +0x13b created by github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.openDB /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db.go:140 +0x4df
goroutine 84 [select]: github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc4204b5500) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:804 +0x2c8 created by github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.openDB /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db.go:146 +0x65e
goroutine 85 [select]: github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc4204b5500) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db_compaction.go:751 +0x192 created by github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb.openDB /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/syndtr/goleveldb/leveldb/db.go:147 +0x680
goroutine 86 [select]: github.com/syncthing/syncthing/lib/model.(*ProgressEmitter).Serve(0xc420140320) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/model/progressemitter.go:56 +0x32d created by github.com/syncthing/syncthing/lib/model.NewModel /build/syncthing/src/src/github.com/syncthing/syncthing/lib/model/model.go:158 +0x8f1
goroutine 87 [select]: github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).Serve(0xc42010a0e0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:338 +0x304 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a2a0, 0xc400000000, 0x1083920, 0xc4200b6000) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 88 [select]: github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).Serve(0xc42010a460) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:338 +0x304 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a2a0, 0xc400000001, 0x7f9e0819a3e8, 0xc4201403c0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 98 [select]: github.com/syncthing/syncthing/lib/model.(*sendReceiveFolder).Serve(0xc4200a4480) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/model/rwfolder.go:174 +0x401 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a0e0, 0xc400000000, 0x7f9e0819a2f0, 0xc4200a4480) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 89 [select]: github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).Serve(0xc42010a540) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:338 +0x304 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a2a0, 0xc400000002, 0x1083660, 0xc4201dc780) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 38 [chan receive]: github.com/syncthing/syncthing/lib/connections.(*Service).handle(0xc4201dc780) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/connections/service.go:161 +0xf3 github.com/syncthing/syncthing/lib/connections.(*Service).(github.com/syncthing/syncthing/lib/connections.handle)-fm() /build/syncthing/src/src/github.com/syncthing/syncthing/lib/connections/service.go:145 +0x2a github.com/syncthing/syncthing/lib/connections.serviceFunc.Serve(0xc420011c00) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/connections/structs.go:133 +0x25 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a540, 0xc400000001, 0x1084e20, 0xc420011c00) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 39 [select]: github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).Serve(0xc42010a620) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:338 +0x304 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a540, 0xc400000002, 0x1083b60, 0xc42010a620) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 40 [select]: github.com/syncthing/syncthing/lib/nat.(*Service).Serve(0xc4201e4de0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/nat/service.go:53 +0x188 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a540, 0xc400000003, 0x1083960, 0xc4201e4de0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 99 [select]: github.com/syncthing/syncthing/lib/connections.(*relayListener).Serve(0xc420148880) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/connections/relay_listen.go:66 +0x2de github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a620, 0xc400000000, 0x7f9e0819a520, 0xc420148880) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 100 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6ff70, 0x72, 0xffffffffffffffff) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420506018, 0x72, 0xc420404800, 0x0, 0x0) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc420506018, 0xffffffffffffff00, 0x0, 0x0) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Accept(0xc420506000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:334 +0x1e2 net.(*netFD).accept(0xc420506000, 0x0, 0xc420404a40, 0x57ad8c) /usr/bin/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc42051c000, 0x10eae00, 0x0, 0x0) /usr/bin/src/net/tcpsock_posix.go:136 +0x2e net.(*TCPListener).Accept(0xc42051c000, 0xbe65149d3162d46d, 0x468aeb3a6, 0x10eae00, 0x0) /usr/bin/src/net/tcpsock.go:247 +0x49 github.com/syncthing/syncthing/lib/connections.(*tcpListener).Serve(0xc420144630) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/connections/tcp_listen.go:84 +0x786 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a620, 0xc400000001, 0x7f9e0819a578, 0xc420144630) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 90 [select]: github.com/syncthing/syncthing/lib/discover.(*globalClient).Serve(0xc420108a10) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/global.go:188 +0x1d5 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a460, 0xc400000000, 0x7f9e0819a700, 0xc420108a10) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 91 [select]: github.com/syncthing/syncthing/lib/relay/client.(*staticClient).Serve(0xc420829180) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/relay/client/static.go:108 +0x9e3 github.com/syncthing/syncthing/lib/relay/client.(*dynamicClient).Serve(0xc420108e00) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/relay/client/dynamic.go:110 +0xd1a created by github.com/syncthing/syncthing/lib/connections.(*relayListener).Serve /build/syncthing/src/src/github.com/syncthing/syncthing/lib/connections/relay_listen.go:57 +0x168
goroutine 484 [select]: net/http.(*persistConn).writeLoop(0xc42050a6c0) /usr/bin/src/net/http/transport.go:1759 +0x165 created by net/http.(*Transport).dialConn /usr/bin/src/net/http/transport.go:1187 +0xa53
goroutine 75 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6fdf0, 0x72, 0x0) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420829298, 0x72, 0xffffffffffffff00, 0x10826e0, 0x107c7c8) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc420829298, 0xc42035fc00, 0x400, 0x400) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc420829280, 0xc42035fc00, 0x400, 0x400, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc420829280, 0xc42035fc00, 0x400, 0x400, 0xb5ffeb, 0x6, 0xd4) /usr/bin/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc420420208, 0xc42035fc00, 0x400, 0x400, 0x0, 0x0, 0x0) /usr/bin/src/net/net.go:176 +0x6d crypto/tls.(*block).readFromUntil(0xc4201e1140, 0x7f9e0815a0a8, 0xc420420208, 0x5, 0xc420420208, 0xc420139480) /usr/bin/src/crypto/tls/conn.go:488 +0x95 crypto/tls.(*Conn).readRecord(0xc420169880, 0xd09417, 0xc4201699a0, 0xc420486458) /usr/bin/src/crypto/tls/conn.go:590 +0xe0 crypto/tls.(*Conn).Read(0xc420169880, 0xc420891030, 0xc, 0xc, 0x0, 0x0, 0x0) /usr/bin/src/crypto/tls/conn.go:1134 +0x110 io.ReadAtLeast(0x107e4e0, 0xc420169880, 0xc420891030, 0xc, 0xc, 0xc, 0xa617e0, 0x1, 0xc420891030) /usr/bin/src/io/io.go:309 +0x86 io.ReadFull(0x107e4e0, 0xc420169880, 0xc420891030, 0xc, 0xc, 0xc, 0xc4204867a0, 0xc42006e600) /usr/bin/src/io/io.go:327 +0x58 github.com/syncthing/syncthing/lib/relay/protocol.ReadMessage(0x107e4e0, 0xc420169880, 0xc420169880, 0x107e4e0, 0xc420169880, 0x1) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/relay/protocol/protocol.go:79 +0xb3 github.com/syncthing/syncthing/lib/relay/client.messageReader(0x108b740, 0xc420169880, 0xc420a84780, 0xc420143ec0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/relay/client/static.go:331 +0x81 created by github.com/syncthing/syncthing/lib/relay/client.(*staticClient).Serve /build/syncthing/src/src/github.com/syncthing/syncthing/lib/relay/client/static.go:103 +0x84b
goroutine 151 [select]: github.com/syncthing/syncthing/lib/protocol.(*rawConnection).pingSender(0xc4201da0c0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:792 +0x12e created by github.com/syncthing/syncthing/lib/protocol.(*rawConnection).Start /build/syncthing/src/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:173 +0x87
goroutine 97 [select]: github.com/syncthing/syncthing/lib/discover.(*globalClient).Serve(0xc420108cb0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/global.go:188 +0x1d5 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a460, 0xc400000001, 0x7f9e0819a700, 0xc420108cb0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 188 [select]: net/http.(*persistConn).writeLoop(0xc4207a0240) /usr/bin/src/net/http/transport.go:1759 +0x165 created by net/http.(*Transport).dialConn /usr/bin/src/net/http/transport.go:1187 +0xa53
goroutine 32 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6f5b0, 0x72, 0x0) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420836d18, 0x72, 0xffffffffffffff00, 0x10826e0, 0x107c7c8) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc420836d18, 0xc420b2e000, 0x1000, 0x1000) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc420836d00, 0xc420b2e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc420836d00, 0xc420b2e000, 0x1000, 0x1000, 0x0, 0x107f520, 0x1110680) /usr/bin/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc4204202a8, 0xc420b2e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/net/net.go:176 +0x6d bufio.(*Reader).Read(0xc4201e5800, 0xc4201e1901, 0x1, 0x1, 0xc420ba0f58, 0x465303, 0xc420408750) /usr/bin/src/bufio/bufio.go:213 +0x30b github.com/syncthing/syncthing/lib/tlsutil.(*UnionedConnection).Read(0xc420286080, 0xc4201e1901, 0x1, 0x1, 0xc420346a00, 0x107f801, 0xc420346a00) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/tlsutil/tlsutil.go:153 +0x51 net/http.(*connReader).backgroundRead(0xc4201e18f0) /usr/bin/src/net/http/server.go:660 +0x62 created by net/http.(*connReader).startBackgroundRead /usr/bin/src/net/http/server.go:656 +0xd8
goroutine 128 [sleep]: time.Sleep(0x2540be400) /usr/bin/src/runtime/time.go:65 +0x130 main.standbyMonitor() /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:1192 +0x6b created by main.syncthingMain /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/main.go:889 +0x1f64
goroutine 127 [select]: main.(*apiService).Serve(0xc420090000) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:379 +0x1d7e github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a2a0, 0xc400000004, 0x1083be0, 0xc420090000) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 26 [select]: main.(*folderSummaryService).calculateSummaries(0xc420506300) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/summaryservice.go:140 +0x16d main.(*folderSummaryService).(main.calculateSummaries)-fm() /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/summaryservice.go:50 +0x2a main.serviceFunc.Serve(0xc420268ac0) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/summaryservice.go:229 +0x25 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a8c0, 0xc400000001, 0x1084f60, 0xc420268ac0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 25 [select]: main.(*folderSummaryService).listenForUpdates(0xc420506300) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/summaryservice.go:69 +0x338 main.(*folderSummaryService).(main.listenForUpdates)-fm() /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/summaryservice.go:49 +0x2a main.serviceFunc.Serve(0xc420268ab0) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/summaryservice.go:229 +0x25 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a8c0, 0xc400000000, 0x1084f60, 0xc420268ab0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 24 [select]: github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).Serve(0xc42010a8c0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:338 +0x304 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).ServeBackground /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:297 +0x3f
goroutine 455 [select]: net/http.(*persistConn).writeLoop(0xc4203a8000) /usr/bin/src/net/http/transport.go:1759 +0x165 created by net/http.(*Transport).dialConn /usr/bin/src/net/http/transport.go:1187 +0xa53
goroutine 149 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6fc70, 0x72, 0x0) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420836318, 0x72, 0xffffffffffffff00, 0x10826e0, 0x107c7c8) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc420836318, 0xc42029a000, 0x400, 0x400) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc420836300, 0xc42029a000, 0x400, 0x400, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc420836300, 0xc42029a000, 0x400, 0x400, 0x2, 0x0, 0x0) /usr/bin/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc42082c080, 0xc42029a000, 0x400, 0x400, 0x0, 0x0, 0x0) /usr/bin/src/net/net.go:176 +0x6d crypto/tls.(*block).readFromUntil(0xc420616150, 0x7f9e0815a0a8, 0xc42082c080, 0x5, 0xc42082c080, 0xc420890340) /usr/bin/src/crypto/tls/conn.go:488 +0x95 crypto/tls.(*Conn).readRecord(0xc420065c00, 0xd09417, 0xc420065d20, 0x398) /usr/bin/src/crypto/tls/conn.go:590 +0xe0 crypto/tls.(*Conn).Read(0xc420065c00, 0xc4205e2000, 0x2, 0x10000, 0x0, 0x0, 0x0) /usr/bin/src/crypto/tls/conn.go:1134 +0x110 github.com/syncthing/syncthing/lib/connections.(*limitedReader).Read(0xc42029efc0, 0xc4205e2000, 0x2, 0x10000, 0x8, 0x8, 0x2) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/connections/limiter.go:108 +0x55 github.com/syncthing/syncthing/lib/protocol.(*countingReader).Read(0xc42029efe0, 0xc4205e2000, 0x2, 0x10000, 0xc420045bb0, 0x101, 0xc420045bd0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/protocol/counting.go:23 +0x5e io.ReadAtLeast(0x107eba0, 0xc42029efe0, 0xc4205e2000, 0x2, 0x10000, 0x2, 0x10000, 0x10000, 0x10da988) /usr/bin/src/io/io.go:309 +0x86 io.ReadFull(0x107eba0, 0xc42029efe0, 0xc4205e2000, 0x2, 0x10000, 0xc420487708, 0x3, 0x3) /usr/bin/src/io/io.go:327 +0x58 github.com/syncthing/syncthing/lib/protocol.(*rawConnection).readHeader(0xc4201da0c0, 0x406d9a, 0xc420629860, 0x0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:438 +0x87 github.com/syncthing/syncthing/lib/protocol.(*rawConnection).readMessage(0xc4201da0c0, 0xc420629860, 0xc4201da000, 0xc4204877d0, 0xc42006ea80) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:375 +0x2f github.com/syncthing/syncthing/lib/protocol.(*rawConnection).readerLoop(0xc4201da0c0, 0x0, 0x0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:291 +0xdc created by github.com/syncthing/syncthing/lib/protocol.(*rawConnection).Start /build/syncthing/src/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:171 +0x43
goroutine 130 [select]: github.com/syncthing/syncthing/lib/discover.(*globalClient).Serve(0xc4209060e0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/global.go:188 +0x1d5 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a460, 0xc400000002, 0x7f9e0819a700, 0xc4209060e0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 131 [select]: github.com/syncthing/syncthing/lib/discover.(*globalClient).Serve(0xc4209061c0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/global.go:188 +0x1d5 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a460, 0xc400000003, 0x7f9e0819a700, 0xc4209061c0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 132 [select]: github.com/syncthing/syncthing/lib/discover.(*globalClient).Serve(0xc4209062a0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/global.go:188 +0x1d5 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a460, 0xc400000004, 0x7f9e0819a700, 0xc4209062a0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 133 [select]: github.com/syncthing/syncthing/lib/discover.(*globalClient).Serve(0xc420906380) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/global.go:188 +0x1d5 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a460, 0xc400000005, 0x7f9e0819a700, 0xc420906380) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 134 [chan receive]: github.com/syncthing/syncthing/lib/beacon.(*Broadcast).Recv(0xc420430780, 0x0, 0xc4204d4eb0, 0xc4204d4f20, 0xc4204d4eb0, 0x7e3f4bd3d353e615) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/beacon/broadcast.go:66 +0x6a github.com/syncthing/syncthing/lib/discover.(*localClient).recvAnnouncements(0xc420860000, 0x1089640, 0xc420430780) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/local.go:144 +0x106 created by github.com/syncthing/syncthing/lib/discover.(*localClient).startLocalIPv4Broadcasts /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/local.go:87 +0xda
goroutine 135 [select]: github.com/syncthing/syncthing/lib/discover.(*localClient).sendLocalAnnouncements(0xc420860000) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/local.go:134 +0x221 created by github.com/syncthing/syncthing/lib/discover.NewLocal /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/local.go:79 +0x2e7
goroutine 136 [select]: github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).Serve(0xc420510000) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:338 +0x304 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a460, 0xc400000006, 0x7f9e0819a840, 0xc420860000) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 137 [chan receive]: github.com/syncthing/syncthing/lib/beacon.(*Multicast).Recv(0xc420430900, 0x0, 0xc4204d66b0, 0xc4204d6720, 0xc4204d66b0, 0xc482ca99f3aa0441) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/beacon/multicast.go:66 +0x6a github.com/syncthing/syncthing/lib/discover.(*localClient).recvAnnouncements(0xc420860090, 0x10896a0, 0xc420430900) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/local.go:144 +0x106 created by github.com/syncthing/syncthing/lib/discover.(*localClient).startLocalIPv6Multicasts /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/local.go:93 +0xe4
goroutine 138 [select]: github.com/syncthing/syncthing/lib/discover.(*localClient).sendLocalAnnouncements(0xc420860090) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/local.go:134 +0x221 created by github.com/syncthing/syncthing/lib/discover.NewLocal /build/syncthing/src/src/github.com/syncthing/syncthing/lib/discover/local.go:79 +0x2e7
goroutine 139 [select]: github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).Serve(0xc4205102a0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:338 +0x304 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a460, 0xc400000007, 0x7f9e0819a840, 0xc420860090) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 140 [select]: main.(*cpuService).Serve(0xc42050e280) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/cpuusage.go:41 +0x1b5 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc42010a2a0, 0xc400000003, 0x1083c60, 0xc42050e280) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 67 [select]: github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).Serve(0xc4205100e0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:338 +0x304 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc420510000, 0xc400000000, 0x7f9e0819a7a8, 0xc420430780) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 68 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6fbb0, 0x72, 0x0) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420828018, 0x72, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc420828018, 0xc420748000, 0x10000, 0x10000) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).ReadFrom(0xc420828000, 0xc420748000, 0x10000, 0x10000, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:169 +0x19a net.(*netFD).readFrom(0xc420828000, 0xc420748000, 0x10000, 0x10000, 0x0, 0x2, 0x0, 0xb609b1, 0x412687) /usr/bin/src/net/fd_unix.go:208 +0x5e net.(*UDPConn).readFrom(0xc42082c000, 0xc420748000, 0x10000, 0x10000, 0xc42081fdd8, 0xc42081fe30, 0x101, 0xc42081fe50) /usr/bin/src/net/udpsock_posix.go:47 +0x6a net.(*UDPConn).ReadFrom(0xc42082c000, 0xc420748000, 0x10000, 0x10000, 0x10000, 0x10000, 0xd18c60069584508f, 0xb0ba3eb122316398, 0x91e18d06548ff723) /usr/bin/src/net/udpsock.go:118 +0x72 github.com/syncthing/syncthing/lib/beacon.(*broadcastReader).Serve(0xc42063c180) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/beacon/broadcast.go:201 +0x3d5 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc4205100e0, 0xc400000000, 0x1083520, 0xc42063c180) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 69 [chan receive]: github.com/syncthing/syncthing/lib/beacon.(*broadcastWriter).Serve(0xc42063c1c0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/beacon/broadcast.go:101 +0xc8d github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc4205100e0, 0xc400000001, 0x1083560, 0xc42063c1c0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 45 [select]: github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).Serve(0xc420510460) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:338 +0x304 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc4205102a0, 0xc400000000, 0x7f9e0819a8e8, 0xc420430900) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 163 [chan receive]: github.com/syncthing/syncthing/lib/beacon.(*multicastWriter).Serve(0xc42063c280) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/beacon/multicast.go:108 +0xb33 github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService.func1(0xc420510460, 0x1, 0x10835e0, 0xc42063c280) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:454 +0x63 created by github.com/syncthing/syncthing/vendor/github.com/thejerf/suture.(*Supervisor).runService /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/thejerf/suture/supervisor.go:444 +0x5b
goroutine 27 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6fa30, 0x72, 0xffffffffffffffff) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420506298, 0x72, 0xc4204c1b00, 0x0, 0x0) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc420506298, 0xffffffffffffff00, 0x0, 0x0) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Accept(0xc420506280, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:334 +0x1e2 net.(*netFD).accept(0xc420506280, 0x0, 0xc4204c1d48, 0x571b8c) /usr/bin/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc42082c020, 0x0, 0x0, 0x0) /usr/bin/src/net/tcpsock_posix.go:136 +0x2e net.(*TCPListener).Accept(0xc42082c020, 0x42c6a8, 0x33, 0x0, 0x0) /usr/bin/src/net/tcpsock.go:247 +0x49 github.com/syncthing/syncthing/lib/tlsutil.(*DowngradingListener).AcceptNoWrapTLS(0xc42060c900, 0xc4204c1e80, 0x401d97, 0xc4203bc1c0, 0xc4204c1eb0, 0x436a3b) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/tlsutil/tlsutil.go:128 +0x48 github.com/syncthing/syncthing/lib/tlsutil.(*DowngradingListener).Accept(0xc42060c900, 0xd08d40, 0xc4203bc140, 0x1087f20, 0xc420882a80) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/tlsutil/tlsutil.go:109 +0x2f net/http.(*Server).Serve(0xc420502340, 0x10865a0, 0xc42060c900, 0x0, 0x0) /usr/bin/src/net/http/server.go:2695 +0x1b2 main.(*apiService).Serve.func1(0xc4208242a0, 0xc420502340, 0x10865a0, 0xc42060c900) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:374 +0x3f created by main.(*apiService).Serve /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:373 +0x1c67
goroutine 111 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6f730, 0x72, 0x0) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420828218, 0x72, 0xffffffffffffff00, 0x10826e0, 0x107c7c8) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc420828218, 0xc4201f2400, 0x400, 0x400) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc420828200, 0xc4201f2400, 0x400, 0x400, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc420828200, 0xc4201f2400, 0x400, 0x400, 0xc42091008c, 0x2, 0xf74) /usr/bin/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc42000e028, 0xc4201f2400, 0x400, 0x400, 0x0, 0x0, 0x0) /usr/bin/src/net/net.go:176 +0x6d crypto/tls.(*block).readFromUntil(0xc420616120, 0x7f9e0815a0a8, 0xc42000e028, 0x5, 0xc42000e028, 0xc420882930) /usr/bin/src/crypto/tls/conn.go:488 +0x95 crypto/tls.(*Conn).readRecord(0xc420035880, 0xd09417, 0xc4200359a0, 0x0) /usr/bin/src/crypto/tls/conn.go:590 +0xe0 crypto/tls.(*Conn).Read(0xc420035880, 0xc420910000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/crypto/tls/conn.go:1134 +0x110 net/http.(*persistConn).Read(0xc42050a000, 0xc420910000, 0x1000, 0x1000, 0x2, 0xc42011be58, 0x2) /usr/bin/src/net/http/transport.go:1391 +0x140 bufio.(*Reader).fill(0xc4201d8ea0) /usr/bin/src/bufio/bufio.go:97 +0x11a bufio.(*Reader).Peek(0xc4201d8ea0, 0x1, 0x0, 0x0, 0x0, 0xc4208400c0, 0x0) /usr/bin/src/bufio/bufio.go:129 +0x3a net/http.(*persistConn).readLoop(0xc42050a000) /usr/bin/src/net/http/transport.go:1539 +0x185 created by net/http.(*Transport).dialConn /usr/bin/src/net/http/transport.go:1186 +0xa2e
goroutine 187 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6f970, 0x72, 0x0) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420836798, 0x72, 0xffffffffffffff00, 0x10826e0, 0x107c7c8) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc420836798, 0xc420265000, 0x800, 0x800) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc420836780, 0xc420265000, 0x800, 0x800, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc420836780, 0xc420265000, 0x800, 0x800, 0x1, 0x3, 0xc42075b788) /usr/bin/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc42000e150, 0xc420265000, 0x800, 0x800, 0x0, 0x0, 0x0) /usr/bin/src/net/net.go:176 +0x6d crypto/tls.(*block).readFromUntil(0xc4204ec150, 0x7f9e0815a0a8, 0xc42000e150, 0x5, 0xc42000e150, 0xc420882750) /usr/bin/src/crypto/tls/conn.go:488 +0x95 crypto/tls.(*Conn).readRecord(0xc4204b2380, 0xd09417, 0xc4204b24a0, 0x42f3db) /usr/bin/src/crypto/tls/conn.go:590 +0xe0 crypto/tls.(*Conn).Read(0xc4204b2380, 0xc42046c000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/crypto/tls/conn.go:1134 +0x110 net/http.(*persistConn).Read(0xc4207a0240, 0xc42046c000, 0x1000, 0x1000, 0xc4204507a0, 0xc420529fd8, 0x458a90) /usr/bin/src/net/http/transport.go:1391 +0x140 bufio.(*Reader).fill(0xc4204d90e0) /usr/bin/src/bufio/bufio.go:97 +0x11a bufio.(*Reader).Peek(0xc4204d90e0, 0x1, 0x0, 0x0, 0x0, 0xc4204ea3c0, 0x0) /usr/bin/src/bufio/bufio.go:129 +0x3a net/http.(*persistConn).readLoop(0xc4207a0240) /usr/bin/src/net/http/transport.go:1539 +0x185 created by net/http.(*Transport).dialConn /usr/bin/src/net/http/transport.go:1186 +0xa2e
goroutine 150 [select]: github.com/syncthing/syncthing/lib/protocol.(*rawConnection).writerLoop(0xc4201da0c0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:590 +0x104 created by github.com/syncthing/syncthing/lib/protocol.(*rawConnection).Start /build/syncthing/src/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:172 +0x65
goroutine 112 [select]: net/http.(*persistConn).writeLoop(0xc42050a000) /usr/bin/src/net/http/transport.go:1759 +0x165 created by net/http.(*Transport).dialConn /usr/bin/src/net/http/transport.go:1187 +0xa53
goroutine 287 [chan receive]: github.com/syncthing/syncthing/vendor/github.com/rcrowley/go-metrics.(*meterArbiter).tick(0x10eabe0) /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/rcrowley/go-metrics/meter.go:221 +0x31 created by github.com/syncthing/syncthing/vendor/github.com/rcrowley/go-metrics.NewMeter /build/syncthing/src/src/github.com/syncthing/syncthing/vendor/github.com/rcrowley/go-metrics/meter.go:40 +0x127
goroutine 483 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6feb0, 0x72, 0x0) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420148318, 0x72, 0xffffffffffffff00, 0x10826e0, 0x107c7c8) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc420148318, 0xc421276000, 0x400, 0x400) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc420148300, 0xc421276000, 0x400, 0x400, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc420148300, 0xc421276000, 0x400, 0x400, 0xc420a2e08c, 0x2, 0xf74) /usr/bin/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc42082c0a8, 0xc421276000, 0x400, 0x400, 0x0, 0x0, 0x0) /usr/bin/src/net/net.go:176 +0x6d crypto/tls.(*block).readFromUntil(0xc4204fe9c0, 0x7f9e0815a0a8, 0xc42082c0a8, 0x5, 0xc42082c0a8, 0xc42012a2d0) /usr/bin/src/crypto/tls/conn.go:488 +0x95 crypto/tls.(*Conn).readRecord(0xc42048ae00, 0xd09417, 0xc42048af20, 0x0) /usr/bin/src/crypto/tls/conn.go:590 +0xe0 crypto/tls.(*Conn).Read(0xc42048ae00, 0xc420a2e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/crypto/tls/conn.go:1134 +0x110 net/http.(*persistConn).Read(0xc42050a6c0, 0xc420a2e000, 0x1000, 0x1000, 0x2, 0xc420c05e58, 0x2) /usr/bin/src/net/http/transport.go:1391 +0x140 bufio.(*Reader).fill(0xc4207f93e0) /usr/bin/src/bufio/bufio.go:97 +0x11a bufio.(*Reader).Peek(0xc4207f93e0, 0x1, 0x0, 0x0, 0x0, 0xc420a24f60, 0x0) /usr/bin/src/bufio/bufio.go:129 +0x3a net/http.(*persistConn).readLoop(0xc42050a6c0) /usr/bin/src/net/http/transport.go:1539 +0x185 created by net/http.(*Transport).dialConn /usr/bin/src/net/http/transport.go:1186 +0xa2e
goroutine 454 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6fd30, 0x72, 0x0) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420148418, 0x72, 0xffffffffffffff00, 0x10826e0, 0x107c7c8) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc420148418, 0xc420895400, 0x400, 0x400) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc420148400, 0xc420895400, 0x400, 0x400, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc420148400, 0xc420895400, 0x400, 0x400, 0xc42019e08d, 0x2, 0xf73) /usr/bin/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc42082c098, 0xc420895400, 0x400, 0x400, 0x0, 0x0, 0x0) /usr/bin/src/net/net.go:176 +0x6d crypto/tls.(*block).readFromUntil(0xc4204fe480, 0x7f9e0815a0a8, 0xc42082c098, 0x5, 0xc42082c098, 0xc4201739b0) /usr/bin/src/crypto/tls/conn.go:488 +0x95 crypto/tls.(*Conn).readRecord(0xc42048a700, 0xd09417, 0xc42048a820, 0x0) /usr/bin/src/crypto/tls/conn.go:590 +0xe0 crypto/tls.(*Conn).Read(0xc42048a700, 0xc42019e000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/crypto/tls/conn.go:1134 +0x110 net/http.(*persistConn).Read(0xc4203a8000, 0xc42019e000, 0x1000, 0x1000, 0x2, 0xc420851e58, 0x2) /usr/bin/src/net/http/transport.go:1391 +0x140 bufio.(*Reader).fill(0xc420143320) /usr/bin/src/bufio/bufio.go:97 +0x11a bufio.(*Reader).Peek(0xc420143320, 0x1, 0x0, 0x0, 0x0, 0xc420ba8b40, 0x0) /usr/bin/src/bufio/bufio.go:129 +0x3a net/http.(*persistConn).readLoop(0xc4203a8000) /usr/bin/src/net/http/transport.go:1539 +0x185 created by net/http.(*Transport).dialConn /usr/bin/src/net/http/transport.go:1186 +0xa2e
goroutine 29 [runnable]: syscall.Syscall(0x1, 0x12, 0xc420a4b000, 0x24a, 0x24a, 0x24a, 0x0) /usr/bin/src/syscall/asm_linux_amd64.s:18 +0x5 syscall.write(0x12, 0xc420a4b000, 0x24a, 0x1000, 0xc420a54501, 0x0, 0x0) /usr/bin/src/syscall/zsyscall_linux_amd64.go:1029 +0x55 syscall.Write(0x12, 0xc420a4b000, 0x24a, 0x1000, 0x18, 0x0, 0x0) /usr/bin/src/syscall/syscall_unix.go:181 +0x49 internal/poll.(*FD).Write(0xc42008ab40, 0xc420a4b000, 0x24a, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:218 +0x14f os.(*File).write(0xc42082c120, 0xc420a4b000, 0x24a, 0x1000, 0xc4200b8000, 0xc420a545a0, 0x0) /usr/bin/src/os/file_unix.go:233 +0x4e os.(*File).Write(0xc42082c120, 0xc420a4b000, 0x24a, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/os/file.go:140 +0x72 github.com/syncthing/syncthing/lib/osutil.(*AtomicWriter).Write(0xc4201e2ec0, 0xc420a4b000, 0x24a, 0x1000, 0xc42086a5a0, 0x7f9e0da303e0, 0x0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/osutil/atomic.go:68 +0x73 bufio.(*Writer).Flush(0xc4201e2f00, 0xab9d40, 0xc42017e400) /usr/bin/src/bufio/bufio.go:567 +0x7e encoding/xml.(*Encoder).Encode(0xc42086a5a0, 0xab9d40, 0xc42017e400, 0xc420a4b000, 0x1000) /usr/bin/src/encoding/xml/marshal.go:159 +0xad github.com/syncthing/syncthing/lib/config.(*Configuration).WriteXML(0xc42017e400, 0x107eaa0, 0xc4201e2ec0, 0x0, 0x0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/config/config.go:199 +0x108 github.com/syncthing/syncthing/lib/config.(*Wrapper).Save(0xc42017e400, 0x16, 0xc420013200) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/config/wrapper.go:369 +0x1a1 main.(*apiService).postSystemConfig(0xc420090000, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:802 +0x61e main.(*apiService).(main.postSystemConfig)-fm(0x10871e0, 0xc42010aa80, 0xc4202b8200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:280 +0x48 net/http.HandlerFunc.ServeHTTP(0xc420268830, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:1918 +0x44 net/http.(*ServeMux).ServeHTTP(0xc4208827b0, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:2254 +0x130 main.getPostHandler.func1(0x10871e0, 0xc42010aa80, 0xc4202b8200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:429 +0xcd net/http.HandlerFunc.ServeHTTP(0xc420882870, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:1918 +0x44 main.metricsMiddleware.func1(0x10871e0, 0xc42010aa80, 0xc4202b8200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:499 +0xd5 net/http.HandlerFunc.ServeHTTP(0xc42060c9a0, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:1918 +0x44 main.noCacheMiddleware.func1(0x10871e0, 0xc42010aa80, 0xc4202b8200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:522 +0x203 net/http.HandlerFunc.ServeHTTP(0xc42060c9c0, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:1918 +0x44 net/http.(*ServeMux).ServeHTTP(0xc4208828a0, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:2254 +0x130 main.csrfMiddleware.func1(0x10871e0, 0xc42010aa80, 0xc4202b8200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui_csrf.go:77 +0x246 net/http.HandlerFunc.ServeHTTP(0xc42085e2c0, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:1918 +0x44 main.withDetailsMiddleware.func1(0x10871e0, 0xc42010aa80, 0xc4202b8200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:530 +0x132 net/http.HandlerFunc.ServeHTTP(0xc420500580, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:1918 +0x44 main.corsMiddleware.func1(0x10871e0, 0xc42010aa80, 0xc4202b8200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:490 +0x7c net/http.HandlerFunc.ServeHTTP(0xc42060cae0, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:1918 +0x44 main.localhostMiddleware.func1(0x10871e0, 0xc42010aa80, 0xc4202b8200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:537 +0x8f net/http.HandlerFunc.ServeHTTP(0xc42060cb00, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:1918 +0x44 main.debugMiddleware.func1(0x10871e0, 0xc42010aa80, 0xc4202b8200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:439 +0xad net/http.HandlerFunc.ServeHTTP(0xc42060cb20, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:1918 +0x44 net/http.serverHandler.ServeHTTP(0xc420502340, 0x10871e0, 0xc42010aa80, 0xc4202b8200) /usr/bin/src/net/http/server.go:2619 +0xb4 net/http.(*conn).serve(0xc420212000, 0x1087e60, 0xc420408600) /usr/bin/src/net/http/server.go:1801 +0x71d created by net/http.(*Server).Serve /usr/bin/src/net/http/server.go:2720 +0x288
goroutine 152 [select]: github.com/syncthing/syncthing/lib/protocol.(*rawConnection).pingReceiver(0xc4201da0c0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:817 +0x15f created by github.com/syncthing/syncthing/lib/protocol.(*rawConnection).Start /build/syncthing/src/src/github.com/syncthing/syncthing/lib/protocol/protocol.go:174 +0xa9
goroutine 456 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6f4f0, 0x72, 0x0) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc420828098, 0x72, 0xffffffffffffff00, 0x10826e0, 0x107c7c8) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc420828098, 0xc420b31000, 0x1000, 0x1000) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc420828080, 0xc420b31000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc420828080, 0xc420b31000, 0x1000, 0x1000, 0xc42113f668, 0xc42113f670, 0x10eaca0) /usr/bin/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc42000e128, 0xc420b31000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/net/net.go:176 +0x6d bufio.(*Reader).Read(0xc42085c5a0, 0xc4204ec191, 0x1, 0x1, 0x0, 0x20002, 0xc42113f7c4) /usr/bin/src/bufio/bufio.go:213 +0x30b github.com/syncthing/syncthing/lib/tlsutil.(*UnionedConnection).Read(0xc4201ea000, 0xc4204ec191, 0x1, 0x1, 0x0, 0x0, 0xc4204ea420) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/tlsutil/tlsutil.go:153 +0x51 net/http.(*connReader).backgroundRead(0xc4204ec180) /usr/bin/src/net/http/server.go:660 +0x62 created by net/http.(*connReader).startBackgroundRead /usr/bin/src/net/http/server.go:656 +0xd8
goroutine 348 [select]: github.com/syncthing/syncthing/lib/sync.(*TimeoutCondWaiter).Wait(0xc420138e70, 0xd08000) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/sync/sync.go:292 +0x152 github.com/syncthing/syncthing/lib/events.(*bufferedSubscription).Since(0xc42008a640, 0x0, 0x11109e8, 0x0, 0x0, 0xdf8475800, 0x0, 0x0, 0x0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/events/events.go:399 +0x451 main.(*apiService).getEvents(0xc420090000, 0x10871e0, 0xc4206181c0, 0xc420702e00, 0x107ea60, 0xc42008a640) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:1052 +0x206 main.(*apiService).getDiskEvents(0xc420090000, 0x10871e0, 0xc4206181c0, 0xc420702e00) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:1028 +0x74 main.(*apiService).(main.getDiskEvents)-fm(0x10871e0, 0xc4206181c0, 0xc420702e00) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:253 +0x48 net/http.HandlerFunc.ServeHTTP(0xc4202686b0, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:1918 +0x44 net/http.(*ServeMux).ServeHTTP(0xc420882630, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:2254 +0x130 main.getPostHandler.func1(0x10871e0, 0xc4206181c0, 0xc420702e00) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:427 +0xf2 net/http.HandlerFunc.ServeHTTP(0xc420882870, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:1918 +0x44 main.metricsMiddleware.func1(0x10871e0, 0xc4206181c0, 0xc420702e00) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:499 +0xd5 net/http.HandlerFunc.ServeHTTP(0xc42060c9a0, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:1918 +0x44 main.noCacheMiddleware.func1(0x10871e0, 0xc4206181c0, 0xc420702e00) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:522 +0x203 net/http.HandlerFunc.ServeHTTP(0xc42060c9c0, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:1918 +0x44 net/http.(*ServeMux).ServeHTTP(0xc4208828a0, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:2254 +0x130 main.csrfMiddleware.func1(0x10871e0, 0xc4206181c0, 0xc420702e00) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui_csrf.go:77 +0x246 net/http.HandlerFunc.ServeHTTP(0xc42085e2c0, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:1918 +0x44 main.withDetailsMiddleware.func1(0x10871e0, 0xc4206181c0, 0xc420702e00) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:530 +0x132 net/http.HandlerFunc.ServeHTTP(0xc420500580, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:1918 +0x44 main.corsMiddleware.func1(0x10871e0, 0xc4206181c0, 0xc420702e00) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:490 +0x7c net/http.HandlerFunc.ServeHTTP(0xc42060cae0, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:1918 +0x44 main.localhostMiddleware.func1(0x10871e0, 0xc4206181c0, 0xc420702e00) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:537 +0x8f net/http.HandlerFunc.ServeHTTP(0xc42060cb00, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:1918 +0x44 main.debugMiddleware.func1(0x10871e0, 0xc4206181c0, 0xc420702e00) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:439 +0xad net/http.HandlerFunc.ServeHTTP(0xc42060cb20, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:1918 +0x44 net/http.serverHandler.ServeHTTP(0xc420502340, 0x10871e0, 0xc4206181c0, 0xc420702e00) /usr/bin/src/net/http/server.go:2619 +0xb4 net/http.(*conn).serve(0xc42042d2c0, 0x1087e60, 0xc4201e3700) /usr/bin/src/net/http/server.go:1801 +0x71d created by net/http.(*Server).Serve /usr/bin/src/net/http/server.go:2720 +0x288
goroutine 417 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6f430, 0x72, 0x0) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc42012f318, 0x72, 0xffffffffffffff00, 0x10826e0, 0x107c7c8) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc42012f318, 0xc420361000, 0x1000, 0x1000) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc42012f300, 0xc420361000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc42012f300, 0xc420361000, 0x1000, 0x1000, 0x44d356, 0x1b, 0x58207) /usr/bin/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc420420518, 0xc420361000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/net/net.go:176 +0x6d bufio.(*Reader).Read(0xc4201e5aa0, 0xc420361000, 0x1000, 0x1000, 0xc4209ddc50, 0x6c2081, 0xc4204fe698) /usr/bin/src/bufio/bufio.go:199 +0x1a3 github.com/syncthing/syncthing/lib/tlsutil.(*UnionedConnection).Read(0xc42029f740, 0xc420361000, 0x1000, 0x1000, 0x10eae00, 0x72, 0x0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/tlsutil/tlsutil.go:153 +0x51 net/http.(*connReader).Read(0xc4204fe690, 0xc420361000, 0x1000, 0x1000, 0xc4209ddd10, 0x44df68, 0x1484c6168d286) /usr/bin/src/net/http/server.go:753 +0x105 bufio.(*Reader).fill(0xc4201e5b00) /usr/bin/src/bufio/bufio.go:97 +0x11a bufio.(*Reader).Peek(0xc4201e5b00, 0x4, 0x6455734be, 0x10eae00, 0x0, 0x0, 0x10eae00) /usr/bin/src/bufio/bufio.go:129 +0x3a net/http.(*conn).serve(0xc420326820, 0x1087e60, 0xc4201e3740) /usr/bin/src/net/http/server.go:1826 +0x88f created by net/http.(*Server).Serve /usr/bin/src/net/http/server.go:2720 +0x288
goroutine 381 [select]: github.com/syncthing/syncthing/lib/sync.(*TimeoutCondWaiter).Wait(0xc42043f210, 0xd08000) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/sync/sync.go:292 +0x152 github.com/syncthing/syncthing/lib/events.(*bufferedSubscription).Since(0xc42008a5f0, 0xb, 0x11109e8, 0x0, 0x0, 0xdf8475800, 0x0, 0x0, 0x0) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/events/events.go:399 +0x451 main.(*apiService).getEvents(0xc420090000, 0x10871e0, 0xc420510e00, 0xc420702200, 0x107ea60, 0xc42008a5f0) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:1052 +0x206 main.(*apiService).getIndexEvents(0xc420090000, 0x10871e0, 0xc420510e00, 0xc420702200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:1023 +0xc6 main.(*apiService).(main.getIndexEvents)-fm(0x10871e0, 0xc420510e00, 0xc420702200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:252 +0x48 net/http.HandlerFunc.ServeHTTP(0xc4202686a0, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:1918 +0x44 net/http.(*ServeMux).ServeHTTP(0xc420882630, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:2254 +0x130 main.getPostHandler.func1(0x10871e0, 0xc420510e00, 0xc420702200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:427 +0xf2 net/http.HandlerFunc.ServeHTTP(0xc420882870, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:1918 +0x44 main.metricsMiddleware.func1(0x10871e0, 0xc420510e00, 0xc420702200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:499 +0xd5 net/http.HandlerFunc.ServeHTTP(0xc42060c9a0, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:1918 +0x44 main.noCacheMiddleware.func1(0x10871e0, 0xc420510e00, 0xc420702200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:522 +0x203 net/http.HandlerFunc.ServeHTTP(0xc42060c9c0, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:1918 +0x44 net/http.(*ServeMux).ServeHTTP(0xc4208828a0, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:2254 +0x130 main.csrfMiddleware.func1(0x10871e0, 0xc420510e00, 0xc420702200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui_csrf.go:77 +0x246 net/http.HandlerFunc.ServeHTTP(0xc42085e2c0, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:1918 +0x44 main.withDetailsMiddleware.func1(0x10871e0, 0xc420510e00, 0xc420702200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:530 +0x132 net/http.HandlerFunc.ServeHTTP(0xc420500580, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:1918 +0x44 main.corsMiddleware.func1(0x10871e0, 0xc420510e00, 0xc420702200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:490 +0x7c net/http.HandlerFunc.ServeHTTP(0xc42060cae0, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:1918 +0x44 main.localhostMiddleware.func1(0x10871e0, 0xc420510e00, 0xc420702200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:537 +0x8f net/http.HandlerFunc.ServeHTTP(0xc42060cb00, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:1918 +0x44 main.debugMiddleware.func1(0x10871e0, 0xc420510e00, 0xc420702200) /build/syncthing/src/src/github.com/syncthing/syncthing/cmd/syncthing/gui.go:439 +0xad net/http.HandlerFunc.ServeHTTP(0xc42060cb20, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:1918 +0x44 net/http.serverHandler.ServeHTTP(0xc420502340, 0x10871e0, 0xc420510e00, 0xc420702200) /usr/bin/src/net/http/server.go:2619 +0xb4 net/http.(*conn).serve(0xc4202945a0, 0x1087e60, 0xc420826e40) /usr/bin/src/net/http/server.go:1801 +0x71d created by net/http.(*Server).Serve /usr/bin/src/net/http/server.go:2720 +0x288
goroutine 451 [IO wait]: internal/poll.runtime_pollWait(0x7f9e0da6f370, 0x72, 0x0) /usr/bin/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc42012f418, 0x72, 0xffffffffffffff00, 0x10826e0, 0x107c7c8) /usr/bin/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc42012f418, 0xc4205a5000, 0x1000, 0x1000) /usr/bin/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc42012f400, 0xc4205a5000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc42012f400, 0xc4205a5000, 0x1000, 0x1000, 0x0, 0x107f520, 0x1110680) /usr/bin/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc420420530, 0xc4205a5000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/bin/src/net/net.go:176 +0x6d bufio.(*Reader).Read(0xc4201e5c80, 0xc420617661, 0x1, 0x1, 0xc421140f58, 0x465303, 0xc420826f10) /usr/bin/src/bufio/bufio.go:213 +0x30b github.com/syncthing/syncthing/lib/tlsutil.(*UnionedConnection).Read(0xc42027ed60, 0xc420617661, 0x1, 0x1, 0xc420346230, 0x107f801, 0xc420346230) /build/syncthing/src/src/github.com/syncthing/syncthing/lib/tlsutil/tlsutil.go:153 +0x51 net/http.(*connReader).backgroundRead(0xc420617650) /usr/bin/src/net/http/server.go:660 +0x62 created by net/http.(*connReader).startBackgroundRead /usr/bin/src/net/http/server.go:656 +0xd8
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (7 by maintainers)
Commits related to this issue
- lib/model: Support removing paused folders (fixes #4357) — committed to AudriusButkevicius/syncthing by AudriusButkevicius 7 years ago
- lib/model: Support removing paused folders (fixes #4357) — committed to AudriusButkevicius/syncthing by AudriusButkevicius 7 years ago
Yeah, the fix that was done was not sufficient and will most likely land in .40
This fix is not in any released version yet. It will be in 0.14.39 (and the corresponding rc:s).