flathub / ch.protonmail.protonmail-bridge

https://flathub.org/apps/details/ch.protonmail.protonmail-bridge
11 stars 7 forks source link

Mail bridge doesn't start as of 3.12.0 #142

Open dusxmt opened 5 days ago

dusxmt commented 5 days ago

Yesterday's update to the proton mail bridge flatpak package causes it to no longer start for me, I get the following error messages:

$ flatpak run ch.protonmail.protonmail-bridge
Failed to initialize sentry
INFO[Sep 13 07:08:01.326] bridge-gui starting
INFO[Sep 13 07:08:01.326] Using Qt 6.4.3
INFO[Sep 13 07:08:01.363] Removed stale lock file
INFO[Sep 13 07:08:01.364] lock file created /home/dusan/.var/app/ch.protonmail.protonmail-bridge/cache/protonmail/bridge-v3/bridge-v3-gui.lock
INFO[Sep 13 07:08:01.364] bridge-gui executable: /app/lib/protonmail/bridge/bridge-gui
INFO[Sep 13 07:08:01.364] Command-line invocation: --session-id 20240913_070801185 --launcher /app/lib/protonmail/bridge/proton-bridge
INFO[Sep 13 07:08:01.364] New Sentry reporter - id: S9PB0j5o2bi/mdld+eeWSMEMW0ruYb3/fPYhE2u3f8o=.
DEBU[Sep 13 07:08:01.397] Bridge executable path: /app/lib/protonmail/bridge/bridge
INFO[Sep 13 07:08:01.397] Launching bridge process with command "/app/lib/protonmail/bridge/bridge" --grpc --parent-pid 8 --launcher /app/lib/protonmail/bridge/proton-bridge --session-id 20240913_070801185
INFO[Sep 13 07:08:01.397] Retrieving gRPC service configuration from '/home/dusan/.var/app/ch.protonmail.protonmail-bridge/config/protonmail/bridge-v3/grpcServerConfig.json'
WARN[Sep 13 07:08:02.127] QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
INFO[Sep 13 07:08:02.130] Connecting to gRPC service
INFO[Sep 13 07:08:02.134] Connection to gRPC server at unix:///tmp/bridge7801. attempt #1
INFO[Sep 13 07:08:02.145] Successfully connected to gRPC server.
INFO[Sep 13 07:08:02.145] Client config file was saved to '/home/dusan/.var/app/ch.protonmail.protonmail-bridge/config/protonmail/bridge-v3/grpcClientConfig_0.json'
DEBU[Sep 13 07:08:02.146] checkTokens()
INFO[Sep 13 07:08:02.146] gRPC token was validated
INFO[Sep 13 07:08:02.146] Connected to backend via gRPC service.
DEBU[Sep 13 07:08:02.147] version()
DEBU[Sep 13 07:08:02.147] EventStreamReader started
DEBU[Sep 13 07:08:02.147] goos()
DEBU[Sep 13 07:08:02.152] logsPath()
DEBU[Sep 13 07:08:02.154] licensePath()
DEBU[Sep 13 07:08:02.155] mailServerSettings()
DEBU[Sep 13 07:08:02.155] getUserList()
WARN[Sep 13 07:08:02.222] EGL not available                             pkg=frontend/bridge-gui
FATA[Sep 13 07:08:02.666] Failed to launch                              error="signal: aborted" exe_path=/app/lib/protonmail/bridge/bridge-gui exe_to_launch=bridge-gui launcher_path=/app/lib/protonmail/bridge/proton-bridge launcher_version=3.12.0

I tried removing my old profile from .var/app/, but it didn't help, even with a fresh profile it crashes in the same exact manner.

My OS is Debian 12.7, GNOME 43.9 Desktop (Wayland Mode), x86_64. Flatpak version is 1.14.10

A6GibKm commented 5 days ago

The egl warning might be interesting. Try runnimg the flatpak with video permissions, e.g. with --device=dri

dusxmt commented 5 days ago

I tried it with --device=dri, but I get the same exact set of messages, no difference. But yeah, my graphics chipset (Radeon HD 7560D integrated graphics) doesn't support Vulkan, so that might be something to be aware of.

dusxmt commented 4 days ago

Interestingly enough, I am able to run it in CLI mode by passing the --cli argument to the bridge itself.