[start] 2022/07/31 08:25:34 INFO: syncthing v1.20.3-dev.8.gec069743-tomasz86-v1.20.2 "Fermium Flea" (go1.18.3 windows-amd64) tomasz86@tomasz86 2022-06-07 07:12:59 UTC [noupgrade, stnoupgrade] Panic at 2022-07-31T10:24:39+09:00 panic: assignment to entry in nil map goroutine 30 [running]: github.com/syncthing/syncthing/lib/model.(*deadlockDetector).watchInner(0xc00019cc00, {0x1a63b64, 0x4}, 0xc000fe3440) github.com/syncthing/syncthing/lib/model/util.go:73 +0x22c github.com/syncthing/syncthing/lib/model.(*deadlockDetector).Watch.func1() github.com/syncthing/syncthing/lib/model/util.go:57 +0x65 created by github.com/syncthing/syncthing/lib/model.(*deadlockDetector).Watch github.com/syncthing/syncthing/lib/model/util.go:45 +0x115 goroutine 1 [chan receive, 118 minutes]: github.com/syncthing/syncthing/lib/syncthing.(*App).Wait(...) github.com/syncthing/syncthing/lib/syncthing/syncthing.go:373 main.syncthingMain({{{0x1}, {0x0, 0x0}, {0xc00019f0c0, 0x39}, 0x0, 0x0}, 0x0, 0x0, {0x0, ...}, ...}) github.com/syncthing/syncthing/cmd/syncthing/main.go:680 +0xd5e main.serveOptions.Run({{{0x1}, {0x0, 0x0}, {0xc00019f0c0, 0x39}, 0x0, 0x0}, 0x0, 0x0, {0x0, ...}, ...}) github.com/syncthing/syncthing/cmd/syncthing/main.go:402 +0x758 reflect.Value.call({0x1a55880?, 0x23ba3a0?, 0x1898465?}, {0x1a63794, 0x4}, {0xc000147b90, 0x0, 0x1012308?}) reflect/value.go:556 +0x845 reflect.Value.Call({0x1a55880?, 0x23ba3a0?, 0x195c4c0?}, {0xc000147b90, 0x0, 0x0}) reflect/value.go:339 +0xbf github.com/alecthomas/kong.callMethod({0x1a631b2, 0x3}, {0x1a55880?, 0x23ba3a0?, 0x3?}, {0x1a55880?, 0x23ba3a0?, 0x0?}, 0x0?) github.com/alecthomas/kong@v0.3.0/callbacks.go:97 +0x4e7 github.com/alecthomas/kong.(*Context).RunNode(0xc0000ab000, 0xc00009a2d0, {0x0, 0x0, 0x0}) github.com/alecthomas/kong@v0.3.0/context.go:735 +0x5f7 github.com/alecthomas/kong.(*Context).Run(0x18f10a0?, {0x0?, 0x0?, 0x0?}) github.com/alecthomas/kong@v0.3.0/context.go:760 +0x14e main.main() github.com/syncthing/syncthing/cmd/syncthing/main.go:255 +0x3b6 goroutine 6 [chan receive, 64 minutes]: github.com/syncthing/notify.(*recursiveTree).dispatch(0xc00006e6e0) github.com/syncthing/notify@v0.0.0-20210616190510-c6b7342338d2/tree_recursive.go:125 +0x48 created by github.com/syncthing/notify.newRecursiveTree github.com/syncthing/notify@v0.0.0-20210616190510-c6b7342338d2/tree_recursive.go:119 +0x15a goroutine 8 [select, 118 minutes]: github.com/thejerf/suture/v4.(*Supervisor).Serve(0xc0001b4dc0, {0x1dbbcd0?, 0xc00006b980?}) github.com/thejerf/suture/v4@v4.0.2/supervisor.go:354 +0x46e github.com/thejerf/suture/v4.(*Supervisor).ServeBackground.func1() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:297 +0x2e created by github.com/thejerf/suture/v4.(*Supervisor).ServeBackground github.com/thejerf/suture/v4@v4.0.2/supervisor.go:296 +0xc5 goroutine 9 [select]: github.com/syncthing/syncthing/lib/events.(*logger).Serve(0xc00006d500, {0x1dbbcd0, 0xc00006ba00}) github.com/syncthing/syncthing/lib/events/events.go:296 +0x166 github.com/thejerf/suture/v4.(*Supervisor).runService.func2() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:565 +0xec created by github.com/thejerf/suture/v4.(*Supervisor).runService github.com/thejerf/suture/v4@v4.0.2/supervisor.go:539 +0x1d5 goroutine 10 [select, 116 minutes]: github.com/syncthing/syncthing/lib/config.(*wrapper).Serve(0xc000272000, {0x1dbbcd0, 0xc000266ec0}) github.com/syncthing/syncthing/lib/config/wrapper.go:247 +0x187 github.com/thejerf/suture/v4.(*Supervisor).runService.func2() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:565 +0xec created by github.com/thejerf/suture/v4.(*Supervisor).runService github.com/thejerf/suture/v4@v4.0.2/supervisor.go:539 +0x1d5 goroutine 11 [select]: github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc0000fc380) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/util/buffer_pool.go:209 +0xc7 created by github.com/syndtr/goleveldb/leveldb/util.NewBufferPool github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/util/buffer_pool.go:240 +0x18c goroutine 12 [select, 3 minutes]: github.com/syndtr/goleveldb/leveldb.(*session).refLoop(0xc0001c31d0) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/session_util.go:189 +0x59b created by github.com/syndtr/goleveldb/leveldb.newSession github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/session.go:93 +0x2d9 goroutine 14 [select, 86 minutes]: github.com/syndtr/goleveldb/leveldb.(*DB).compactionError(0xc0000fe700) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_compaction.go:91 +0x158 created by github.com/syndtr/goleveldb/leveldb.openDB github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db.go:148 +0x4ea goroutine 15 [select]: github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain(0xc0000fe700) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_state.go:101 +0xa8 created by github.com/syndtr/goleveldb/leveldb.openDB github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db.go:149 +0x52a goroutine 16 [runnable, locked to thread]: syscall.SyscallN(0x2030001?, {0xc0004ed330?, 0x2030001?, 0x30001?}) runtime/syscall_windows.go:538 +0x109 syscall.Syscall6(0x2bc18a32a5a?, 0x3229?, 0xc0004ed3f8?, 0xf8dda5?, 0xc000a4e9c0?, 0x2030000?, 0x20?, 0x2030000?) runtime/syscall_windows.go:482 +0x50 syscall.WriteFile(0x0?, {0xc0024fca00?, 0x6ea, 0x80000000000?}, 0x7ffff80000000000?, 0x4?) syscall/zsyscall_windows.go:1166 +0x94 syscall.Write(0xc003564500?, {0xc0024fca00?, 0x2bc3e2aafa0?, 0xe8?}) syscall/syscall_windows.go:408 +0x2e internal/poll.(*FD).Write(0xc003564500, {0xc0024fca00, 0x6ea, 0x1451}) internal/poll/fd_windows.go:678 +0x25d os.(*File).write(...) os/file_posix.go:48 os.(*File).Write(0xc003a3a8f0, {0xc0024fca00?, 0x6ea, 0x0?}) os/file.go:176 +0x65 github.com/syndtr/goleveldb/leveldb.(*iStorageWriter).Write(0xc003e0a5d0, {0xc0024fca00?, 0xc0024fca00?, 0xc003bb0f00?}) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/storage.go:60 +0x2e github.com/syndtr/goleveldb/leveldb/table.(*Writer).writeBlock(0xc000d578c0, 0xc000d57918, 0xc000d57918?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/table/writer.go:187 +0x228 github.com/syndtr/goleveldb/leveldb/table.(*Writer).finishBlock(0xc000d578c0) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/table/writer.go:222 +0x3d github.com/syndtr/goleveldb/leveldb/table.(*Writer).Append(0xc000d578c0, {0xc003a41340, 0x4e, 0xe0}, {0xc0006265f3, 0x78, 0xfabc}) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/table/writer.go:255 +0x24b github.com/syndtr/goleveldb/leveldb.(*tWriter).append(0xc000e460c0, {0xc003a41340, 0x4e, 0xe0}, {0xc0006265f3, 0x78, 0xfabc}) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/table.go:559 +0x1a5 github.com/syndtr/goleveldb/leveldb.(*tableCompactionBuilder).appendKV(0xc000ce8c60?, {0xc003a41340?, 0x4e?, 0xe0?}, {0xc0006265f3?, 0x95?, 0x8f45?}) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_compaction.go:399 +0x17d github.com/syndtr/goleveldb/leveldb.(*tableCompactionBuilder).run(0xc000aaa640, 0xc0001dc4e0) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_compaction.go:517 +0xa16 github.com/syndtr/goleveldb/leveldb.(*DB).compactionTransact(0xc0000fe700, {0x1a6e77d, 0xb}, {0x1db7eb8, 0xc000aaa640}) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_compaction.go:186 +0x217 github.com/syndtr/goleveldb/leveldb.(*DB).tableCompaction(0xc0000fe700, 0xc000ce8c60, 0x0) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_compaction.go:580 +0x651 github.com/syndtr/goleveldb/leveldb.(*DB).tableAutoCompaction(0xc0000fe700) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_compaction.go:644 +0x39 github.com/syndtr/goleveldb/leveldb.(*DB).tCompaction(0xc0000fe700) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_compaction.go:863 +0x41b created by github.com/syndtr/goleveldb/leveldb.openDB github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db.go:155 +0x598 goroutine 18 [select, 118 minutes]: github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction(0xc0000fe700) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_compaction.go:773 +0x113 created by github.com/syndtr/goleveldb/leveldb.openDB github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db.go:156 +0x5d6 goroutine 19 [syscall, 118 minutes]: os/signal.signal_recv() runtime/sigqueue.go:151 +0x2f os/signal.loop() os/signal/signal_unix.go:23 +0x19 created by os/signal.Notify.func1.1 os/signal/signal.go:151 +0x2a goroutine 20 [chan receive, 118 minutes]: main.setupSignalHandling.func1() github.com/syncthing/syncthing/cmd/syncthing/main.go:700 +0x28 created by main.setupSignalHandling github.com/syncthing/syncthing/cmd/syncthing/main.go:699 +0xbe goroutine 21 [chan receive, 118 minutes]: main.setupSignalHandling.func2() github.com/syncthing/syncthing/cmd/syncthing/main.go:709 +0x28 created by main.setupSignalHandling github.com/syncthing/syncthing/cmd/syncthing/main.go:708 +0x179 goroutine 22 [chan receive]: github.com/syncthing/syncthing/lib/syncthing.(*App).stopWithErr(0xc0001b6dc0, 0x1aaaf0e?, {0x0?, 0x0?}) github.com/syncthing/syncthing/lib/syncthing/syncthing.go:404 +0x8f github.com/syncthing/syncthing/lib/syncthing.(*App).Stop(...) github.com/syncthing/syncthing/lib/syncthing/syncthing.go:391 main.standbyMonitor(0x25b7?, {0x1dc4e70, 0xc000272000}) github.com/syncthing/syncthing/cmd/syncthing/main.go:777 +0x1b6 created by main.syncthingMain github.com/syncthing/syncthing/cmd/syncthing/main.go:666 +0xc65 goroutine 2743 [semacquire]: sync.runtime_Semacquire(0x300000004?) runtime/sema.go:56 +0x25 sync.(*WaitGroup).Wait(0xc0002fe9d4?) sync/waitgroup.go:136 +0x52 github.com/syncthing/syncthing/lib/db/backend.(*closeWaitGroup).CloseWait(0xc0002fe9c0) github.com/syncthing/syncthing/lib/db/backend/backend.go:186 +0x49 github.com/syncthing/syncthing/lib/db/backend.(*leveldbBackend).Close(0xc0002020c0) github.com/syncthing/syncthing/lib/db/backend/leveldb_backend.go:85 +0x29 github.com/syncthing/syncthing/lib/syncthing.(*App).wait.func1() github.com/syncthing/syncthing/lib/syncthing/syncthing.go:342 +0x33 created by github.com/syncthing/syncthing/lib/syncthing.(*App).wait github.com/syncthing/syncthing/lib/syncthing/syncthing.go:341 +0xb8 goroutine 24 [select]: github.com/syncthing/syncthing/lib/syncthing.(*App).wait(0xc0001b6dc0, 0x8c9?) github.com/syncthing/syncthing/lib/syncthing/syncthing.go:345 +0x105 created by github.com/syncthing/syncthing/lib/syncthing.(*App).Start github.com/syncthing/syncthing/lib/syncthing/syncthing.go:115 +0x1ec goroutine 27 [chan receive]: github.com/syncthing/syncthing/lib/events.(*bufferedSubscription).pollingLoop(0xc0001c65a0) github.com/syncthing/syncthing/lib/events/events.go:494 +0x85 created by github.com/syncthing/syncthing/lib/events.NewBufferedSubscription github.com/syncthing/syncthing/lib/events/events.go:489 +0x1a5 goroutine 29 [chan receive, 118 minutes]: github.com/syncthing/syncthing/lib/events.(*bufferedSubscription).pollingLoop(0xc0001c6730) github.com/syncthing/syncthing/lib/events/events.go:494 +0x85 created by github.com/syncthing/syncthing/lib/events.NewBufferedSubscription github.com/syncthing/syncthing/lib/events/events.go:489 +0x1a5 goroutine 31 [sleep, 3 minutes]: time.Sleep(0x45d964b800) runtime/time.go:194 +0x133 github.com/syncthing/syncthing/lib/model.(*deadlockDetector).Watch.func1() github.com/syncthing/syncthing/lib/model/util.go:47 +0x85 created by github.com/syncthing/syncthing/lib/model.(*deadlockDetector).Watch github.com/syncthing/syncthing/lib/model/util.go:45 +0x115 goroutine 47 [runnable, locked to thread]: syscall.SyscallN(0x1?, {0xc000504f10?, 0x2bc3ecde3c0?, 0x77?}) runtime/syscall_windows.go:538 +0x109 syscall.Syscall6(0x0?, 0x2bc187d0108?, 0x4000?, 0xc000839400?, 0xc00045a000?, 0x0?, 0x0?, 0xc000504fb0?) runtime/syscall_windows.go:482 +0x50 internal/syscall/windows.GetAdaptersAddresses(0x0, 0x10, 0x1?, 0x1?, 0xc0001c98a0?) internal/syscall/windows/zsyscall_windows.go:157 +0x85 net.adapterAddresses() net/interface_windows.go:23 +0x68 net.interfaceAddrTable(0x0) net/interface_windows.go:102 +0x36 net.InterfaceAddrs() net/interface.go:117 +0x1f github.com/syncthing/syncthing/lib/osutil.GetLans() github.com/syncthing/syncthing/lib/osutil/lan.go:14 +0x1d github.com/syncthing/syncthing/lib/connections.(*service).isLAN(0xc0001e1c20, {0x1db8520?, 0xc003166390?}) github.com/syncthing/syncthing/lib/connections/service.go:747 +0x1a5 github.com/syncthing/syncthing/lib/connections.(*service).isLANHost(0x19496a0?, {0xc002fb861e, 0x10}) github.com/syncthing/syncthing/lib/connections/service.go:706 +0xa8 github.com/syncthing/syncthing/lib/connections.(*service).resolveDialTargets(_, {_, _}, {_, _, _}, {0x24, {0xc000d69300, 0xd, 0xd}, ...}, ...) github.com/syncthing/syncthing/lib/connections/service.go:670 +0xcce github.com/syncthing/syncthing/lib/connections.(*service).dialDevices(_, {_, _}, {_, _, _}, {0x24, {0xc000d69300, 0xd, 0xd}, ...}, ...) github.com/syncthing/syncthing/lib/connections/service.go:551 +0x8bc github.com/syncthing/syncthing/lib/connections.(*service).connect(0xc0001e1c20, {0x1dbbcd0, 0xc000267500}) github.com/syncthing/syncthing/lib/connections/service.go:453 +0x265 github.com/syncthing/syncthing/lib/svcutil.(*service).Serve(0xc000266c00, {0x1dbbcd0, 0xc000267500}) github.com/syncthing/syncthing/lib/svcutil/svcutil.go:125 +0x92 github.com/thejerf/suture/v4.(*Supervisor).runService.func2() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:565 +0xec created by github.com/thejerf/suture/v4.(*Supervisor).runService github.com/thejerf/suture/v4@v4.0.2/supervisor.go:539 +0x1d5 goroutine 2735 [chan receive]: github.com/thejerf/suture/v4.(*Supervisor).runService.func1() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:536 +0x32 github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor.func1(0x3) github.com/thejerf/suture/v4@v4.0.2/supervisor.go:613 +0x2a created by github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor github.com/thejerf/suture/v4@v4.0.2/supervisor.go:612 +0xd5 goroutine 2649 [runnable]: crypto/elliptic.p256PointAddAffineAsm({0xc0003f7348, 0xc, 0xc}, {0xc0003f7348, 0xc, 0xc}, {0xc0003f7288, 0x8, 0xc}, 0x0, ...) crypto/elliptic/p256_asm_amd64.s:1733 +0x74b crypto/elliptic.(*p256Point).p256BaseMult(0xc0003f7348, {0xc0003f7328, 0x4, 0xc00349e640?}) crypto/elliptic/p256_asm.go:446 +0x2a9 crypto/elliptic.p256Curve.ScalarBaseMult({0xc0003f7428?}, {0xc00349e640?, 0xc00349e640?, 0xc00349e640?}) crypto/elliptic/p256_asm.go:273 +0x8a crypto/elliptic.GenerateKey({0x1dc1380, 0xc00006b880}, {0x1db3d80, 0x241b5c8}) crypto/elliptic/elliptic.go:355 +0x228 crypto/tls.generateECDHEParameters({0x1db3d80, 0x241b5c8}, 0x17) crypto/tls/key_schedule.go:132 +0x225 crypto/tls.(*ecdheKeyAgreement).processServerKeyExchange(0xc0007ed100, 0xc003dea780, 0xc003d56a00, 0xc003cbda00, 0xc0028fd600, 0x4c5e10c891c36154?) crypto/tls/key_agreement.go:295 +0x1c5 crypto/tls.(*clientHandshakeState).doFullHandshake(0xc0003f7be8) crypto/tls/handshake_client.go:534 +0x4ba crypto/tls.(*clientHandshakeState).handshake(0xc0003f7be8) crypto/tls/handshake_client.go:431 +0x3a5 crypto/tls.(*Conn).clientHandshake(0xc000a05500, {0x1dbbcd0, 0xc000760f80}) crypto/tls/handshake_client.go:230 +0x64a crypto/tls.(*Conn).handshakeContext(0xc000a05500, {0x1dbbd40, 0xc000a9fd40}) crypto/tls/conn.go:1460 +0x32f crypto/tls.(*Conn).HandshakeContext(...) crypto/tls/conn.go:1403 net/http.(*persistConn).addTLS.func2() net/http/transport.go:1537 +0x71 created by net/http.(*persistConn).addTLS net/http/transport.go:1533 +0x345 goroutine 89 [chan receive]: github.com/syncthing/syncthing/lib/fs.(*caseFilesystemRegistry).cleaner(0x23b9420) github.com/syncthing/syncthing/lib/fs/casefs.go:103 +0x6e created by github.com/syncthing/syncthing/lib/fs.(*caseFilesystemRegistry).get.func1 github.com/syncthing/syncthing/lib/fs/casefs.go:93 +0x5a goroutine 163 [runnable]: net/http.(*Server).trackListener(0xc0000fcfc0, 0xc000abe630, 0x0) net/http/server.go:3138 +0x15f net/http.(*Server).Serve(0xc0000fcfc0, {0x1dbaeb0, 0xc000181578}) net/http/server.go:3043 +0x68a github.com/syncthing/syncthing/lib/api.(*service).Serve.func1() github.com/syncthing/syncthing/lib/api/api.go:419 +0x52 created by github.com/syncthing/syncthing/lib/api.(*service).Serve github.com/syncthing/syncthing/lib/api/api.go:417 +0x27e5 goroutine 2640 [runnable]: crypto/elliptic.p256PointAddAffineAsm({0xc0008f5348, 0xc, 0xc}, {0xc0008f5348, 0xc, 0xc}, {0xc0008f5288, 0x8, 0xc}, 0x0, ...) crypto/elliptic/p256_asm_amd64.s:1733 +0x74b crypto/elliptic.(*p256Point).p256BaseMult(0xc0008f5348, {0xc0008f5328, 0x4, 0xc00349e6c0?}) crypto/elliptic/p256_asm.go:446 +0x2a9 crypto/elliptic.p256Curve.ScalarBaseMult({0xc0008f5428?}, {0xc00349e6c0?, 0xc00349e6c0?, 0xc00349e6c0?}) crypto/elliptic/p256_asm.go:273 +0x8a crypto/elliptic.GenerateKey({0x1dc1380, 0xc00006b880}, {0x1db3d80, 0x241b5c8}) crypto/elliptic/elliptic.go:355 +0x228 crypto/tls.generateECDHEParameters({0x1db3d80, 0x241b5c8}, 0x17) crypto/tls/key_schedule.go:132 +0x225 crypto/tls.(*ecdheKeyAgreement).processServerKeyExchange(0xc0007ece00, 0xc003dea480, 0xc003d56800, 0xc0008fe600, 0xc0028fd080, 0x3cb131ad717f83f9?) crypto/tls/key_agreement.go:295 +0x1c5 crypto/tls.(*clientHandshakeState).doFullHandshake(0xc0008f5be8) crypto/tls/handshake_client.go:534 +0x4ba crypto/tls.(*clientHandshakeState).handshake(0xc0008f5be8) crypto/tls/handshake_client.go:431 +0x3a5 crypto/tls.(*Conn).clientHandshake(0xc000a05180, {0x1dbbcd0, 0xc000760bc0}) crypto/tls/handshake_client.go:230 +0x64a crypto/tls.(*Conn).handshakeContext(0xc000a05180, {0x1dbbd40, 0xc000e46c00}) crypto/tls/conn.go:1460 +0x32f crypto/tls.(*Conn).HandshakeContext(...) crypto/tls/conn.go:1403 net/http.(*persistConn).addTLS.func2() net/http/transport.go:1537 +0x71 created by net/http.(*persistConn).addTLS net/http/transport.go:1533 +0x345 goroutine 2534 [chan receive]: net/http.(*persistConn).addTLS(0xc000c47e60, {0x1dbbd40?, 0xc000e46c00}, {0xc002dc9920, 0x17}, 0x0) net/http/transport.go:1543 +0x365 net/http.(*Transport).dialConn(0xc00007ec80, {0x1dbbd40, 0xc000e46c00}, {{}, 0x0, {0xc00325de80, 0x5}, {0xc002dc9920, 0x1b}, 0x0}) net/http/transport.go:1617 +0x9e5 net/http.(*Transport).dialConnFor(0xc0024a48a0?, 0xc0032ea420) net/http/transport.go:1449 +0xb0 created by net/http.(*Transport).queueForDial net/http/transport.go:1418 +0x3d2 goroutine 2438 [chan receive]: github.com/syncthing/syncthing/lib/scanner.(*parallelHasher).closeWhenDone(0xc000b43950) github.com/syncthing/syncthing/lib/scanner/blockqueue.go:139 +0xa5 created by github.com/syncthing/syncthing/lib/scanner.newParallelHasher github.com/syncthing/syncthing/lib/scanner/blockqueue.go:88 +0x26a goroutine 2693 [chan receive]: github.com/thejerf/suture/v4.(*Supervisor).runService.func1() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:536 +0x32 github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor.func1(0xa) github.com/thejerf/suture/v4@v4.0.2/supervisor.go:613 +0x2a created by github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor github.com/thejerf/suture/v4@v4.0.2/supervisor.go:612 +0xd5 goroutine 2602 [chan receive]: net/http.(*persistConn).addTLS(0xc0000baa20, {0x1dbbd40?, 0xc000a9fd40}, {0xc0032f8540, 0x1a}, 0x0) net/http/transport.go:1543 +0x365 net/http.(*Transport).dialConn(0xc00007edc0, {0x1dbbd40, 0xc000a9fd40}, {{}, 0x0, {0xc0002fee40, 0x5}, {0xc0032f8540, 0x1e}, 0x0}) net/http/transport.go:1617 +0x9e5 net/http.(*Transport).dialConnFor(0xc000ac4d40?, 0xc0032ea210) net/http/transport.go:1449 +0xb0 created by net/http.(*Transport).queueForDial net/http/transport.go:1418 +0x3d2 goroutine 2696 [chan receive]: github.com/thejerf/suture/v4.(*Supervisor).runService.func1() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:536 +0x32 github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor.func1(0xf) github.com/thejerf/suture/v4@v4.0.2/supervisor.go:613 +0x2a created by github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor github.com/thejerf/suture/v4@v4.0.2/supervisor.go:612 +0xd5 goroutine 380 [chan receive, 71 minutes]: github.com/syncthing/syncthing/lib/model.(*folder).scanSubdirsChangedAndNew(0xc00011ae00, {0x0, 0x0, 0x0}, 0xc003ac65d0?) github.com/syncthing/syncthing/lib/model/folder.go:640 +0x410 github.com/syncthing/syncthing/lib/model.(*folder).scanSubdirs(0xc00011ae00, {0x0, 0x0, 0x0}) github.com/syncthing/syncthing/lib/model/folder.go:492 +0x58f github.com/syncthing/syncthing/lib/model.(*folder).scanTimerFired(0xc00011ae00) github.com/syncthing/syncthing/lib/model/folder.go:885 +0x3d github.com/syncthing/syncthing/lib/model.(*folder).Serve(0xc00011ae00, {0x1dbbcd0?, 0xc000bd7380?}) github.com/syncthing/syncthing/lib/model/folder.go:203 +0x6ab github.com/thejerf/suture/v4.(*Supervisor).runService.func2() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:565 +0xec created by github.com/thejerf/suture/v4.(*Supervisor).runService github.com/thejerf/suture/v4@v4.0.2/supervisor.go:539 +0x1d5 goroutine 2701 [chan receive]: github.com/thejerf/suture/v4.(*Supervisor).runService.func1() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:536 +0x32 github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor.func1(0xc) github.com/thejerf/suture/v4@v4.0.2/supervisor.go:613 +0x2a created by github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor github.com/thejerf/suture/v4@v4.0.2/supervisor.go:612 +0xd5 goroutine 2436 [runnable, locked to thread]: syscall.SyscallN(0x7ffc06064c90?, {0xc0002254b8?, 0x3?, 0x0?}) runtime/syscall_windows.go:538 +0x109 syscall.Syscall(0xc0002255e0?, 0x0?, 0x20c?, 0xc00003eae0?, 0xc000225530?) runtime/syscall_windows.go:476 +0x3b syscall.findNextFile1(0x9d97302400000810?, 0x9540c03301d7e8c9?) syscall/zsyscall_windows.go:625 +0x6c syscall.FindNextFile(0xc003ec7074?, 0xc003144000) syscall/syscall_windows.go:1128 +0x5d internal/poll.(*FD).FindNextFile(0xc00314402c?, 0x8000000003?) internal/poll/fd_windows.go:1018 +0xee os.(*File).readdir(0xc0031566b0, 0xffffffffffffffff, 0x0) os/dir_windows.go:24 +0x1ed os.(*File).Readdirnames(0xc000c799f0?, 0x4c?) os/dir.go:70 +0x25 github.com/syncthing/syncthing/lib/fs.(*BasicFilesystem).DirNames(0xc000a73480?, {0xc00002c8d0?, 0x13ddd0b?}) github.com/syncthing/syncthing/lib/fs/basicfs.go:232 +0xb0 github.com/syncthing/syncthing/lib/fs.newCaseNode({0xc00002c8d0, 0x22}, {0x1dc5560, 0xc000fb1a70}) github.com/syncthing/syncthing/lib/fs/casefs.go:484 +0x82 github.com/syncthing/syncthing/lib/fs.(*caseCache).getExpireAdd(0xc000202ea0, {0xc00002c8d0, 0x22}) github.com/syncthing/syncthing/lib/fs/casefs.go:456 +0x1e8 github.com/syncthing/syncthing/lib/fs.(*defaultRealCaser).realCase(0xc000202ea0, {0xc000c786e0?, 0xc000f98b00?}) github.com/syncthing/syncthing/lib/fs/casefs.go:419 +0x145 github.com/syncthing/syncthing/lib/fs.(*caseFilesystem).checkCaseExisting(0xc000202ec0, {0xc000c786e0, 0x4f}) github.com/syncthing/syncthing/lib/fs/casefs.go:376 +0x38 github.com/syncthing/syncthing/lib/fs.(*caseFilesystem).Lstat(0xc000202ec0, {0xc000c786e0?, 0x0?}) github.com/syncthing/syncthing/lib/fs/casefs.go:201 +0x85 github.com/syncthing/syncthing/lib/fs.(*mtimeFS).Lstat(0xc000296210, {0xc000c786e0, 0x4f}) github.com/syncthing/syncthing/lib/fs/mtimefs.go:102 +0x4e github.com/syncthing/syncthing/lib/fs.(*walkFilesystem).walk(0xc000e11338, {0xc002ef8810, 0x22}, {0x1dc2850, 0xc003576ac0}, 0xc000b439a0, 0x0) github.com/syncthing/syncthing/lib/fs/walkfs.go:118 +0x54e github.com/syncthing/syncthing/lib/fs.(*walkFilesystem).walk(0xc000e11338, {0x1a62c3f, 0x1}, {0x1dc2850, 0xc000fb5800}, 0xc000b439a0, 0x0) github.com/syncthing/syncthing/lib/fs/walkfs.go:124 +0x60a github.com/syncthing/syncthing/lib/fs.(*walkFilesystem).Walk(0xc000e11338, {0x1a62c3f, 0x1}, 0xc000b439a0) github.com/syncthing/syncthing/lib/fs/walkfs.go:150 +0xa5 github.com/syncthing/syncthing/lib/scanner.(*walker).scan(0xc000aaa280, {0x1dbbcd0?, 0xc00065c540?}, 0xc0001f4a20?, 0xc0001c8890?) github.com/syncthing/syncthing/lib/scanner/walk.go:223 +0x82 created by github.com/syncthing/syncthing/lib/scanner.(*walker).walk github.com/syncthing/syncthing/lib/scanner/walk.go:119 +0x1ea goroutine 2694 [chan receive]: github.com/thejerf/suture/v4.(*Supervisor).runService.func1() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:536 +0x32 github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor.func1(0x10) github.com/thejerf/suture/v4@v4.0.2/supervisor.go:613 +0x2a created by github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor github.com/thejerf/suture/v4@v4.0.2/supervisor.go:612 +0xd5 goroutine 363 [runnable, locked to thread]: syscall.SyscallN(0x59?, {0xc000f55e70?, 0xc00098b440?, 0x0?}) runtime/syscall_windows.go:538 +0x109 syscall.Syscall6(0xffffffffffffffff?, 0x694c6e6f69737365?, 0x313d73704274696d?, 0x47822eb1dcaf55df?, 0x3084cb73c0ca80e3?, 0xc7ac927aa1027d15?, 0x0?, 0x6dc?) runtime/syscall_windows.go:482 +0x50 syscall.getQueuedCompletionStatus(0x2ee35b52ff03b8c?, 0xd5fa150100001000?, 0x59?, 0x13d8bc0?, 0xffffffff) syscall/zsyscall_windows.go:836 +0x8a syscall.GetQueuedCompletionStatus(0xc00006a9c0?, 0xc00098b440?, 0xc000f55f94, 0x0?, 0x0?) syscall/syscall_windows.go:1269 +0x45 github.com/syncthing/notify.(*readdcw).loop(0xc00006a9c0) github.com/syncthing/notify@v0.0.0-20210616190510-c6b7342338d2/watcher_readdcw.go:346 +0x5d created by github.com/syncthing/notify.(*readdcw).lazyinit github.com/syncthing/notify@v0.0.0-20210616190510-c6b7342338d2/watcher_readdcw.go:335 +0xa5 goroutine 390 [runnable]: github.com/syndtr/goleveldb/leveldb/iterator.NewIndexedIterator(...) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/iterator/indexed_iter.go:241 github.com/syndtr/goleveldb/leveldb.(*version).getIterators(0xc000922060, 0x20?, 0x203000e?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/version.go:269 +0x145 github.com/syndtr/goleveldb/leveldb.(*DB).newRawIterator(0xc0000fe700, 0x0, {0x0, 0x0, 0x0?}, 0xc003877ad0, 0x0?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_iter.go:41 +0xc6 github.com/syndtr/goleveldb/leveldb.(*DB).newIterator(0xc0000fe700, 0xc0001b69b8?, {0x0?, 0x0?, 0x0?}, 0x1e211a8, 0xc000f71480?, 0x10?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_iter.go:79 +0x319 github.com/syndtr/goleveldb/leveldb.(*Snapshot).NewIterator(0xc003876f60, 0xc0001c6230?, 0xc003ec6c20?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_snapshot.go:165 +0x195 github.com/syncthing/syncthing/lib/db/backend.leveldbSnapshot.NewPrefixIterator({0xc003876f60?, 0xc00396c210?}, {0xc003ec7078?, 0x5?, 0x5?}) github.com/syncthing/syncthing/lib/db/backend/leveldb_backend.go:137 +0x11e github.com/syncthing/syncthing/lib/db.(*readOnlyTransaction).withNeedLocal(0xc000b42f10, {0xc003ec6c20, 0xb, 0x10}, 0x21?, 0xc003ff52b0) github.com/syncthing/syncthing/lib/db/transactions.go:515 +0xed github.com/syncthing/syncthing/lib/db.(*readOnlyTransaction).withNeed(0xc003ff5290?, {0xc003ec6c20, 0xb, 0x10}, {0xc000f71778, 0x20, 0x20}, 0x20?, 0x1dbaa00?) github.com/syncthing/syncthing/lib/db/transactions.go:453 +0xf9 github.com/syncthing/syncthing/lib/db.(*Snapshot).WithNeed(0xc000b42f00, {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, ...}, ...) github.com/syncthing/syncthing/lib/db/set.go:193 +0x185 github.com/syncthing/syncthing/lib/model.(*folder).pull(0xc00011b500) github.com/syncthing/syncthing/lib/model/folder.go:371 +0x1ac github.com/syncthing/syncthing/lib/model.(*folder).Serve(0xc00011b500, {0x1dbbcd0?, 0xc00069da80?}) github.com/syncthing/syncthing/lib/model/folder.go:196 +0x5c6 github.com/thejerf/suture/v4.(*Supervisor).runService.func2() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:565 +0xec created by github.com/thejerf/suture/v4.(*Supervisor).runService github.com/thejerf/suture/v4@v4.0.2/supervisor.go:539 +0x1d5 goroutine 406 [runnable]: github.com/syndtr/goleveldb/leveldb.tFiles.newIndexIterator({0xc000ba1f80?, 0x10?, 0x10?}, 0xc000297170, 0xc0001c9c80, 0xc003877b00, 0x0) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/table.go:310 +0x16c github.com/syndtr/goleveldb/leveldb.(*version).getIterators(0xc000922060, 0x20?, 0x203000e?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/version.go:269 +0x125 github.com/syndtr/goleveldb/leveldb.(*DB).newRawIterator(0xc0000fe700, 0x0, {0x0, 0x0, 0x0?}, 0xc003877b00, 0x0?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_iter.go:41 +0xc6 github.com/syndtr/goleveldb/leveldb.(*DB).newIterator(0xc0000fe700, 0xc0001b6a88?, {0x0?, 0x0?, 0x0?}, 0x1e211a8, 0xc0003fb480?, 0x1949760?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_iter.go:79 +0x319 github.com/syndtr/goleveldb/leveldb.(*Snapshot).NewIterator(0xc003876f90, 0xc0001c6230?, 0xc003ec70b0?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_snapshot.go:165 +0x195 github.com/syncthing/syncthing/lib/db/backend.leveldbSnapshot.NewPrefixIterator({0xc003876f90?, 0xc00396c258?}, {0xc003ec7085?, 0x5?, 0x5?}) github.com/syncthing/syncthing/lib/db/backend/leveldb_backend.go:137 +0x11e github.com/syncthing/syncthing/lib/db.(*readOnlyTransaction).withNeedLocal(0xc000b431e0, {0xc003ec70b0, 0xb, 0x10}, 0x7?, 0xc003ff5520) github.com/syncthing/syncthing/lib/db/transactions.go:515 +0xed github.com/syncthing/syncthing/lib/db.(*readOnlyTransaction).withNeed(0xc003ff5500?, {0xc003ec70b0, 0xb, 0x10}, {0xc0003fb778, 0x20, 0x20}, 0x20?, 0x1dbaa00?) github.com/syncthing/syncthing/lib/db/transactions.go:453 +0xf9 github.com/syncthing/syncthing/lib/db.(*Snapshot).WithNeed(0xc000b431d0, {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, ...}, ...) github.com/syncthing/syncthing/lib/db/set.go:193 +0x185 github.com/syncthing/syncthing/lib/model.(*folder).pull(0xc000072380) github.com/syncthing/syncthing/lib/model/folder.go:371 +0x1ac github.com/syncthing/syncthing/lib/model.(*folder).Serve(0xc000072380, {0x1dbbcd0?, 0xc000929740?}) github.com/syncthing/syncthing/lib/model/folder.go:183 +0x4f0 github.com/thejerf/suture/v4.(*Supervisor).runService.func2() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:565 +0xec created by github.com/thejerf/suture/v4.(*Supervisor).runService github.com/thejerf/suture/v4@v4.0.2/supervisor.go:539 +0x1d5 goroutine 450 [runnable]: github.com/syndtr/goleveldb/leveldb/memdb.(*DB).NewIterator(...) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/memdb/memdb.go:408 github.com/syndtr/goleveldb/leveldb.(*DB).newRawIterator(0xc0000fe700, 0x0, {0x0, 0x0, 0x2d37373737373737?}, 0xc003877b30, 0x6b726f7774656e26?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_iter.go:54 +0x37b github.com/syndtr/goleveldb/leveldb.(*DB).newIterator(0xc0000fe700, 0xc0001b6a68?, {0x0?, 0x0?, 0x0?}, 0x1e211a8, 0xc000433480?, 0x1949760?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_iter.go:79 +0x319 github.com/syndtr/goleveldb/leveldb.(*Snapshot).NewIterator(0xc003876fc0, 0xc0001c6230?, 0xc003ec6c30?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_snapshot.go:165 +0x195 github.com/syncthing/syncthing/lib/db/backend.leveldbSnapshot.NewPrefixIterator({0xc003876fc0?, 0xc00396c270?}, {0xc003ec6c40?, 0x5?, 0x5?}) github.com/syncthing/syncthing/lib/db/backend/leveldb_backend.go:137 +0x11e github.com/syncthing/syncthing/lib/db.(*readOnlyTransaction).withNeedLocal(0xc000b42f60, {0xc003ec6c30, 0xb, 0x10}, 0x7?, 0xc003ff52f0) github.com/syncthing/syncthing/lib/db/transactions.go:515 +0xed github.com/syncthing/syncthing/lib/db.(*readOnlyTransaction).withNeed(0xc003ff52d0?, {0xc003ec6c30, 0xb, 0x10}, {0xc000433778, 0x20, 0x20}, 0x20?, 0x1dbaa00?) github.com/syncthing/syncthing/lib/db/transactions.go:453 +0xf9 github.com/syncthing/syncthing/lib/db.(*Snapshot).WithNeed(0xc000b42f50, {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, ...}, ...) github.com/syncthing/syncthing/lib/db/set.go:193 +0x185 github.com/syncthing/syncthing/lib/model.(*folder).pull(0xc0001d6700) github.com/syncthing/syncthing/lib/model/folder.go:371 +0x1ac github.com/syncthing/syncthing/lib/model.(*folder).Serve(0xc0001d6700, {0x1dbbcd0?, 0xc000bd90c0?}) github.com/syncthing/syncthing/lib/model/folder.go:196 +0x5c6 github.com/thejerf/suture/v4.(*Supervisor).runService.func2() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:565 +0xec created by github.com/thejerf/suture/v4.(*Supervisor).runService github.com/thejerf/suture/v4@v4.0.2/supervisor.go:539 +0x1d5 goroutine 2699 [chan receive]: github.com/thejerf/suture/v4.(*Supervisor).runService.func1() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:536 +0x32 github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor.func1(0x8) github.com/thejerf/suture/v4@v4.0.2/supervisor.go:613 +0x2a created by github.com/thejerf/suture/v4.(*Supervisor).stopSupervisor github.com/thejerf/suture/v4@v4.0.2/supervisor.go:612 +0xd5 goroutine 457 [runnable]: runtime.SetFinalizer({0x1a19f40, 0xc000fc7950}, {0x1906fc0, 0x1c9c368}) runtime/mfinal.go:432 +0x325 github.com/syndtr/goleveldb/leveldb.(*DB).newIterator(0xc0000fe700, 0xc0001b69f8?, {0x0?, 0x0?, 0x0?}, 0x1e211a8, 0xc0008f1480?, 0x10?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_iter.go:94 +0x525 github.com/syndtr/goleveldb/leveldb.(*Snapshot).NewIterator(0xc003876ff0, 0xc0001c6230?, 0xc003ec6c50?) github.com/syndtr/goleveldb@v1.0.1-0.20200815071216-d9e9293bd0f7/leveldb/db_snapshot.go:165 +0x195 github.com/syncthing/syncthing/lib/db/backend.leveldbSnapshot.NewPrefixIterator({0xc003876ff0?, 0xc00396c288?}, {0xc003ec6c4a?, 0x5?, 0x5?}) github.com/syncthing/syncthing/lib/db/backend/leveldb_backend.go:137 +0x11e github.com/syncthing/syncthing/lib/db.(*readOnlyTransaction).withNeedLocal(0xc000b43050, {0xc003ec6c50, 0xb, 0x10}, 0x7?, 0xc003ff5340) github.com/syncthing/syncthing/lib/db/transactions.go:515 +0xed github.com/syncthing/syncthing/lib/db.(*readOnlyTransaction).withNeed(0xc003ff5320?, {0xc003ec6c50, 0xb, 0x10}, {0xc0008f1778, 0x20, 0x20}, 0x20?, 0x1dbaa00?) github.com/syncthing/syncthing/lib/db/transactions.go:453 +0xf9 github.com/syncthing/syncthing/lib/db.(*Snapshot).WithNeed(0xc000b43040, {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, ...}, ...) github.com/syncthing/syncthing/lib/db/set.go:193 +0x185 github.com/syncthing/syncthing/lib/model.(*folder).pull(0xc0001d6a80) github.com/syncthing/syncthing/lib/model/folder.go:371 +0x1ac github.com/syncthing/syncthing/lib/model.(*folder).Serve(0xc0001d6a80, {0x1dbbcd0?, 0xc000ce2f00?}) github.com/syncthing/syncthing/lib/model/folder.go:196 +0x5c6 github.com/thejerf/suture/v4.(*Supervisor).runService.func2() github.com/thejerf/suture/v4@v4.0.2/supervisor.go:565 +0xec created by github.com/thejerf/suture/v4.(*Supervisor).runService github.com/thejerf/suture/v4@v4.0.2/supervisor.go:539 +0x1d5