AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
24.68k stars 1.79k forks source link

fatal error: concurrent map iteration and map write #4374

Closed sudo-gecko closed 2 years ago

sudo-gecko commented 2 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

Issue Details

"./AdGuardHome -v --version" result

Except Behavior

Fatal error should not occur.

Actual Behavior

AdGuard suddenly crashes and restarts without any warning

Additional Information

Log File: AdGuard.log Server get 100~500 requests per second on average, but CPU usage is only 5-20% (not a problem caused by lack of performance) Please let me know if you need any additional information, Thank you to all the developers who created AdGuardHome 😃

sudo-gecko commented 2 years ago

The above error occurs intermittently when I click refresh statistics on the dashboard several times quickly.

sudo-gecko commented 2 years ago

Also when I try to refresh the stats page after 30 minutes, I get the following error

Log file ``` fatal error: concurrent map iteration and map write goroutine 187123 [running]: runtime.throw(0x90b0f9, 0x26) runtime/panic.go:1117 +0x54 fp=0x4002806e90 sp=0x4002806e60 pc=0x444a4 runtime.mapiternext(0x4002806fc8) runtime/map.go:858 +0x4ec fp=0x4002806f10 sp=0x4002806e90 pc=0x1f07c github.com/AdguardTeam/AdGuardHome/internal/stats.convertMapToSlice(0x4001bf5d70, 0x64, 0x30, 0x0, 0x6) github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:349 +0x7c fp=0x4002807030 sp=0x4002806f10 pc=0x5f809c github.com/AdguardTeam/AdGuardHome/internal/stats.serialize(0x4001a9edc0, 0x0) github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:383 +0xdc fp=0x40028070b0 sp=0x4002807030 pc=0x5f83bc github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).loadUnits(0x400017f9e0, 0x2d0, 0xc, 0xb, 0x4000d55228, 0x586c4) github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:584 +0x1f0 fp=0x4002807180 sp=0x40028070b0 pc=0x5f97b0 github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).getData(0x400017f9e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:679 +0x5c fp=0x4002807450 sp=0x4002807180 pc=0x5f9dfc github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).handleStats(0x400017f9e0, 0x1cba1b0, 0x4000fda700, 0x4001988900) github.com/AdguardTeam/AdGuardHome/internal/stats/http.go:61 +0x32c fp=0x40028077e0 sp=0x4002807450 pc=0x5f62cc github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).handleStats-fm(0x1cba1b0, 0x4000fda700, 0x4001988900) github.com/AdguardTeam/AdGuardHome/internal/stats/http.go:42 +0x48 fp=0x4002807810 sp=0x40028077e0 pc=0x5fac58 github.com/AdguardTeam/AdGuardHome/internal/home.ensure.func1(0x1cba1b0, 0x4000fda700, 0x4001988900) github.com/AdguardTeam/AdGuardHome/internal/home/control.go:219 +0x1d0 fp=0x40028078c0 sp=0x4002807810 pc=0x717880 github.com/AdguardTeam/AdGuardHome/internal/home.(*httpHandler).ServeHTTP(0x40000ae630, 0x1cba1b0, 0x4000fda700, 0x4001988900) github.com/AdguardTeam/AdGuardHome/internal/home/control.go:237 +0x44 fp=0x40028078f0 sp=0x40028078c0 pc=0x6f1cf4 github.com/NYTimes/gziphandler.GzipHandlerWithOpts.func1.1(0x1cb9f10, 0x40000ae6f8, 0x4001988900) github.com/NYTimes/gziphandler@v1.1.1/gzip.go:336 +0x1dc fp=0x40028079a0 sp=0x40028078f0 pc=0x63de1c net/http.HandlerFunc.ServeHTTP(0x400041a390, 0x1cb9f10, 0x40000ae6f8, 0x4001988900) net/http/server.go:2050 +0x40 fp=0x40028079d0 sp=0x40028079a0 pc=0x299f70 net/http.Handler.ServeHTTP-fm(0x1cb9f10, 0x40000ae6f8, 0x4001988900) net/http/server.go:87 +0x50 fp=0x4002807a00 sp=0x40028079d0 pc=0x2bd7a0 github.com/AdguardTeam/AdGuardHome/internal/home.optionalAuth.func1(0x1cb9f10, 0x40000ae6f8, 0x4001988900) github.com/AdguardTeam/AdGuardHome/internal/home/auth.go:598 +0xe0 fp=0x4002807aa0 sp=0x4002807a00 pc=0x716860 github.com/AdguardTeam/AdGuardHome/internal/home.(*authHandler).ServeHTTP(0x40004009d0, 0x1cb9f10, 0x40000ae6f8, 0x4001988900) github.com/AdguardTeam/AdGuardHome/internal/home/auth.go:607 +0xa0 fp=0x4002807ae0 sp=0x4002807aa0 pc=0x6e7140 net/http.Handler.ServeHTTP-fm(0x1cb9f10, 0x40000ae6f8, 0x4001988900) net/http/server.go:87 +0x50 fp=0x4002807b10 sp=0x4002807ae0 pc=0x2bd7a0 github.com/AdguardTeam/AdGuardHome/internal/home.postInstall.func1(0x1cb9f10, 0x40000ae6f8, 0x4001988900) github.com/AdguardTeam/AdGuardHome/internal/home/control.go:336 +0xb0 fp=0x4002807b70 sp=0x4002807b10 pc=0x717b40 github.com/AdguardTeam/AdGuardHome/internal/home.(*postInstallHandlerStruct).ServeHTTP(0x40004009e0, 0x1cb9f10, 0x40000ae6f8, 0x4001988900) github.com/AdguardTeam/AdGuardHome/internal/home/control.go:345 +0xa0 fp=0x4002807bb0 sp=0x4002807b70 pc=0x6f23b0 net/http.(*ServeMux).ServeHTTP(0x4000225a80, 0x1cb9f10, 0x40000ae6f8, 0x4001988900) net/http/server.go:2429 +0x190 fp=0x4002807c10 sp=0x4002807bb0 pc=0x29b8f0 github.com/AdguardTeam/AdGuardHome/internal/home.limitRequestBody.func1(0x1cb9f10, 0x40000ae6f8, 0x4000e9bc00) github.com/AdguardTeam/AdGuardHome/internal/home/middlewares.go:75 +0x1e4 fp=0x4002807cf0 sp=0x4002807c10 pc=0x719424 net/http.HandlerFunc.ServeHTTP(0x40003e45d0, 0x1cb9f10, 0x40000ae6f8, 0x4000e9bc00) net/http/server.go:2050 +0x40 fp=0x4002807d20 sp=0x4002807cf0 pc=0x299f70 net/http.serverHandler.ServeHTTP(0x40003761c0, 0x1cb9f10, 0x40000ae6f8, 0x4000e9bc00) net/http/server.go:2868 +0xbc fp=0x4002807d50 sp=0x4002807d20 pc=0x29cdcc net/http.initALPNRequest.ServeHTTP(0x1cbd2f0, 0x40020ff620, 0x4001197180, 0x40003761c0, 0x1cb9f10, 0x40000ae6f8, 0x4000e9bc00) net/http/server.go:3440 +0x60 fp=0x4002807ed0 sp=0x4002807d50 pc=0x29e620 net/http.(*initALPNRequest).ServeHTTP(0x4002692940, 0x1cb9f10, 0x40000ae6f8, 0x4000e9bc00) :1 +0x68 fp=0x4002807f20 sp=0x4002807ed0 pc=0x2c4858 net/http.Handler.ServeHTTP-fm(0x1cb9f10, 0x40000ae6f8, 0x4000e9bc00) net/http/server.go:87 +0x50 fp=0x4002807f50 sp=0x4002807f20 pc=0x2bd7a0 net/http.(*http2serverConn).runHandler(0x400193bb00, 0x40000ae6f8, 0x4000e9bc00, 0x400148d7e8) net/http/h2_bundle.go:5840 +0x94 fp=0x4002807fb0 sp=0x4002807f50 pc=0x2757a4 runtime.goexit() runtime/asm_arm64.s:1130 +0x4 fp=0x4002807fb0 sp=0x4002807fb0 pc=0x7bcf4 created by net/http.(*http2serverConn).processHeaders net/http/h2_bundle.go:5570 +0x3e8 goroutine 1 [chan receive, 9 minutes]: github.com/kardianos/service.(*systemd).Run.func1() github.com/kardianos/service@v1.2.0/service_systemd_linux.go:226 +0xa8 github.com/kardianos/service.(*systemd).Run(0x40001379b0, 0x4000131900, 0x40000d4840) github.com/kardianos/service@v1.2.0/service_systemd_linux.go:227 +0xbc github.com/AdguardTeam/AdGuardHome/internal/home.handleServiceControlAction(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) github.com/AdguardTeam/AdGuardHome/internal/home/service.go:208 +0x4dc github.com/AdguardTeam/AdGuardHome/internal/home.Main(0x1caa4f0, 0x1ccf640) github.com/AdguardTeam/AdGuardHome/internal/home/home.go:125 +0x154 main.main() github.com/AdguardTeam/AdGuardHome/main.go:17 +0x3c goroutine 5 [syscall, 9 minutes]: os/signal.signal_recv(0x4000048798) runtime/sigqueue.go:168 +0xcc os/signal.loop() os/signal/signal_unix.go:23 +0x20 created by os/signal.Notify.func1.1 os/signal/signal.go:151 +0x44 goroutine 19 [chan receive, 9 minutes]: github.com/AdguardTeam/AdGuardHome/internal/home.Main.func1() github.com/AdguardTeam/AdGuardHome/internal/home/home.go:109 +0x3c created by github.com/AdguardTeam/AdGuardHome/internal/home.Main github.com/AdguardTeam/AdGuardHome/internal/home/home.go:107 +0x114 goroutine 20 [chan receive, 9 minutes]: github.com/AdguardTeam/AdGuardHome/internal/home.(*Web).Start(0x4000377500) github.com/AdguardTeam/AdGuardHome/internal/home/web.go:186 +0x2ec github.com/AdguardTeam/AdGuardHome/internal/home.run(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) github.com/AdguardTeam/AdGuardHome/internal/home/home.go:497 +0xcd4 created by github.com/AdguardTeam/AdGuardHome/internal/home.(*program).Start github.com/AdguardTeam/AdGuardHome/internal/home/service.go:44 +0xa4 goroutine 21 [chan receive, 4 minutes]: github.com/AdguardTeam/AdGuardHome/internal/home.memoryUsage.func1() github.com/AdguardTeam/AdGuardHome/internal/home/memory.go:35 +0x64 created by github.com/AdguardTeam/AdGuardHome/internal/home.memoryUsage github.com/AdguardTeam/AdGuardHome/internal/home/memory.go:33 +0xd0 goroutine 22 [syscall, 9 minutes]: syscall.Syscall6(0x16, 0x7, 0x400030fc00, 0x7, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0) syscall/asm_linux_arm64.s:35 +0x10 golang.org/x/sys/unix.EpollWait(0x7, 0x400030fc00, 0x7, 0x7, 0xffffffffffffffff, 0x0, 0x0, 0x0) golang.org/x/sys@v0.0.0-20211216021012-1d35b9e2eb4e/unix/zsyscall_linux_arm64.go:56 +0x58 github.com/fsnotify/fsnotify.(*fdPoller).wait(0x4000258e20, 0x0, 0x0, 0x0) github.com/fsnotify/fsnotify@v1.5.1/inotify_poller.go:87 +0x60 github.com/fsnotify/fsnotify.(*Watcher).readEvents(0x40000c2b40) github.com/fsnotify/fsnotify@v1.5.1/inotify.go:193 +0x1a8 created by github.com/fsnotify/fsnotify.NewWatcher github.com/fsnotify/fsnotify@v1.5.1/inotify.go:60 +0x16c goroutine 23 [chan receive, 9 minutes]: github.com/AdguardTeam/AdGuardHome/internal/aghos.(*osWatcher).handleErrors(0x40002726f0) github.com/AdguardTeam/AdGuardHome/internal/aghos/fswatcher.go:74 +0x130 created by github.com/AdguardTeam/AdGuardHome/internal/aghos.NewOSWritesWatcher github.com/AdguardTeam/AdGuardHome/internal/aghos/fswatcher.go:63 +0x15c goroutine 24 [chan receive, 9 minutes]: github.com/AdguardTeam/AdGuardHome/internal/aghos.(*osWatcher).handleEvents(0x40002726f0) github.com/AdguardTeam/AdGuardHome/internal/aghos/fswatcher.go:110 +0xf8 created by github.com/AdguardTeam/AdGuardHome/internal/aghos.NewOSWritesWatcher github.com/AdguardTeam/AdGuardHome/internal/aghos/fswatcher.go:64 +0x17c goroutine 25 [select, 9 minutes]: github.com/AdguardTeam/AdGuardHome/internal/aghnet.(*HostsContainer).handleEvents(0x4000157480) github.com/AdguardTeam/AdGuardHome/internal/aghnet/hostscontainer.go:240 +0x144 created by github.com/AdguardTeam/AdGuardHome/internal/aghnet.NewHostsContainer github.com/AdguardTeam/AdGuardHome/internal/aghnet/hostscontainer.go:185 +0x2c0 goroutine 26 [chan receive, 9 minutes]: github.com/AdguardTeam/AdGuardHome/internal/home.(*clientsContainer).handleHostsUpdates(0x21bf0a0) github.com/AdguardTeam/AdGuardHome/internal/home/clients.go:140 +0x64 created by github.com/AdguardTeam/AdGuardHome/internal/home.(*clientsContainer).Init github.com/AdguardTeam/AdGuardHome/internal/home/clients.go:135 +0x17c goroutine 29 [sleep, 9 minutes]: time.Sleep(0x8bb2c97000) runtime/time.go:193 +0xcc github.com/AdguardTeam/AdGuardHome/internal/home.(*clientsContainer).periodicUpdate(0x21bf0a0) github.com/AdguardTeam/AdGuardHome/internal/home/clients.go:260 +0x40 created by github.com/AdguardTeam/AdGuardHome/internal/home.(*clientsContainer).Start github.com/AdguardTeam/AdGuardHome/internal/home/clients.go:153 +0x60 goroutine 8 [chan receive]: github.com/AdguardTeam/AdGuardHome/internal/home.(*RDNS).workerLoop(0x4000225c40) github.com/AdguardTeam/AdGuardHome/internal/home/rdns.go:122 +0x80 created by github.com/AdguardTeam/AdGuardHome/internal/home.NewRDNS github.com/AdguardTeam/AdGuardHome/internal/home/rdns.go:60 +0x108 goroutine 9 [chan receive]: github.com/AdguardTeam/AdGuardHome/internal/home.(*WHOIS).workerLoop(0x4000031f50) github.com/AdguardTeam/AdGuardHome/internal/home/whois.go:249 +0x48 created by github.com/AdguardTeam/AdGuardHome/internal/home.initWHOIS github.com/AdguardTeam/AdGuardHome/internal/home/whois.go:57 +0x11c goroutine 184163 [IO wait]: internal/poll.runtime_pollWait(0xffff733c64c0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40002e4e98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x40002e4e80, 0x40002358c0, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x40002e4e80, 0x40002358c0, 0x205, 0x205, 0x84, 0x0, 0x4000801968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015bb268, 0x40002358c0, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001208648, 0x40002358c0, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001196278, 0x1ca8af0, 0x4001208648, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001196000, 0x1ca9bb0, 0x40015bb268, 0x5, 0x40015bb268, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001196000, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001196000, 0x40019dfd0e, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001196000, 0x89adb607fe, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001196000, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001196000, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 11 [IO wait]: internal/poll.runtime_pollWait(0xffff737586f0, 0x72, 0x0) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40002e4318, 0x72, 0x0, 0x0, 0x8da7fa) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0x40002e4300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:401 +0x1b0 net.(*netFD).accept(0x40002e4300, 0xffff9a3ef5b8, 0x10, 0x400147d8e0) net/fd_unix.go:172 +0x2c net.(*TCPListener).accept(0x40003e45e8, 0xa0, 0x4000594b78, 0x79238) net/tcpsock_posix.go:139 +0x2c net.(*TCPListener).Accept(0x40003e45e8, 0xa1090, 0x2353910e28e2, 0x19e86bcf, 0x4019e86bcf) net/tcpsock.go:261 +0x5c crypto/tls.(*listener).Accept(0x40003e4600, 0x4000594c20, 0x4000594c28, 0x18, 0x40003b9200) crypto/tls/tls.go:67 +0x34 net/http.(*Server).Serve(0x40003761c0, 0x1cb8830, 0x40003e4600, 0x0, 0x0) net/http/server.go:2962 +0x234 net/http.(*Server).ServeTLS(0x40003761c0, 0x1cb9dc0, 0x40003e45e8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) net/http/server.go:3034 +0x220 net/http.(*Server).ListenAndServeTLS(0x40003761c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) net/http/server.go:3189 +0xfc github.com/AdguardTeam/AdGuardHome/internal/home.(*Web).tlsServerLoop(0x4000377500) github.com/AdguardTeam/AdGuardHome/internal/home/web.go:277 +0x378 created by github.com/AdguardTeam/AdGuardHome/internal/home.(*Web).Start github.com/AdguardTeam/AdGuardHome/internal/home/web.go:161 +0x70 goroutine 12 [IO wait, 9 minutes]: internal/poll.runtime_pollWait(0xffff737587d8, 0x72, 0x0) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40002e4218, 0x72, 0x0, 0x0, 0x8da7fa) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0x40002e4200, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:401 +0x1b0 net.(*netFD).accept(0x40002e4200, 0xffff9a3ef108, 0x30, 0x400024e690) net/fd_unix.go:172 +0x2c net.(*TCPListener).accept(0x40003e45a0, 0x14f0cc, 0x30, 0x86ae80) net/tcpsock_posix.go:139 +0x2c net.(*TCPListener).Accept(0x40003e45a0, 0x400024e690, 0x1be0900, 0x4000376160, 0x7c2f40) net/tcpsock.go:261 +0x5c net/http.(*Server).Serve(0x40003760e0, 0x1cb9dc0, 0x40003e45a0, 0x0, 0x0) net/http/server.go:2962 +0x234 net/http.(*Server).ListenAndServe(0x40003760e0, 0x0, 0x0) net/http/server.go:2891 +0xb0 github.com/AdguardTeam/AdGuardHome/internal/home.(*Web).Start.func1(0x400006a660, 0x4000377500) github.com/AdguardTeam/AdGuardHome/internal/home/web.go:181 +0x64 created by github.com/AdguardTeam/AdGuardHome/internal/home.(*Web).Start github.com/AdguardTeam/AdGuardHome/internal/home/web.go:178 +0x2b8 goroutine 30 [IO wait, 9 minutes]: internal/poll.runtime_pollWait(0xffff73757fb0, 0x72, 0x400013a810) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40002e4398, 0x72, 0x0, 0x0, 0x0) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).RawRead(0x40002e4380, 0x40002c8780, 0x0, 0x0) internal/poll/fd_unix.go:553 +0xe4 net.(*rawConn).Read(0x40000ae3f0, 0x40002c8780, 0x8, 0x8) net/rawconn.go:43 +0x60 golang.org/x/net/internal/socket.(*Conn).recvMsgs(0x40003583a0, 0x400025e840, 0x8, 0x8, 0x0, 0x0, 0x0, 0x0) golang.org/x/net@v0.0.0-20211216030914-fe4d6282115f/internal/socket/rawconn_mmsg.go:32 +0x1b8 golang.org/x/net/internal/socket.(*Conn).RecvMsgs(...) golang.org/x/net@v0.0.0-20211216030914-fe4d6282115f/internal/socket/socket.go:267 golang.org/x/net/ipv4.(*payloadHandler).ReadBatch(0x40000c2150, 0x400025e840, 0x8, 0x8, 0x0, 0x0, 0x0, 0x0) golang.org/x/net@v0.0.0-20211216030914-fe4d6282115f/ipv4/batch.go:80 +0x90 github.com/lucas-clemente/quic-go.(*oobConn).ReadPacket(0x40002e4400, 0x1caaf90, 0x40003e45d0, 0xe) github.com/lucas-clemente/quic-go@v0.24.0/conn_oob.go:150 +0x1ec github.com/lucas-clemente/quic-go.(*packetHandlerMap).listen(0x40000d4580) github.com/lucas-clemente/quic-go@v0.24.0/packet_handler_map.go:329 +0x64 created by github.com/lucas-clemente/quic-go.newPacketHandlerMap github.com/lucas-clemente/quic-go@v0.24.0/packet_handler_map.go:145 +0x22c goroutine 31 [select, 9 minutes]: github.com/lucas-clemente/quic-go.(*baseServer).run(0x40000d4630) github.com/lucas-clemente/quic-go@v0.24.0/server.go:230 +0xb8 created by github.com/lucas-clemente/quic-go.listen github.com/lucas-clemente/quic-go@v0.24.0/server.go:216 +0x420 goroutine 32 [IO wait, 5 minutes]: internal/poll.runtime_pollWait(0xffff73758608, 0x72, 0x28) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40002e4018, 0x72, 0xff00, 0xffff, 0x40013d8ea0) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).ReadMsg(0x40002e4000, 0x4000501f50, 0xffff, 0xffff, 0x40013d8ea0, 0x28, 0x28, 0x0, 0x0, 0x0, ...) internal/poll/fd_unix.go:249 +0x19c net.(*netFD).readMsg(0x40002e4000, 0x4000501f50, 0xffff, 0xffff, 0x40013d8ea0, 0x28, 0x28, 0x20, 0x4000501d28, 0x336b00, ...) net/fd_posix.go:67 +0x5c net.(*UDPConn).readMsg(0x40000ae148, 0x4000501f50, 0xffff, 0xffff, 0x40013d8ea0, 0x28, 0x28, 0xffff9a3ef5b8, 0x30, 0x40013d8ea0, ...) net/udpsock_posix.go:59 +0x5c net.(*UDPConn).ReadMsgUDP(0x40000ae148, 0x4000501f50, 0xffff, 0xffff, 0x40013d8ea0, 0x28, 0x28, 0x5d827c, 0x4000501e88, 0x4000501f50, ...) net/udpsock.go:139 +0x60 github.com/AdguardTeam/dnsproxy/proxyutil.udpRead(0x40000ae148, 0x4000501f50, 0xffff, 0xffff, 0x28, 0x24, 0x4001b43a60, 0x4, 0x4, 0x40010b79e0, ...) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/udp_unix.go:68 +0x74 github.com/AdguardTeam/dnsproxy/proxyutil.UDPRead(...) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/udp.go:25 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).udpPacketLoop(0x400009c700, 0x40000ae148, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_udp.go:67 +0x14c created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).startListeners github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server.go:46 +0x118 goroutine 33 [IO wait, 9 minutes]: internal/poll.runtime_pollWait(0xffff73758520, 0x72, 0x0) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40002e4118, 0x72, 0x0, 0x0, 0x8da7fa) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0x40002e4100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:401 +0x1b0 net.(*netFD).accept(0x40002e4100, 0x36, 0x40002a4390, 0x4000672480) net/fd_unix.go:172 +0x2c net.(*TCPListener).accept(0x40003e4120, 0x40, 0x10, 0x796840) net/tcpsock_posix.go:139 +0x2c net.(*TCPListener).Accept(0x40003e4120, 0x4, 0x0, 0x0, 0x907394) net/tcpsock.go:261 +0x5c github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop(0x400009c700, 0x1cb9dc0, 0x40003e4120, 0x8d6d86, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:58 +0x120 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).startListeners github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server.go:50 +0x1b4 goroutine 34 [IO wait]: internal/poll.runtime_pollWait(0xffff73758098, 0x72, 0x0) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40002e4198, 0x72, 0x0, 0x0, 0x8da7fa) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0x40002e4180, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:401 +0x1b0 net.(*netFD).accept(0x40002e4180, 0xffff9a3ef5b8, 0x10, 0x4000401c40) net/fd_unix.go:172 +0x2c net.(*TCPListener).accept(0x40003e4138, 0x210670, 0x10, 0x7fa4e0) net/tcpsock_posix.go:139 +0x2c net.(*TCPListener).Accept(0x40003e4138, 0x5d6cfc, 0x400033bea8, 0x0, 0x73f60) net/tcpsock.go:261 +0x5c crypto/tls.(*listener).Accept(0x40003e4150, 0x1bdeff8, 0x400009c700, 0x1cc5750, 0x40002fee00) crypto/tls/tls.go:67 +0x34 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop(0x400009c700, 0x1cb8830, 0x40003e4150, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:58 +0x120 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).startListeners github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server.go:54 +0x24c goroutine 35 [select, 9 minutes]: github.com/lucas-clemente/quic-go.(*baseServer).accept(0x40000d4630, 0x1cbd280, 0x40000aa018, 0x400039a000, 0x41, 0x50, 0x40002e4480) github.com/lucas-clemente/quic-go@v0.24.0/server.go:268 +0x8c github.com/lucas-clemente/quic-go.(*baseServer).Accept(0x40000d4630, 0x1cbd280, 0x40000aa018, 0x0, 0x91235d, 0x2e, 0x400058ef88) github.com/lucas-clemente/quic-go@v0.24.0/server.go:264 +0x38 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).quicPacketLoop(0x400009c700, 0x1cb9ac0, 0x40000d4630, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_quic.go:54 +0xec created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).startListeners github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server.go:62 +0x368 goroutine 36 [chan receive, 9 minutes]: github.com/AdguardTeam/AdGuardHome/internal/filtering.(*DNSFilter).filtersInitializer(0x40003b8600) github.com/AdguardTeam/AdGuardHome/internal/filtering/filtering.go:338 +0x40 created by github.com/AdguardTeam/AdGuardHome/internal/filtering.(*DNSFilter).Start github.com/AdguardTeam/AdGuardHome/internal/filtering/filtering.go:982 +0x70 goroutine 37 [sleep, 9 minutes]: time.Sleep(0x34630b8a000) runtime/time.go:193 +0xcc github.com/AdguardTeam/AdGuardHome/internal/home.(*Filtering).periodicallyRefreshFilters(0x21bf138) github.com/AdguardTeam/AdGuardHome/internal/home/filter.go:263 +0x3c created by github.com/AdguardTeam/AdGuardHome/internal/home.(*Filtering).Start github.com/AdguardTeam/AdGuardHome/internal/home/filter.go:52 +0x48 goroutine 38 [sleep]: time.Sleep(0x3b9aca00) runtime/time.go:193 +0xcc github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).periodicFlush(0x400017f9e0) github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:305 +0x6c created by github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).Start github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:183 +0x48 goroutine 39 [chan receive, 9 minutes]: github.com/AdguardTeam/AdGuardHome/internal/querylog.(*queryLog).periodicRotate(0x40002e5300) github.com/AdguardTeam/AdGuardHome/internal/querylog/querylogfile.go:150 +0xe0 created by github.com/AdguardTeam/AdGuardHome/internal/querylog.(*queryLog).Start github.com/AdguardTeam/AdGuardHome/internal/querylog/qlog.go:105 +0x48 goroutine 183790 [IO wait]: internal/poll.runtime_pollWait(0xffff732723d8, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000de3698, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000de3680, 0x40011c0480, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000de3680, 0x40011c0480, 0x205, 0x205, 0x92, 0x0, 0x400222d968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000ea40, 0x40011c0480, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400172d878, 0x40011c0480, 0x205, 0x205, 0x400004c800, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40019425f8, 0x1ca8af0, 0x400172d878, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001942380, 0x1ca9bb0, 0x400000ea40, 0x5, 0x400000ea40, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001942380, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001942380, 0x4002203d6e, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001942380, 0x8ab4583c15, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001942380, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001942380, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 185932 [IO wait]: internal/poll.runtime_pollWait(0xffff732771b8, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001096098, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001096080, 0x40008ce900, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001096080, 0x40008ce900, 0x205, 0x205, 0x89, 0x0, 0x4001007968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba3d8, 0x40008ce900, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001830690, 0x40008ce900, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40000f7e78, 0x1ca8af0, 0x4001830690, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40000f7c00, 0x1ca9bb0, 0x40015ba3d8, 0x5, 0x40015ba3d8, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40000f7c00, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40000f7c00, 0x40006e9b6a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40000f7c00, 0x8abd6258ab, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40000f7c00, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40000f7c00, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 183623 [IO wait]: internal/poll.runtime_pollWait(0xffff73384b00, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4002263798, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4002263780, 0x4001a16900, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4002263780, 0x4001a16900, 0x205, 0x205, 0x63, 0x0, 0x40003bd968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e388, 0x4001a16900, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001831b00, 0x4001a16900, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001598978, 0x1ca8af0, 0x4001831b00, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001598700, 0x1ca9bb0, 0x400000e388, 0x5, 0x400000e388, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001598700, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001598700, 0x40007a754a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001598700, 0x89563bd60e, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001598700, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001598700, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 185919 [IO wait]: internal/poll.runtime_pollWait(0xffff733844a8, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40023a8b98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x40023a8b80, 0x4000d786c0, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x40023a8b80, 0x4000d786c0, 0x205, 0x205, 0x53, 0x0, 0x4001a37968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e708, 0x4000d786c0, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400172dab8, 0x4000d786c0, 0x205, 0x205, 0x400004c800, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001cb2978, 0x1ca8af0, 0x400172dab8, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001cb2700, 0x1ca9bb0, 0x400000e708, 0x5, 0x400000e708, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001cb2700, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001cb2700, 0x400067096a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001cb2700, 0x8ab4d13a91, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001cb2700, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001cb2700, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 186556 [IO wait]: internal/poll.runtime_pollWait(0xffff73465790, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40023a9c18, 0x72, 0x600, 0x665, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x40023a9c00, 0x4001721100, 0x665, 0x665, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x40023a9c00, 0x4001721100, 0x665, 0x665, 0xb4, 0x0, 0x400086b968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000f9b0, 0x4001721100, 0x665, 0x665, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x40003e4a68, 0x4001721100, 0x665, 0x665, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40010be978, 0x1ca8af0, 0x40003e4a68, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40010be700, 0x1ca9bb0, 0x400000f9b0, 0x5, 0x400000f9b0, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40010be700, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40010be700, 0x400169082c, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40010be700, 0x8b0feb3dd3, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40010be700, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40010be700, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 187120 [IO wait]: internal/poll.runtime_pollWait(0xffff732ade38, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x400182c698, 0x72, 0x2000, 0x2000, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x400182c680, 0x400041e000, 0x2000, 0x2000, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x400182c680, 0x400041e000, 0x2000, 0x2000, 0x1, 0x0, 0x4002177a28) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000f520, 0x400041e000, 0x2000, 0x2000, 0x0, 0x0, 0x0) net/net.go:183 +0x74 github.com/miekg/dns.(*Conn).Read(0x40012ce3c0, 0x400041e000, 0x2000, 0x2000, 0x400000f520, 0x1, 0x80) github.com/miekg/dns@v1.1.45/client.go:327 +0x1e0 github.com/miekg/dns.(*Conn).ReadMsgHeader(0x40012ce3c0, 0x0, 0x4002177bc8, 0x1a3ac, 0x400001e000, 0x822800, 0x8b5440) github.com/miekg/dns@v1.1.45/client.go:291 +0xa0 github.com/miekg/dns.(*Conn).ReadMsg(0x40012ce3c0, 0x1cc7328, 0x400000f520, 0x1cc47c8) github.com/miekg/dns@v1.1.45/client.go:249 +0x2c github.com/miekg/dns.(*Client).exchangeContext(0x400182c480, 0x1cbd280, 0x40000aa018, 0x4000298360, 0x40012ce3c0, 0x21bed40, 0x0, 0x4000401780, 0x4001748618) github.com/miekg/dns@v1.1.45/client.go:226 +0x270 github.com/miekg/dns.(*Client).exchangeWithConnContext(0x400182c480, 0x1cbd280, 0x40000aa018, 0x4000298360, 0x40012ce3c0, 0x0, 0x0, 0x0, 0x0) github.com/miekg/dns@v1.1.45/client.go:175 +0x1dc github.com/miekg/dns.(*Client).ExchangeWithConn(0x400182c480, 0x4000298360, 0x40012ce3c0, 0x4000222130, 0xa, 0x40012ce3c0, 0x0) github.com/miekg/dns@v1.1.45/client.go:170 +0x54 github.com/miekg/dns.(*Client).Exchange(0x400182c480, 0x4000298360, 0x4000222130, 0xa, 0x0, 0x0, 0x0, 0x0) github.com/miekg/dns@v1.1.45/client.go:150 +0xd4 github.com/AdguardTeam/dnsproxy/upstream.(*plainDNS).Exchange(0x4000358320, 0x4000298360, 0x4000298360, 0x7bcf8, 0x1be0700) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/upstream_plain.go:42 +0x288 github.com/AdguardTeam/dnsproxy/upstream.exchangeAsync(0x1cb2d08, 0x4000358320, 0x40022ed170, 0x40010dade0) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/parallel.go:117 +0x54 created by github.com/AdguardTeam/dnsproxy/upstream.ExchangeParallel github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/parallel.go:45 +0xa4 goroutine 183517 [IO wait]: internal/poll.runtime_pollWait(0xffff732abbd8, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40008a2918, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x40008a2900, 0x4001fabd40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x40008a2900, 0x4001fabd40, 0x205, 0x205, 0x4a, 0x0, 0x4001c7f968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000ee60, 0x4001fabd40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001830300, 0x4001fabd40, 0x205, 0x205, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40010bf078, 0x1ca8af0, 0x4001830300, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40010bee00, 0x1ca9bb0, 0x400000ee60, 0x5, 0x400000ee60, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40010bee00, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40010bee00, 0x4001a80f2e, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40010bee00, 0x894d31afef, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40010bee00, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40010bee00, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 181153 [IO wait]: internal/poll.runtime_pollWait(0xffff73382f80, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000de2c98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000de2c80, 0x4001c3bd40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000de2c80, 0x4001c3bd40, 0x205, 0x205, 0x70, 0x0, 0x4001cdd968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba240, 0x4001c3bd40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400038fc38, 0x4001c3bd40, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000e55778, 0x1ca8af0, 0x400038fc38, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000e55500, 0x1ca9bb0, 0x40015ba240, 0x5, 0x40015ba240, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000e55500, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000e55500, 0x4000670ece, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000e55500, 0x8a73daa3b7, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000e55500, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000e55500, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 182361 [IO wait]: internal/poll.runtime_pollWait(0xffff733c7550, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4002303b98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4002303b80, 0x4001a57b00, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4002303b80, 0x4001a57b00, 0x205, 0x205, 0x5b, 0x0, 0x4001673968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba3b0, 0x4001a57b00, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001fe4708, 0x4001a57b00, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001c8f3f8, 0x1ca8af0, 0x4001fe4708, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001c8f180, 0x1ca9bb0, 0x40015ba3b0, 0x5, 0x40015ba3b0, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001c8f180, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001c8f180, 0x40006f937c, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001c8f180, 0x8aeddd3180, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001c8f180, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001c8f180, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 180002 [IO wait]: internal/poll.runtime_pollWait(0xffff7326ef70, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001096e18, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001096e00, 0x4001dee240, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001096e00, 0x4001dee240, 0x205, 0x205, 0x65, 0x0, 0x4001cd7968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba488, 0x4001dee240, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400148d4a0, 0x4001dee240, 0x205, 0x205, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001582978, 0x1ca8af0, 0x400148d4a0, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001582700, 0x1ca9bb0, 0x40015ba488, 0x5, 0x40015ba488, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001582700, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001582700, 0x40027a5c0e, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001582700, 0x8b8e80d4bf, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001582700, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001582700, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 187011 [IO wait]: internal/poll.runtime_pollWait(0xffff73270288, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40023a8b18, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x40023a8b00, 0x4001bc66c0, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x40023a8b00, 0x4001bc66c0, 0x205, 0x205, 0x5d, 0x0, 0x4001061968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40000aeda8, 0x4001bc66c0, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4002684a08, 0x4001bc66c0, 0x205, 0x205, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40015cc978, 0x1ca8af0, 0x4002684a08, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40015cc700, 0x1ca9bb0, 0x40000aeda8, 0x5, 0x40000aeda8, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40015cc700, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40015cc700, 0x400268854a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40015cc700, 0x8b75ac5ddd, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40015cc700, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40015cc700, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 183134 [IO wait]: internal/poll.runtime_pollWait(0xffff733d6300, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40023a8318, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x40023a8300, 0x4001343680, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x40023a8300, 0x4001343680, 0x205, 0x205, 0x45, 0x0, 0x40007b3968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e210, 0x4001343680, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001ab2f18, 0x4001343680, 0x205, 0x205, 0x400004c800, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001582278, 0x1ca8af0, 0x4001ab2f18, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001582000, 0x1ca9bb0, 0x400000e210, 0x5, 0x400000e210, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001582000, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001582000, 0x40018d5c2a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001582000, 0x8b4fc4733a, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001582000, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001582000, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 183450 [IO wait]: internal/poll.runtime_pollWait(0xffff73273820, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001913518, 0x72, 0x600, 0x665, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001913500, 0x400195a300, 0x665, 0x665, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001913500, 0x400195a300, 0x665, 0x665, 0x4f, 0x0, 0x40004a1968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015bab30, 0x400195a300, 0x665, 0x665, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400150ca50, 0x400195a300, 0x665, 0x665, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000554978, 0x1ca8af0, 0x400150ca50, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000554700, 0x1ca9bb0, 0x40015bab30, 0x5, 0x40015bab30, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000554700, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000554700, 0x40017b756a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000554700, 0x894530a94f, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000554700, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000554700, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 184226 [IO wait]: internal/poll.runtime_pollWait(0xffff7326e660, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x400218bc98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x400218bc80, 0x4000e04b40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x400218bc80, 0x4000e04b40, 0x205, 0x205, 0x14c, 0x0, 0x4001e8d968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015bb3b8, 0x4000e04b40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400036cc78, 0x4000e04b40, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001803778, 0x1ca8af0, 0x400036cc78, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001803500, 0x1ca9bb0, 0x40015bb3b8, 0x5, 0x40015bb3b8, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001803500, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001803500, 0x40016910aa, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001803500, 0x89f953f250, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001803500, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001803500, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 184153 [IO wait]: internal/poll.runtime_pollWait(0xffff733c79d8, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001a4e798, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001a4e780, 0x4000d166c0, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001a4e780, 0x4000d166c0, 0x205, 0x205, 0x5d, 0x0, 0x4001cdb968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000f200, 0x4000d166c0, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400026eea0, 0x4000d166c0, 0x205, 0x205, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x400012c5f8, 0x1ca8af0, 0x400026eea0, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x400012c380, 0x1ca9bb0, 0x400000f200, 0x5, 0x400000f200, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x400012c380, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x400012c380, 0x40013df62e, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x400012c380, 0x89b166bc74, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x400012c380, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x400012c380, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 185772 [IO wait]: internal/poll.runtime_pollWait(0xffff733c52a0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40013e6718, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x40013e6700, 0x40020fbd40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x40013e6700, 0x40020fbd40, 0x205, 0x205, 0xd3, 0x0, 0x4001433968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba110, 0x40020fbd40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400172c528, 0x40020fbd40, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40000f65f8, 0x1ca8af0, 0x400172c528, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40000f6380, 0x1ca9bb0, 0x40015ba110, 0x5, 0x40015ba110, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40000f6380, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40000f6380, 0x400220255a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40000f6380, 0x8aa0a02ad6, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40000f6380, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40000f6380, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 187094 [IO wait]: internal/poll.runtime_pollWait(0xffff73272fa0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000824a18, 0x72, 0x2000, 0x2000, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000824a00, 0x400287e000, 0x2000, 0x2000, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000824a00, 0x400287e000, 0x2000, 0x2000, 0x1, 0x0, 0x40016f8a28) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40000ae698, 0x400287e000, 0x2000, 0x2000, 0x0, 0x0, 0x0) net/net.go:183 +0x74 github.com/miekg/dns.(*Conn).Read(0x4001911e40, 0x400287e000, 0x2000, 0x2000, 0x40000ae698, 0x1, 0x80) github.com/miekg/dns@v1.1.45/client.go:327 +0x1e0 github.com/miekg/dns.(*Conn).ReadMsgHeader(0x4001911e40, 0x0, 0x40016f8bc8, 0x1a3ac, 0x400001e000, 0x822800, 0x8b5440) github.com/miekg/dns@v1.1.45/client.go:291 +0xa0 github.com/miekg/dns.(*Conn).ReadMsg(0x4001911e40, 0x1cc7328, 0x40000ae698, 0x1cc47c8) github.com/miekg/dns@v1.1.45/client.go:249 +0x2c github.com/miekg/dns.(*Client).exchangeContext(0x4000824880, 0x1cbd280, 0x40000aa018, 0x40022ec630, 0x4001911e40, 0x21bed40, 0x0, 0x4001bcd970, 0x4001747e18) github.com/miekg/dns@v1.1.45/client.go:226 +0x270 github.com/miekg/dns.(*Client).exchangeWithConnContext(0x4000824880, 0x1cbd280, 0x40000aa018, 0x40022ec630, 0x4001911e40, 0x0, 0x0, 0x0, 0x0) github.com/miekg/dns@v1.1.45/client.go:175 +0x1dc github.com/miekg/dns.(*Client).ExchangeWithConn(0x4000824880, 0x40022ec630, 0x4001911e40, 0x4000222020, 0xa, 0x4001911e40, 0x0) github.com/miekg/dns@v1.1.45/client.go:170 +0x54 github.com/miekg/dns.(*Client).Exchange(0x4000824880, 0x40022ec630, 0x4000222020, 0xa, 0x0, 0x0, 0x0, 0x0) github.com/miekg/dns@v1.1.45/client.go:150 +0xd4 github.com/AdguardTeam/dnsproxy/upstream.(*plainDNS).Exchange(0x400017ffc0, 0x40022ec630, 0x40022ec630, 0x1cc5750, 0x4000016001) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/upstream_plain.go:42 +0x288 github.com/AdguardTeam/dnsproxy/upstream.exchangeAsync(0x1cb2d08, 0x400017ffc0, 0x40021995f0, 0x4001b890e0) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/parallel.go:117 +0x54 created by github.com/AdguardTeam/dnsproxy/upstream.ExchangeParallel github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/parallel.go:45 +0xa4 goroutine 180276 [IO wait]: internal/poll.runtime_pollWait(0xffff733b8360, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001a4ea98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001a4ea80, 0x40008e6480, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001a4ea80, 0x40008e6480, 0x205, 0x205, 0x8e, 0x0, 0x4001439968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000eb20, 0x40008e6480, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400148cd08, 0x40008e6480, 0x205, 0x205, 0x400004c800, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000241e78, 0x1ca8af0, 0x400148cd08, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000241c00, 0x1ca9bb0, 0x400000eb20, 0x5, 0x400000eb20, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000241c00, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000241c00, 0x400189ec5e, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000241c00, 0x8b3d0ee908, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000241c00, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000241c00, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 180663 [IO wait]: internal/poll.runtime_pollWait(0xffff7326eda0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001912c18, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001912c00, 0x40015eab40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001912c00, 0x40015eab40, 0x205, 0x205, 0x67, 0x0, 0x4001fdf968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e568, 0x40015eab40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001ab38f0, 0x40015eab40, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001599e78, 0x1ca8af0, 0x4001ab38f0, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001599c00, 0x1ca9bb0, 0x400000e568, 0x5, 0x400000e568, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001599c00, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001599c00, 0x40017b7cce, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001599c00, 0x8affa4daeb, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001599c00, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001599c00, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 183228 [IO wait]: internal/poll.runtime_pollWait(0xffff73375230, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4002303b18, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4002303b00, 0x40019d0d80, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4002303b00, 0x40019d0d80, 0x205, 0x205, 0x56, 0x0, 0x40003cb968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba498, 0x40019d0d80, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x40017e3068, 0x40019d0d80, 0x205, 0x205, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001197778, 0x1ca8af0, 0x40017e3068, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001197500, 0x1ca9bb0, 0x40015ba498, 0x5, 0x40015ba498, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001197500, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001197500, 0x4002202dba, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001197500, 0x89d528d8e5, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001197500, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001197500, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 172252 [IO wait]: internal/poll.runtime_pollWait(0xffff733b80a8, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001f4af18, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001f4af00, 0x40020fb8c0, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001f4af00, 0x40020fb8c0, 0x205, 0x205, 0x49, 0x0, 0x400084d968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e3c8, 0x40020fb8c0, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001ab24e0, 0x40020fb8c0, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000ccfaf8, 0x1ca8af0, 0x4001ab24e0, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000ccf880, 0x1ca9bb0, 0x400000e3c8, 0x5, 0x400000e3c8, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000ccf880, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000ccf880, 0x400057a49a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000ccf880, 0x89f4618c6f, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000ccf880, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000ccf880, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 184229 [IO wait]: internal/poll.runtime_pollWait(0xffff73272b18, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000156618, 0x72, 0x600, 0x665, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000156600, 0x4001958700, 0x665, 0x665, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000156600, 0x4001958700, 0x665, 0x665, 0x5b, 0x0, 0x4001a6b968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015bb430, 0x4001958700, 0x665, 0x665, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001fe47c8, 0x4001958700, 0x665, 0x665, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x400069ecf8, 0x1ca8af0, 0x4001fe47c8, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x400069ea80, 0x1ca9bb0, 0x40015bb430, 0x5, 0x40015bb430, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x400069ea80, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x400069ea80, 0x40017e696a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x400069ea80, 0x8b3fa7140b, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x400069ea80, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x400069ea80, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 147264 [IO wait]: internal/poll.runtime_pollWait(0xffff733c7ac0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001f00b98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001f00b80, 0x40016bdd40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001f00b80, 0x40016bdd40, 0x205, 0x205, 0x58, 0x0, 0x4001671968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015bae68, 0x40016bdd40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400040b488, 0x40016bdd40, 0x205, 0x205, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000429e78, 0x1ca8af0, 0x400040b488, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000429c00, 0x1ca9bb0, 0x40015bae68, 0x5, 0x40015bae68, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000429c00, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000429c00, 0x4001b425da, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000429c00, 0x8b2592a7f7, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000429c00, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000429c00, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 186029 [IO wait]: internal/poll.runtime_pollWait(0xffff732ae0f0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000f72298, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000f72280, 0x4001399200, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000f72280, 0x4001399200, 0x205, 0x205, 0xbc, 0x0, 0x400056b968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba5e0, 0x4001399200, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001831c68, 0x4001399200, 0x205, 0x205, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x400012c978, 0x1ca8af0, 0x4001831c68, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x400012c700, 0x1ca9bb0, 0x40015ba5e0, 0x5, 0x40015ba5e0, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x400012c700, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x400012c700, 0x4001c356fe, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x400012c700, 0x8acb65f6fc, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x400012c700, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x400012c700, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 117451 [IO wait]: internal/poll.runtime_pollWait(0xffff733d5ca8, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x400182d818, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x400182d800, 0x40007e9d40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x400182d800, 0x40007e9d40, 0x205, 0x205, 0x57, 0x0, 0x4001ba9968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e310, 0x40007e9d40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001ab22a0, 0x40007e9d40, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000e54278, 0x1ca8af0, 0x4001ab22a0, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000e54000, 0x1ca9bb0, 0x400000e310, 0x5, 0x400000e310, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000e54000, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000e54000, 0x400072dc1a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000e54000, 0x89f417e535, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000e54000, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000e54000, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 185224 [IO wait]: internal/poll.runtime_pollWait(0xffff73397308, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001912498, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001912480, 0x4000cfbd40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001912480, 0x4000cfbd40, 0x205, 0x205, 0x59, 0x0, 0x4000439968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba260, 0x4000cfbd40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400038f1a0, 0x4000cfbd40, 0x205, 0x205, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001f99778, 0x1ca8af0, 0x400038f1a0, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001f99500, 0x1ca9bb0, 0x40015ba260, 0x5, 0x40015ba260, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001f99500, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001f99500, 0x400220354a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001f99500, 0x8a569d6c1d, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001f99500, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001f99500, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 185183 [IO wait]: internal/poll.runtime_pollWait(0xffff732ae008, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x400114b498, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x400114b480, 0x40003a66c0, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x400114b480, 0x40003a66c0, 0x205, 0x205, 0x47, 0x0, 0x40003f1968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000f598, 0x40003a66c0, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400038ee10, 0x40003a66c0, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000dec978, 0x1ca8af0, 0x400038ee10, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000dec700, 0x1ca9bb0, 0x400000f598, 0x5, 0x400000f598, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000dec700, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000dec700, 0x4002202cba, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000dec700, 0x8a545f2856, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000dec700, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000dec700, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 184497 [IO wait]: internal/poll.runtime_pollWait(0xffff732ac7a0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000f72718, 0x72, 0x2000, 0x2000, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000f72700, 0x400085c000, 0x2000, 0x2000, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000f72700, 0x400085c000, 0x2000, 0x2000, 0x1, 0x0, 0x4000f88a28) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e5e8, 0x400085c000, 0x2000, 0x2000, 0x0, 0x0, 0x0) net/net.go:183 +0x74 github.com/miekg/dns.(*Conn).Read(0x4001efca00, 0x400085c000, 0x2000, 0x2000, 0x400000e5e8, 0x1, 0x80) github.com/miekg/dns@v1.1.45/client.go:327 +0x1e0 github.com/miekg/dns.(*Conn).ReadMsgHeader(0x4001efca00, 0x0, 0x4000f88bc8, 0x1a3ac, 0x400001e000, 0x822800, 0x8b5440) github.com/miekg/dns@v1.1.45/client.go:291 +0xa0 github.com/miekg/dns.(*Conn).ReadMsg(0x4001efca00, 0x1cc7328, 0x400000e5e8, 0x1cc47c8) github.com/miekg/dns@v1.1.45/client.go:249 +0x2c github.com/miekg/dns.(*Client).exchangeContext(0x4000f72580, 0x1cbd280, 0x40000aa018, 0x4000299290, 0x4001efca00, 0x21bed40, 0x0, 0x400230a170, 0x40003abe18) github.com/miekg/dns@v1.1.45/client.go:226 +0x270 github.com/miekg/dns.(*Client).exchangeWithConnContext(0x4000f72580, 0x1cbd280, 0x40000aa018, 0x4000299290, 0x4001efca00, 0x0, 0x0, 0x0, 0x0) github.com/miekg/dns@v1.1.45/client.go:175 +0x1dc github.com/miekg/dns.(*Client).ExchangeWithConn(0x4000f72580, 0x4000299290, 0x4001efca00, 0x4000222140, 0xa, 0x4001efca00, 0x0) github.com/miekg/dns@v1.1.45/client.go:170 +0x54 github.com/miekg/dns.(*Client).Exchange(0x4000f72580, 0x4000299290, 0x4000222140, 0xa, 0x0, 0x0, 0x0, 0x0) github.com/miekg/dns@v1.1.45/client.go:150 +0xd4 github.com/AdguardTeam/dnsproxy/upstream.(*plainDNS).Exchange(0x4000358360, 0x4000299290, 0x4000299290, 0x7bcf8, 0x0) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/upstream_plain.go:42 +0x288 github.com/AdguardTeam/dnsproxy/upstream.exchangeAsync(0x1cb2d08, 0x4000358360, 0x4000299170, 0x40014e5440) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/parallel.go:117 +0x54 created by github.com/AdguardTeam/dnsproxy/upstream.ExchangeParallel github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/parallel.go:45 +0xa4 goroutine 184727 [IO wait]: internal/poll.runtime_pollWait(0xffff7326f5d8, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000824d98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000824d80, 0x40011c1200, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000824d80, 0x40011c1200, 0x205, 0x205, 0x66, 0x0, 0x4001ccb968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000fc48, 0x40011c1200, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001208798, 0x40011c1200, 0x205, 0x205, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001942278, 0x1ca8af0, 0x4001208798, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001942000, 0x1ca9bb0, 0x400000fc48, 0x5, 0x400000fc48, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001942000, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001942000, 0x40017b6cac, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001942000, 0x8a11278d7d, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001942000, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001942000, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 179932 [IO wait]: internal/poll.runtime_pollWait(0xffff732ae918, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001912f98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001912f80, 0x4001a2f8c0, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001912f80, 0x4001a2f8c0, 0x205, 0x205, 0xa5, 0x0, 0x4000e13968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba348, 0x4001a2f8c0, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400172d200, 0x4001a2f8c0, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40015cdaf8, 0x1ca8af0, 0x400172d200, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40015cd880, 0x1ca9bb0, 0x40015ba348, 0x5, 0x40015ba348, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40015cd880, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40015cd880, 0x400242abfa, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40015cd880, 0x8b8ffc7118, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40015cd880, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40015cd880, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 185332 [IO wait]: internal/poll.runtime_pollWait(0xffff732751a0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000de3398, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000de3380, 0x4001a56fc0, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000de3380, 0x4001a56fc0, 0x205, 0x205, 0x61, 0x0, 0x4001c83968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e1a0, 0x4001a56fc0, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001ab3050, 0x4001a56fc0, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40016cbaf8, 0x1ca8af0, 0x4001ab3050, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40016cb880, 0x1ca9bb0, 0x400000e1a0, 0x5, 0x400000e1a0, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40016cb880, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40016cb880, 0x4001c3568a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40016cb880, 0x8a699870c8, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40016cb880, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40016cb880, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 187114 [select]: golang.org/x/net/http2.(*ClientConn).RoundTrip(0x4001d35c80, 0x4001a4aa00, 0x40027cb501, 0x16, 0x4001d35c80) golang.org/x/net@v0.0.0-20211216030914-fe4d6282115f/http2/transport.go:1155 +0x300 golang.org/x/net/http2.(*Transport).RoundTripOpt(0x40004e6100, 0x4001a4aa00, 0x7cdc00, 0x40003a0600, 0x4001c220e0, 0x5) golang.org/x/net@v0.0.0-20211216030914-fe4d6282115f/http2/transport.go:499 +0x16c golang.org/x/net/http2.(*Transport).RoundTrip(...) golang.org/x/net@v0.0.0-20211216030914-fe4d6282115f/http2/transport.go:460 golang.org/x/net/http2.noDialH2RoundTripper.RoundTrip(0x40004e6100, 0x4001a4aa00, 0x1caadd0, 0x40004e6100, 0x0) golang.org/x/net@v0.0.0-20211216030914-fe4d6282115f/http2/transport.go:2961 +0x34 net/http.(*Transport).roundTrip(0x4000d31040, 0x4001a4aa00, 0x40015dd6b0, 0x0, 0x400242a8b8) net/http/transport.go:537 +0xa44 net/http.(*Transport).RoundTrip(0x4000d31040, 0x4001a4aa00, 0x4000d31040, 0xc081be4ae44a831f, 0x8b8f8cd185) net/http/roundtrip.go:17 +0x30 net/http.send(0x4001a4a900, 0x1ca9c70, 0x4000d31040, 0xc081be4ae44a831f, 0x8b8f8cd185, 0x21bed40, 0x0, 0x400000e590, 0x40015dd5f0, 0x1) net/http/client.go:251 +0x348 net/http.(*Client).send(0x40003a06c0, 0x4001a4a900, 0xc081be4ae44a831f, 0x8b8f8cd185, 0x21bed40, 0x400000e590, 0x0, 0x1, 0x2720bc8) net/http/client.go:175 +0xc8 net/http.(*Client).do(0x40003a06c0, 0x4001a4a900, 0x0, 0x0, 0x0) net/http/client.go:717 +0x33c net/http.(*Client).Do(...) net/http/client.go:585 github.com/AdguardTeam/dnsproxy/upstream.(*dnsOverHTTPS).exchangeHTTPSClient(0x40003c3ba8, 0x4000298120, 0x40003a06c0, 0x0, 0x0, 0x0) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/upstream_doh.go:83 +0x318 github.com/AdguardTeam/dnsproxy/upstream.(*dnsOverHTTPS).Exchange(0x40003c3ba8, 0x4000298120, 0x4000298120, 0x7bcf8, 0x0) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/upstream_doh.go:59 +0xec github.com/AdguardTeam/dnsproxy/upstream.exchangeAsync(0x1cb2c90, 0x40003c3ba8, 0x40022ed170, 0x40010dade0) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/parallel.go:117 +0x54 created by github.com/AdguardTeam/dnsproxy/upstream.ExchangeParallel github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/upstream/parallel.go:45 +0xa4 goroutine 181210 [IO wait]: internal/poll.runtime_pollWait(0xffff73271810, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000825298, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000825280, 0x40017ce900, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000825280, 0x40017ce900, 0x205, 0x205, 0x50, 0x0, 0x4000563968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e4d0, 0x40017ce900, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4000352b88, 0x40017ce900, 0x205, 0x205, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40016cbe78, 0x1ca8af0, 0x4000352b88, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40016cbc00, 0x1ca9bb0, 0x400000e4d0, 0x5, 0x400000e4d0, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40016cbc00, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40016cbc00, 0x400163f89a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40016cbc00, 0x89bfff5d78, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40016cbc00, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40016cbc00, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 183148 [IO wait]: internal/poll.runtime_pollWait(0xffff732ae490, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000f72198, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000f72180, 0x40012e46c0, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000f72180, 0x40012e46c0, 0x205, 0x205, 0x56, 0x0, 0x4001e97968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba278, 0x40012e46c0, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400040b698, 0x40012e46c0, 0x205, 0x205, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x400012c278, 0x1ca8af0, 0x400040b698, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x400012c000, 0x1ca9bb0, 0x40015ba278, 0x5, 0x40015ba278, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x400012c000, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x400012c000, 0x4001b431ca, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x400012c000, 0x8b28837b9f, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x400012c000, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x400012c000, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 187100 [select]: net/http.setRequestCancel.func4(0x0, 0x40015dd6b0, 0x40015c6640, 0x400242a8b8, 0x4001d06840) net/http/client.go:397 +0x6c created by net/http.setRequestCancel net/http/client.go:396 +0x264 goroutine 180861 [IO wait]: internal/poll.runtime_pollWait(0xffff73270fe8, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001f4b918, 0x72, 0x600, 0x665, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001f4b900, 0x4001721800, 0x665, 0x665, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001f4b900, 0x4001721800, 0x665, 0x665, 0x81, 0x0, 0x4001bab968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000ef68, 0x4001721800, 0x665, 0x665, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x40003e5668, 0x4001721800, 0x665, 0x665, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001884978, 0x1ca8af0, 0x40003e5668, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001884700, 0x1ca9bb0, 0x400000ef68, 0x5, 0x400000ef68, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001884700, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001884700, 0x4001f4005a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001884700, 0x897485f38f, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001884700, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001884700, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 182841 [IO wait]: internal/poll.runtime_pollWait(0xffff733c4dc0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40011f3118, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x40011f3100, 0x40004b6000, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x40011f3100, 0x40004b6000, 0x205, 0x205, 0x4000cd3978, 0x1c71c, 0xffff732e6890) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000ee08, 0x40004b6000, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400172d800, 0x40004b6000, 0x205, 0x205, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001c1f078, 0x1ca8af0, 0x400172d800, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001c1ee00, 0x1ca9bb0, 0x400000ee08, 0x5, 0x400000ee08, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001c1ee00, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001c1ee00, 0x4002203b6c, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001c1ee00, 0x8ab427d271, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001c1ee00, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001c1ee00, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 166527 [IO wait]: internal/poll.runtime_pollWait(0xffff73276300, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x400182c818, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x400182c800, 0x400169f8c0, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x400182c800, 0x400169f8c0, 0x205, 0x205, 0x4e, 0x0, 0x40011a3968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015baf70, 0x400169f8c0, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x40003e43c0, 0x400169f8c0, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001657af8, 0x1ca8af0, 0x40003e43c0, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001657880, 0x1ca9bb0, 0x40015baf70, 0x5, 0x40015baf70, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001657880, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001657880, 0x40016900aa, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001657880, 0x896eeb0c2f, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001657880, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001657880, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 184602 [IO wait]: internal/poll.runtime_pollWait(0xffff73274b48, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001f01698, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001f01680, 0x40011f8b40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001f01680, 0x40011f8b40, 0x205, 0x205, 0x50, 0x0, 0x4000e19968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba890, 0x40011f8b40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400000c498, 0x40011f8b40, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40013e4cf8, 0x1ca8af0, 0x400000c498, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40013e4a80, 0x1ca9bb0, 0x40015ba890, 0x5, 0x40015ba890, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40013e4a80, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40013e4a80, 0x400221478e, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40013e4a80, 0x8a00093b52, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40013e4a80, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40013e4a80, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 184924 [IO wait]: internal/poll.runtime_pollWait(0xffff7346add8, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40022f4f98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x40022f4f80, 0x4000e71440, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x40022f4f80, 0x4000e71440, 0x205, 0x205, 0x50, 0x0, 0x4001e7d968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba5e8, 0x4000e71440, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x40020f4408, 0x4000e71440, 0x205, 0x205, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40012c5e78, 0x1ca8af0, 0x40020f4408, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40012c5c00, 0x1ca9bb0, 0x40015ba5e8, 0x5, 0x40015ba5e8, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40012c5c00, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40012c5c00, 0x4002214baa, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40012c5c00, 0x8a3fa7ba83, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40012c5c00, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40012c5c00, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 181601 [IO wait]: internal/poll.runtime_pollWait(0xffff73384ea0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4002078c98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4002078c80, 0x40011ac480, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4002078c80, 0x40011ac480, 0x205, 0x205, 0x76, 0x0, 0x4001dc9968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e178, 0x40011ac480, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400250bb00, 0x40011ac480, 0x205, 0x205, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000016cf8, 0x1ca8af0, 0x400250bb00, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000016a80, 0x1ca9bb0, 0x400000e178, 0x5, 0x400000e178, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000016a80, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000016a80, 0x40002e86fa, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000016a80, 0x8b3b77cde8, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000016a80, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000016a80, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 184841 [IO wait]: internal/poll.runtime_pollWait(0xffff733c50d0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000ed8f18, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000ed8f00, 0x4000cb2900, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000ed8f00, 0x4000cb2900, 0x205, 0x205, 0x50, 0x0, 0x4000da5968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e338, 0x4000cb2900, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4000353080, 0x4000cb2900, 0x205, 0x205, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40000f6cf8, 0x1ca8af0, 0x4000353080, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40000f6a80, 0x1ca9bb0, 0x400000e338, 0x5, 0x400000e338, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40000f6a80, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40000f6a80, 0x4001bd4dba, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40000f6a80, 0x8a26716c5a, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40000f6a80, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40000f6a80, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 184516 [IO wait]: internal/poll.runtime_pollWait(0xffff732ae3a8, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001f93018, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001f93000, 0x4001960b40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001f93000, 0x4001960b40, 0x205, 0x205, 0x72, 0x0, 0x40020cb968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba650, 0x4001960b40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001ab3710, 0x4001960b40, 0x205, 0x205, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000e55af8, 0x1ca8af0, 0x4001ab3710, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000e55880, 0x1ca9bb0, 0x40015ba650, 0x5, 0x40015ba650, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000e55880, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000e55880, 0x4000778fca, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000e55880, 0x89fcc61b9e, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000e55880, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000e55880, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 183885 [IO wait]: internal/poll.runtime_pollWait(0xffff732ac148, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40004e7618, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x40004e7600, 0x4001a57d40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x40004e7600, 0x4001a57d40, 0x205, 0x205, 0x88, 0x0, 0x40006a5968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015baa78, 0x4001a57d40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x40020f4f48, 0x4001a57d40, 0x205, 0x205, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40000f7af8, 0x1ca8af0, 0x40020f4f48, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x40000f7880, 0x1ca9bb0, 0x40015baa78, 0x5, 0x40015baa78, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x40000f7880, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x40000f7880, 0x400034911e, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x40000f7880, 0x898a47a0d8, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x40000f7880, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x40000f7880, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 182347 [IO wait]: internal/poll.runtime_pollWait(0xffff733bfca0, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4002302618, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4002302600, 0x4001a56b40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4002302600, 0x4001a56b40, 0x205, 0x205, 0x99, 0x0, 0x4001c7d968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba2b0, 0x4001a56b40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400148c0d8, 0x4001a56b40, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000f793f8, 0x1ca8af0, 0x400148c0d8, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000f79180, 0x1ca9bb0, 0x40015ba2b0, 0x5, 0x40015ba2b0, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000f79180, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000f79180, 0x400189e1ba, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000f79180, 0x8b350c091f, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000f79180, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000f79180, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 181978 [IO wait]: internal/poll.runtime_pollWait(0xffff73276d30, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x400061d298, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x400061d280, 0x4001771d40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x400061d280, 0x4001771d40, 0x205, 0x205, 0x56, 0x0, 0x4001b39968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000ef08, 0x4001771d40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4001a82fa8, 0x4001771d40, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000872278, 0x1ca8af0, 0x4001a82fa8, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000872000, 0x1ca9bb0, 0x400000ef08, 0x5, 0x400000ef08, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000872000, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000872000, 0x40002c5c6e, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000872000, 0x8ac85074ab, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000872000, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000872000, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 184091 [IO wait]: internal/poll.runtime_pollWait(0xffff73273510, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001f4bd98, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001f4bd80, 0x4000860480, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001f4bd80, 0x4000860480, 0x205, 0x205, 0x6b, 0x0, 0x400064f968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015bafe8, 0x4000860480, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x40000a4768, 0x4000860480, 0x205, 0x205, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000c3e978, 0x1ca8af0, 0x40000a4768, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000c3e700, 0x1ca9bb0, 0x40015bafe8, 0x5, 0x40015bafe8, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000c3e700, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000c3e700, 0x4001c35c2a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000c3e700, 0x899abaa42b, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000c3e700, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000c3e700, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 183669 [IO wait]: internal/poll.runtime_pollWait(0xffff733bf730, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x40023a9398, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x40023a9380, 0x40006ceb40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x40023a9380, 0x40006ceb40, 0x205, 0x205, 0x59, 0x0, 0x4000543968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000e500, 0x40006ceb40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400250a588, 0x40006ceb40, 0x205, 0x205, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001599778, 0x1ca8af0, 0x400250a588, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001599500, 0x1ca9bb0, 0x400000e500, 0x5, 0x400000e500, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001599500, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001599500, 0x400242af4a, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001599500, 0x8b3a001328, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001599500, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001599500, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 187085 [IO wait]: internal/poll.runtime_pollWait(0xffff733b8278, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000824618, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000824600, 0x4000806000, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000824600, 0x4000806000, 0x205, 0x205, 0x5d, 0x0, 0x4001c49968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40000ae678, 0x4000806000, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400172ca38, 0x4000806000, 0x205, 0x205, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4001bcbe78, 0x1ca8af0, 0x400172ca38, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4001bcbc00, 0x1ca9bb0, 0x40000ae678, 0x5, 0x40000ae678, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4001bcbc00, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4001bcbc00, 0x400242a2ba, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4001bcbc00, 0x8b8c668e20, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4001bcbc00, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4001bcbc00, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 177409 [IO wait]: internal/poll.runtime_pollWait(0xffff732aba08, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001f4ae98, 0x72, 0x600, 0x665, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001f4ae80, 0x400171e000, 0x665, 0x665, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001f4ae80, 0x400171e000, 0x665, 0x665, 0x66, 0x0, 0x40007e1968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015ba490, 0x400171e000, 0x665, 0x665, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x40017e2bb8, 0x400171e000, 0x665, 0x665, 0x400004c400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000783af8, 0x1ca8af0, 0x40017e2bb8, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000783880, 0x1ca9bb0, 0x40015ba490, 0x5, 0x40015ba490, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000783880, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000783880, 0x40022022aa, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000783880, 0x89d3d3d0ad, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000783880, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000783880, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 185421 [IO wait]: internal/poll.runtime_pollWait(0xffff733ae178, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4001913e18, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4001913e00, 0x4001bb2b40, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4001913e00, 0x4001bb2b40, 0x205, 0x205, 0x5a, 0x0, 0x4001cd3968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x40015bb6a0, 0x4001bb2b40, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x400036c2d0, 0x4001bb2b40, 0x205, 0x205, 0x400036a000, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x40007825f8, 0x1ca8af0, 0x400036c2d0, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000782380, 0x1ca9bb0, 0x40015bb6a0, 0x5, 0x40015bb6a0, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000782380, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000782380, 0x4000671bfc, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000782380, 0x8a7a561e8c, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000782380, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000782380, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c goroutine 182975 [IO wait]: internal/poll.runtime_pollWait(0xffff73274a60, 0x72, 0xffffffffffffffff) runtime/netpoll.go:227 +0x44 internal/poll.(*pollDesc).wait(0x4000ed9318, 0x72, 0x200, 0x205, 0xffffffffffffffff) internal/poll/fd_poll_runtime.go:87 +0x38 internal/poll.(*pollDesc).waitRead(...) internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Read(0x4000ed9300, 0x4001960fc0, 0x205, 0x205, 0x0, 0x0, 0x0) internal/poll/fd_unix.go:166 +0x180 net.(*netFD).Read(0x4000ed9300, 0x4001960fc0, 0x205, 0x205, 0x5a, 0x0, 0x4001ceb968) net/fd_posix.go:55 +0x44 net.(*conn).Read(0x400000f1d0, 0x4001960fc0, 0x205, 0x205, 0x0, 0x0, 0x0) net/net.go:183 +0x74 crypto/tls.(*atLeastReader).Read(0x4002286240, 0x4001960fc0, 0x205, 0x205, 0x400036a400, 0x1ec560, 0x0) crypto/tls/conn.go:776 +0x58 bytes.(*Buffer).ReadFrom(0x4000deb778, 0x1ca8af0, 0x4002286240, 0x1e9c54, 0x7e2680, 0x8abee0) bytes/buffer.go:204 +0xa4 crypto/tls.(*Conn).readFromUntil(0x4000deb500, 0x1ca9bb0, 0x400000f1d0, 0x5, 0x400000f1d0, 0x0) crypto/tls/conn.go:798 +0xd0 crypto/tls.(*Conn).readRecordOrCCS(0x4000deb500, 0x0, 0x0, 0x21bed40) crypto/tls/conn.go:605 +0xd8 crypto/tls.(*Conn).readRecord(...) crypto/tls/conn.go:573 crypto/tls.(*Conn).Read(0x4000deb500, 0x4001ad035c, 0x2, 0x2, 0x0, 0x0, 0x0) crypto/tls/conn.go:1276 +0x12c github.com/AdguardTeam/dnsproxy/proxyutil.ReadPrefixed(0x1cc5750, 0x4000deb500, 0x8af8b7770b, 0x21bed40, 0x0, 0x0, 0x21bed40) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxyutil/dns.go:40 +0x64 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleTCPConnection(0x400009c700, 0x1cc5750, 0x4000deb500, 0x8d6d92, 0x3) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:104 +0x1f8 github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop.func1(0x400009c700, 0x1cc5750, 0x4000deb500, 0x8d6d92, 0x3, 0x1cb4a40, 0x2718090) github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:71 +0x48 created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop github.com/AdguardTeam/dnsproxy@v0.40.7-0.20220207171519-b3947de6a902/proxy/server_tcp.go:70 +0x10c ```
STRRL commented 2 years ago

