Geary flatpak crash when load mail's body

when I click for reading a mail, it crashed.
or resize app to let it load mail’s body , it crashed.
and the “Geary Inspector by typing Shift + Alt + I” crashed too.

Geary version: 46.0
Installation method: flathub
Desktop environment: gnome
Operating system and version: fedora 41
Email provider: aliyun by gnome-online-accounts/gnome-control-center

Geary 版本: 46.0
Geary 修订版本:
GTK 版本: 3.24.43
GLib 版本: 2.82.2
WebKitGTK 版本: 2.46.3
桌面环境: GNOME
发行版名称: Fedora Linux
发行版发布: 41 (Forty One)
安装前缀: /app

install info: flatpak info org.gnome.Geary

$ flatpak info org.gnome.Geary 

Geary - 发送并接收电子邮件

 标识: org.gnome.Geary
 引用: app/org.gnome.Geary/x86_64/stable
 架构: x86_64
 分支: stable
 版本: 46.0
   许可证: LGPL-2.1+
 来源: fedora
 集合: 
 安装: system
   已安装: 89.6 MB
   运行时: org.fedoraproject.Platform/x86_64/f41
SDK: org.fedoraproject.Sdk/x86_64/f41

 提交: b3e211dc62e82bb88de14ed48419a15faff8a593294a73e128400bd7813b522e
 主题: Export org.gnome.Geary
 日期: 2024-10-30 03:07:30 +0000
     替代标识: 2f5a23b9231512a882d473a7920b5f5141b5c09de7debc6a65a68cdf19ef6482

logs: flatpak run org.gnome.Geary

![crt] 18:07:43.0774 geary:util_contact_should_load_images: assertion 'APPLICATION_IS_CONTACT (contact)' failed
flatpak-spawn: 未知选项 --sandbox-a11y-own-name=org.gnome.Geary.Sandboxed.WebProcess-852b89d2-7bc6-4a72-a7cc-41c957297d94
Try "flatpak-spawn --help" for more information.
![err] 18:07:43.0924 [no domain]:readPIDFromPeer: Unexpected short read from PID socket

plz help

I can confirm your issue with the Flatpak version of Geary from the fedora remote. Probably a sandboxing issue.

I have no such issues, as I am using the app from the flathub remote (same app version).

I confirm this issue exist, only on fedora flathub repo.

Can… Fedora just… stop doing that ? Why you doing that ? why you do special repo that provide broken package when there’s a global repo ? Why fedora ??

There are two separate questions here:

  • Why is Fedora providing a Flatpak remote?

The Flatpaks built by Fedora are maintained by the same teams/maintainers who are providing the RPM packages, AFAIK. This means that the level of trust one perceives when choosing the Fedora packages (and the OS as a whole) are basically the same when using Fedora Flatpaks. In this pursuit, Fedora also offers its own runtime (org.fedora.Platform).

Anyone can use other remotes (maily flathub), but has to do its homework about when to trust those Flatkaps, given that they are beyond Fedora’s control.

  • Why is the package provided by Fedora “broken”?

I don’t think this can be generalized. My main Fedora system is now on Silverblue, so most of my GUI packages are Flatpaks, with a mix of packages from fedora remote (all of the preinstalled ones and some more) and a few from flathub. I have issues with neither remotes.

Regarding the issue at hand with Geary, given that it can’t be replicated with the RPM version of the package, and based on the error message outputs, I assume it might have to do with sandboxing. As such, best way to get it fixed is to report it. However, I noticed that the OP already reported it :bluethumb: .

The fix for this is already in testing: FEDORA-FLATPAK-2024-ca717575f5 — enhancement update for flatpak-runtime and flatpak-sdk — Fedora Updates System

2 Likes