Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
lxd debug
root@rainyun:~# curl http://127.0.0.1:8444/debug/pprof/goroutine?debug=2
goroutine 46922608 [running]:
runtime/pprof.writeGoroutineStacks(0x185fb60, 0xc00100e000, 0x30, 0x1524f20)
/snap/go/7954/src/runtime/pprof/pprof.go:693 +0x9f
runtime/pprof.writeGoroutine(0x185fb60, 0xc00100e000, 0x2, 0xc000904400, 0x0)
/snap/go/7954/src/runtime/pprof/pprof.go:682 +0x45
runtime/pprof.(*Profile).WriteTo(0x1f9a400, 0x185fb60, 0xc00100e000, 0x2, 0xc00100e000, 0xc0001b91e0)
/snap/go/7954/src/runtime/pprof/pprof.go:331 +0x3f2
net/http/pprof.handler.ServeHTTP(0xc0008b00a1, 0x9, 0x187bce0, 0xc00100e000, 0xc000294300)
/snap/go/7954/src/net/http/pprof/pprof.go:253 +0x385
net/http/pprof.Index(0x187bce0, 0xc00100e000, 0xc000294300)
/snap/go/7954/src/net/http/pprof/pprof.go:371 +0x8d7
net/http.HandlerFunc.ServeHTTP(0x16fc3d8, 0x187bce0, 0xc00100e000, 0xc000294300)
/snap/go/7954/src/net/http/server.go:2049 +0x44
net/http.(*ServeMux).ServeHTTP(0x2018280, 0x187bce0, 0xc00100e000, 0xc000294300)
/snap/go/7954/src/net/http/server.go:2428 +0x1ad
net/http.serverHandler.ServeHTTP(0xc0003bc1c0, 0x187bce0, 0xc00100e000, 0xc000294300)
/snap/go/7954/src/net/http/server.go:2867 +0xa3
net/http.(*conn).serve(0xc000568000, 0x18821e8, 0xc0015a2000)
/snap/go/7954/src/net/http/server.go:1932 +0x8cd
created by net/http.(*Server).Serve
/snap/go/7954/src/net/http/server.go:2993 +0x39b
goroutine 1 [select, 16032 minutes]:
main.(*cmdDaemon).Run(0xc000299020, 0xc0004d2780, 0xc00046d340, 0x0, 0x4, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/main_daemon.go:114 +0x62d
github.com/spf13/cobra.(*Command).execute(0xc0004d2780, 0xc000144010, 0x4, 0x4, 0xc0004d2780, 0xc000144010)
/build/lxd/parts/lxd/src/.go/src/github.com/spf13/cobra/command.go:856 +0x472
github.com/spf13/cobra.(*Command).ExecuteC(0xc0004d2780, 0xc0004b3f58, 0x1, 0x1)
/build/lxd/parts/lxd/src/.go/src/github.com/spf13/cobra/command.go:974 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
/build/lxd/parts/lxd/src/.go/src/github.com/spf13/cobra/command.go:902
main.main()
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/main.go:218 +0x1af7
goroutine 210 [chan receive, 16032 minutes]:
github.com/lxc/lxd/lxd/device.InotifyHandler(0xc000620c00)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/device/device_utils_inotify.go:52 +0x6d
created by main.(*Daemon).init
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/daemon.go:1235 +0x2985
goroutine 102 [select, 16032 minutes]:
database/sql.(*DB).connectionOpener(0xc00039b930, 0x1882140, 0xc0002411c0)
/snap/go/7954/src/database/sql/sql.go:1133 +0xb5
created by database/sql.OpenDB
/snap/go/7954/src/database/sql/sql.go:740 +0x12a
goroutine 105572 [syscall, 15990 minutes]:
syscall.Syscall(0x7, 0xc00059ced8, 0x1, 0xffffffffffffffff, 0xc00059ceb0, 0x4193db, 0x7f44d6b8aa68)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc00059ced8, 0x1, 0xffffffffffffffff, 0x20000, 0x7f44d6b8aa68, 0x20000)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc00059ced8, 0x1, 0x1, 0xffffffffffffffff, 0x20000, 0x1420cc0, 0x81e201)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x21, 0xffffffffffffffff, 0x203b, 0xc0018c0000, 0x8, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc00027e020, 0xc000f8a040, 0x21, 0x185fc60, 0xc0007a8158, 0xc00027e02c, 0xc0013b81e0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 118 [IO wait, 16032 minutes]:
internal/poll.runtime_pollWait(0x7f44aeef78d8, 0x72, 0x0)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0000f2b98, 0x72, 0x0, 0x0, 0x1626c23)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc0000f2b80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:401 +0x212
net.(*netFD).accept(0xc0000f2b80, 0x30, 0x7f44d6b8bd28, 0x30)
/snap/go/7954/src/net/fd_unix.go:172 +0x45
net.(*UnixListener).accept(0xc000265560, 0xc0000c1dd8, 0x419b38, 0x30)
/snap/go/7954/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc000265560, 0x15708a0, 0xc0009900c0, 0x1468b40, 0x1f93ac0)
/snap/go/7954/src/net/unixsock.go:260 +0x65
net/http.(*Server).Serve(0xc0003bc0e0, 0x187bb00, 0xc000265560, 0x0, 0x0)
/snap/go/7954/src/net/http/server.go:2961 +0x285
github.com/lxc/lxd/lxd/endpoints.(*Endpoints).serveHTTP.func1(0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/endpoints/endpoints.go:351 +0x3c
gopkg.in/tomb%2ev2.(*Tomb).run(0xc00047d180, 0xc000a05160)
/build/lxd/parts/lxd/src/.go/src/gopkg.in/tomb.v2/tomb.go:163 +0x38
created by gopkg.in/tomb%2ev2.(*Tomb).Go
/build/lxd/parts/lxd/src/.go/src/gopkg.in/tomb.v2/tomb.go:159 +0xbc
goroutine 119 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x7f44aeef7708, 0x72, 0x0)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0000f2b18, 0x72, 0x0, 0x0, 0x1626c23)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc0000f2b00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:401 +0x212
net.(*netFD).accept(0xc0000f2b00, 0x0, 0x0, 0xc00052bdb0)
/snap/go/7954/src/net/fd_unix.go:172 +0x45
net.(*UnixListener).accept(0xc0002654d0, 0x61207dd6, 0xc00052bdd8, 0x4a4486)
/snap/go/7954/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc0002654d0, 0xc00052be28, 0x18, 0xc000a08900, 0x6f1c1b)
/snap/go/7954/src/net/unixsock.go:260 +0x65
net/http.(*Server).Serve(0xc0003bc000, 0x187bb00, 0xc0002654d0, 0x0, 0x0)
/snap/go/7954/src/net/http/server.go:2961 +0x285
github.com/lxc/lxd/lxd/endpoints.(*Endpoints).serveHTTP.func1(0x0, 0x4d7b838a7fc8435)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/endpoints/endpoints.go:351 +0x3c
gopkg.in/tomb%2ev2.(*Tomb).run(0xc00047d180, 0xc000a051e0)
/build/lxd/parts/lxd/src/.go/src/gopkg.in/tomb.v2/tomb.go:163 +0x38
created by gopkg.in/tomb%2ev2.(*Tomb).Go
/build/lxd/parts/lxd/src/.go/src/gopkg.in/tomb.v2/tomb.go:159 +0xbc
goroutine 120 [IO wait, 117 minutes]:
internal/poll.runtime_pollWait(0x7f44aeef7620, 0x72, 0x0)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0000f2e98, 0x72, 0x0, 0x0, 0x1626c23)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc0000f2e80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:401 +0x212
net.(*netFD).accept(0xc0000f2e80, 0x10, 0x0, 0x319)
/snap/go/7954/src/net/fd_unix.go:172 +0x45
net.(*TCPListener).accept(0xc00000e1c8, 0x419b38, 0x100b5402a, 0x14c0240)
/snap/go/7954/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc00000e1c8, 0x8, 0x257f028, 0x0, 0x203000)
/snap/go/7954/src/net/tcpsock.go:261 +0x65
github.com/lxc/lxd/lxd/endpoints.(*networkListener).Accept(0xc00047ceb0, 0x0, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/endpoints/network.go:214 +0x6b
net/http.(*Server).Serve(0xc0003bc000, 0x187ae70, 0xc00047ceb0, 0x0, 0x0)
/snap/go/7954/src/net/http/server.go:2961 +0x285
github.com/lxc/lxd/lxd/endpoints.(*Endpoints).serveHTTP.func1(0x0, 0xd0aaa644fa04e06d)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/endpoints/endpoints.go:351 +0x3c
gopkg.in/tomb%2ev2.(*Tomb).run(0xc00047d180, 0xc000a05260)
/build/lxd/parts/lxd/src/.go/src/gopkg.in/tomb.v2/tomb.go:163 +0x38
created by gopkg.in/tomb%2ev2.(*Tomb).Go
/build/lxd/parts/lxd/src/.go/src/gopkg.in/tomb.v2/tomb.go:159 +0xbc
goroutine 121 [select, 16032 minutes]:
database/sql.(*DB).connectionOpener(0xc00039ab60, 0x1882140, 0xc000240b00)
/snap/go/7954/src/database/sql/sql.go:1133 +0xb5
created by database/sql.OpenDB
/snap/go/7954/src/database/sql/sql.go:740 +0x12a
goroutine 32165 [syscall, 15991 minutes]:
syscall.Syscall(0x7, 0xc0005f16d8, 0x1, 0xffffffffffffffff, 0xc0005f16b0, 0x4193db, 0x7f44d6b8a108)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc0005f16d8, 0x1, 0xffffffffffffffff, 0x20000, 0x7f44d6b8a108, 0x20000)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc0005f16d8, 0x1, 0x1, 0xffffffffffffffff, 0x20000, 0x1420cc0, 0x81e201)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x21, 0xffffffffffffffff, 0x203b, 0xc001780000, 0x8, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc000894010, 0xc00082a110, 0x21, 0x185fc60, 0xc000011330, 0xc00089401c, 0xc000566000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 188 [syscall]:
syscall.Syscall(0x0, 0x3, 0xc000557000, 0x1000, 0x1, 0xc000573ea8, 0x1429680)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.read(0x3, 0xc000557000, 0x1000, 0x1000, 0x25744a0, 0x0, 0x1)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux.go:1242 +0x5a
golang.org/x/sys/unix.Read(...)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_unix.go:157
main.deviceNetlinkListener.func1(0x800, 0x3, 0xc0002329c0, 0xc00026a3c0, 0xc00026a420, 0xc00026a480)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/devices.go:102 +0x9f
created by main.deviceNetlinkListener
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/devices.go:99 +0x226
goroutine 211 [syscall, 16032 minutes]:
syscall.Syscall(0x0, 0x1d, 0xc000a80000, 0x64640, 0x45c4cc, 0x64640, 0x1420cc0)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.read(0x1d, 0xc000a80000, 0x64640, 0x64640, 0x0, 0x44db96, 0x16fc700)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux.go:1242 +0x5a
golang.org/x/sys/unix.Read(...)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_unix.go:157
github.com/lxc/lxd/lxd/device.inotifyWatcher.func1(0xc000620c00, 0xc000a0c720)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/device/device_utils_inotify.go:170 +0x7f
created by github.com/lxc/lxd/lxd/device.inotifyWatcher
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/device/device_utils_inotify.go:167 +0x67
goroutine 177 [select, 203 minutes]:
main.deviceEventListener(0xc000620a80)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/devices.go:538 +0x1fe
created by main.(*Daemon).init
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/daemon.go:1227 +0x28df
goroutine 11153243 [select, 11056 minutes]:
github.com/lxc/lxd/lxd/instance/drivers.(*qemu).Exec.func2(0xc00146a2c0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/driver_qemu.go:5038 +0x225
created by github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:791 +0xddf
goroutine 4376669 [select, 14036 minutes]:
github.com/lxc/lxd/lxd/events.(*Listener).Wait(0xc0004d9570, 0x1882140, 0xc000d90a80)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events/events.go:209 +0x8b
main.eventsSocket(0xc0004944e0, 0xc000c62500, 0x187bce0, 0xc0014160e0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:115 +0x670
main.(*eventsServe).Render(0xc0017c48f0, 0x187bce0, 0xc0014160e0, 0x18714c8, 0xc0017c48f0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:31 +0x4b
main.(*Daemon).createCmd.func1(0x187bce0, 0xc0014160e0, 0xc000c62500)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/daemon.go:655 +0xc51
net/http.HandlerFunc.ServeHTTP(0xc00033e8a0, 0x187bce0, 0xc0014160e0, 0xc000c62400)
/snap/go/7954/src/net/http/server.go:2049 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0003823c0, 0x187bce0, 0xc0014160e0, 0xc000916100)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/mux/mux.go:210 +0xd3
main.(*lxdHttpServer).ServeHTTP(0xc0001afdc0, 0x187bce0, 0xc0014160e0, 0xc000916100)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/api.go:128 +0x89
net/http.serverHandler.ServeHTTP(0xc0003bc000, 0x187bce0, 0xc0014160e0, 0xc000916100)
/snap/go/7954/src/net/http/server.go:2867 +0xa3
net/http.(*conn).serve(0xc001020280, 0x18821e8, 0xc000d66880)
/snap/go/7954/src/net/http/server.go:1932 +0x8cd
created by net/http.(*Server).Serve
/snap/go/7954/src/net/http/server.go:2993 +0x39b
goroutine 4378053 [chan receive, 14036 minutes]:
github.com/lxc/lxd/shared.ExecReaderToChannel.func2(0xc00084a300, 0xc0016d201c, 0x4c, 0xc0016d2010, 0xc000118f90)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:478 +0x38
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:477 +0x11d
goroutine 4377327 [IO wait, 676 minutes]:
internal/poll.runtime_pollWait(0x7f44acedaee0, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000c0a498, 0x72, 0x701, 0x702, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000c0a480, 0xc0009e2800, 0x702, 0x702, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc000288e58, 0xc0009e2800, 0x702, 0x702, 0xc00140e000, 0xc0009e29e0, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/mdlayher/vsock.(*sysConnFD).Read(0xc0017a08d0, 0xc0009e2800, 0x702, 0x702, 0x522, 0xc0009e29db, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/fd_linux.go:165 +0x4d
github.com/mdlayher/vsock.(*Conn).Read(0xc002064820, 0xc0009e2800, 0x702, 0x702, 0x4193db, 0xc00143a2a0, 0x18)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/vsock.go:193 +0x58
crypto/tls.(*atLeastReader).Read(0xc00143a2a0, 0xc0009e2800, 0x702, 0x702, 0x501, 0xc000905c00, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc001b005f8, 0x185de20, 0xc00143a2a0, 0x417165, 0x149e3c0, 0x1593cc0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc001b00380, 0x7f448c3cb238, 0xc002064820, 0x5, 0xc002064820, 0x203000)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc001b00380, 0x0, 0x0, 0x4d3ecc)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc001b00380, 0xc0010d4800, 0x702, 0x702, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
crypto/tls.(*atLeastReader).Read(0xc00143a288, 0xc0010d4800, 0x702, 0x702, 0x0, 0xc000905c00, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc0006633f8, 0x185de20, 0xc00143a288, 0x417165, 0x149e3c0, 0x16096e0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc000663180, 0x185dde0, 0xc001b00380, 0x5, 0xc001b00380, 0x198)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc000663180, 0x0, 0x0, 0xa)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc000663180, 0xc000c6b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
bufio.(*Reader).fill(0xc001224d80)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc001224d80, 0x2, 0x0, 0xc001074b93, 0xc000d0b080, 0xc00029e480, 0xc00029e630)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc00101e000, 0x2, 0x18, 0x4, 0x10, 0xc002053d50, 0x732e0b)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc00101e000, 0x0, 0x0, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc00101e000, 0xc002053e38, 0x475ca0, 0xc002053e80, 0xc002053e88, 0x50)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
github.com/gorilla/websocket.(*Conn).ReadMessage(0xc00101e000, 0xc000704858, 0xc001858230, 0x9, 0x19bb45c0, 0xed8b1d648, 0xc0004cc8c0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:1064 +0x2f
github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents.func2(0xc00101e000, 0xc000c731e0, 0xc000f17740)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:72 +0x45
created by github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:70 +0x35e
goroutine 2008372 [syscall, 2816 minutes]:
syscall.Syscall(0x7, 0xc000959ed8, 0x1, 0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x4)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc000959ed8, 0x1, 0xffffffffffffffff, 0xffffffffffffffff, 0x18610c0, 0x1fd7e40)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc000959ed8, 0x1, 0x1, 0xffffffffffffffff, 0xffffffffffffffff, 0x18610c0, 0x1fd7e40)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x35, 0xffffffffffffffff, 0x203b, 0xc002140000, 0x8, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc0017bc020, 0xc0017a00e0, 0x35, 0x185fc60, 0xc0001404c8, 0xc0017bc02c, 0xc000ae6000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 5149 [select, 12 minutes]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc000b7c048, 0x1882140, 0xc0000dc440)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/task.go:66 +0x13a
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc000b7c048, 0xc00079e340, 0xc000494548, 0x2)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:60 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:59 +0x245
goroutine 290899 [chan send, 10561 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc0008442a0, 0xc0002e2580, 0x185fc60, 0xc0000109d0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 5151 [select, 12 minutes]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc000b7c1c8, 0x1882140, 0xc0000dc440)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/task.go:66 +0x13a
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc000b7c1c8, 0xc00079e340, 0xc000494548, 0x4)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:60 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:59 +0x245
goroutine 5150 [select, 192 minutes]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc000b7c120, 0x1882140, 0xc0000dc440)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/task.go:66 +0x13a
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc000b7c120, 0xc00079e340, 0xc000494548, 0x3)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:60 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:59 +0x245
goroutine 5152 [select]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc000b7c258, 0x1882140, 0xc0000dc440)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/task.go:66 +0x13a
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc000b7c258, 0xc00079e340, 0xc000494548, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:60 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:59 +0x245
goroutine 4378040 [select, 14036 minutes]:
github.com/lxc/lxd/client.(*operation).setupListener.func2(0xc00193e300, 0xc0014162a0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:213 +0xf5
created by github.com/lxc/lxd/client.(*operation).setupListener
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:198 +0x27e
goroutine 5153 [select]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc000b7c288, 0x1882140, 0xc0000dc440)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/task.go:66 +0x13a
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc000b7c288, 0xc00079e340, 0xc000494548, 0x6)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:60 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:59 +0x245
goroutine 46922609 [IO wait]:
internal/poll.runtime_pollWait(0x7f44ac4c6b38, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc002914018, 0x72, 0x0, 0x1, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc002914000, 0xc000991601, 0x1, 0x1, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc002914000, 0xc000991601, 0x1, 0x1, 0xc0015997a8, 0x838194, 0xc001a52180)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc0015a4000, 0xc000991601, 0x1, 0x1, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
net/http.(*connReader).backgroundRead(0xc0009915f0)
/snap/go/7954/src/net/http/server.go:672 +0x58
created by net/http.(*connReader).startBackgroundRead
/snap/go/7954/src/net/http/server.go:668 +0xd5
goroutine 11153047 [select, 11086 minutes]:
github.com/lxc/lxd/lxd/events.(*Listener).Wait(0xc000d9f500, 0x1882140, 0xc0017e1dc0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events/events.go:209 +0x8b
main.eventsSocket(0xc0004944e0, 0xc0006d7600, 0x187bce0, 0xc000bf8000, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:115 +0x670
main.(*eventsServe).Render(0xc00149fc70, 0x187bce0, 0xc000bf8000, 0x18714c8, 0xc00149fc70)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:31 +0x4b
main.(*Daemon).createCmd.func1(0x187bce0, 0xc000bf8000, 0xc0006d7600)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/daemon.go:655 +0xc51
net/http.HandlerFunc.ServeHTTP(0xc00033e8a0, 0x187bce0, 0xc000bf8000, 0xc0006d7500)
/snap/go/7954/src/net/http/server.go:2049 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0003823c0, 0x187bce0, 0xc000bf8000, 0xc0006d7300)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/mux/mux.go:210 +0xd3
main.(*lxdHttpServer).ServeHTTP(0xc0001afdc0, 0x187bce0, 0xc000bf8000, 0xc0006d7300)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/api.go:128 +0x89
net/http.serverHandler.ServeHTTP(0xc0003bc000, 0x187bce0, 0xc000bf8000, 0xc0006d7300)
/snap/go/7954/src/net/http/server.go:2867 +0xa3
net/http.(*conn).serve(0xc0017f4140, 0x18821e8, 0xc0010b8c80)
/snap/go/7954/src/net/http/server.go:1932 +0x8cd
created by net/http.(*Server).Serve
/snap/go/7954/src/net/http/server.go:2993 +0x39b
goroutine 3094504 [chan send, 6706 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc001236000, 0xc001076580, 0x185fc60, 0xc0001406f0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 14018 [chan send, 2711 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc000a0c000, 0xc0009b6580, 0x185fc60, 0xc0007a85f8)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4964 [IO wait]:
internal/poll.runtime_pollWait(0x7f44aeef70b0, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000b22c98, 0x72, 0xa00, 0xad2, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000b22c80, 0xc00038f52e, 0xad2, 0xad2, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc000b22c80, 0xc00038f52e, 0xad2, 0xad2, 0x720e2d, 0xc002518d58, 0x411835)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000140688, 0xc00038f52e, 0xad2, 0xad2, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
bufio.(*Scanner).Scan(0xc002518f08, 0xc002518ee0)
/snap/go/7954/src/bufio/scan.go:214 +0xa9
github.com/digitalocean/go-qemu/qmp.(*SocketMonitor).listen(0xc000622d70, 0x185f8a0, 0xc000140688, 0xc00026a5a0, 0xc00026a600)
/build/lxd/parts/lxd/src/.go/src/github.com/digitalocean/go-qemu/qmp/socket.go:172 +0xff
created by github.com/digitalocean/go-qemu/qmp.(*SocketMonitor).Connect
/build/lxd/parts/lxd/src/.go/src/github.com/digitalocean/go-qemu/qmp/socket.go:148 +0x348
goroutine 1332412 [chan receive, 15403 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc0012f7860, 0xc001246160, 0x185fc60, 0xc000011618)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:193 +0x7e
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4378052 [chan receive, 13974 minutes]:
github.com/lxc/lxd/shared/netutils.WebsocketExecMirror.func1(0xc00084a300, 0x4c, 0xc000d88230, 0xc001246dc0, 0x1871b08, 0xc0013ce7b0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/netutils/network_linux.go:25 +0xba
created by github.com/lxc/lxd/shared/netutils.WebsocketExecMirror
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/netutils/network_linux.go:22 +0x105
goroutine 4241453 [IO wait, 676 minutes]:
internal/poll.runtime_pollWait(0x7f44acedafc8, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0014885b8, 0x72, 0x701, 0x702, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0014885a0, 0xc0014f8000, 0x702, 0x702, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc0013ce220, 0xc0014f8000, 0x702, 0x702, 0xc00186e780, 0xc0014f81e0, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/mdlayher/vsock.(*sysConnFD).Read(0xc001adc2c0, 0xc0014f8000, 0x702, 0x702, 0x522, 0xc0014f81db, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/fd_linux.go:165 +0x4d
github.com/mdlayher/vsock.(*Conn).Read(0xc000d24360, 0xc0014f8000, 0x702, 0x702, 0x4193db, 0xc000e14228, 0x18)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/vsock.go:193 +0x58
crypto/tls.(*atLeastReader).Read(0xc000e14228, 0xc0014f8000, 0x702, 0x702, 0x501, 0xc000dbc800, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc000663e78, 0x185de20, 0xc000e14228, 0x417165, 0x149e3c0, 0x1593cc0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc000663c00, 0x7f448c3cb238, 0xc000d24360, 0x5, 0xc000d24360, 0x203000)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc000663c00, 0x0, 0x0, 0x4d3ecc)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc000663c00, 0xc0009e3800, 0x702, 0x702, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
crypto/tls.(*atLeastReader).Read(0xc000e14210, 0xc0009e3800, 0x702, 0x702, 0x0, 0xc000dbc800, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc00065be78, 0x185de20, 0xc000e14210, 0x417165, 0x149e3c0, 0x16096e0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc00065bc00, 0x185dde0, 0xc000663c00, 0x5, 0xc000663c00, 0x198)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc00065bc00, 0x0, 0x0, 0xa)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc00065bc00, 0xc000395000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
bufio.(*Reader).fill(0xc001488900)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc001488900, 0x2, 0x0, 0xc000660793, 0xc000d0b080, 0xc00029e480, 0xc00029e630)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc001b0c420, 0x2, 0x18, 0x4, 0x10, 0xc001001d50, 0x732e0b)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc001b0c420, 0x0, 0x0, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc001b0c420, 0xc001001e38, 0x475ca0, 0xc001001e80, 0xc001001e88, 0x50)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
github.com/gorilla/websocket.(*Conn).ReadMessage(0xc001b0c420, 0xc000a55020, 0xc00027e250, 0x9, 0x19bb45c0, 0xed8b1d648, 0xc000d9e690)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:1064 +0x2f
github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents.func2(0xc001b0c420, 0xc00159e1a0, 0xc001d5e060)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:72 +0x45
created by github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:70 +0x35e
goroutine 4965 [select]:
github.com/lxc/lxd/lxd/instance/drivers/qmp.(*Monitor).start.func2(0xc000a106a0, 0xc000d66540, 0xc00026a5a0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/qmp/monitor.go:74 +0x111
created by github.com/lxc/lxd/lxd/instance/drivers/qmp.(*Monitor).start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/qmp/monitor.go:68 +0x8e
goroutine 4370497 [chan receive, 14036 minutes]:
github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance.func1(0xc0015b0160, 0xc00106e5c0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:806 +0xd2
created by github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:804 +0x4de
goroutine 5148 [select, 192 minutes]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc000b7c030, 0x1882140, 0xc0000dc440)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/task.go:66 +0x13a
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc000b7c030, 0xc00079e340, 0xc000494548, 0x1)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:60 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:59 +0x245
goroutine 204915 [chan send, 15913 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc00026a000, 0xc000daa580, 0x185fc60, 0xc0013ce060)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4378054 [runnable]:
syscall.Syscall(0x7, 0xc001e4bed8, 0x1, 0xffffffffffffffff, 0x1, 0xffffffffffffffff, 0x0)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc001e4bed8, 0x1, 0xffffffffffffffff, 0xc0008395f0, 0xc000118200, 0x20001)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc001e4bed8, 0x1, 0x1, 0xffffffffffffffff, 0xc000118050, 0xc000118200, 0x185e020)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x4c, 0xffffffffffffffff, 0x203b, 0x20000, 0x0, 0x185f700, 0xc0008395f0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc0016d2010, 0xc000118f90, 0x4c, 0x185fc60, 0xc0013ce7b0, 0xc0016d201c, 0xc0002a2060)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 4929 [IO wait, 16032 minutes]:
internal/poll.runtime_pollWait(0x7f44aeef7280, 0x72, 0x0)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000620618, 0x72, 0x0, 0x0, 0x1626c23)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000620600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:401 +0x212
net.(*netFD).accept(0xc000620600, 0x0, 0xc00018a530, 0x16fc9d8)
/snap/go/7954/src/net/fd_unix.go:172 +0x45
net.(*UnixListener).accept(0xc001070630, 0xc0001180b0, 0x0, 0x0)
/snap/go/7954/src/net/unixsock_posix.go:162 +0x32
net.(*UnixListener).Accept(0xc001070630, 0xc000a0c180, 0x0, 0xc00010e060, 0x0)
/snap/go/7954/src/net/unixsock.go:260 +0x65
github.com/lxc/lxd/lxd/seccomp.NewSeccompServer.func1(0x187bb00, 0xc001070630, 0xc001070660, 0x16fb620)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/seccomp/seccomp.go:992 +0x69
created by github.com/lxc/lxd/lxd/seccomp.NewSeccompServer
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/seccomp/seccomp.go:990 +0x1d7
goroutine 5147 [select, 192 minutes]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc000b7c018, 0x1882140, 0xc0000dc440)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/task.go:66 +0x13a
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc000b7c018, 0xc00079e340, 0xc000494548, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:60 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:59 +0x245
goroutine 5186 [select]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc000b7c300, 0x1882140, 0xc0000dc440)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/task.go:66 +0x13a
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc000b7c300, 0xc00079e340, 0xc000494548, 0x7)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:60 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:59 +0x245
goroutine 5187 [select]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc000b7c330, 0x1882140, 0xc0000dc440)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/task.go:66 +0x13a
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc000b7c330, 0xc00079e340, 0xc000494548, 0x8)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:60 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:59 +0x245
goroutine 5188 [select, 192 minutes]:
github.com/lxc/lxd/lxd/task.(*Task).loop(0xc000b7c360, 0x1882140, 0xc0000dc440)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/task.go:66 +0x13a
github.com/lxc/lxd/lxd/task.(*Group).Start.func1(0xc000b7c360, 0xc00079e340, 0xc000494548, 0x9)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:60 +0x45
created by github.com/lxc/lxd/lxd/task.(*Group).Start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/task/group.go:59 +0x245
goroutine 4276494 [IO wait, 14056 minutes]:
internal/poll.runtime_pollWait(0x7f44aeef7450, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00162a618, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00162a600, 0xc00175a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc00162a600, 0xc00175a000, 0x1000, 0x1000, 0x4, 0xc000522450, 0xc000fb0ba8)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000a06430, 0xc00175a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
bufio.(*Reader).fill(0xc0014889c0)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc0014889c0, 0x2, 0x0, 0x0, 0x1, 0x0, 0x2572310)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc000ca9a20, 0x2, 0x22, 0x2572310, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc000ca9a20, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc000ca9a20, 0xc0018ead20, 0xffffffffffffffff, 0xc001fce798, 0xc000d25aa0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
main.(*execWs).Do.func2(0x7f44acea93b0, 0xc001023300, 0xc001704000, 0xc000f160c0, 0x1883058, 0xc001510740, 0xc0007a80a0, 0x1, 0x1)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:236 +0x1fb
created by main.(*execWs).Do
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:219 +0x8aa
goroutine 5311 [syscall, 16032 minutes]:
os/signal.signal_recv(0x1882140)
/snap/go/7954/src/runtime/sigqueue.go:168 +0xa5
os/signal.loop()
/snap/go/7954/src/os/signal/signal_unix.go:23 +0x25
created by os/signal.Notify.func1.1
/snap/go/7954/src/os/signal/signal.go:151 +0x45
goroutine 4370516 [chan receive, 13961 minutes]:
github.com/lxc/lxd/shared/netutils.WebsocketExecMirror.func1(0xc001c6ec00, 0x28, 0xc0000da070, 0xc001c74420, 0x1871b08, 0xc000a06bf0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/netutils/network_linux.go:25 +0xba
created by github.com/lxc/lxd/shared/netutils.WebsocketExecMirror
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/netutils/network_linux.go:22 +0x105
goroutine 4370486 [IO wait, 676 minutes]:
internal/poll.runtime_pollWait(0x7f44acedad10, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc001b91578, 0x72, 0x701, 0x702, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc001b91560, 0xc000735000, 0x702, 0x702, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc000140dc8, 0xc000735000, 0x702, 0x702, 0xc001cfa000, 0xc000735005, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/mdlayher/vsock.(*sysConnFD).Read(0xc000f9c370, 0xc000735000, 0x702, 0x702, 0x6fd, 0xc000735000, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/fd_linux.go:165 +0x4d
github.com/mdlayher/vsock.(*Conn).Read(0xc001fb1960, 0xc000735000, 0x702, 0x702, 0x4193db, 0xc000cc22b8, 0x18)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/vsock.go:193 +0x58
crypto/tls.(*atLeastReader).Read(0xc000cc22b8, 0xc000735000, 0x702, 0x702, 0x601, 0xc000904000, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc0001c0978, 0x185de20, 0xc000cc22b8, 0x417165, 0x149e3c0, 0x1593cc0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc0001c0700, 0x7f448c3cb238, 0xc001fb1960, 0x5, 0xc001fb1960, 0x203000)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc0001c0700, 0x0, 0x0, 0x4d3ecc)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc0001c0700, 0xc000f7c000, 0x702, 0x702, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
crypto/tls.(*atLeastReader).Read(0xc000cc22a0, 0xc000f7c000, 0x702, 0x702, 0x0, 0xc000904000, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc0001c1af8, 0x185de20, 0xc000cc22a0, 0x417165, 0x149e3c0, 0x16096e0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc0001c1880, 0x185dde0, 0xc0001c0700, 0x5, 0xc0001c0700, 0x198)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc0001c1880, 0x0, 0x0, 0xa)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc0001c1880, 0xc001e61000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
bufio.(*Reader).fill(0xc000d08000)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc000d08000, 0x2, 0x0, 0xc000824993, 0xc000d0b080, 0xc00029e480, 0xc00029e630)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0015b0000, 0x2, 0x18, 0x4, 0x10, 0xc000d1fd50, 0x732e0b)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0015b0000, 0x0, 0x0, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0015b0000, 0xc000d1fe38, 0x475ca0, 0xc000d1fe80, 0xc000d1fe88, 0x50)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
github.com/gorilla/websocket.(*Conn).ReadMessage(0xc0015b0000, 0xc0010d20a8, 0xc001030250, 0x9, 0x19bb45c0, 0xed8b1d648, 0xc00032ca10)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:1064 +0x2f
github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents.func2(0xc0015b0000, 0xc000d4d860, 0xc001d01f20)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:72 +0x45
created by github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:70 +0x35e
goroutine 4274969 [select, 14084 minutes]:
github.com/lxc/lxd/lxd/events.(*Listener).Wait(0xc000203880, 0x1882140, 0xc000d67ec0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events/events.go:209 +0x8b
main.eventsSocket(0xc0004944e0, 0xc000ffd400, 0x187bce0, 0xc0014a1180, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:115 +0x670
main.(*eventsServe).Render(0xc001b79d40, 0x187bce0, 0xc0014a1180, 0x18714c8, 0xc001b79d40)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:31 +0x4b
main.(*Daemon).createCmd.func1(0x187bce0, 0xc0014a1180, 0xc000ffd400)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/daemon.go:655 +0xc51
net/http.HandlerFunc.ServeHTTP(0xc00033e8a0, 0x187bce0, 0xc0014a1180, 0xc000ffd300)
/snap/go/7954/src/net/http/server.go:2049 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0003823c0, 0x187bce0, 0xc0014a1180, 0xc000ffd100)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/mux/mux.go:210 +0xd3
main.(*lxdHttpServer).ServeHTTP(0xc0001afdc0, 0x187bce0, 0xc0014a1180, 0xc000ffd100)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/api.go:128 +0x89
net/http.serverHandler.ServeHTTP(0xc0003bc000, 0x187bce0, 0xc0014a1180, 0xc000ffd100)
/snap/go/7954/src/net/http/server.go:2867 +0xa3
net/http.(*conn).serve(0xc000568fa0, 0x18821e8, 0xc000d67c40)
/snap/go/7954/src/net/http/server.go:1932 +0x8cd
created by net/http.(*Server).Serve
/snap/go/7954/src/net/http/server.go:2993 +0x39b
goroutine 4241452 [select]:
github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents.func1(0xc00159e1a0, 0xc001d5e060, 0xc001b0c420)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:50 +0xad
created by github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:48 +0x325
goroutine 32094 [syscall, 15991 minutes]:
syscall.Syscall(0x0, 0x22, 0xc001760000, 0x20000, 0x0, 0x800000, 0x7ffff800000)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
syscall.read(0x22, 0xc001760000, 0x20000, 0x20000, 0x0, 0xc0008db700, 0x41956a)
/snap/go/7954/src/syscall/zsyscall_linux_amd64.go:686 +0x5a
syscall.Read(...)
/snap/go/7954/src/syscall/syscall_unix.go:187
internal/poll.ignoringEINTRIO(...)
/snap/go/7954/src/internal/poll/fd_unix.go:581
internal/poll.(*FD).Read(0xc000b8d020, 0xc001760000, 0x20000, 0x20000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:162 +0x145
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc000011340, 0xc001760000, 0x20000, 0x20000, 0x1, 0x0, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/lxc/lxd/shared.ReaderToChannel.func1(0x20000, 0x185fc60, 0xc000011340, 0xc000e68000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:297 +0xe8
created by github.com/lxc/lxd/shared.ReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:290 +0x8f
goroutine 1332337 [syscall, 15403 minutes]:
syscall.Syscall(0x7, 0xc001530ed8, 0x1, 0xffffffffffffffff, 0xc001530eb0, 0x4193db, 0x7f44d6b8a5b8)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc001530ed8, 0x1, 0xffffffffffffffff, 0x20000, 0x7f44d6b8a5b8, 0x20000)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc001530ed8, 0x1, 0x1, 0xffffffffffffffff, 0x20000, 0x1420cc0, 0x81e201)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x35, 0xffffffffffffffff, 0x203b, 0xc0021a0000, 0x8, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc001808010, 0xc001448040, 0x35, 0x185fc60, 0xc000011610, 0xc00180801c, 0xc002038000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 2065512 [chan send, 6641 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc001580000, 0xc0011c46e0, 0x185fc60, 0xc000288cc0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4377828 [select, 13936 minutes]:
github.com/lxc/lxd/lxd/instance/drivers.(*qemu).Exec.func2(0xc0009b6160)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/driver_qemu.go:5038 +0x225
created by github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:791 +0xddf
goroutine 105510 [syscall, 15990 minutes]:
syscall.Syscall(0x0, 0x25, 0xc0018a0000, 0x20000, 0x0, 0x800000, 0x7ffff800000)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
syscall.read(0x25, 0xc0018a0000, 0x20000, 0x20000, 0x0, 0xc00094b700, 0x41956a)
/snap/go/7954/src/syscall/zsyscall_linux_amd64.go:686 +0x5a
syscall.Read(...)
/snap/go/7954/src/syscall/syscall_unix.go:187
internal/poll.ignoringEINTRIO(...)
/snap/go/7954/src/internal/poll/fd_unix.go:581
internal/poll.(*FD).Read(0xc001300d20, 0xc0018a0000, 0x20000, 0x20000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:162 +0x145
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc0007a8170, 0xc0018a0000, 0x20000, 0x20000, 0x1, 0x0, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/lxc/lxd/shared.ReaderToChannel.func1(0x20000, 0x185fc60, 0xc0007a8170, 0xc000c24c60)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:297 +0xe8
created by github.com/lxc/lxd/shared.ReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:290 +0x8f
goroutine 4370504 [IO wait, 13936 minutes]:
internal/poll.runtime_pollWait(0x7f44acedac28, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00018a818, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00018a800, 0xc0013c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc00018a800, 0xc0013c8000, 0x1000, 0x1000, 0x4, 0xc001bb7200, 0xc0007dfba8)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000010f70, 0xc0013c8000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
bufio.(*Reader).fill(0xc001b90300)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc001b90300, 0x2, 0x0, 0x0, 0x1, 0x0, 0x2572310)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0015b09a0, 0x2, 0x22, 0x2572310, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0015b09a0, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0015b09a0, 0xc0009bc210, 0xffffffffffffffff, 0xc0007a1008, 0xc00123a240, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
main.(*execWs).Do.func2(0x7f44acea93b0, 0xc0010ca000, 0xc000383c80, 0xc001c6eba0, 0x1883058, 0xc0017e0000, 0xc000a06be8, 0x1, 0x1)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:236 +0x1fb
created by main.(*execWs).Do
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:219 +0x8aa
goroutine 28151 [chan send, 15996 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc0002a2000, 0xc0006b42c0, 0x185fc60, 0xc000288d38)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4243748 [select]:
github.com/lxc/lxd/lxd/instance/drivers/qmp.(*Monitor).start.func2(0xc00135ab10, 0xc000d90780, 0xc001b383c0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/qmp/monitor.go:74 +0x111
created by github.com/lxc/lxd/lxd/instance/drivers/qmp.(*Monitor).start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/qmp/monitor.go:68 +0x8e
goroutine 4244059 [chan send, 14055 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc000040300, 0xc001b0c000, 0x185fc60, 0xc0013ce088)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 240066 [chan send, 14221 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc0010ae180, 0xc001490580, 0x185fc60, 0xc0013ce2f0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 18251 [chan receive, 15991 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc000c0e000, 0xc0009b6000, 0x185fc60, 0xc000011340)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:193 +0x7e
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 11153253 [select]:
github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents.func1(0xc001232270, 0xc0021de420, 0xc00146a000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:50 +0xad
created by github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:48 +0x325
goroutine 283961 [chan send, 6621 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc000da3ce0, 0xc0002e2420, 0x185fc60, 0xc0007a83e0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 103736 [chan send, 2731 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc0007fc000, 0xc0011c4420, 0x185fc60, 0xc000a06358)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 262000 [chan send, 15741 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc001263d40, 0xc001672160, 0x185fc60, 0xc0013ce820)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4377944 [IO wait, 13974 minutes]:
internal/poll.runtime_pollWait(0x7f44ac4c7700, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0012251b8, 0x72, 0x2401, 0x24f6, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0012251a0, 0xc0010e9400, 0x24f6, 0x24f6, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc0007a8700, 0xc0010e9400, 0x24f6, 0x24f6, 0xc0008368c0, 0xc0010e9405, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/mdlayher/vsock.(*sysConnFD).Read(0xc001661e30, 0xc0010e9400, 0x24f6, 0x24f6, 0x24f1, 0xc0010e9400, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/fd_linux.go:165 +0x4d
github.com/mdlayher/vsock.(*Conn).Read(0xc0011bcc40, 0xc0010e9400, 0x24f6, 0x24f6, 0x4193db, 0xc000e14168, 0x18)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/vsock.go:193 +0x58
crypto/tls.(*atLeastReader).Read(0xc000e14168, 0xc0010e9400, 0x24f6, 0x24f6, 0x24f1, 0xc001f8a000, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc0006c3af8, 0x185de20, 0xc000e14168, 0x417165, 0x149e3c0, 0x1593cc0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc0006c3880, 0x7f448c3cb238, 0xc0011bcc40, 0x5, 0xc0011bcc40, 0x19)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc0006c3880, 0x0, 0x0, 0x114f)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc0006c3880, 0xc000b4e600, 0x1154, 0x1154, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
crypto/tls.(*atLeastReader).Read(0xc000e14150, 0xc000b4e600, 0x1154, 0x1154, 0x114f, 0xc001f8a000, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc0006c3778, 0x185de20, 0xc000e14150, 0x417165, 0x149e3c0, 0x16096e0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc0006c3500, 0x185dde0, 0xc0006c3880, 0x5, 0xc0006c3880, 0x3)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc0006c3500, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc0006c3500, 0xc0020ec000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
bufio.(*Reader).fill(0xc000c0b800)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc000c0b800, 0x2, 0x44df9c, 0xc0009e0780, 0x300000002, 0xc0009e0780, 0xc001ac7dc0)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0011d0000, 0x2, 0x1, 0xc001ac7e20, 0x4fd9d2, 0xc000cf9200, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0011d0000, 0x0, 0x0, 0x1)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0011d0000, 0xc000825200, 0x1, 0x200, 0x1, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
github.com/lxc/lxd/shared.WebsocketRecvStream.func1(0xc0014460c0, 0x185fca0, 0xc0013ce7b8, 0xc0011d0000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:216 +0x2f
created by github.com/lxc/lxd/shared.WebsocketRecvStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:214 +0x76
goroutine 102697 [syscall, 741 minutes]:
syscall.Syscall(0x7, 0xc000c00ed8, 0x1, 0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x4)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc000c00ed8, 0x1, 0xffffffffffffffff, 0xffffffffffffffff, 0x18610c0, 0x1fd7e40)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc000c00ed8, 0x1, 0x1, 0xffffffffffffffff, 0xffffffffffffffff, 0x18610c0, 0x1fd7e40)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x21, 0xffffffffffffffff, 0x203b, 0xc001980000, 0x8, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc00064a000, 0xc0003fe000, 0x21, 0x185fc60, 0xc000a06350, 0xc00064a00c, 0xc0010cc000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 11152250 [chan receive, 11086 minutes]:
github.com/lxc/lxd/shared.ExecReaderToChannel.func2(0xc000f224e0, 0xc0010ce008, 0x63, 0xc0010ce010, 0xc001b1a040)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:478 +0x38
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:477 +0x11d
goroutine 2065546 [syscall, 735 minutes]:
syscall.Syscall(0x7, 0xc00096b6d8, 0x1, 0xffffffffffffffff, 0xffffffffffffffff, 0x0, 0x4)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc00096b6d8, 0x1, 0xffffffffffffffff, 0xffffffffffffffff, 0x18610c0, 0x1fd7e40)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc00096b6d8, 0x1, 0x1, 0xffffffffffffffff, 0xffffffffffffffff, 0x18610c0, 0x1fd7e40)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x35, 0xffffffffffffffff, 0x203b, 0xc0025e0000, 0x8, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc000788010, 0xc000918050, 0x35, 0x185fc60, 0xc000288cb8, 0xc00078801c, 0xc001b7e000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 11153254 [IO wait, 676 minutes]:
internal/poll.runtime_pollWait(0x7f44aceda7a0, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0006f4378, 0x72, 0x701, 0x702, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0006f4360, 0xc0010d4000, 0x702, 0x702, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc001ac0178, 0xc0010d4000, 0x702, 0x702, 0xc00075c780, 0xc0010d41e0, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/mdlayher/vsock.(*sysConnFD).Read(0xc00153e330, 0xc0010d4000, 0x702, 0x702, 0x522, 0xc0010d41db, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/fd_linux.go:165 +0x4d
github.com/mdlayher/vsock.(*Conn).Read(0xc001330220, 0xc0010d4000, 0x702, 0x702, 0x4193db, 0xc000e142a0, 0x18)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/vsock.go:193 +0x58
crypto/tls.(*atLeastReader).Read(0xc000e142a0, 0xc0010d4000, 0x702, 0x702, 0x501, 0xc000dbc000, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc001874cf8, 0x185de20, 0xc000e142a0, 0x417165, 0x149e3c0, 0x1593cc0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc001874a80, 0x7f448c3cb238, 0xc001330220, 0x5, 0xc001330220, 0x203000)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc001874a80, 0x0, 0x0, 0x4d3ecc)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc001874a80, 0xc000c4b000, 0x702, 0x702, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
crypto/tls.(*atLeastReader).Read(0xc000e14288, 0xc000c4b000, 0x702, 0x702, 0x0, 0xc000dbc000, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc001875078, 0x185de20, 0xc000e14288, 0x417165, 0x149e3c0, 0x16096e0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc001874e00, 0x185dde0, 0xc001874a80, 0x5, 0xc001874a80, 0x198)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc001874e00, 0x0, 0x0, 0xa)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc001874e00, 0xc0015ac000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
bufio.(*Reader).fill(0xc00154cae0)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc00154cae0, 0x2, 0x0, 0xc000660b93, 0xc000d0b080, 0xc00029e480, 0xc00029e630)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc00146a000, 0x2, 0x18, 0x4, 0x10, 0xc001605d50, 0x732e0b)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc00146a000, 0x0, 0x0, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc00146a000, 0xc001605e38, 0x475ca0, 0xc001605e80, 0xc001605e88, 0x50)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
github.com/gorilla/websocket.(*Conn).ReadMessage(0xc00146a000, 0xc00192c0d8, 0xc00027e3b0, 0x9, 0x19bb45c0, 0xed8b1d648, 0xc000d9e930)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:1064 +0x2f
github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents.func2(0xc00146a000, 0xc001232270, 0xc0021de420)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:72 +0x45
created by github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:70 +0x35e
goroutine 105664 [chan receive, 15947 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc000f22000, 0xc0004fa2c0, 0x185fc60, 0xc000141018)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:193 +0x7e
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 11153004 [chan receive, 11086 minutes]:
github.com/lxc/lxd/client.(*operation).Wait(0xc0005fe000, 0x0, 0xc001e9b928)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:125 +0x168
github.com/lxc/lxd/lxd/instance/drivers.(*qemuCmd).Wait(0xc00021c000, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/driver_qemu_cmd.go:51 +0x9f
main.(*execWs).Do(0xc001ae0180, 0xc0011ff0e0, 0x200000003, 0xc0002e1980)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:407 +0x73f
github.com/lxc/lxd/lxd/operations.(*Operation).Run.func1(0xc0011ff0e0, 0xc000f60cc0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/operations/operations.go:270 +0x4a
created by github.com/lxc/lxd/lxd/operations.(*Operation).Run
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/operations/operations.go:269 +0x468
goroutine 4370320 [chan receive, 14036 minutes]:
github.com/lxc/lxd/client.(*operation).Wait(0xc00116e000, 0x0, 0xc001e53928)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:125 +0x168
github.com/lxc/lxd/lxd/instance/drivers.(*qemuCmd).Wait(0xc0017e0000, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/driver_qemu_cmd.go:51 +0x9f
main.(*execWs).Do(0xc000383c80, 0xc0011ff560, 0xc0003e4501, 0x129e24ce1fb78ef)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:407 +0x73f
github.com/lxc/lxd/lxd/operations.(*Operation).Run.func1(0xc0011ff560, 0xc001750960)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/operations/operations.go:270 +0x4a
created by github.com/lxc/lxd/lxd/operations.(*Operation).Run
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/operations/operations.go:269 +0x468
goroutine 255994 [syscall, 15921 minutes]:
syscall.Syscall(0x0, 0x27, 0xc001bbe000, 0x20000, 0x0, 0x800000, 0x7ffff800000)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
syscall.read(0x27, 0xc001bbe000, 0x20000, 0x20000, 0x0, 0xc0010b0f00, 0x41956a)
/snap/go/7954/src/syscall/zsyscall_linux_amd64.go:686 +0x5a
syscall.Read(...)
/snap/go/7954/src/syscall/syscall_unix.go:187
internal/poll.ignoringEINTRIO(...)
/snap/go/7954/src/internal/poll/fd_unix.go:581
internal/poll.(*FD).Read(0xc001128a80, 0xc001bbe000, 0x20000, 0x20000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:162 +0x145
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc0013ce038, 0xc001bbe000, 0x20000, 0x20000, 0x1, 0x0, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/lxc/lxd/shared.ReaderToChannel.func1(0x20000, 0x185fc60, 0xc0013ce038, 0xc000988300)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:297 +0xe8
created by github.com/lxc/lxd/shared.ReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:290 +0x8f
goroutine 4218547 [chan send, 6611 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc00165c000, 0xc0002e29a0, 0x185fc60, 0xc001410060)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4275244 [select, 14056 minutes]:
github.com/lxc/lxd/lxd/instance/drivers.(*qemu).Exec.func2(0xc001b0c160)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/driver_qemu.go:5038 +0x225
created by github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:791 +0xddf
goroutine 11145777 [syscall, 11086 minutes]:
syscall.Syscall(0x0, 0x64, 0xc0029d2000, 0x20000, 0x7f44b0258fff, 0x800000, 0x7ffff800000)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
syscall.read(0x64, 0xc0029d2000, 0x20000, 0x20000, 0x0, 0xc000965700, 0x4193db)
/snap/go/7954/src/syscall/zsyscall_linux_amd64.go:686 +0x5a
syscall.Read(...)
/snap/go/7954/src/syscall/syscall_unix.go:187
internal/poll.ignoringEINTRIO(...)
/snap/go/7954/src/internal/poll/fd_unix.go:581
internal/poll.(*FD).Read(0xc001dc7200, 0xc0029d2000, 0x20000, 0x20000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:162 +0x145
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc0001413b8, 0xc0029d2000, 0x20000, 0x20000, 0x1, 0x0, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/lxc/lxd/shared.ReaderToChannel.func1(0x20000, 0x185fc60, 0xc0001413b8, 0xc0024180c0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:297 +0xe8
created by github.com/lxc/lxd/shared.ReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:290 +0x8f
goroutine 45279524 [IO wait, 714 minutes]:
internal/poll.runtime_pollWait(0x7f44ac4c6a50, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0014c6098, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0014c6080, 0xc0009a5000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc0014c6080, 0xc0009a5000, 0x1000, 0x1000, 0xc0019443c0, 0x12, 0xc000542780)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc001410000, 0xc0009a5000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
net/http.(*connReader).Read(0xc000f40db0, 0xc0009a5000, 0x1000, 0x1000, 0x18821e8, 0x3, 0x4)
/snap/go/7954/src/net/http/server.go:780 +0x1b9
bufio.(*Reader).fill(0xc0017504e0)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).ReadSlice(0xc0017504e0, 0xc00134f50a, 0x0, 0xc000c08400, 0x8, 0xc000f5b810, 0x45c4cc)
/snap/go/7954/src/bufio/bufio.go:360 +0x3d
bufio.(*Reader).ReadLine(0xc0017504e0, 0x203000, 0x203000, 0xc000f5b8d0, 0x4193db, 0xc00133e900, 0x30)
/snap/go/7954/src/bufio/bufio.go:389 +0x34
net/textproto.(*Reader).readLineSlice(0xc00133e900, 0xc000950200, 0xc000f5b9e8, 0x4ffdf3, 0xc0014c6080, 0x44663c)
/snap/go/7954/src/net/textproto/reader.go:57 +0xd6
net/textproto.(*Reader).ReadLine(...)
/snap/go/7954/src/net/textproto/reader.go:38
net/http.readRequest(0xc0017504e0, 0x0, 0xc000950200, 0x0, 0x0)
/snap/go/7954/src/net/http/request.go:1027 +0xaa
net/http.(*conn).readRequest(0xc000304140, 0x1882140, 0xc00102e000, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/http/server.go:966 +0x19d
net/http.(*conn).serve(0xc000304140, 0x18821e8, 0xc00102e000)
/snap/go/7954/src/net/http/server.go:1858 +0x705
created by net/http.(*Server).Serve
/snap/go/7954/src/net/http/server.go:2993 +0x39b
goroutine 4275137 [IO wait, 14065 minutes]:
internal/poll.runtime_pollWait(0x7f44aceda400, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0007f4b58, 0x72, 0x3301, 0x33b9, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0007f4b40, 0xc002112000, 0x33b9, 0x33b9, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc0015a4f10, 0xc002112000, 0x33b9, 0x33b9, 0xc00013a000, 0xc002112005, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/mdlayher/vsock.(*sysConnFD).Read(0xc0012a9e60, 0xc002112000, 0x33b9, 0x33b9, 0x33b4, 0xc002112000, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/fd_linux.go:165 +0x4d
github.com/mdlayher/vsock.(*Conn).Read(0xc00123aa80, 0xc002112000, 0x33b9, 0x33b9, 0x4193db, 0xc0009b01e0, 0x18)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/vsock.go:193 +0x58
crypto/tls.(*atLeastReader).Read(0xc0009b01e0, 0xc002112000, 0x33b9, 0x33b9, 0x33b4, 0xc001d52400, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc0009d73f8, 0x185de20, 0xc0009b01e0, 0x417165, 0x149e3c0, 0x1593cc0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc0009d7180, 0x7f448c3cb238, 0xc00123aa80, 0x5, 0xc00123aa80, 0x31)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc0009d7180, 0x0, 0x0, 0x1121)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc0009d7180, 0xc000025900, 0x1126, 0x1126, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
crypto/tls.(*atLeastReader).Read(0xc0009b01c8, 0xc000025900, 0x1126, 0x1126, 0x1121, 0xc001d52400, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc000184278, 0x185de20, 0xc0009b01c8, 0x417165, 0x149e3c0, 0x16096e0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc000184000, 0x185dde0, 0xc0009d7180, 0x5, 0xc0009d7180, 0x1b)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc000184000, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc000184000, 0xc00175b000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
bufio.(*Reader).fill(0xc000c64360)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc000c64360, 0x2, 0x44df9c, 0xc000a69b00, 0x300000002, 0xc000a69b00, 0xc000d1ddc0)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0007e6000, 0x2, 0x19, 0xc000d1de20, 0x4fd9d2, 0xc000730180, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0007e6000, 0x0, 0x0, 0x19)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0007e6000, 0xc000661c00, 0x19, 0x200, 0x19, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
github.com/lxc/lxd/shared.WebsocketRecvStream.func1(0xc00230e060, 0x185fca0, 0xc0007a80b0, 0xc0007e6000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:216 +0x2f
created by github.com/lxc/lxd/shared.WebsocketRecvStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:214 +0x76
goroutine 11152249 [chan receive, 11086 minutes]:
github.com/lxc/lxd/shared/netutils.WebsocketExecMirror.func1(0xc000f224e0, 0x63, 0xc0001b61c0, 0xc0009b6f20, 0x1871b08, 0xc0001413b0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/netutils/network_linux.go:25 +0xba
created by github.com/lxc/lxd/shared/netutils.WebsocketExecMirror
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/netutils/network_linux.go:22 +0x105
goroutine 4243747 [IO wait]:
internal/poll.runtime_pollWait(0x7f44aeef6c28, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0007a3198, 0x72, 0xc00, 0xcee, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0007a3180, 0xc000859312, 0xcee, 0xcee, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc0007a3180, 0xc000859312, 0xcee, 0xcee, 0x720e2d, 0xc00173cd58, 0x411835)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000141a88, 0xc000859312, 0xcee, 0xcee, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
bufio.(*Scanner).Scan(0xc00173cf08, 0xc00173cee0)
/snap/go/7954/src/bufio/scan.go:214 +0xa9
github.com/digitalocean/go-qemu/qmp.(*SocketMonitor).listen(0xc0013e7b80, 0x185f8a0, 0xc000141a88, 0xc001b383c0, 0xc001b38420)
/build/lxd/parts/lxd/src/.go/src/github.com/digitalocean/go-qemu/qmp/socket.go:172 +0xff
created by github.com/digitalocean/go-qemu/qmp.(*SocketMonitor).Connect
/build/lxd/parts/lxd/src/.go/src/github.com/digitalocean/go-qemu/qmp/socket.go:148 +0x348
goroutine 4275136 [chan send, 6456 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc00230e000, 0xc0007e6000, 0x185fc60, 0xc0007a80b0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 42808932 [syscall, 1335 minutes]:
syscall.Syscall(0x0, 0xf6, 0xc0016e2000, 0x20000, 0x4fdba5, 0x7f44ac4c6880, 0x72)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
syscall.read(0xf6, 0xc0016e2000, 0x20000, 0x20000, 0x0, 0xc002085700, 0x41956a)
/snap/go/7954/src/syscall/zsyscall_linux_amd64.go:686 +0x5a
syscall.Read(...)
/snap/go/7954/src/syscall/syscall_unix.go:187
internal/poll.ignoringEINTRIO(...)
/snap/go/7954/src/internal/poll/fd_unix.go:581
internal/poll.(*FD).Read(0xc000bb8840, 0xc0016e2000, 0x20000, 0x20000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:162 +0x145
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc001ac0360, 0xc0016e2000, 0x20000, 0x20000, 0x3, 0x0, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/lxc/lxd/shared.ReaderToChannel.func1(0x20000, 0x185fc60, 0xc001ac0360, 0xc00071a300)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:297 +0xe8
created by github.com/lxc/lxd/shared.ReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:290 +0x8f
goroutine 118600 [chan send, 6505 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc00132a000, 0xc000168420, 0x185fc60, 0xc000288818)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4068233 [chan send, 14149 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc001ff19e0, 0xc0019522c0, 0x185fc60, 0xc000a06478)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4222759 [syscall, 14101 minutes]:
syscall.Syscall(0x7, 0xc0010b4ed8, 0x1, 0xffffffffffffffff, 0xc0010b4eb0, 0x4193db, 0x7f44d6b9d258)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc0010b4ed8, 0x1, 0xffffffffffffffff, 0x20000, 0x7f44d6b9d258, 0x20000)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc0010b4ed8, 0x1, 0x1, 0xffffffffffffffff, 0x20000, 0x1420cc0, 0x81e201)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x3e, 0xffffffffffffffff, 0x203b, 0xc002860000, 0x8, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc0014e2010, 0xc001d08040, 0x3e, 0x185fc60, 0xc001410058, 0xc0014e201c, 0xc001ec2000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 4370517 [chan receive, 14036 minutes]:
github.com/lxc/lxd/shared.ExecReaderToChannel.func2(0xc001c6ec00, 0xc0007883ac, 0x28, 0xc0007883a0, 0xc000dee040)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:478 +0x38
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:477 +0x11d
goroutine 4370505 [chan receive, 14036 minutes]:
main.(*execWs).Do.func3(0xc000383c80, 0x7f44acea93b0, 0xc0010ca000, 0xc000a06be8, 0x1, 0x1, 0xc001c6ec00, 0xc001b3dfd0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:312 +0x20b
created by main.(*execWs).Do
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:303 +0x925
goroutine 105778 [syscall, 15947 minutes]:
syscall.Syscall(0x0, 0x26, 0xc001c80000, 0x20000, 0x7f44b0258fff, 0x800000, 0x7ffff800000)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
syscall.read(0x26, 0xc001c80000, 0x20000, 0x20000, 0x0, 0xc001348700, 0x4193db)
/snap/go/7954/src/syscall/zsyscall_linux_amd64.go:686 +0x5a
syscall.Read(...)
/snap/go/7954/src/syscall/syscall_unix.go:187
internal/poll.ignoringEINTRIO(...)
/snap/go/7954/src/internal/poll/fd_unix.go:581
internal/poll.(*FD).Read(0xc0009979e0, 0xc001c80000, 0x20000, 0x20000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:162 +0x145
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc000141018, 0xc001c80000, 0x20000, 0x20000, 0x1, 0x0, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/lxc/lxd/shared.ReaderToChannel.func1(0x20000, 0x185fc60, 0xc000141018, 0xc0012ae000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:297 +0xe8
created by github.com/lxc/lxd/shared.ReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:290 +0x8f
goroutine 103929 [chan send, 15913 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc00110f3e0, 0xc0011c42c0, 0x185fc60, 0xc0007a8a40)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 105754 [syscall, 15947 minutes]:
syscall.Syscall(0x7, 0xc000546ed8, 0x1, 0xffffffffffffffff, 0xc000546eb0, 0x41956a, 0xc0002dc800)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc000546ed8, 0x1, 0xffffffffffffffff, 0x20000, 0x7f44d6b8aa68, 0x20000)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc000546ed8, 0x1, 0x1, 0xffffffffffffffff, 0x20000, 0x1420cc0, 0x81e201)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x21, 0xffffffffffffffff, 0x203b, 0xc001ca0000, 0x8, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc0008ac5a0, 0xc00084e170, 0x21, 0x185fc60, 0xc000141008, 0xc0008ac598, 0xc000f3ed80)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 105508 [chan receive, 15990 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc000c24ba0, 0xc001246580, 0x185fc60, 0xc0007a8170)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:193 +0x7e
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 339760 [chan send, 6495 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc000538000, 0xc0011c4000, 0x185fc60, 0xc000a06710)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 11153038 [IO wait, 11086 minutes]:
internal/poll.runtime_pollWait(0x7f44aceda4e8, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0012b1a18, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0012b1a00, 0xc001882000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc0012b1a00, 0xc001882000, 0x1000, 0x1000, 0xc0015af080, 0x3f, 0x73)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000010e70, 0xc001882000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
bufio.(*Reader).fill(0xc000bb9440)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc000bb9440, 0x2, 0x420ee5, 0x0, 0x4f2, 0xc0008dd610, 0xc0008dd5f0)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc001228c60, 0x2, 0x10, 0x10, 0x1498c40, 0x0, 0x2)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc001228c60, 0x185e020, 0xc0001180b0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc001228c60, 0xc00010e060, 0x0, 0x0, 0x47dc86, 0xc000b23180)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
main.eventsSocket.func2(0xc001228c60, 0xc001189f50)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:106 +0x2b
created by main.eventsSocket
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:104 +0x645
goroutine 4102650 [chan send, 6766 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc001d5e000, 0xc0012a6580, 0x185fc60, 0xc0007a8928)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4370506 [select, 14036 minutes]:
github.com/lxc/lxd/client.(*operation).setupListener.func2(0xc0010c80c0, 0xc00116e000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:213 +0xf5
created by github.com/lxc/lxd/client.(*operation).setupListener
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:198 +0x27e
goroutine 2008330 [chan send, 6796 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc001aac000, 0xc00146a160, 0x185fc60, 0xc000140670)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 11145775 [chan receive, 11086 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc002418000, 0xc001228000, 0x185fc60, 0xc0001413b8)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:193 +0x7e
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 22200548 [chan send, 6521 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc0019aefc0, 0xc0011c4160, 0x185fc60, 0xc00258a018)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4370485 [select]:
github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents.func1(0xc000d4d860, 0xc001d01f20, 0xc0015b0000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:50 +0xad
created by github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:48 +0x325
goroutine 11153303 [chan receive, 11086 minutes]:
github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance.func1(0xc001228000, 0xc00015bb40)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:806 +0xd2
created by github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:804 +0x4de
goroutine 11145776 [IO wait, 11086 minutes]:
internal/poll.runtime_pollWait(0x7f44aeef6b40, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc00154c0d8, 0x72, 0x701, 0x702, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00154c0c0, 0xc0010d5800, 0x702, 0x702, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc000140428, 0xc0010d5800, 0x702, 0x702, 0xc001358640, 0xc0010d5805, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/mdlayher/vsock.(*sysConnFD).Read(0xc000cce0c0, 0xc0010d5800, 0x702, 0x702, 0x6fd, 0xc0010d5800, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/fd_linux.go:165 +0x4d
github.com/mdlayher/vsock.(*Conn).Read(0xc00140c000, 0xc0010d5800, 0x702, 0x702, 0x4193db, 0xc000cb4ab0, 0x18)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/vsock.go:193 +0x58
crypto/tls.(*atLeastReader).Read(0xc000cb4ab0, 0xc0010d5800, 0x702, 0x702, 0x6fd, 0xc00151a000, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc001b00278, 0x185de20, 0xc000cb4ab0, 0x417165, 0x149e3c0, 0x1593cc0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc001b00000, 0x7f448c3cb238, 0xc00140c000, 0x5, 0xc00140c000, 0x41)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc001b00000, 0x0, 0x0, 0x6fd)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc001b00000, 0xc000734000, 0x702, 0x702, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
crypto/tls.(*atLeastReader).Read(0xc000cb4a98, 0xc000734000, 0x702, 0x702, 0x6fd, 0xc00151a000, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc001b00cf8, 0x185de20, 0xc000cb4a98, 0x417165, 0x149e3c0, 0x16096e0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc001b00a80, 0x185dde0, 0xc001b00000, 0x5, 0xc001b00000, 0x2b)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc001b00a80, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc001b00a80, 0xc00188d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
bufio.(*Reader).fill(0xc001dc6600)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc001dc6600, 0x2, 0x44df9c, 0xc0008d0180, 0x300000002, 0xc0008d0180, 0xc0011b7dc0)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc001228000, 0x2, 0x29, 0xc0011b7e20, 0x4fd9d2, 0xc001dc7200, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc001228000, 0x0, 0x0, 0x29)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc001228000, 0xc000825400, 0x29, 0x200, 0x29, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
github.com/lxc/lxd/shared.WebsocketRecvStream.func1(0xc002418060, 0x185fca0, 0xc0001413b8, 0xc001228000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:216 +0x2f
created by github.com/lxc/lxd/shared.WebsocketRecvStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:214 +0x76
goroutine 4276487 [chan receive, 14083 minutes]:
github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance.func1(0xc0007e6000, 0xc001832500)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:806 +0xd2
created by github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:804 +0x4de
goroutine 4378038 [IO wait, 13936 minutes]:
internal/poll.runtime_pollWait(0x7f44aceda888, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0014c6518, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0014c6500, 0xc000c04000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc0014c6500, 0xc000c04000, 0x1000, 0x1000, 0x4, 0xc001d76930, 0xc0004abba8)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc0002888a0, 0xc000c04000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
bufio.(*Reader).fill(0xc0014267e0)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc0014267e0, 0x2, 0x0, 0x0, 0x1, 0x0, 0x2572310)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0011d0580, 0x2, 0x22, 0x2572310, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0011d0580, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0011d0580, 0xc0017a8990, 0xffffffffffffffff, 0xc0004976c8, 0xc000c61040, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
main.(*execWs).Do.func2(0x7f44acea93b0, 0xc0013c51e0, 0xc000382240, 0xc00084a2a0, 0x1883058, 0xc000e44d40, 0xc0013ce7a8, 0x1, 0x1)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:236 +0x1fb
created by main.(*execWs).Do
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:219 +0x8aa
goroutine 1332414 [syscall, 15403 minutes]:
syscall.Syscall(0x0, 0x36, 0xc002180000, 0x20000, 0x0, 0x800000, 0x7ffff800000)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
syscall.read(0x36, 0xc002180000, 0x20000, 0x20000, 0x0, 0xc000a3df00, 0x41956a)
/snap/go/7954/src/syscall/zsyscall_linux_amd64.go:686 +0x5a
syscall.Read(...)
/snap/go/7954/src/syscall/syscall_unix.go:187
internal/poll.ignoringEINTRIO(...)
/snap/go/7954/src/internal/poll/fd_unix.go:581
internal/poll.(*FD).Read(0xc001213c20, 0xc002180000, 0x20000, 0x20000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:162 +0x145
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc000011618, 0xc002180000, 0x20000, 0x20000, 0x1, 0x0, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/lxc/lxd/shared.ReaderToChannel.func1(0x20000, 0x185fc60, 0xc000011618, 0xc0012f7920)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:297 +0xe8
created by github.com/lxc/lxd/shared.ReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:290 +0x8f
goroutine 4370518 [runnable]:
syscall.Syscall(0x7, 0xc000547ed8, 0x1, 0xffffffffffffffff, 0x1, 0xffffffffffffffff, 0x0)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc000547ed8, 0x1, 0xffffffffffffffff, 0xc00088c0c0, 0xc000118200, 0x20001)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc000547ed8, 0x1, 0x1, 0xffffffffffffffff, 0xc000118050, 0xc000118200, 0x185e020)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x28, 0xffffffffffffffff, 0x203b, 0x20000, 0x0, 0x185f700, 0xc00088c0c0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc0007883a0, 0xc000dee040, 0x28, 0x185fc60, 0xc000a06bf0, 0xc0007883ac, 0xc001f82000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 240073 [syscall, 15924 minutes]:
syscall.Syscall(0x7, 0xc0007c4ed8, 0x1, 0xffffffffffffffff, 0xc0007c4eb0, 0x4193db, 0x7f44d6b9e9c8)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc0007c4ed8, 0x1, 0xffffffffffffffff, 0x20000, 0x7f44d6b9e9c8, 0x20000)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc0007c4ed8, 0x1, 0x1, 0xffffffffffffffff, 0x20000, 0x1420cc0, 0x81e201)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x27, 0xffffffffffffffff, 0x203b, 0xc001d80000, 0x8, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc001284010, 0xc0001ae080, 0x27, 0x185fc60, 0xc0013ce2e0, 0xc00128401c, 0xc0010ae240)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 222348 [syscall, 15921 minutes]:
syscall.Syscall(0x7, 0xc00092c6d8, 0x1, 0xffffffffffffffff, 0xc00092c6b0, 0x41956a, 0xc0000b5000)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc00092c6d8, 0x1, 0xffffffffffffffff, 0x20000, 0x7f44d6b8a108, 0x20000)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc00092c6d8, 0x1, 0x1, 0xffffffffffffffff, 0x20000, 0x1420cc0, 0x81e201)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x21, 0xffffffffffffffff, 0x203b, 0xc001bde000, 0x8, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc0000f8910, 0xc000550080, 0x21, 0x185fc60, 0xc0013ce030, 0xc0000f8908, 0xc001446060)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 11153314 [IO wait, 11056 minutes]:
internal/poll.runtime_pollWait(0x7f44aeef7538, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0018ec698, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0018ec680, 0xc0018ef000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc0018ec680, 0xc0018ef000, 0x1000, 0x1000, 0x4, 0xc0026084e0, 0xc00251aba8)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc0013cf1b0, 0xc0018ef000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
bufio.(*Reader).fill(0xc000bb9ec0)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc000bb9ec0, 0x2, 0x0, 0x0, 0x1, 0x0, 0x2572310)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0014142c0, 0x2, 0x22, 0x2572310, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0014142c0, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0014142c0, 0xc00120be00, 0xffffffffffffffff, 0xc00192aa68, 0xc000c384c0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
main.(*execWs).Do.func2(0x7f44acea93b0, 0xc002300060, 0xc001ae0180, 0xc000f22480, 0x1883058, 0xc00021c000, 0xc0001413a8, 0x1, 0x1)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:236 +0x1fb
created by main.(*execWs).Do
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:219 +0x8aa
goroutine 4370322 [IO wait, 14037 minutes]:
internal/poll.runtime_pollWait(0x7f44aeef6d10, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc001135e18, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc001135e00, 0xc0009fa000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc001135e00, 0xc0009fa000, 0x1000, 0x1000, 0x30, 0x30, 0x4193db)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc001410130, 0xc0009fa000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
bufio.(*Reader).fill(0xc000f43b60)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc000f43b60, 0x2, 0x7c790d, 0x1420cc0, 0x9, 0x9, 0xc0005a1df0)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0011c4840, 0x2, 0x10, 0x10, 0x1498c40, 0x0, 0x2)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0011c4840, 0xc000191408, 0xc001480170, 0xc0001914b8)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0011c4840, 0x44db96, 0x16fc700, 0xc0008aaf00, 0x1, 0x185e020)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
main.eventsSocket.func2(0xc0011c4840, 0xc0021da8f0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:106 +0x2b
created by main.eventsSocket
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:104 +0x645
goroutine 4370277 [select, 14037 minutes]:
github.com/lxc/lxd/lxd/events.(*Listener).Wait(0xc000212000, 0x1882140, 0xc0017e0080)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events/events.go:209 +0x8b
main.eventsSocket(0xc0004944e0, 0xc0000fda00, 0x187bce0, 0xc00081d500, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:115 +0x670
main.(*eventsServe).Render(0xc0005379c0, 0x187bce0, 0xc00081d500, 0x18714c8, 0xc0005379c0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:31 +0x4b
main.(*Daemon).createCmd.func1(0x187bce0, 0xc00081d500, 0xc0000fda00)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/daemon.go:655 +0xc51
net/http.HandlerFunc.ServeHTTP(0xc00033e8a0, 0x187bce0, 0xc00081d500, 0xc0000fd900)
/snap/go/7954/src/net/http/server.go:2049 +0x44
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0003823c0, 0x187bce0, 0xc00081d500, 0xc00018d900)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/mux/mux.go:210 +0xd3
main.(*lxdHttpServer).ServeHTTP(0xc0001afdc0, 0x187bce0, 0xc00081d500, 0xc00018d900)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/api.go:128 +0x89
net/http.serverHandler.ServeHTTP(0xc0003bc000, 0x187bce0, 0xc00081d500, 0xc00018d900)
/snap/go/7954/src/net/http/server.go:2867 +0xa3
net/http.(*conn).serve(0xc000b9ca00, 0x18821e8, 0xc000e45c80)
/snap/go/7954/src/net/http/server.go:1932 +0x8cd
created by net/http.(*Server).Serve
/snap/go/7954/src/net/http/server.go:2993 +0x39b
goroutine 4276496 [select, 14083 minutes]:
github.com/lxc/lxd/client.(*operation).setupListener.func2(0xc000d416e0, 0xc00081c000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:213 +0xf5
created by github.com/lxc/lxd/client.(*operation).setupListener
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:198 +0x27e
goroutine 255973 [chan receive, 15921 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc001652000, 0xc0004fa420, 0x185fc60, 0xc0013ce038)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:193 +0x7e
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 3890698 [chan receive, 14242 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc000f86000, 0xc0012a6160, 0x185fc60, 0xc0015a4078)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:193 +0x7e
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 46920862 [IO wait]:
internal/poll.runtime_pollWait(0x7f44ac4c7448, 0x72, 0x0)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc001134398, 0x72, 0x0, 0x0, 0x1626c23)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc001134380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:401 +0x212
net.(*netFD).accept(0xc001134380, 0xb679870d34aa4168, 0x0, 0x0)
/snap/go/7954/src/net/fd_unix.go:172 +0x45
net.(*TCPListener).accept(0xc00192c2b8, 0x61207e13, 0xc0007e3dd8, 0x4a4486)
/snap/go/7954/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc00192c2b8, 0xc0007e3e28, 0x18, 0xc00144ca80, 0x6f1c1b)
/snap/go/7954/src/net/tcpsock.go:261 +0x65
net/http.(*Server).Serve(0xc0003bc1c0, 0x187baa0, 0xc00192c2b8, 0x0, 0x0)
/snap/go/7954/src/net/http/server.go:2961 +0x285
github.com/lxc/lxd/lxd/endpoints.(*Endpoints).serveHTTP.func1(0xc000040360, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/endpoints/endpoints.go:351 +0x3c
gopkg.in/tomb%2ev2.(*Tomb).run(0xc00047d180, 0xc0011bc3e0)
/build/lxd/parts/lxd/src/.go/src/gopkg.in/tomb.v2/tomb.go:163 +0x38
created by gopkg.in/tomb%2ev2.(*Tomb).Go
/build/lxd/parts/lxd/src/.go/src/gopkg.in/tomb.v2/tomb.go:159 +0xbc
goroutine 11152251 [syscall, 11086 minutes]:
syscall.Syscall(0x7, 0xc0012dfed8, 0x1, 0xffffffffffffffff, 0xc0012dfeb0, 0x4193db, 0x7f44d6b8a108)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc0012dfed8, 0x1, 0xffffffffffffffff, 0x20000, 0x7f44d6b8a108, 0x20000)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc0012dfed8, 0x1, 0x1, 0xffffffffffffffff, 0x20000, 0x1420cc0, 0x81e201)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x63, 0xffffffffffffffff, 0x203b, 0xc002886000, 0x29, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc0010ce010, 0xc001b1a040, 0x63, 0x185fc60, 0xc0001413b0, 0xc0010ce008, 0xc00137e000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 4370477 [select, 13936 minutes]:
github.com/lxc/lxd/lxd/instance/drivers.(*qemu).Exec.func2(0xc0003874a0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/driver_qemu.go:5038 +0x225
created by github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:791 +0xddf
goroutine 42808931 [chan receive, 1335 minutes]:
github.com/lxc/lxd/shared.WebsocketConsoleMirror.func1(0xc001406150, 0xc001c74dc0, 0x1871b08, 0xc001ac0360)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:477 +0xa5
created by github.com/lxc/lxd/shared.WebsocketConsoleMirror
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:474 +0xe5
goroutine 45398945 [chan send, 676 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc000e10000, 0xc001860000, 0x185fc60, 0xc001410080)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 3890700 [syscall, 14242 minutes]:
syscall.Syscall(0x0, 0x35, 0xc0025a0000, 0x20000, 0x7f44b0258fff, 0x800000, 0x7ffff800000)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
syscall.read(0x35, 0xc0025a0000, 0x20000, 0x20000, 0x0, 0xc0005b4700, 0x4193db)
/snap/go/7954/src/syscall/zsyscall_linux_amd64.go:686 +0x5a
syscall.Read(...)
/snap/go/7954/src/syscall/syscall_unix.go:187
internal/poll.ignoringEINTRIO(...)
/snap/go/7954/src/internal/poll/fd_unix.go:581
internal/poll.(*FD).Read(0xc000fd43c0, 0xc0025a0000, 0x20000, 0x20000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:162 +0x145
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc0015a4078, 0xc0025a0000, 0x20000, 0x20000, 0x1, 0x0, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/lxc/lxd/shared.ReaderToChannel.func1(0x20000, 0x185fc60, 0xc0015a4078, 0xc000f860c0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:297 +0xe8
created by github.com/lxc/lxd/shared.ReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util.go:290 +0x8f
goroutine 4368910 [chan send, 6616 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc0023a2000, 0xc0015b0160, 0x185fc60, 0xc000a06bf8)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4378039 [chan receive, 14036 minutes]:
main.(*execWs).Do.func3(0xc000382240, 0x7f44acea93b0, 0xc0013c51e0, 0xc0013ce7a8, 0x1, 0x1, 0xc00084a300, 0xc0009d9970)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:312 +0x20b
created by main.(*execWs).Do
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:303 +0x925
goroutine 11153316 [select, 11086 minutes]:
github.com/lxc/lxd/client.(*operation).setupListener.func2(0xc001e8a0c0, 0xc0005fe000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:213 +0xf5
created by github.com/lxc/lxd/client.(*operation).setupListener
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:198 +0x27e
goroutine 4376820 [IO wait, 14036 minutes]:
internal/poll.runtime_pollWait(0x7f44aeef7198, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc000540718, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000540700, 0xc00094e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc000540700, 0xc00094e000, 0x1000, 0x1000, 0x49701b, 0x49453a, 0x0)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc0013ce0a0, 0xc00094e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
bufio.(*Reader).fill(0xc000cf8b40)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc000cf8b40, 0x2, 0xc0014a85d0, 0x478d65, 0xc000e83080, 0x200000003, 0xc000e83080)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0014942c0, 0x2, 0xc0014a8658, 0x4fe951, 0xc001427a68, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0014942c0, 0xc000e83108, 0xc000848410, 0xc000e831b8)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0014942c0, 0x44db96, 0x16fc700, 0xc000540000, 0x1, 0x185e020)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
main.eventsSocket.func2(0xc0014942c0, 0xc000cce6d0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:106 +0x2b
created by main.eventsSocket
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:104 +0x645
goroutine 4269169 [syscall, 676 minutes]:
syscall.Syscall(0x7, 0xc0013856d8, 0x1, 0xffffffffffffffff, 0x0, 0xc001385660, 0x419b38)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc0013856d8, 0x1, 0xffffffffffffffff, 0xc001bb0ba0, 0xc000118200, 0x20001)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc0013856d8, 0x1, 0x1, 0xffffffffffffffff, 0xc000118050, 0xc000118200, 0x185e020)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x44, 0xffffffffffffffff, 0x203b, 0x20000, 0x0, 0x185f700, 0xc001bb0ba0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc000532040, 0xc00070e090, 0x44, 0x185fc60, 0xc0007a80a8, 0xc000532028, 0xc001932000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 3890800 [syscall, 14242 minutes]:
syscall.Syscall(0x7, 0xc000d986d8, 0x1, 0xffffffffffffffff, 0xc000d986b0, 0x4193db, 0x7f44d6b9f328)
/snap/go/7954/src/syscall/asm_linux_amd64.s:20 +0x5
golang.org/x/sys/unix.poll(0xc000d986d8, 0x1, 0xffffffffffffffff, 0x20000, 0x7f44d6b9f328, 0x20000)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/zsyscall_linux_amd64.go:725 +0x51
golang.org/x/sys/unix.Poll(0xc000d986d8, 0x1, 0x1, 0xffffffffffffffff, 0x20000, 0x1420cc0, 0x81e201)
/build/lxd/parts/lxd/src/.go/src/golang.org/x/sys/unix/syscall_linux_amd64.go:185 +0x8a
github.com/lxc/lxd/shared.GetPollRevents(0x33, 0xffffffffffffffff, 0x203b, 0xc002620000, 0x8, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:638 +0x6e
github.com/lxc/lxd/shared.ExecReaderToChannel.func3(0x20000, 0xc0009c0010, 0xc00070e040, 0x33, 0x185fc60, 0xc0015a4070, 0xc0009c001c, 0xc001d40000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:517 +0xf1
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:506 +0x191
goroutine 42808892 [chan receive, 1335 minutes]:
main.(*consoleWs).doConsole.func2(0xc001df8c00, 0xc001ac0360, 0xc00071a2a0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_console.go:284 +0x177
created by main.(*consoleWs).doConsole
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_console.go:275 +0x2cd
goroutine 4243746 [syscall, 14098 minutes]:
syscall.Syscall6(0xf7, 0x1, 0x35512b, 0xc0003e1e60, 0x1000004, 0x0, 0x0, 0x7f448debdcb8, 0x10, 0x10)
/snap/go/7954/src/syscall/asm_linux_amd64.s:43 +0x5
os.(*Process).blockUntilWaitable(0xc0008b0750, 0xc00018e000, 0x0, 0x0)
/snap/go/7954/src/os/wait_waitid.go:32 +0x9e
os.(*Process).wait(0xc0008b0750, 0x0, 0xc00106f001, 0x1)
/snap/go/7954/src/os/exec_unix.go:22 +0x39
os.(*Process).Wait(...)
/snap/go/7954/src/os/exec.go:129
github.com/lxc/lxd/shared/subprocess.(*Process).start.func1(0xc0003874a0, 0xc000b9c320)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/subprocess/proc.go:174 +0x36
created by github.com/lxc/lxd/shared/subprocess.(*Process).start
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/subprocess/proc.go:173 +0x388
goroutine 4376765 [chan receive, 14036 minutes]:
github.com/lxc/lxd/client.(*operation).Wait(0xc0014162a0, 0x0, 0xc001119928)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:125 +0x168
github.com/lxc/lxd/lxd/instance/drivers.(*qemuCmd).Wait(0xc000e44d40, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/driver_qemu_cmd.go:51 +0x9f
main.(*execWs).Do(0xc000382240, 0xc000535680, 0x7d14ef, 0x2017780)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:407 +0x73f
github.com/lxc/lxd/lxd/operations.(*Operation).Run.func1(0xc000535680, 0xc000476c60)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/operations/operations.go:270 +0x4a
created by github.com/lxc/lxd/lxd/operations.(*Operation).Run
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/operations/operations.go:269 +0x468
goroutine 3925398 [chan send, 8666 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc00193e000, 0xc0011d0420, 0x185fc60, 0xc0014105d0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4368911 [IO wait, 13961 minutes]:
internal/poll.runtime_pollWait(0x7f44ac4c7530, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0009963d8, 0x72, 0x2e01, 0x2e0a, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0009963c0, 0xc000706000, 0x2e0a, 0x2e0a, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
os.(*File).read(...)
/snap/go/7954/src/os/file_posix.go:31
os.(*File).Read(0xc0007a80b8, 0xc000706000, 0x2e0a, 0x2e0a, 0xc000836dc0, 0xc000706005, 0x0)
/snap/go/7954/src/os/file.go:117 +0x77
github.com/mdlayher/vsock.(*sysConnFD).Read(0xc000e7e0b0, 0xc000706000, 0x2e0a, 0x2e0a, 0x2e05, 0xc000706000, 0x5)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/fd_linux.go:165 +0x4d
github.com/mdlayher/vsock.(*Conn).Read(0xc0020653c0, 0xc000706000, 0x2e0a, 0x2e0a, 0x4193db, 0xc00192c060, 0x18)
/build/lxd/parts/lxd/src/.go/src/github.com/mdlayher/vsock/vsock.go:193 +0x58
crypto/tls.(*atLeastReader).Read(0xc00192c060, 0xc000706000, 0x2e0a, 0x2e0a, 0x2e05, 0xc001d52800, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc0001c1e78, 0x185de20, 0xc00192c060, 0x417165, 0x149e3c0, 0x1593cc0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc0001c1c00, 0x7f448c3cb238, 0xc0020653c0, 0x5, 0xc0020653c0, 0x31)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc0001c1c00, 0x0, 0x0, 0x12f3)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc0001c1c00, 0xc000024600, 0x12f8, 0x12f8, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
crypto/tls.(*atLeastReader).Read(0xc00192c048, 0xc000024600, 0x12f8, 0x12f8, 0x12f3, 0xc001d52800, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:776 +0x63
bytes.(*Buffer).ReadFrom(0xc0002f13f8, 0x185de20, 0xc00192c048, 0x417165, 0x149e3c0, 0x16096e0)
/snap/go/7954/src/bytes/buffer.go:204 +0xbe
crypto/tls.(*Conn).readFromUntil(0xc0002f1180, 0x185dde0, 0xc0001c1c00, 0x5, 0xc0001c1c00, 0x1b)
/snap/go/7954/src/crypto/tls/conn.go:798 +0xf3
crypto/tls.(*Conn).readRecordOrCCS(0xc0002f1180, 0x0, 0x0, 0x43a805)
/snap/go/7954/src/crypto/tls/conn.go:605 +0x115
crypto/tls.(*Conn).readRecord(...)
/snap/go/7954/src/crypto/tls/conn.go:573
crypto/tls.(*Conn).Read(0xc0002f1180, 0xc0013c9000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/crypto/tls/conn.go:1276 +0x165
bufio.(*Reader).fill(0xc00200bf80)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc00200bf80, 0x2, 0x44df9c, 0xc001544780, 0x300000002, 0xc001544780, 0xc001603dc0)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0015b0160, 0x2, 0x19, 0xc001603e20, 0x4fd9d2, 0xc000d092c0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0015b0160, 0x0, 0x0, 0x19)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0015b0160, 0xc0019d6200, 0x19, 0x200, 0x19, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
github.com/lxc/lxd/shared.WebsocketRecvStream.func1(0xc0023a2060, 0x185fca0, 0xc000a06bf8, 0xc0015b0160)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:216 +0x2f
created by github.com/lxc/lxd/shared.WebsocketRecvStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:214 +0x76
goroutine 4269168 [chan receive, 14083 minutes]:
github.com/lxc/lxd/shared.ExecReaderToChannel.func2(0xc000f16120, 0xc000532028, 0x44, 0xc000532040, 0xc00070e090)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:478 +0x38
created by github.com/lxc/lxd/shared.ExecReaderToChannel
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/util_linux.go:477 +0x11d
goroutine 4276495 [chan receive, 14083 minutes]:
main.(*execWs).Do.func3(0xc001704000, 0x7f44acea93b0, 0xc001023300, 0xc0007a80a0, 0x1, 0x1, 0xc000f16120, 0xc00026c070)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:312 +0x20b
created by main.(*execWs).Do
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:303 +0x925
goroutine 4275032 [chan receive, 14083 minutes]:
github.com/lxc/lxd/client.(*operation).Wait(0xc00081c000, 0x0, 0xc0019d5928)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/operations.go:125 +0x168
github.com/lxc/lxd/lxd/instance/drivers.(*qemuCmd).Wait(0xc001510740, 0x0, 0x0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance/drivers/driver_qemu_cmd.go:51 +0x9f
main.(*execWs).Do(0xc001704000, 0xc0011fb7a0, 0x17, 0xc00015f6d8)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:407 +0x73f
github.com/lxc/lxd/lxd/operations.(*Operation).Run.func1(0xc0011fb7a0, 0xc000fcbbc0)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/operations/operations.go:270 +0x4a
created by github.com/lxc/lxd/lxd/operations.(*Operation).Run
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/operations/operations.go:269 +0x468
goroutine 4269167 [chan receive, 14065 minutes]:
github.com/lxc/lxd/shared/netutils.WebsocketExecMirror.func1(0xc000f16120, 0x44, 0xc000d88070, 0xc0009b74a0, 0x1871b08, 0xc0007a80a8)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/netutils/network_linux.go:25 +0xba
created by github.com/lxc/lxd/shared/netutils.WebsocketExecMirror
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/netutils/network_linux.go:22 +0x105
goroutine 4377326 [select]:
github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents.func1(0xc000c731e0, 0xc000f17740, 0xc00101e000)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:50 +0xad
created by github.com/lxc/lxd/client.(*ProtocolLXD).GetEvents
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_events.go:48 +0x325
goroutine 11153315 [chan receive, 11086 minutes]:
main.(*execWs).Do.func3(0xc001ae0180, 0x7f44acea93b0, 0xc002300060, 0xc0001413a8, 0x1, 0x1, 0xc000f224e0, 0xc001859280)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:312 +0x20b
created by main.(*execWs).Do
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/instance_exec.go:303 +0x925
goroutine 4377943 [chan send, 6806 minutes]:
github.com/lxc/lxd/shared.WebsocketSendStream.func1(0xffffffffffffffff, 0xc001446000, 0xc0011d0000, 0x185fc60, 0xc0013ce7b8)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:205 +0x176
created by github.com/lxc/lxd/shared.WebsocketSendStream
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/shared/network.go:190 +0x8e
goroutine 4275027 [IO wait, 14084 minutes]:
internal/poll.runtime_pollWait(0x7f44aeef7368, 0x72, 0xffffffffffffffff)
/snap/go/7954/src/runtime/netpoll.go:222 +0x55
internal/poll.(*pollDesc).wait(0xc0000f3e18, 0x72, 0x1000, 0x1000, 0xffffffffffffffff)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:87 +0x45
internal/poll.(*pollDesc).waitRead(...)
/snap/go/7954/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0000f3e00, 0xc00160e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/internal/poll/fd_unix.go:166 +0x1d5
net.(*netFD).Read(0xc0000f3e00, 0xc00160e000, 0x1000, 0x1000, 0x30, 0x30, 0x15bf7a0)
/snap/go/7954/src/net/fd_posix.go:55 +0x4f
net.(*conn).Read(0xc000a06400, 0xc00160e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/snap/go/7954/src/net/net.go:183 +0x91
bufio.(*Reader).fill(0xc000fcb440)
/snap/go/7954/src/bufio/bufio.go:101 +0x108
bufio.(*Reader).Peek(0xc000fcb440, 0x2, 0x420ee5, 0x7f448ddff858, 0x38, 0x200, 0xc000bfc5f0)
/snap/go/7954/src/bufio/bufio.go:139 +0x4f
github.com/gorilla/websocket.(*Conn).read(0xc0009b6c60, 0x2, 0x10, 0x10, 0x1498c40, 0x0, 0x2)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:370 +0x46
github.com/gorilla/websocket.(*Conn).advanceFrame(0xc0009b6c60, 0x185e020, 0xc0001180b0, 0x0)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:798 +0x5c
github.com/gorilla/websocket.(*Conn).NextReader(0xc0009b6c60, 0xc001aceae0, 0x0, 0x0, 0x47dc86, 0xc0009b2a00)
/build/lxd/parts/lxd/src/.go/src/github.com/gorilla/websocket/conn.go:980 +0x8f
main.eventsSocket.func2(0xc0009b6c60, 0xc001b79e80)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:106 +0x2b
created by main.eventsSocket
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/lxd/events.go:104 +0x645
goroutine 4377997 [chan receive, 14036 minutes]:
github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance.func1(0xc0011d0000, 0xc0013b2e40)
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:806 +0xd2
created by github.com/lxc/lxd/client.(*ProtocolLXD).ExecInstance
/build/lxd/parts/lxd/src/.go/src/github.com/lxc/lxd/client/lxd_instances.go:804 +0x4de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment