A WebKitWebProcess crashed when displaying the message

After upgrading from Ubuntu 20.04 to 22.04 I am now getting this error message when trying to view emails.

“A WebKitWebProcess crashed when displaying the message. You can try again by moving to another message and back. If the issue persists, please file a bug report in GNOME Gitlab.”

According to here

Updating to evolution-3.44.1 fixes it

I am currently running 3.42.2.

Screenshot from 2023-01-18 21-05-51

I was wondering if someone could tell me how to update to the latest version.

Thank you.

Hi,
where did you get that Evolution from, please? It looks like it’s a
Flatpak version, which you’ve built yourself. Is that correct, please?
The following page described how to do the update too:
https://wiki.gnome.org/Apps/Evolution/Flatpak

You might better install Evolution from https://flathub.org and then
regularly update it (by running flatpak update from a command line or
by a GUI tool, if you’ve any such installed and use it).

In any case, this is a forum for the Evolution support, not for the
distro or flatpak support, the less how to update certain software in
certain distro. You might get better answers when reaching them,
instead of here, I believe.

One last thing, the WebKitGTK bug you referenced suggests the disable
of the hardware acceleration for the WebKitGTK could help here. I
cannot tell, you did not provide a clue where the WebKitGTK crashed,
but if it was in the same function or at a similar place, then it’s
possible it’s related. Try to run Evolution with exported:

WEBKIT_FORCE_SANDBOX=0
WEBKIT_DISABLE_COMPOSITING_MODE=1

These may stop working with some future WebKitGTK version, I’m afraid.

Just in case, if you start Evolution from a command line as:

flatpak run org.gnome.Evolution

then you do before it this way:

export WEBKIT_FORCE_SANDBOX=0
export WEBKIT_DISABLE_COMPOSITING_MODE=1
flatpak run org.gnome.Evolution

to have the environment variables properly set.
Bye,
Milan