+1

I also met this issue:

root@OpenWrt:~# AdGuardHome -v --version
AdGuard Home
Version: v0.107.0
Channel: release
Go version: go1.17.8
Build time: 2022-03-07T13:48:02Z+0000
GOOS: linux
GOARCH: amd64
Race: false
Dependencies:
 <I have truncated the dependencies>

Unfortunately, I have no idea how to reproduce it.

It crashed at a midnight without manual operations and configuration changes.

Logging, Click to expand! Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: fatal error: concurrent map iteration and map write Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 1547112 [running]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime.throw({0xcff050, 0x30}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/panic.go:1198 +0x71 fp=0xc0033face0 sp=0xc0033facb0 pc=0x4377f1 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime.mapiternext(0xc19d00) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/map.go:858 +0x4eb fp=0xc0033fad50 sp=0xc0033face0 pc=0x411bab Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats.convertMapToSlice(0xc0033faeb8, 0x64) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:327 +0x87 fp=0xc0033fae60 sp=0xc0033fad50 pc=0xa1aa07 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats.serialize(0xc002f482d0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:361 +0x113 fp=0xc0033faec8 sp=0xc0033fae60 pc=0xa1adf3 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).loadUnits(0x539dbb, 0x18) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:562 +0x1d9 fp=0xc0033faf88 sp=0xc0033faec8 pc=0xa1c179 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).getData(0x203000) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:657 +0x65 fp=0xc0033fb230 sp=0xc0033faf88 pc=0xa1c805 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).handleStats(0xc0000b7ca0, {0x2093a78, 0xc000242930}, 0xc000242901) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats/http.go:61 +0x1bb fp=0xc0033fb5b8 sp=0xc0033fb230 pc=0xa18b7b Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).handleStats-fm({0x2093a78, 0xc000242930}, 0x4) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats/http.go:42 +0x3c fp=0xc0033fb5e8 sp=0xc0033fb5b8 pc=0xa1d4dc Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.ensure.func1({0x2093a78, 0xc000242930}, 0xc003234200) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/control.go:219 +0x204 fp=0xc0033fb698 sp=0xc0033fb5e8 pc=0xb17da4 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.(*httpHandler).ServeHTTP(0xba8ce0, {0x2093a78, 0xc000242930}, 0x4) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/control.go:237 +0x2f fp=0xc0033fb6c0 sp=0xc0033fb698 pc=0xb17eef Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/NYTimes/gziphandler.GzipHandlerWithOpts.func1.1({0x2093898, 0xc003236000}, 0xc0033fb818) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/NYTimes/gziphandler@v1.1.1/gzip.go:336 +0x23c fp=0xc0033fb770 sp=0xc0033fb6c0 pc=0xa6241c Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http.HandlerFunc.ServeHTTP(0x40f1b4, {0x2093898, 0xc003236000}, 0xc0033fb830) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:2047 +0x2f fp=0xc0033fb798 sp=0xc0033fb770 pc=0x6b998f Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http.Handler.ServeHTTP-fm({0x2093898, 0xc003236000}, 0xc003234200) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:87 +0x42 fp=0xc0033fb7c8 sp=0xc0033fb798 pc=0x6d9be2 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.optionalAuth.func1({0x2093898, 0xc003236000}, 0xc003234200) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/auth.go:600 +0x374 fp=0xc0033fb868 sp=0xc0033fb7c8 pc=0xb0bad4 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.(*authHandler).ServeHTTP(0x7fb19c8205b8, {0x2093898, 0xc003236000}, 0xc0032304e0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/auth.go:609 +0x9f fp=0xc0033fb8a8 sp=0xc0033fb868 pc=0xb0bbbf Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http.Handler.ServeHTTP-fm({0x2093898, 0xc003236000}, 0x10) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:87 +0x42 fp=0xc0033fb8d8 sp=0xc0033fb8a8 pc=0x6d9be2 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.postInstall.func1({0x2093898, 0xc003236000}, 0xc003234200) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/control.go:336 +0x115 fp=0xc0033fb930 sp=0xc0033fb8d8 pc=0xb18755 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.(*postInstallHandlerStruct).ServeHTTP(0xc0033fb9b0, {0x2093898, 0xc003236000}, 0xc0032304d0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/control.go:345 +0x9f fp=0xc0033fb970 sp=0xc0033fb930 pc=0xb1883f Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http.(*ServeMux).ServeHTTP(0x2091c80, {0x2093898, 0xc003236000}, 0xc003234200) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:2425 +0x149 fp=0xc0033fb9c0 sp=0xc0033fb970 pc=0x6bb289 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.limitRequestBody.func1({0x2093898, 0xc003236000}, 0xc003234100) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/middlewares.go:75 +0x352 fp=0xc0033fba98 sp=0xc0033fb9c0 pc=0xb2cd12 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http.HandlerFunc.ServeHTTP(0x0, {0x2093898, 0xc003236000}, 0x4691ae) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:2047 +0x2f fp=0xc0033fbac0 sp=0xc0033fba98 pc=0x6b998f Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http.serverHandler.ServeHTTP({0xc000a80300}, {0x2093898, 0xc003236000}, 0xc003234100) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:2879 +0x43b fp=0xc0033fbb80 sp=0xc0033fbac0 pc=0x6bcefb Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http.(*conn).serve(0xc0004e9d60, {0x209bc70, 0xc00007e660}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:1930 +0xb08 fp=0xc0033fbfb8 sp=0xc0033fbb80 pc=0x6b8a68 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http.(*Server).Serve·dwrap·87() Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:3034 +0x2e fp=0xc0033fbfe0 sp=0xc0033fbfb8 pc=0x6bd84e Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime.goexit() Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/asm_amd64.s:1581 +0x1 fp=0xc0033fbfe8 sp=0xc0033fbfe0 pc=0x46b381 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by net/http.(*Server).Serve Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:3034 +0x4e8 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 1 [chan receive, 31920 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.(*Web).Start(0xc000132460) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/web.go:198 +0x5c5 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.run({0x0, {0x7fffa519cf3c, 0x15}, {0x7fffa519cf55, 0x10}, {0x0, 0x0, 0x0}, 0x0, {0x0, ...}, ...}, ...) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/home.go:494 +0x6a5 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.Main({0x2086980, 0x20bd4c0}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/home.go:130 +0x208 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: main.main() Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/main.go:17 +0x27 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 5 [syscall, 31920 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: os/signal.signal_recv() Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/sigqueue.go:169 +0x98 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: os/signal.loop() Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: os/signal/signal_unix.go:24 +0x19 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by os/signal.Notify.func1.1 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: os/signal/signal.go:151 +0x2c Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 20 [chan receive, 31920 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.Main.func1() Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/home.go:108 +0x2f Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/home.Main Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/home.go:106 +0x15a Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 21 [chan receive]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.memoryUsage.func1() Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/memory.go:35 +0x57 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/home.memoryUsage Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/memory.go:33 +0x99 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 22 [syscall, 27 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: syscall.Syscall6(0xe8, 0x7, 0xc00029fbec, 0x7, 0xffffffffffffffff, 0x0, 0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: syscall/asm_linux_amd64.s:43 +0x5 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: golang.org/x/sys/unix.EpollWait(0x2, {0xc00029fbec, 0xc0020fe2e8, 0xc002f6c340}, 0xc00029fcb4) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: golang.org/x/sys@v0.0.0-20210909193231-528a39cd75f3/unix/zsyscall_linux_amd64.go:77 +0x58 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/fsnotify/fsnotify.(*fdPoller).wait(0xc0002442c0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/fsnotify/fsnotify@v1.4.9/inotify_poller.go:86 +0x7d Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/fsnotify/fsnotify.(*Watcher).readEvents(0xc000088cd0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/fsnotify/fsnotify@v1.4.9/inotify.go:192 +0x2b0 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/fsnotify/fsnotify.NewWatcher Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/fsnotify/fsnotify@v1.4.9/inotify.go:59 +0x1c7 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 23 [chan receive, 31920 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/aghos.(*osWatcher).handleErrors(0xc00027a0d0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/aghos/fswatcher.go:74 +0x15b Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/aghos.NewOSWritesWatcher Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/aghos/fswatcher.go:63 +0x1c7 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 24 [chan receive, 27 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/aghos.(*osWatcher).handleEvents(0xc00027a0d0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/aghos/fswatcher.go:110 +0x12c Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/aghos.NewOSWritesWatcher Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/aghos/fswatcher.go:64 +0x209 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 25 [select, 41 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/aghnet.(*HostsContainer).handleEvents(0xc000137d00) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/aghnet/hostscontainer.go:240 +0x185 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/aghnet.NewHostsContainer Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/aghnet/hostscontainer.go:186 +0x652 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 26 [chan receive, 56 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.(*clientsContainer).handleHostsUpdates(0x2622b20) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/clients.go:140 +0x6b Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/home.(*clientsContainer).Init Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/clients.go:135 +0x309 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 29 [chan receive, 31920 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.(*RDNS).workerLoop(0xc0002bcc80) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/rdns.go:122 +0xcb Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/home.NewRDNS Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/rdns.go:60 +0x150 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 30 [chan receive, 31920 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.(*WHOIS).workerLoop(0xc000343170) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/whois.go:249 +0x49 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/home.initWHOIS Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/whois.go:57 +0x13b Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 32 [sync.Cond.Wait, 31920 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: sync.runtime_notifyListWait(0xc0002bc190, 0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/sema.go:513 +0x13d Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: sync.(*Cond).Wait(0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: sync/cond.go:56 +0x8c Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.(*Web).tlsServerLoop(0xc000132460) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/web.go:236 +0x44f Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/home.(*Web).Start Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/web.go:160 +0xb2 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 33 [IO wait, 16238 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.runtime_pollWait(0x7fb17598e408, 0x72) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/netpoll.go:234 +0x89 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*pollDesc).wait(0xc0002bad80, 0xc000042800, 0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_poll_runtime.go:84 +0x32 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*pollDesc).waitRead(...) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_poll_runtime.go:89 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*FD).Accept(0xc0002bad80) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_unix.go:402 +0x22c Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*netFD).accept(0xc0002bad80) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/fd_unix.go:173 +0x35 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*TCPListener).accept(0xc000258a20) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/tcpsock_posix.go:140 +0x28 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*TCPListener).Accept(0xc000258a20) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/tcpsock.go:262 +0x3d Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http.(*Server).Serve(0xc000132700, {0x2093688, 0xc000258a20}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:3002 +0x394 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http.(*Server).ListenAndServe(0xc000132700) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:2931 +0x7d Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.(*Web).Start.func1() Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/web.go:178 +0x2a Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/home.(*Web).Start Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/web.go:177 +0x345 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 34 [sleep]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: time.Sleep(0x8bb2c97000) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/time.go:193 +0x12e Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.(*clientsContainer).periodicUpdate(0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/clients.go:260 +0x2e Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/home.(*clientsContainer).Start Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/clients.go:153 +0x7b Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 37 [chan receive, 31920 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/filtering.(*DNSFilter).filtersInitializer(0xc00011c780) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/filtering/filtering.go:327 +0x6b Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/filtering.(*DNSFilter).Start Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/filtering/filtering.go:955 +0x95 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 38 [sleep]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: time.Sleep(0x34630b8a000) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/time.go:193 +0x12e Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home.(*Filtering).periodicallyRefreshFilters(0x2622bb8) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/filter.go:263 +0x35 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/home.(*Filtering).Start Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/home/filter.go:52 +0x65 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 39 [sleep]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: time.Sleep(0x3b9aca00) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/time.go:193 +0x12e Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).periodicFlush(0xc0000b7ca0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:283 +0x6c Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/stats.(*statsCtx).Start Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/stats/unit.go:161 +0x65 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 40 [chan receive]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/querylog.(*queryLog).periodicRotate(0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/querylog/querylogfile.go:150 +0xe5 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/AdGuardHome/internal/querylog.(*queryLog).Start Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/querylog/qlog.go:105 +0x6f Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 1112059 [IO wait, 20348 minutes]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.runtime_pollWait(0x7fb174c2d5a0, 0x72) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/netpoll.go:234 +0x89 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*pollDesc).wait(0xc0021e5280, 0x4f, 0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_poll_runtime.go:84 +0x32 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*pollDesc).waitRead(...) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_poll_runtime.go:89 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*FD).Accept(0xc0021e5280) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_unix.go:402 +0x22c Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*netFD).accept(0xc0021e5280) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/fd_unix.go:173 +0x35 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*TCPListener).accept(0xc002670438) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/tcpsock_posix.go:140 +0x28 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*TCPListener).Accept(0xc002670438) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/tcpsock.go:262 +0x3d Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).tcpPacketLoop(0xc0008a4000, {0x2093688, 0xc002670438}, {0xccb120, 0xc00078c168}, {0x208f930, 0xc0019ca168}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/server_tcp.go:49 +0x13b Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).startListeners Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/server.go:51 +0x8f2 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 1112058 [IO wait]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.runtime_pollWait(0x7fb174b54448, 0x72) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/netpoll.go:234 +0x89 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*pollDesc).wait(0xc0021e5200, 0xc00223ff59, 0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_poll_runtime.go:84 +0x32 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*pollDesc).waitRead(...) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_poll_runtime.go:89 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*FD).ReadMsg(0xc0021e5200, {0xc00223ff59, 0xffff, 0xffff}, {0xc0013c62d0, 0x28, 0x28}, 0x10100c000258c30) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_unix.go:250 +0x31c Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*netFD).readMsg(0xc0021e5200, {0xc00223ff59, 0x4, 0x0}, {0xc0013c62d0, 0xc00223fdd8, 0x0}, 0x24) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/fd_posix.go:68 +0x37 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*UDPConn).readMsg(0x0, {0xc00223ff59, 0x7fb19c8205b8, 0x30}, {0xc0013c62d0, 0xc0013c62d0, 0x0}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/udpsock_posix.go:62 +0x45 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*UDPConn).ReadMsgUDP(0xc0019ca170, {0xc00223ff59, 0x4691ae, 0x4425ce}, {0xc0013c62d0, 0x442600, 0xc00223ff00}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/udpsock.go:144 +0x3c Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/proxyutil.udpRead(0xba8f60, {0xc00223ff59, 0xffff, 0xffff}, 0x28) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxyutil/udp_unix.go:70 +0x78 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/proxyutil.UDPRead(...) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxyutil/udp.go:25 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).udpPacketLoop(0xc0008a4000, 0xc0019ca170, {0x208f930, 0xc0019ca168}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/server_udp.go:65 +0x1ee Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).startListeners Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/server.go:47 +0x12f Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 3357693 [IO wait]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.runtime_pollWait(0x7fb17576ccf0, 0x72) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/netpoll.go:234 +0x89 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*pollDesc).wait(0xc002659480, 0xc000a80311, 0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_poll_runtime.go:84 +0x32 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*pollDesc).waitRead(...) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_poll_runtime.go:89 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*FD).Read(0xc002659480, {0xc000a80311, 0x1, 0x1}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_unix.go:167 +0x25a Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*netFD).Read(0xc002659480, {0xc000a80311, 0xbf1ce0, 0xc000335748}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/fd_posix.go:56 +0x29 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*conn).Read(0xc00078c168, {0xc000a80311, 0xc002985790, 0xc0007ba3c0}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/net.go:183 +0x45 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http.(*connReader).backgroundRead(0xc000a80300) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:672 +0x3f Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by net/http.(*connReader).startBackgroundRead Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/http/server.go:668 +0xcf Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: goroutine 3357692 [IO wait]: Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.runtime_pollWait(0x7fb174c2ba70, 0x72) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: runtime/netpoll.go:234 +0x89 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*pollDesc).wait(0xc0021a6400, 0xc00174c000, 0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_poll_runtime.go:84 +0x32 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*pollDesc).waitRead(...) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_poll_runtime.go:89 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll.(*FD).Read(0xc0021a6400, {0xc00174c000, 0xf43, 0xf43}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: internal/poll/fd_unix.go:167 +0x25a Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*netFD).Read(0xc0021a6400, {0xc00174c000, 0xc00310d980, 0xc000b08f48}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/fd_posix.go:56 +0x29 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net.(*conn).Read(0xc0000ae148, {0xc00174c000, 0x149830701010100, 0xc000b08fe8}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: net/net.go:183 +0x45 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: crypto/tls.(*atLeastReader).Read(0xc0002590b0, {0xc00174c000, 0x0, 0x40beed}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: crypto/tls/conn.go:777 +0x3d Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: bytes.(*Buffer).ReadFrom(0xc002e325f8, {0x2084fa0, 0xc0002590b0}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: bytes/buffer.go:204 +0x98 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: crypto/tls.(*Conn).readFromUntil(0xc002e32380, {0x2086060, 0xc0000ae148}, 0xc000b090f8) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: crypto/tls/conn.go:799 +0xe5 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: crypto/tls.(*Conn).readRecordOrCCS(0xc002e32380, 0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: crypto/tls/conn.go:606 +0x112 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: crypto/tls.(*Conn).readRecord(...) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: crypto/tls/conn.go:574 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: crypto/tls.(*Conn).Read(0xc002e32380, {0xc002348642, 0x2, 0x44efb2}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: crypto/tls/conn.go:1277 +0x16f Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: io.ReadAtLeast({0x7fb1756ecf68, 0xc002e32380}, {0xc002348642, 0x2, 0x2}, 0x2) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: io/io.go:328 +0x9a Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: io.ReadFull(...) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: io/io.go:347 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: encoding/binary.Read({0x7fb1756ecf68, 0xc002e32380}, {0x20a8910, 0x2b7d458}, {0xb95b20, 0xc002348640}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: encoding/binary/binary.go:166 +0xc8 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/miekg/dns.(*Conn).ReadMsgHeader(0xc000b097b8, 0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/miekg/dns@v1.1.43/client.go:294 +0x127 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/miekg/dns.(*Conn).ReadMsg(0xc000b097b8) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/miekg/dns@v1.1.43/client.go:249 +0x27 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/upstream.(*dnsOverTLS).exchangeConn(0xc00255a990, {0x20aa9d0, 0xc002e32380}, 0xc000c3a870) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/upstream/upstream_dot.go:85 +0x98 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/upstream.(*dnsOverTLS).Exchange(0xc00255a990, 0x0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/upstream/upstream_dot.go:47 +0x1db Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/proxy.exchangeWithUpstream({0x208f9d0, 0xc00255a990}, 0xc000c3a870) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/exchange.go:67 +0x72 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).exchange(0xc0008a4000, 0xc000c3a870, {0xc00230a3e0, 0xc00265aec0, 0x1}) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/exchange.go:39 +0x1d0 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).replyFromUpstream(0xc0008a4000, 0xc002e485a0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/proxy.go:410 +0x119 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).Resolve(0xc0008a4000, 0xc002e485a0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/proxy.go:494 +0x94 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/dnsforward.(*Server).processUpstream(0xc00017b900, 0xc000c3a900) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/dnsforward/dns.go:564 +0x2e8 Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/dnsforward.(*Server).handleDNSRequest(0xc00017b900, 0xcb72a0, 0xc002e485a0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/AdGuardHome/internal/dnsforward/dns.go:109 +0x35b Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).handleDNSRequest(0xc0008a4000, 0xc002e485a0) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/server.go:127 +0x39d Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).udpHandlePacket(0xc0008a4000, {0xc0013c62a0, 0x24, 0x24}, {0xc002348560, 0x10, 0x10}, 0xc00292a750, 0xc0019ca170) Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/server_udp.go:105 +0x2dc Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).udpPacketLoop.func1() Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/server_udp.go:74 +0x4f Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: created by github.com/AdguardTeam/dnsproxy/proxy.(*Proxy).udpPacketLoop Sun Jun 26 16:27:44 2022 daemon.err AdGuardHome[2507]: github.com/AdguardTeam/dnsproxy@v0.39.13/proxy/server_udp.go:73 +0x38f
ainar-g commented 2 years ago

@parkkw472, @STRRL, hello again. We have made some improvements to the statistics code in v0.107.10. Could any of you please check if the issue has been fixed as well?

sudo-gecko commented 2 years ago

@parkkw472, @STRRL, hello again. We have made some improvements to the statistics code in v0.107.10. Could any of you please check if the issue has been fixed as well?

Hello, I just updated the server to v0.107.10. version

I'll check it out and let you know.

sudo-gecko commented 2 years ago

@ainar-g Hello, seems issue has been resolved as well :)

Thank you