flatpak run ch.protonmail.protonmail-bridge
INFO[0000] Run app appLong="Protonmail Bridge" appShort=bridge args="[/app/extra/export/bin/protonmail-bridge]" build="2020-02-12T18:22:55+0100" pkg=main revision=2d36b643e6 runtime=linux version=1.2.5
Gtk-Message: 21:03:53.115: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:03:53.115: Failed to load module "canberra-gtk-module"
SIGABRT: abort
PC=0x7f71a66c4605 m=0 sigcode=18446744073709551610
signal arrived during cgo execution
goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0xd1fdc0, 0xc0005a0cf8, 0xb1197a)
/home/dev/build/go-1.12.14/src/runtime/cgocall.go:128 +0x5b fp=0xc0005a0cc8 sp=0xc0005a0c90 pc=0x4c655b
github.com/therecipe/qt/qml._Cfunc_QQmlApplicationEngine_Load(0x2823ef0, 0x27f8c90)
_cgo_gotypes.go:913 +0x45 fp=0xc0005a0cf8 sp=0xc0005a0cc8 pc=0xb52245
github.com/therecipe/qt/qml.(*QQmlApplicationEngine).Load.func1(0xc0000100e8, 0x10ada40, 0xc0000103f0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/therecipe/qt/qml/qml-minimal.go:808 +0xb9 fp=0xc0005a0d40 sp=0xc0005a0cf8 pc=0xb5dbe9
github.com/therecipe/qt/qml.(*QQmlApplicationEngine).Load(0xc0000100e8, 0x10ada40, 0xc0000103f0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/therecipe/qt/qml/qml-minimal.go:808 +0x5d fp=0xc0005a0d68 sp=0xc0005a0d40 pc=0xb57e6d
github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt.(*FrontendQt).qtExecute(0xc0002d5200, 0xf834a0, 0xc0002d5200, 0xcaae4e)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt/frontend.go:321 +0x441 fp=0xc0005a0e20 sp=0xc0005a0d68 pc=0xbca6a1
github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt.(*FrontendQt).Loop(0xc0002d5200, 0x0, 0x0, 0x1, 0x1)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt/frontend.go:160 +0x6e fp=0xc0005a0e50 sp=0xc0005a0e20 pc=0xbc927e
main.run(0xc0003b8f00, 0xc0003b8f00, 0xc0001bb12f)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:291 +0x1443 fp=0xc0005a1130 sp=0xc0005a0e50 pc=0xcaaee3
github.com/urfave/cli.HandleAction(0xde5860, 0xf85580, 0xc0003b8f00, 0xc0003b4840, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/urfave/cli/app.go:485 +0xc8 fp=0xc0005a1158 sp=0xc0005a1130 pc=0xc98c58
github.com/urfave/cli.(*App).Run(0xc0001149c0, 0xc0000321b0, 0x1, 0x1, 0x0, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/urfave/cli/app.go:259 +0x67a fp=0xc0005a1468 sp=0xc0005a1158 pc=0xc96d0a
main.main()
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:120 +0xcb6 fp=0xc0005a1f98 sp=0xc0005a1468 pc=0xca96d6
runtime.main()
/home/dev/build/go-1.12.14/src/runtime/proc.go:200 +0x20c fp=0xc0005a1fe0 sp=0xc0005a1f98 pc=0x4f235c
runtime.goexit()
/home/dev/build/go-1.12.14/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc0005a1fe8 sp=0xc0005a1fe0 pc=0x51e0d1
goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
/home/dev/build/go-1.12.14/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
/home/dev/build/go-1.12.14/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
/home/dev/build/go-1.12.14/src/os/signal/signal_unix.go:29 +0x41
goroutine 6 [sleep]:
runtime.goparkunlock(...)
/home/dev/build/go-1.12.14/src/runtime/proc.go:307
time.Sleep(0xdf8475800)
/home/dev/build/go-1.12.14/src/runtime/time.go:105 +0x159
github.com/ProtonMail/go-pm-bridge-utils/config.watchLogFileSize.func1(0xc0003f42a0, 0x2b, 0xc0003b69e0, 0x11)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pm-bridge-utils/config/logs.go:145 +0x30
created by github.com/ProtonMail/go-pm-bridge-utils/config.watchLogFileSize
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pm-bridge-utils/config/logs.go:143 +0x5d
goroutine 7 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/bridge.(*Bridge).watchBridgeOutdated(0xc00037bce0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/bridge/bridge.go:148 +0xb4
github.com/ProtonMail/Desktop-Bridge/pkg/bridge.New.func1(0x10ae160, 0xc0003afc70, 0xc00037bce0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/bridge/bridge.go:81 +0x55
created by github.com/ProtonMail/Desktop-Bridge/pkg/bridge.New
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/bridge/bridge.go:79 +0x28e
goroutine 61 [select]:
net/http.(*persistConn).roundTrip(0xc00040cea0, 0xc000456870, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/net/http/transport.go:2194 +0x75c
net/http.(*Transport).roundTrip(0xc00043c5a0, 0xc0002fc100, 0x10, 0xc0003968a0, 0xc0001b89e8)
/home/dev/build/go-1.12.14/src/net/http/transport.go:481 +0xa1b
net/http.(*Transport).RoundTrip(0xc00043c5a0, 0xc0002fc100, 0xc00043c5a0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/net/http/roundtrip.go:17 +0x35
net/http.send(0xc0002fc100, 0x10ae3a0, 0xc00043c5a0, 0x0, 0x0, 0x0, 0xc00044e120, 0xc0001bb2e0, 0x1, 0x0)
/home/dev/build/go-1.12.14/src/net/http/client.go:250 +0x461
net/http.(*Client).send(0xc0003e7b30, 0xc0002fc100, 0x0, 0x0, 0x0, 0xc00044e120, 0x0, 0x1, 0xc0000a4a80)
/home/dev/build/go-1.12.14/src/net/http/client.go:174 +0xfb
net/http.(*Client).do(0xc0003e7b30, 0xc0002fc100, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/net/http/client.go:641 +0x279
net/http.(*Client).Do(...)
/home/dev/build/go-1.12.14/src/net/http/client.go:509
github.com/ProtonMail/go-pmapi.(*Client).doBuffered(0xc0001643c0, 0xc0002fc100, 0x0, 0x0, 0x0, 0x0, 0x8952d2, 0xc0000a4a80, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:240 +0x74f
github.com/ProtonMail/go-pmapi.(*Client).doJSONBuffered(0xc0001643c0, 0xc0002fc100, 0x0, 0x0, 0x0, 0xe06d80, 0xc00035ea40, 0x0, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:328 +0x307
github.com/ProtonMail/go-pmapi.(*Client).DoJSON(0xc0001643c0, 0xc0002fc100, 0xe06d80, 0xc00035ea40, 0x0, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:307 +0x86
github.com/ProtonMail/go-pmapi.(*Client).GetEvent(0xc0001643c0, 0xc000541800, 0x58, 0x1, 0x1, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/events.go:173 +0x334
github.com/ProtonMail/Desktop-Bridge/pkg/store.(*eventLoop).processNextEvent(0xc0003c9420, 0x0, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/event_loop.go:200 +0x207
github.com/ProtonMail/Desktop-Bridge/pkg/store.(*eventLoop).start(0xc0003c9420)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/event_loop.go:137 +0x3d9
created by github.com/ProtonMail/Desktop-Bridge/pkg/store.New
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/store.go:138 +0xb47
goroutine 59 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fe008, 0x72, 0xffffffffffffffff)
/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc0001b2398, 0x72, 0x1400, 0x14ae, 0xffffffffffffffff)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc0001b2380, 0xc000109500, 0x14ae, 0x14ae, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc0001b2380, 0xc000109500, 0x14ae, 0x14ae, 0x203000, 0x0, 0x30)
/home/dev/build/go-1.12.14/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc00044e020, 0xc000109500, 0x14ae, 0x14ae, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/net/net.go:177 +0x69
crypto/tls.(*atLeastReader).Read(0xc0003aa480, 0xc000109500, 0x14ae, 0x14ae, 0x3, 0xa, 0xc0000b5938)
/home/dev/build/go-1.12.14/src/crypto/tls/conn.go:761 +0x60
bytes.(*Buffer).ReadFrom(0xc0000a53d8, 0x10acbe0, 0xc0003aa480, 0x4cd1f5, 0xe28580, 0xec6b20)
/home/dev/build/go-1.12.14/src/bytes/buffer.go:207 +0xbd
crypto/tls.(*Conn).readFromUntil(0xc0000a5180, 0x10ae300, 0xc00044e020, 0x5, 0xc00044e020, 0x203000)
/home/dev/build/go-1.12.14/src/crypto/tls/conn.go:783 +0xf8
crypto/tls.(*Conn).readRecordOrCCS(0xc0000a5180, 0xf85e00, 0xc0000a52b8, 0xc0000b5b88)
/home/dev/build/go-1.12.14/src/crypto/tls/conn.go:590 +0x125
crypto/tls.(*Conn).readRecord(...)
/home/dev/build/go-1.12.14/src/crypto/tls/conn.go:558
crypto/tls.(*Conn).Read(0xc0000a5180, 0xc000168000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/crypto/tls/conn.go:1236 +0x137
net/http.(*persistConn).Read(0xc00040cea0, 0xc000168000, 0x1000, 0x1000, 0xc0000b5c88, 0x4c8475, 0xc000042a20)
/home/dev/build/go-1.12.14/src/net/http/transport.go:1526 +0x7b
bufio.(*Reader).fill(0xc0003b4b40)
/home/dev/build/go-1.12.14/src/bufio/bufio.go:100 +0x10f
bufio.(*Reader).Peek(0xc0003b4b40, 0x1, 0x0, 0x0, 0x1, 0xc00031a400, 0x0)
/home/dev/build/go-1.12.14/src/bufio/bufio.go:138 +0x4f
net/http.(*persistConn).readLoop(0xc00040cea0)
/home/dev/build/go-1.12.14/src/net/http/transport.go:1679 +0x1a3
created by net/http.(*Transport).dialConn
/home/dev/build/go-1.12.14/src/net/http/transport.go:1359 +0xae8
goroutine 47 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/store.(*eventLoop).pollNow(0xc0003c9420)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/event_loop.go:79 +0x7c
created by github.com/ProtonMail/Desktop-Bridge/pkg/store.(*eventLoop).start
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/event_loop.go:112 +0x2a6
goroutine 60 [select]:
net/http.(*persistConn).writeLoop(0xc00040cea0)
/home/dev/build/go-1.12.14/src/net/http/transport.go:1978 +0x113
created by net/http.(*Transport).dialConn
/home/dev/build/go-1.12.14/src/net/http/transport.go:1360 +0xb0d
goroutine 62 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/bridge.(*Bridge).heartbeat(0xc00037bce0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/bridge/bridge.go:101 +0x7a
created by github.com/ProtonMail/Desktop-Bridge/pkg/bridge.New
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/bridge/bridge.go:94 +0x46f
goroutine 63 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/imap.(*imapBackend).monitorDisconnectedUsers(0xc000544ea0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/imap/backend.go:197 +0xc1
created by github.com/ProtonMail/Desktop-Bridge/pkg/imap.NewIMAPBackend
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/imap/backend.go:51 +0xfc
goroutine 115 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fdd98, 0x72, 0x0)
/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc00056a098, 0x72, 0x0, 0x0, 0xf0b6f6)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc00056a080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:384 +0x1ba
net.(*netFD).accept(0xc00056a080, 0xc0005f9bd8, 0x4cf0e9, 0xc0005f9be8)
/home/dev/build/go-1.12.14/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc0004d4008, 0x30, 0x30, 0xe977e0)
/home/dev/build/go-1.12.14/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).AcceptTCP(0xc0004d4008, 0xc00004ca70, 0xc00004ca00, 0xc0003ba700)
/home/dev/build/go-1.12.14/src/net/tcpsock.go:247 +0x48
net/http.tcpKeepAliveListener.Accept(0xc0004d4008, 0xf85ef0, 0xc0005f9c38, 0xc0005f9c30, 0x4cf978)
/home/dev/build/go-1.12.14/src/net/http/server.go:3264 +0x2f
crypto/tls.(*listener).Accept(0xc000358c80, 0xe977e0, 0xc0005d8540, 0xe0af20, 0x19c1b80)
/home/dev/build/go-1.12.14/src/crypto/tls/tls.go:62 +0x37
net/http.(*Server).Serve(0xc0004d8000, 0x10d9340, 0xc000358c80, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/net/http/server.go:2859 +0x22d
net/http.(*Server).ServeTLS(0xc0004d8000, 0x10dad00, 0xc0004d4008, 0xc000541980, 0x57, 0xc0005419e0, 0x56, 0x10da380, 0xc0004d4008)
/home/dev/build/go-1.12.14/src/net/http/server.go:2924 +0x274
net/http.(*Server).ListenAndServeTLS(0xc0004d8000, 0xc000541980, 0x57, 0xc0005419e0, 0x56, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/net/http/server.go:3081 +0x169
github.com/ProtonMail/Desktop-Bridge/pkg/api.(*apiServer).ListenAndServe(0xc000688320)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/api/api.go:59 +0x232
main.run.func1(0xc0003afc70, 0xc000688320)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:279 +0x51
created by main.run
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:277 +0x134a
goroutine 116 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fdf38, 0x72, 0x0)
/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc000278118, 0x72, 0x0, 0x0, 0xf0b6f6)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc000278100, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:384 +0x1ba
net.(*netFD).accept(0xc000278100, 0xc00016fe58, 0xc000544f30, 0xb60000000066d76e)
/home/dev/build/go-1.12.14/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc00041a2f0, 0xc00016fe00, 0xc00016fe08, 0x18)
/home/dev/build/go-1.12.14/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc00041a2f0, 0xf84180, 0xc0005199a0, 0x10da380, 0xc00041a2f0)
/home/dev/build/go-1.12.14/src/net/tcpsock.go:260 +0x48
github.com/emersion/go-imap/server.(*Server).Serve(0xc0005199a0, 0x10da380, 0xc00041a2f0, 0x0, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-imap/server/server.go:211 +0x1d1
github.com/emersion/go-imap/server.(*Server).ListenAndServe(0xc0005199a0, 0x4, 0xc000480778)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-imap/server/server.go:242 +0xdd
github.com/ProtonMail/Desktop-Bridge/pkg/imap.(*imapServer).ListenAndServe(0xc0001bf240)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/imap/server.go:100 +0x111
main.run.func2(0xc0003afc70, 0xc0001bf240)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:283 +0x51
created by main.run
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:281 +0x137c
goroutine 117 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fde68, 0x72, 0x0)
/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc0004ee018, 0x72, 0x0, 0x0, 0xf0b6f6)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Accept(0xc0004ee000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:384 +0x1ba
net.(*netFD).accept(0xc0004ee000, 0x0, 0x0, 0xc0003861d0)
/home/dev/build/go-1.12.14/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc000606060, 0x4ef76f, 0x8, 0xc000448180)
/home/dev/build/go-1.12.14/src/net/tcpsock_posix.go:139 +0x32
net.(*TCPListener).Accept(0xc000606060, 0xf84278, 0xc0000f62c0, 0x3, 0xc0003861d0)
/home/dev/build/go-1.12.14/src/net/tcpsock.go:260 +0x48
github.com/emersion/go-smtp.(*Server).Serve(0xc0000f62c0, 0x10da380, 0xc000606060, 0x0, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-smtp/server.go:73 +0xc2
github.com/emersion/go-smtp.(*Server).ListenAndServe(0xc0000f62c0, 0xc000000004, 0xc000497ce8)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-smtp/server.go:139 +0xdc
github.com/ProtonMail/Desktop-Bridge/pkg/smtp.(*smtpServer).ListenAndServe(0xc0001bf2a0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/smtp/server.go:64 +0x4e3
main.run.func3(0xc0003afc70, 0xc0001bf2a0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:287 +0x51
created by main.run
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/main.go:285 +0x13ae
goroutine 118 [select]:
github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt.(*FrontendQt).watchEvents(0xc0002d5200)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt/frontend.go:179 +0x71c
github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt.(*FrontendQt).Loop.func1(0xc0002d5200)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt/frontend.go:158 +0x58
created by github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt.(*FrontendQt).Loop
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/frontend/qt/frontend.go:156 +0x54
goroutine 64 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/imap.(*imapServer).monitorDisconnectedUsers(0xc0001bf240)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/imap/server.go:120 +0x1a0
created by github.com/ProtonMail/Desktop-Bridge/pkg/imap.(*imapServer).ListenAndServe
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/imap/server.go:97 +0x54
goroutine 67 [chan receive]:
github.com/ProtonMail/Desktop-Bridge/pkg/smtp.(*smtpServer).monitorDisconnectedUsers(0xc0001bf2a0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/smtp/server.go:88 +0x14a
created by github.com/ProtonMail/Desktop-Bridge/pkg/smtp.(*smtpServer).ListenAndServe
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/smtp/server.go:56 +0x57
goroutine 65 [chan receive]:
github.com/emersion/go-imap/server.(*Server).listenUpdates(0xc0005199a0, 0x10da380, 0xc00041a2f0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-imap/server/server.go:298 +0xc8
created by github.com/emersion/go-imap/server.(*Server).Serve
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/emersion/go-imap/server/server.go:208 +0x108
goroutine 48 [select]:
net/http.(*Transport).getConn(0xc00043c5a0, 0xc0005d8870, 0x0, 0xc00003ccf0, 0x5, 0xc0002a3500, 0x15, 0x0, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/http/transport.go:1022 +0x63d
net/http.(*Transport).roundTrip(0xc00043c5a0, 0xc000674000, 0x10, 0xc00034f420, 0xc0004f6bd8)
/home/dev/build/go-1.12.14/src/net/http/transport.go:467 +0x6ef
net/http.(*Transport).RoundTrip(0xc00043c5a0, 0xc000674000, 0xc00043c5a0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/net/http/roundtrip.go:17 +0x35
net/http.send(0xc000674000, 0x10ae3a0, 0xc00043c5a0, 0x0, 0x0, 0x0, 0xc0004d4038, 0x2f, 0x1, 0x0)
/home/dev/build/go-1.12.14/src/net/http/client.go:250 +0x461
net/http.(*Client).send(0xc0003e7b30, 0xc000674000, 0x0, 0x0, 0x0, 0xc0004d4038, 0x0, 0x1, 0xc0004f6e28)
/home/dev/build/go-1.12.14/src/net/http/client.go:174 +0xfb
net/http.(*Client).do(0xc0003e7b30, 0xc000674000, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/net/http/client.go:641 +0x279
net/http.(*Client).Do(...)
/home/dev/build/go-1.12.14/src/net/http/client.go:509
github.com/ProtonMail/go-pmapi.(*Client).doBuffered(0xc0001643c0, 0xc000674000, 0x0, 0x0, 0x0, 0x120300000000000, 0x7f71a1c3ffff, 0x3, 0x7f71a1a73c00)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:240 +0x74f
github.com/ProtonMail/go-pmapi.(*Client).doJSONBuffered(0xc0001643c0, 0xc000674000, 0x0, 0x0, 0x0, 0xe071a0, 0xc000350380, 0x0, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:328 +0x307
github.com/ProtonMail/go-pmapi.(*Client).DoJSON(0xc0001643c0, 0xc000674000, 0xe071a0, 0xc000350380, 0x0, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/client.go:307 +0x86
github.com/ProtonMail/go-pmapi.(*Client).ListMessages(0xc0001643c0, 0xc0004ec360, 0xc0004f7810, 0x1, 0x1, 0x6, 0xc0004f77c0, 0xc0004f7820)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/messages.go:442 +0x104
github.com/ProtonMail/Desktop-Bridge/pkg/store.syncMailbox.func2(0xdd0360, 0x1096428, 0x0, 0x0, 0x0, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/mailbox_sync.go:102 +0x209
github.com/ProtonMail/Desktop-Bridge/pkg/store.syncMailbox(0xf0813c, 0x1, 0x10d9400, 0xc0001b2200, 0x7f7190739080, 0xc0001643c0, 0xc000699d40, 0xc000699d40)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/mailbox_sync.go:139 +0x22f
github.com/ProtonMail/Desktop-Bridge/pkg/store.(*Mailbox).sync(0xc0000c9320, 0x0, 0x0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/mailbox_sync.go:47 +0x212
github.com/ProtonMail/Desktop-Bridge/pkg/store.(*Store).triggerSync.func1(0xc0001b2200)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/user_sync.go:112 +0xc5
created by github.com/ProtonMail/Desktop-Bridge/pkg/store.(*Store).triggerSync
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/pkg/store/user_sync.go:95 +0x4d
goroutine 32 [select]:
net.(*Resolver).lookupIPAddr(0x1aae560, 0x10df900, 0xc00056c780, 0xf086d7, 0x3, 0xc0002a3500, 0x11, 0x1bb, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/lookup.go:275 +0x663
net.(*Resolver).internetAddrList(0x1aae560, 0x10df900, 0xc00056c780, 0xf086d7, 0x3, 0xc0002a3500, 0x15, 0x0, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/ipsock.go:280 +0x61f
net.(*Resolver).resolveAddrList(0x1aae560, 0x10df900, 0xc00056c780, 0xf08c04, 0x4, 0xf086d7, 0x3, 0xc0002a3500, 0x15, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/dial.go:213 +0x508
net.(*Dialer).DialContext(0xc0004f7870, 0x10df8c0, 0xc0000360f8, 0xf086d7, 0x3, 0xc0002a3500, 0x15, 0x0, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/dial.go:395 +0x202
net.(*Dialer).Dial(...)
/home/dev/build/go-1.12.14/src/net/dial.go:340
crypto/tls.DialWithDialer(0xc0004f7870, 0xf086d7, 0x3, 0xc0002a3500, 0x15, 0x0, 0x19, 0x0, 0x8a170a)
/home/dev/build/go-1.12.14/src/crypto/tls/tls.go:130 +0x100
github.com/ProtonMail/go-pmapi.(*TLSPinning).dialAndCheckFingerprints(0xc000422410, 0xf086d7, 0x3, 0xc0002a3500, 0x15, 0x120, 0xee00a0, 0xe04001, 0xc0004ec6c0)
/home/dev/gopath/src/github.com/ProtonMail/Desktop-Bridge/vendor/github.com/ProtonMail/go-pmapi/tls_pinning.go:242 +0x1f8
net/http.(*Transport).dialConn(0xc00043c5a0, 0x10df8c0, 0xc0000360f8, 0x0, 0xc00003ccf0, 0x5, 0xc0002a3500, 0x15, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/http/transport.go:1234 +0x324
net/http.(*Transport).getConn.func4(0xc00043c5a0, 0x10df8c0, 0xc0000360f8, 0xc0005d88a0, 0xc0004f0180)
/home/dev/build/go-1.12.14/src/net/http/transport.go:1017 +0xa6
created by net/http.(*Transport).getConn
/home/dev/build/go-1.12.14/src/net/http/transport.go:1016 +0x455
goroutine 33 [chan receive]:
net.(*Resolver).goLookupIPCNAMEOrder(0x1aae560, 0x10df880, 0xc0003503c0, 0xc0002a3500, 0x11, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:591 +0x794
net.(*Resolver).lookupIP(0x1aae560, 0x10df880, 0xc0003503c0, 0xf086d7, 0x3, 0xc0002a3500, 0x11, 0x0, 0x0, 0xc0004b4600, ...)
/home/dev/build/go-1.12.14/src/net/lookup_unix.go:102 +0xfb
net.glob..func1(0x10df880, 0xc0003503c0, 0xc00034f4b0, 0xf086d7, 0x3, 0xc0002a3500, 0x11, 0x0, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/hook.go:23 +0x72
net.(*Resolver).lookupIPAddr.func1(0x0, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/net/lookup.go:269 +0x116
internal/singleflight.(*Group).doCall(0x1aae570, 0xc0002dc690, 0xc0002a3600, 0x15, 0xc000350400)
/home/dev/build/go-1.12.14/src/internal/singleflight/singleflight.go:95 +0x2e
created by internal/singleflight.(*Group).DoChan
/home/dev/build/go-1.12.14/src/internal/singleflight/singleflight.go:88 +0x29d
goroutine 130 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fdbf8, 0x72, 0xffffffffffffffff)
/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc000410198, 0x72, 0x200, 0x200, 0xffffffffffffffff)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000410180, 0xc000316600, 0x200, 0x200, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc000410180, 0xc000316600, 0x200, 0x200, 0xc0005bc6a0, 0x506f5c, 0x200)
/home/dev/build/go-1.12.14/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc00044e128, 0xc000316600, 0x200, 0x200, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/net/net.go:177 +0x69
net.dnsPacketRoundTrip(0x10e55c0, 0xc00044e128, 0x72702e6970615e2f, 0x6c69616d6e6f746f, 0x2e68632e, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:81 +0x132
net.(*Resolver).exchange(0x1aae560, 0x10df880, 0xc0003503c0, 0xc0002aa0f0, 0xa, 0x746f72702e697061, 0x632e6c69616d6e6f, 0x2e68, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:154 +0x452
net.(*Resolver).tryOneName(0x1aae560, 0x10df880, 0xc0003503c0, 0xc00029f220, 0xc0002a3860, 0x12, 0xe00001, 0x0, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:244 +0x325
net.(*Resolver).goLookupIPCNAMEOrder.func1(0x1aae560, 0x10df880, 0xc0003503c0, 0xc00029f220, 0xc00034f4e0, 0xc00056c900, 0xc0004e0001)
/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:584 +0x90
created by net.(*Resolver).goLookupIPCNAMEOrder
/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:583 +0x285
goroutine 131 [IO wait]:
internal/poll.runtime_pollWait(0x7f71a01fdcc8, 0x72, 0xffffffffffffffff)
/home/dev/build/go-1.12.14/src/runtime/netpoll.go:182 +0x56
internal/poll.(*pollDesc).wait(0xc00056a318, 0x72, 0x200, 0x200, 0xffffffffffffffff)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:87 +0x9b
internal/poll.(*pollDesc).waitRead(...)
/home/dev/build/go-1.12.14/src/internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc00056a300, 0xc0005be000, 0x200, 0x200, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/internal/poll/fd_unix.go:169 +0x19b
net.(*netFD).Read(0xc00056a300, 0xc0005be000, 0x200, 0x200, 0xc0005ac6a0, 0x506f5c, 0x200)
/home/dev/build/go-1.12.14/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc0004d4048, 0xc0005be000, 0x200, 0x200, 0x0, 0x0, 0x0)
/home/dev/build/go-1.12.14/src/net/net.go:177 +0x69
net.dnsPacketRoundTrip(0x10e55c0, 0xc0004d4048, 0x72702e6970611824, 0x6c69616d6e6f746f, 0x2e68632e, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:81 +0x132
net.(*Resolver).exchange(0x1aae560, 0x10df880, 0xc0003503c0, 0xc0002aa0f0, 0xa, 0x746f72702e697061, 0x632e6c69616d6e6f, 0x2e68, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:154 +0x452
net.(*Resolver).tryOneName(0x1aae560, 0x10df880, 0xc0003503c0, 0xc00029f220, 0xc0002a3860, 0x12, 0x1c, 0x0, 0x0, 0x0, ...)
/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:244 +0x325
net.(*Resolver).goLookupIPCNAMEOrder.func1(0x1aae560, 0x10df880, 0xc0003503c0, 0xc00029f220, 0xc00034f4e0, 0xc00056c900, 0xc0004e001c)
/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:584 +0x90
created by net.(*Resolver).goLookupIPCNAMEOrder
/home/dev/build/go-1.12.14/src/net/dnsclient_unix.go:583 +0x285
rax 0x0
rbx 0x7f71a3c94780
rcx 0x7f71a66c4605
rdx 0x0
rdi 0x2
rsi 0x7ffd209f6960
rbp 0x7ffd209f6bb8
rsp 0x7ffd209f6960
r8 0x0
r9 0x7ffd209f6960
r10 0x8
r11 0x246
r12 0x2747cc0
r13 0x0
r14 0x266cb00
r15 0x0
rip 0x7f71a66c4605
rflags 0x246
cs 0x33
fs 0x0
gs 0x0
Here's the backtrace. I figured opening an issue here first would be best before asking ProtonMail about it.