diamondburned / gtkcord3

A Gtk3 Discord client in Golang
GNU General Public License v3.0
628 stars 28 forks source link

almost instantly crashes #82

Open special-squad opened 4 years ago

special-squad commented 4 years ago

` (gtkcord3:72364): Gtk-WARNING **: 06:53:21.588: gtk_window_set_titlebar() called on a realized window Error: 06:53:21.809699 Failed to parse file in : tommy:1:0Failed to import: Error opening file /home/tommy: Is a directory

(gtkcord3:72364): Gtk-CRITICAL **: 06:53:28.342: gtk_bin_remove: assertion 'priv->child == child' failed

(gtkcord3:72364): Gtk-CRITICAL *: 06:53:28.343: gtk_bin_remove: assertion 'priv->child == child' failed warning: no suitable Go value from object for arg 0: missing marshaler for type panic: reflect.Value.Convert: value of type glib.Object cannot be converted to type *gdk.PixbufLoader

goroutine 65 [running]: reflect.Value.Convert(0x1c9b0c0, 0xc000010180, 0x16, 0x202b3c0, 0x1cc0220, 0x2, 0x2, 0x50) /usr/lib/go-1.13/src/reflect/value.go:2415 +0x224 github.com/gotk3/gotk3/glib.goMarshal(0x40424d0, 0x0, 0x3, 0x7fde6f7fd660, 0x7fde6f7fd5e0, 0x0) /home/tommy/go/src/github.com/gotk3/gotk3/glib/glib.go:244 +0x381 github.com/gotk3/gotk3/glib._cgoexpwrap_9e583de75765_goMarshal(0x40424d0, 0x0, 0x3, 0x7fde6f7fd660, 0x7fde6f7fd5e0, 0x0) _cgo_gotypes.go:5501 +0x5b github.com/gotk3/gotk3/gdk._Cfunc_gdk_pixbuf_loader_write(0x3e55660, 0xc00084c000, 0x4089, 0xc000010178, 0x0) _cgo_gotypes.go:5224 +0x4d github.com/gotk3/gotk3/gdk.(PixbufLoader).Write.func1(0xc0004e0040, 0xc00084c000, 0x4089, 0x8000, 0xc000010178, 0xc00084c000) /home/tommy/go/src/github.com/gotk3/gotk3/gdk/pixbuf.go:495 +0x102 github.com/gotk3/gotk3/gdk.(PixbufLoader).Write(0xc0004e0040, 0xc00084c000, 0x4089, 0x8000, 0x0, 0x0, 0x0) /home/tommy/go/src/github.com/gotk3/gotk3/gdk/pixbuf.go:495 +0xae io.copyBuffer(0x1fbf500, 0xc0004e0040, 0x1fbfe60, 0xc0004e0030, 0xc00084c000, 0x8000, 0x8000, 0x72, 0x1, 0xc0004e0030) /usr/lib/go-1.13/src/io/io.go:404 +0x1fb io.Copy(...) /usr/lib/go-1.13/src/io/io.go:364 github.com/diamondburned/gtkcord3/gtkcord/cache.setImageStream(0x1fbfe60, 0xc0004e0030, 0xc00015e3f0, 0xc000000000, 0x34, 0x34, 0x0, 0x0, 0x0) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/cache/cache.go:396 +0x270 github.com/diamondburned/gtkcord3/gtkcord/cache.setImageFromFile(0xc00015e3f0, 0xc0001c6180, 0x72, 0x0, 0x34, 0x34, 0x0, 0x0) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/cache/cache.go:329 +0x10e github.com/diamondburned/gtkcord3/gtkcord/cache.SetImageScaledContext(0x1ffd540, 0xc000024150, 0xc0001b63c0, 0x60, 0xc00015e3f0, 0x34, 0x34, 0xc00084bf50, 0x1, 0x1, ...) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/cache/cache.go:201 +0xee github.com/diamondburned/gtkcord3/gtkcord/cache.SetImageScaled(...) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/cache/cache.go:190 github.com/diamondburned/gtkcord3/gtkcord/components/guild.(*Guild).UpdateImage(0xc0004f6500) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/components/guild/guild.go:150 +0xf8 github.com/diamondburned/gtkcord3/gtkcord/components/guild.newGuildRow.func1(0xc0004f6500, 0xc000a52a20, 0x889db7da2840017) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/components/guild/guild.go:121 +0x2f created by github.com/diamondburned/gtkcord3/gtkcord/components/guild.newGuildRow /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/components/guild/guild.go:119 +0x4a8

goroutine 1 [syscall, locked to thread]: github.com/gotk3/gotk3/gtk._Cfunc_gtk_scrolled_window_new(0x0, 0x0, 0x40e1c40) _cgo_gotypes.go:22176 +0x4e github.com/gotk3/gotk3/gtk.ScrolledWindowNew.func1(0x0, 0x0, 0x10ab01b) /home/tommy/go/src/github.com/gotk3/gotk3/gtk/gtk.go:7350 +0xbf github.com/gotk3/gotk3/gtk.ScrolledWindowNew(0x0, 0x0, 0xc00015e690, 0x0, 0x0) /home/tommy/go/src/github.com/gotk3/gotk3/gtk/gtk.go:7350 +0x39 github.com/diamondburned/gtkcord3/gtkcord/components/channel.NewChannels.func1() /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/components/channel/channels.go:46 +0x84 github.com/diamondburned/gtkcord3/gtkcord/semaphore.init.0.func1.1() /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/semaphore/semaphore.go:44 +0x226 reflect.Value.call(0x1b6e2c0, 0xc0007885a0, 0x13, 0x1d84fcd, 0x4, 0x2e7b4e8, 0x0, 0x0, 0xc0006799d8, 0xee3d2c, ...) /usr/lib/go-1.13/src/reflect/value.go:460 +0x5f6 reflect.Value.Call(0x1b6e2c0, 0xc0007885a0, 0x13, 0x2e7b4e8, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/reflect/value.go:321 +0xb4 github.com/gotk3/gotk3/glib.goMarshal(0x7fde60001830, 0x7fff84c2a310, 0xc000000000, 0x0, 0x0, 0x0) /home/tommy/go/src/github.com/gotk3/gotk3/glib/glib.go:255 +0x700 github.com/gotk3/gotk3/glib._cgoexpwrap_9e583de75765_goMarshal(0x7fde60001830, 0x7fff84c2a310, 0x0, 0x0, 0x0, 0x0) _cgo_gotypes.go:5501 +0x5b github.com/gotk3/gotk3/glib._Cfunc_g_application_run(0x3c150f0, 0x1, 0x3c13c20, 0x0) _cgo_gotypes.go:1426 +0x4d github.com/gotk3/gotk3/glib.(Application).Run.func4(0xc00029ce10, 0xc0000201b0, 0x1, 0x1, 0x3c13c20, 0x3c177f0) /home/tommy/go/src/github.com/gotk3/gotk3/glib/application.go:185 +0xa6 github.com/gotk3/gotk3/glib.(Application).Run(0xc00029ce10, 0xc0000201b0, 0x1, 0x1, 0x0) /home/tommy/go/src/github.com/gotk3/gotk3/glib/application.go:185 +0x181 main.main() /home/tommy/go/src/github.com/diamondburned/gtkcord3/main.go:140 +0x263

goroutine 50 [chan receive]: github.com/diamondburned/gtkcord3/gtkcord/components/message/completer.init.0.func1() /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/components/message/completer/completer.go:26 +0x5f created by github.com/diamondburned/gtkcord3/gtkcord/components/message/completer.init.0 /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/components/message/completer/completer.go:25 +0x63

goroutine 18 [chan receive, locked to thread]: github.com/diamondburned/gtkcord3/gtkcord/semaphore.init.0.func1() /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/semaphore/semaphore.go:33 +0x7b created by github.com/diamondburned/gtkcord3/gtkcord/semaphore.init.0 /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/semaphore/semaphore.go:30 +0x35

goroutine 22 [trace reader (blocked)]: runtime.goparkunlock(...) /usr/lib/go-1.13/src/runtime/proc.go:310 runtime.ReadTrace(0xc000010120, 0xc000198000, 0x10) /usr/lib/go-1.13/src/runtime/trace.go:395 +0x4ed runtime/trace.Start.func1(0x1fbfe80, 0xc000010120) /usr/lib/go-1.13/src/runtime/trace/trace.go:129 +0x47 created by runtime/trace.Start /usr/lib/go-1.13/src/runtime/trace/trace.go:127 +0xd8

goroutine 23 [chan receive]: main.main.func3() /home/tommy/go/src/github.com/diamondburned/gtkcord3/main.go:135 +0x82 created by main.main /home/tommy/go/src/github.com/diamondburned/gtkcord3/main.go:134 +0x231

goroutine 52 [chan receive]: github.com/godbus/dbus.newConn.func1(0xc00069c1e0) /home/tommy/go/src/github.com/godbus/dbus/conn.go:272 +0x4b created by github.com/godbus/dbus.newConn /home/tommy/go/src/github.com/godbus/dbus/conn.go:271 +0x138

goroutine 13 [IO wait]: internal/poll.runtime_pollWait(0x7fde751bbdd8, 0x72, 0x1000) /usr/lib/go-1.13/src/runtime/netpoll.go:184 +0x55 internal/poll.(pollDesc).wait(0xc00033a498, 0x72, 0x0, 0x10, 0xc000510020) /usr/lib/go-1.13/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(pollDesc).waitRead(...) /usr/lib/go-1.13/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(FD).ReadMsg(0xc00033a480, 0xc00061e520, 0x10, 0x10, 0xc000510020, 0x1000, 0x1000, 0x0, 0x0, 0x0, ...) /usr/lib/go-1.13/src/internal/poll/fd_unix.go:243 +0x22e net.(netFD).readMsg(0xc00033a480, 0xc00061e520, 0x10, 0x10, 0xc000510020, 0x1000, 0x1000, 0x1bc2a20, 0xc000988990, 0x1f8b49e, ...) /usr/lib/go-1.13/src/net/fd_unix.go:214 +0x90 net.(UnixConn).readMsg(0xc00015e078, 0xc00061e520, 0x10, 0x10, 0xc000510020, 0x1000, 0x1000, 0xc00061e410, 0xc00061e40c, 0xc0005e0ce0, ...) /usr/lib/go-1.13/src/net/unixsock_posix.go:115 +0x91 net.(UnixConn).ReadMsgUnix(0xc00015e078, 0xc00061e520, 0x10, 0x10, 0xc000510020, 0x1000, 0x1000, 0xc0005e10e0, 0x20, 0x18, ...) /usr/lib/go-1.13/src/net/unixsock.go:143 +0x98 github.com/godbus/dbus.(oobReader).Read(0xc000510000, 0xc00061e520, 0x10, 0x10, 0xc000487de8, 0xeaa688, 0x20) /home/tommy/go/src/github.com/godbus/dbus/transport_unix.go:21 +0x8d io.ReadAtLeast(0x1fbf420, 0xc000510000, 0xc00061e520, 0x10, 0x10, 0x10, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/lib/go-1.13/src/io/io.go:329 github.com/godbus/dbus.(unixTransport).ReadMessage(0xc0003bc700, 0xc, 0xc0009886c0, 0xc00000000c) /home/tommy/go/src/github.com/godbus/dbus/transport_unix.go:91 +0x118 github.com/godbus/dbus.(Conn).inWorker(0xc00069c1e0) /home/tommy/go/src/github.com/godbus/dbus/conn.go:368 +0x52 created by github.com/godbus/dbus.(Conn).Auth /home/tommy/go/src/github.com/godbus/dbus/auth.go:118 +0x621

goroutine 38 [IO wait]: internal/poll.runtime_pollWait(0x7fde751bbd08, 0x72, 0xffffffffffffffff) /usr/lib/go-1.13/src/runtime/netpoll.go:184 +0x55 internal/poll.(pollDesc).wait(0xc000101098, 0x72, 0x200, 0x205, 0xffffffffffffffff) /usr/lib/go-1.13/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(pollDesc).waitRead(...) /usr/lib/go-1.13/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(FD).Read(0xc000101080, 0xc0001af200, 0x205, 0x205, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/internal/poll/fd_unix.go:169 +0x1cf net.(netFD).Read(0xc000101080, 0xc0001af200, 0x205, 0x205, 0x203000, 0xecc471, 0x1e72818) /usr/lib/go-1.13/src/net/fd_unix.go:202 +0x4f net.(conn).Read(0xc000010170, 0xc0001af200, 0x205, 0x205, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/net/net.go:184 +0x68 crypto/tls.(atLeastReader).Read(0xc0005e1160, 0xc0001af200, 0x205, 0x205, 0xc0001af200, 0x0, 0xc000849938) /usr/lib/go-1.13/src/crypto/tls/conn.go:780 +0x60 bytes.(Buffer).ReadFrom(0xc0001665d8, 0x1fbef60, 0xc0005e1160, 0xea7df5, 0x1beeb80, 0x1c91d00) /usr/lib/go-1.13/src/bytes/buffer.go:204 +0xb4 crypto/tls.(Conn).readFromUntil(0xc000166380, 0x1fbfac0, 0xc000010170, 0x5, 0xc000010170, 0x124) /usr/lib/go-1.13/src/crypto/tls/conn.go:802 +0xec crypto/tls.(Conn).readRecordOrCCS(0xc000166380, 0xc000849c00, 0x13281bf, 0xc000166548) /usr/lib/go-1.13/src/crypto/tls/conn.go:609 +0x124 crypto/tls.(Conn).readRecord(...) /usr/lib/go-1.13/src/crypto/tls/conn.go:577 crypto/tls.(Conn).readHandshake(0xc000166380, 0xc00023c016, 0xc00023c000, 0x11f, 0x180) /usr/lib/go-1.13/src/crypto/tls/conn.go:993 +0x6d crypto/tls.(Conn).clientHandshake(0xc000166380, 0x0, 0x0) /usr/lib/go-1.13/src/crypto/tls/handshake_client.go:171 +0x19d crypto/tls.(Conn).Handshake(0xc000166380, 0x0, 0x0) /usr/lib/go-1.13/src/crypto/tls/conn.go:1362 +0x12b net/http.(persistConn).addTLS.func2(0x0, 0xc000166380, 0xc0005ea280, 0xc0001726c0) /usr/lib/go-1.13/src/net/http/transport.go:1414 +0x42 created by net/http.(*persistConn).addTLS /usr/lib/go-1.13/src/net/http/transport.go:1410 +0x1aa

goroutine 79 [chan receive]: net/http.(persistConn).addTLS(0xc000304240, 0xc0006000c0, 0x12, 0x0, 0xc0006000d3, 0x3) /usr/lib/go-1.13/src/net/http/transport.go:1420 +0x1d3 net/http.(Transport).dialConn(0x2e07780, 0x1ffd540, 0xc000024150, 0x0, 0xc0002a0000, 0x5, 0xc0006000c0, 0x16, 0x0, 0xc000287b88, ...) /usr/lib/go-1.13/src/net/http/transport.go:1493 +0x1c65 net/http.(Transport).dialConnFor(0x2e07780, 0xc000150000) /usr/lib/go-1.13/src/net/http/transport.go:1313 +0xdc created by net/http.(Transport).queueForDial /usr/lib/go-1.13/src/net/http/transport.go:1282 +0x41d

goroutine 74 [select]: github.com/diamondburned/arikawa/session.(Session).startHandler(0xc0000bf500, 0xc0001b76e0) /home/tommy/go/src/github.com/diamondburned/arikawa/session/session.go:115 +0xe2 created by github.com/diamondburned/arikawa/session.(Session).Open /home/tommy/go/src/github.com/diamondburned/arikawa/session/session.go:97 +0x79

goroutine 72 [IO wait]: internal/poll.runtime_pollWait(0x7fde751bbc38, 0x72, 0xffffffffffffffff) /usr/lib/go-1.13/src/runtime/netpoll.go:184 +0x55 internal/poll.(pollDesc).wait(0xc000101318, 0x72, 0x1200, 0x128d, 0xffffffffffffffff) /usr/lib/go-1.13/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(pollDesc).waitRead(...) /usr/lib/go-1.13/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(FD).Read(0xc000101300, 0xc0003c2600, 0x128d, 0x128d, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/internal/poll/fd_unix.go:169 +0x1cf net.(netFD).Read(0xc000101300, 0xc0003c2600, 0x128d, 0x128d, 0x203000, 0x0, 0x1288) /usr/lib/go-1.13/src/net/fd_unix.go:202 +0x4f net.(conn).Read(0xc000010840, 0xc0003c2600, 0x128d, 0x128d, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/net/net.go:184 +0x68 crypto/tls.(atLeastReader).Read(0xc0005e97a0, 0xc0003c2600, 0x128d, 0x128d, 0x1f, 0x1fbf060, 0xc000481970) /usr/lib/go-1.13/src/crypto/tls/conn.go:780 +0x60 bytes.(Buffer).ReadFrom(0xc000070958, 0x1fbef60, 0xc0005e97a0, 0xea7df5, 0x1beeb80, 0x1c91d00) /usr/lib/go-1.13/src/bytes/buffer.go:204 +0xb4 crypto/tls.(Conn).readFromUntil(0xc000070700, 0x1fbfac0, 0xc000010840, 0x5, 0xc000010840, 0x9) /usr/lib/go-1.13/src/crypto/tls/conn.go:802 +0xec crypto/tls.(Conn).readRecordOrCCS(0xc000070700, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/crypto/tls/conn.go:609 +0x124 crypto/tls.(Conn).readRecord(...) /usr/lib/go-1.13/src/crypto/tls/conn.go:577 crypto/tls.(Conn).Read(0xc000070700, 0xc00067d000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/crypto/tls/conn.go:1255 +0x161 bufio.(Reader).Read(0xc000444ba0, 0xc00067a118, 0x9, 0x9, 0xc000481d10, 0x0, 0x13d2042) /usr/lib/go-1.13/src/bufio/bufio.go:226 +0x26a io.ReadAtLeast(0x1fbede0, 0xc000444ba0, 0xc00067a118, 0x9, 0x9, 0x9, 0xc000020050, 0x0, 0x1fbf060) /usr/lib/go-1.13/src/io/io.go:310 +0x87 io.ReadFull(...) /usr/lib/go-1.13/src/io/io.go:329 net/http.http2readFrameHeader(0xc00067a118, 0x9, 0x9, 0x1fbede0, 0xc000444ba0, 0x0, 0x0, 0xc000a526c0, 0x0) /usr/lib/go-1.13/src/net/http/h2_bundle.go:1477 +0x87 net/http.(http2Framer).ReadFrame(0xc00067a0e0, 0xc000a526c0, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/net/http/h2_bundle.go:1735 +0xa1 net/http.(http2clientConnReadLoop).run(0xc000481fb8, 0xf, 0xffffffffffffffff) /usr/lib/go-1.13/src/net/http/h2_bundle.go:8175 +0x8e net/http.(http2ClientConn).readLoop(0xc000472d80) /usr/lib/go-1.13/src/net/http/h2_bundle.go:8103 +0xa3 created by net/http.(http2Transport).newClientConn /usr/lib/go-1.13/src/net/http/h2_bundle.go:7162 +0x62f

goroutine 77 [select]: net/http.setRequestCancel.func3(0x0, 0xc0003a75f0, 0xc000620050, 0xc00066800c, 0xc0001b6180) /usr/lib/go-1.13/src/net/http/client.go:321 +0xcf created by net/http.setRequestCancel /usr/lib/go-1.13/src/net/http/client.go:320 +0x24b

goroutine 56 [IO wait]: internal/poll.runtime_pollWait(0x7fde751bbea8, 0x72, 0xffffffffffffffff) /usr/lib/go-1.13/src/runtime/netpoll.go:184 +0x55 internal/poll.(pollDesc).wait(0xc0003c9a18, 0x72, 0x4200, 0x4276, 0xffffffffffffffff) /usr/lib/go-1.13/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(pollDesc).waitRead(...) /usr/lib/go-1.13/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(FD).Read(0xc0003c9a00, 0xc000aa6000, 0x4276, 0x4276, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/internal/poll/fd_unix.go:169 +0x1cf net.(netFD).Read(0xc0003c9a00, 0xc000aa6000, 0x4276, 0x4276, 0x203000, 0x7fde74776338, 0x0) /usr/lib/go-1.13/src/net/fd_unix.go:202 +0x4f net.(conn).Read(0xc0004fa0c0, 0xc000aa6000, 0x4276, 0x4276, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/net/net.go:184 +0x68 crypto/tls.(atLeastReader).Read(0xc00055a000, 0xc000aa6000, 0x4276, 0x4276, 0xc00005b9e8, 0xc00005b950, 0xc00005b970) /usr/lib/go-1.13/src/crypto/tls/conn.go:780 +0x60 bytes.(Buffer).ReadFrom(0xc0003d9058, 0x1fbef60, 0xc00055a000, 0xea7df5, 0x1beeb80, 0x1c91d00) /usr/lib/go-1.13/src/bytes/buffer.go:204 +0xb4 crypto/tls.(Conn).readFromUntil(0xc0003d8e00, 0x1fbfac0, 0xc0004fa0c0, 0x5, 0xc0004fa0c0, 0x1e74de0) /usr/lib/go-1.13/src/crypto/tls/conn.go:802 +0xec crypto/tls.(Conn).readRecordOrCCS(0xc0003d8e00, 0x0, 0x0, 0x34) /usr/lib/go-1.13/src/crypto/tls/conn.go:609 +0x124 crypto/tls.(Conn).readRecord(...) /usr/lib/go-1.13/src/crypto/tls/conn.go:577 crypto/tls.(Conn).Read(0xc0003d8e00, 0xc000a16000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/crypto/tls/conn.go:1255 +0x161 bufio.(Reader).fill(0xc000444c00) /usr/lib/go-1.13/src/bufio/bufio.go:100 +0x103 bufio.(Reader).Peek(0xc000444c00, 0x2, 0xb, 0x2e65c38, 0x7fde74939968, 0xc00005bcf0, 0xea9974) /usr/lib/go-1.13/src/bufio/bufio.go:138 +0x4f github.com/gorilla/websocket.(Conn).read(0xc00041e580, 0x2, 0xc0002a9600, 0x7fde74939968, 0x1, 0x1010000000002ae, 0x0) /home/tommy/go/src/github.com/gorilla/websocket/conn.go:370 +0x40 github.com/gorilla/websocket.(Conn).advanceFrame(0xc00041e580, 0x0, 0x0, 0x0) /home/tommy/go/src/github.com/gorilla/websocket/conn.go:798 +0x5c github.com/gorilla/websocket.(Conn).NextReader(0xc00041e580, 0x7fde7477160f, 0x3, 0xc0002a9600, 0x0, 0xc000352000) /home/tommy/go/src/github.com/gorilla/websocket/conn.go:980 +0xa0 github.com/diamondburned/arikawa/utils/wsutil.(Conn).handle(0xc000100280, 0x0, 0x0, 0x0, 0x0, 0x0) /home/tommy/go/src/github.com/diamondburned/arikawa/utils/wsutil/conn.go:183 +0x62 github.com/diamondburned/arikawa/utils/wsutil.(Conn).readLoop(0xc000100280) /home/tommy/go/src/github.com/diamondburned/arikawa/utils/wsutil/conn.go:133 +0x7b created by github.com/diamondburned/arikawa/utils/wsutil.(*Conn).Dial /home/tommy/go/src/github.com/diamondburned/arikawa/utils/wsutil/conn.go:109 +0x24a

goroutine 57 [chan receive]: github.com/diamondburned/arikawa/utils/wsutil.(Conn).writeLoop(0xc000100280) /home/tommy/go/src/github.com/diamondburned/arikawa/utils/wsutil/conn.go:162 +0x105 created by github.com/diamondburned/arikawa/utils/wsutil.(Conn).Dial /home/tommy/go/src/github.com/diamondburned/arikawa/utils/wsutil/conn.go:113 +0x2d1

goroutine 29 [select]: github.com/diamondburned/arikawa/utils/heart.(Pacemaker).start(0xc0000bf780, 0x0, 0x0) /home/tommy/go/src/github.com/diamondburned/arikawa/utils/heart/heart.go:140 +0x206 github.com/diamondburned/arikawa/utils/heart.(Pacemaker).StartAsync.func1(0xc0000bf780, 0x0) /home/tommy/go/src/github.com/diamondburned/arikawa/utils/heart/heart.go:159 +0x2f created by github.com/diamondburned/arikawa/utils/heart.(*Pacemaker).StartAsync /home/tommy/go/src/github.com/diamondburned/arikawa/utils/heart/heart.go:158 +0xbf

goroutine 30 [select]: github.com/diamondburned/arikawa/utils/wsutil.(PacemakerLoop).startLoop(0xc000287bd0, 0x0, 0x0) /home/tommy/go/src/github.com/diamondburned/arikawa/utils/wsutil/heart.go:85 +0x1c9 github.com/diamondburned/arikawa/utils/wsutil.(PacemakerLoop).RunAsync.func1(0xc0007463a0, 0xc000287bd0) /home/tommy/go/src/github.com/diamondburned/arikawa/utils/wsutil/heart.go:76 +0x2b created by github.com/diamondburned/arikawa/utils/wsutil.(*PacemakerLoop).RunAsync /home/tommy/go/src/github.com/diamondburned/arikawa/utils/wsutil/heart.go:75 +0xce

goroutine 32 [select]: net/http.(http2ClientConn).roundTrip(0xc000472d80, 0xc00048c700, 0x0, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/net/http/h2_bundle.go:7573 +0x9a0 net/http.(http2Transport).RoundTripOpt(0xc000352a20, 0xc00048c700, 0xc000695000, 0x13dfd25, 0x0, 0xc0003ba900) /usr/lib/go-1.13/src/net/http/h2_bundle.go:6936 +0x172 net/http.(http2Transport).RoundTrip(...) /usr/lib/go-1.13/src/net/http/h2_bundle.go:6897 net/http.http2noDialH2RoundTripper.RoundTrip(0xc000352a20, 0xc00048c700, 0xc00016e180, 0x5, 0xc0003ba988) /usr/lib/go-1.13/src/net/http/h2_bundle.go:9032 +0x3e net/http.(Transport).roundTrip(0x2e07780, 0xc00048c700, 0xc0003a75f0, 0xc00066800c, 0xc000668020) /usr/lib/go-1.13/src/net/http/transport.go:485 +0xdc8 net/http.(Transport).RoundTrip(0x2e07780, 0xc00048c700, 0x2e07780, 0xbfba33908fc4dddd, 0x3e86c4965) /usr/lib/go-1.13/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00048c600, 0x1fbfb60, 0x2e07780, 0xbfba33908fc4dddd, 0x3e86c4965, 0x2e5e5a0, 0xc0004e0018, 0xbfba33908fc4dddd, 0x1, 0x0) /usr/lib/go-1.13/src/net/http/client.go:250 +0x443 net/http.(Client).send(0xc0003a7200, 0xc00048c600, 0xbfba33908fc4dddd, 0x3e86c4965, 0x2e5e5a0, 0xc0004e0018, 0x0, 0x1, 0x0) /usr/lib/go-1.13/src/net/http/client.go:174 +0xfa net/http.(Client).do(0xc0003a7200, 0xc00048c600, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/net/http/client.go:641 +0x3ce net/http.(Client).Do(...) /usr/lib/go-1.13/src/net/http/client.go:509 github.com/diamondburned/arikawa/utils/httputil/httpdriver.DefaultClient.Do(0x0, 0x0, 0x0, 0x0, 0x0, 0x2540be400, 0x1fff300, 0xc00048c600, 0xc0003a71d0, 0xc000695840, ...) /home/tommy/go/src/github.com/diamondburned/arikawa/utils/httputil/httpdriver/default.go:42 +0x86 github.com/diamondburned/arikawa/utils/httputil.(Client).Request(0xc00019a4d0, 0x1d83e92, 0x3, 0xc00016e180, 0x24, 0xc0005dbaa0, 0x1, 0x1, 0x0, 0x0, ...) /home/tommy/go/src/github.com/diamondburned/arikawa/utils/httputil/client.go:171 +0x2a4 github.com/diamondburned/arikawa/utils/httputil.(Client).RequestJSON(0xc00019a4d0, 0x1b6a640, 0xc0004e0000, 0x1d83e92, 0x3, 0xc00016e180, 0x24, 0x0, 0x0, 0x0, ...) /home/tommy/go/src/github.com/diamondburned/arikawa/utils/httputil/client.go:135 +0xcf github.com/diamondburned/arikawa/api.(Client).Me(...) /home/tommy/go/src/github.com/diamondburned/arikawa/api/user.go:25 github.com/diamondburned/arikawa/state.(State).Me(0xc0002844e0, 0x8, 0x8, 0xc000a12f90) /home/tommy/go/src/github.com/diamondburned/arikawa/state/state.go:272 +0xdc github.com/diamondburned/ningen.FromState.func2(0xc0005e9b60) /home/tommy/go/src/github.com/diamondburned/ningen/ningen.go:41 +0x44 reflect.Value.call(0x1b850c0, 0xc00070a9a0, 0x13, 0x1d84fcd, 0x4, 0xc000059f70, 0x1, 0x1, 0x0, 0x0, ...) /usr/lib/go-1.13/src/reflect/value.go:460 +0x5f6 reflect.Value.Call(0x1b850c0, 0xc00070a9a0, 0x13, 0xc0000b0f70, 0x1, 0x1, 0x1, 0x0, 0x0) /usr/lib/go-1.13/src/reflect/value.go:321 +0xb4 github.com/diamondburned/arikawa/handler.handler.call(0x202b3c0, 0x1b552c0, 0x1b850c0, 0xc00070a9a0, 0x13, 0x0, 0x1b552c0, 0xc0005e9b60, 0x16) /home/tommy/go/src/github.com/diamondburned/arikawa/handler/handler.go:288 +0xa0 created by github.com/diamondburned/arikawa/handler.(*Handler).Call /home/tommy/go/src/github.com/diamondburned/arikawa/handler/handler.go:73 +0x3d5

goroutine 60 [chan receive]: github.com/diamondburned/gtkcord3/gtkcord/semaphore.idleAdd(0x1da41f5, 0xb, 0x1da4100, 0x1b6e2c0, 0xc00055aae0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/semaphore/semaphore.go:84 +0x369 github.com/diamondburned/gtkcord3/gtkcord/semaphore.idle(0x1da41f5, 0xb, 0x1b6e2c0, 0xc00055aae0, 0x0, 0x0, 0x0, 0xc00055aae0, 0x0, 0x0, ...) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/semaphore/semaphore.go:119 +0x93 github.com/diamondburned/gtkcord3/gtkcord/semaphore.IdleMust(0x1b6e2c0, 0xc00055aae0, 0x0, 0x0, 0x0, 0xc0007e7b18, 0xeaa688) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/semaphore/semaphore.go:148 +0x9f github.com/diamondburned/gtkcord3/gtkcord/components/channel.NewChannels(0xc000a52a20, 0xc000788580, 0x0) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/components/channel/channels.go:42 +0xa8 github.com/diamondburned/gtkcord3/gtkcord.(Application).Ready(0xc000302000, 0xc000a52a20, 0x0, 0x0) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/gtkcord.go:259 +0x417 main.Finish.func1(0xc000a52a20) /home/tommy/go/src/github.com/diamondburned/gtkcord3/main.go:97 +0x38 github.com/diamondburned/gtkcord3/gtkcord/ningen.Connect.func2(0xc0000e7a40) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/ningen/ningen.go:52 +0x2e reflect.Value.call(0x1b8bb40, 0xc0005e9a60, 0x13, 0x1d84fcd, 0x4, 0xc000649f70, 0x1, 0x1, 0x0, 0x0, ...) /usr/lib/go-1.13/src/reflect/value.go:460 +0x5f6 reflect.Value.Call(0x1b8bb40, 0xc0005e9a60, 0x13, 0xc000556770, 0x1, 0x1, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/reflect/value.go:321 +0xb4 github.com/diamondburned/arikawa/handler.handler.call(0x202b3c0, 0x1b71ec0, 0x1b8bb40, 0xc0005e9a60, 0x13, 0x0, 0x1b71ec0, 0xc0000e7a40, 0x16) /home/tommy/go/src/github.com/diamondburned/arikawa/handler/handler.go:288 +0xa0 created by github.com/diamondburned/arikawa/handler.(Handler).Call /home/tommy/go/src/github.com/diamondburned/arikawa/handler/handler.go:73 +0x3d5

goroutine 78 [select]: net/http.setRequestCancel.func3(0x0, 0xc000496c30, 0xc0006200f0, 0xc0006682fc, 0xc0001b6660) /usr/lib/go-1.13/src/net/http/client.go:321 +0xcf created by net/http.setRequestCancel /usr/lib/go-1.13/src/net/http/client.go:320 +0x24b

goroutine 82 [select]: net/http.(Transport).getConn(0x2e07780, 0xc000496cf0, 0x0, 0xc0002a0000, 0x5, 0xc0006000c0, 0x16, 0x0, 0x0, 0x0, ...) /usr/lib/go-1.13/src/net/http/transport.go:1239 +0x553 net/http.(Transport).roundTrip(0x2e07780, 0xc00048d300, 0xc000496c30, 0xc0006682fc, 0xc0006682f0) /usr/lib/go-1.13/src/net/http/transport.go:522 +0x603 net/http.(Transport).RoundTrip(0x2e07780, 0xc00048d300, 0x2e07780, 0xbfba3391d4846984, 0x51731c718) /usr/lib/go-1.13/src/net/http/roundtrip.go:17 +0x35 net/http.send(0xc00048cb00, 0x1fbfb60, 0x2e07780, 0xbfba3391d4846984, 0x51731c718, 0x2e5e5a0, 0xc0004e0058, 0xbfba3391d4846984, 0x1, 0x0) /usr/lib/go-1.13/src/net/http/client.go:250 +0x443 net/http.(Client).send(0x2e01840, 0xc00048cb00, 0xbfba3391d4846984, 0x51731c718, 0x2e5e5a0, 0xc0004e0058, 0x0, 0x1, 0x1cc43a0) /usr/lib/go-1.13/src/net/http/client.go:174 +0xfa net/http.(Client).do(0x2e01840, 0xc00048cb00, 0x0, 0x0, 0x0) /usr/lib/go-1.13/src/net/http/client.go:641 +0x3ce net/http.(Client).Do(...) /usr/lib/go-1.13/src/net/http/client.go:509 github.com/diamondburned/gtkcord3/gtkcord/cache.download(0x1ffd540, 0xc000024150, 0xc0002a0000, 0x62, 0xc000695f50, 0x1, 0x1, 0xc00014c001, 0x0, 0x0, ...) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/cache/cache.go:116 +0x162 github.com/diamondburned/gtkcord3/gtkcord/cache.get(0x1ffd540, 0xc000024150, 0xc0002a0000, 0x62, 0xc0001c6280, 0x74, 0xc000841f50, 0x1, 0x1, 0x1, ...) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/cache/cache.go:146 +0x8c github.com/diamondburned/gtkcord3/gtkcord/cache.SetImageScaledContext(0x1ffd540, 0xc000024150, 0xc0002a0000, 0x62, 0xc00015e4c8, 0x34, 0x34, 0xc000841f50, 0x1, 0x1, ...) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/cache/cache.go:206 +0x179 github.com/diamondburned/gtkcord3/gtkcord/cache.SetImageScaled(...) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/cache/cache.go:190 github.com/diamondburned/gtkcord3/gtkcord/components/guild.(*Guild).UpdateImage(0xc0004f6580) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/components/guild/guild.go:150 +0xf8 github.com/diamondburned/gtkcord3/gtkcord/components/guild.newGuildRow.func1(0xc0004f6580, 0xc000a52a20, 0x3ef1410c0820000) /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/components/guild/guild.go:121 +0x2f created by github.com/diamondburned/gtkcord3/gtkcord/components/guild.newGuildRow /home/tommy/go/src/github.com/diamondburned/gtkcord3/gtkcord/components/guild/guild.go:119 +0x4a8 ` in on 20.04 with go 1.3.12