Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836160 - mail-client/evolution-3.44.0, net-libs/webkit-gtk-2.36.0: A WebKitWebProcess crashed when displaying the message
Summary: mail-client/evolution-3.44.0, net-libs/webkit-gtk-2.36.0: A WebKitWebProcess ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-26 09:47 UTC by Michał Górny
Modified: 2022-03-27 17:40 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mail-client:evolution-3.44.0:20220326-093955.log.xz (mail-client:evolution-3.44.0:20220326-093955.log.xz,108.89 KB, application/x-xz)
2022-03-26 09:47 UTC, Michał Górny
Details
net-libs:webkit-gtk-2.36.0:20220326-080009.log.xz (net-libs:webkit-gtk-2.36.0:20220326-080009.log.xz,125.32 KB, application/x-xz)
2022-03-26 09:49 UTC, Michał Górny
Details
emerge --info (emerge-info.txt,7.69 KB, text/plain)
2022-03-26 09:49 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-03-26 09:47:03 UTC
Created attachment 767870 [details]
mail-client:evolution-3.44.0:20220326-093955.log.xz

After upgrading to webkit-gtk-2.36.0, evolution fails to display any mail:

```
Something has gone wrong when displaying the message

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.
```

I've tried rebuilding evolution, didn't help.  There's no output to console while it crashes.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-03-26 09:49:10 UTC
Created attachment 767871 [details]
net-libs:webkit-gtk-2.36.0:20220326-080009.log.xz
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-03-26 09:49:33 UTC
Created attachment 767872 [details]
emerge --info
Comment 3 Joakim Tjernlund 2022-03-26 16:58:45 UTC
Me too, webkit dies when trying to display a email.
Comment 4 Branko Grubic 2022-03-26 23:01:23 UTC
Not here to confirm or say that it does crash or not work for me (any app which uses net-libs/webkit-gtk (Liferea, Epiphany and Evolution)), but what is strange is that I usually try to locally bump the version when new release is out, and it was the case for 2.36.0 as well, and it worked for me, later when it gets updated in Gentoo I usually do the diff and rebuild if there is some significant change.

In this case I did it and it broke everything, but it's interesting that my build worked ok using old ebuild from 2.34.6 and just removing the two patches which failed to apply:

```
--- /usr/portage/net-libs/webkit-gtk/webkit-gtk-2.34.6.ebuild	2022-02-23 06:39:50.000000000 +0100
+++ /data/packages/net-libs/webkit-gtk/webkit-gtk-2.36.0.ebuild	2022-03-26 19:56:03.037045945 +0100
@@ -158,8 +158,8 @@
 }
 
 src_prepare() {
-	eapply "${FILESDIR}"/2.34.3-non-jumbo-fix.patch
-	eapply "${FILESDIR}"/2.34.3-jumbo-fix.patch # bug 830638
+	#eapply "${FILESDIR}"/2.34.3-non-jumbo-fix.patch
+	#eapply "${FILESDIR}"/2.34.3-jumbo-fix.patch # bug 830638
 	cmake_src_prepare
 	gnome2_src_prepare
 }
```

I'm on ~amd64 ( default/linux/amd64/17.1/desktop/gnome/systemd ):
net-libs/webkit-gtk-2.36.0 X -aqua -avif egl -examples -gamepad geolocation -gles2-only gnome-keyring gstreamer -gtk-doc introspection jpeg2k jumbo-build lcms libnotify seccomp spell systemd -test wayland

Running on Wayland session with amdgpu
Comment 5 Matt Turner gentoo-dev 2022-03-27 00:12:23 UTC
(In reply to Branko Grubic from comment #4)
> Not here to confirm or say that it does crash or not work for me (any app
> which uses net-libs/webkit-gtk (Liferea, Epiphany and Evolution)), but what
> is strange is that I usually try to locally bump the version when new
> release is out, and it was the case for 2.36.0 as well, and it worked for
> me, later when it gets updated in Gentoo I usually do the diff and rebuild
> if there is some significant change.

Interesting, thanks. Could you try disabling these options in gentoo's webkit-gtk-2.36.0.ebuild?

> -DUSE_ANGLE_WEBGL=ON
> -DENABLE_WEBGL2=ON

Enabling ANGLE seems like the most plausible change that could have caused problems.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-03-27 08:09:23 UTC
I'm testing it right now.  I wish upstream used more reproducible sources though, so that ccache would work.
Comment 7 Branko Grubic 2022-03-27 09:17:43 UTC
(In reply to Matt Turner from comment #5)
> (In reply to Branko Grubic from comment #4)
> > Not here to confirm or say that it does crash or not work for me (any app
> > which uses net-libs/webkit-gtk (Liferea, Epiphany and Evolution)), but what
> > is strange is that I usually try to locally bump the version when new
> > release is out, and it was the case for 2.36.0 as well, and it worked for
> > me, later when it gets updated in Gentoo I usually do the diff and rebuild
> > if there is some significant change.
> 
> Interesting, thanks. Could you try disabling these options in gentoo's
> webkit-gtk-2.36.0.ebuild?
> 
> > -DUSE_ANGLE_WEBGL=ON
> > -DENABLE_WEBGL2=ON
> 
> Enabling ANGLE seems like the most plausible change that could have caused
> problems.

If I did everything right, it seems to work for me without those two features enabled (with latest ebuild from gentoo):

```
--- /usr/portage/net-libs/webkit-gtk/webkit-gtk-2.36.0.ebuild   2022-03-26 08:09:59.000000000 +0100
+++ /var/db/pkg/net-libs/webkit-gtk-2.36.0/webkit-gtk-2.36.0.ebuild     2022-03-27 11:12:34.505870803 +0200
@@ -217,7 +217,7 @@
                -DENABLE_UNIFIED_BUILDS=$(usex jumbo-build)
                -DENABLE_VIDEO=$(usex gstreamer)
                -DENABLE_WEBGL=ON
-               -DENABLE_WEBGL2=ON
+               -DENABLE_WEBGL2=OFF
                -DENABLE_WEB_AUDIO=$(usex gstreamer)
                # Source/cmake/OptionsGTK.cmake
                -DENABLE_GLES2=$(usex gles2-only)
@@ -227,7 +227,7 @@
                -DENABLE_QUARTZ_TARGET=$(usex aqua)
                -DENABLE_WAYLAND_TARGET=$(usex wayland)
                -DENABLE_X11_TARGET=$(usex X)
-               -DUSE_ANGLE_WEBGL=ON
+               -DUSE_ANGLE_WEBGL=OFF
                -DUSE_AVIF=$(usex avif)
                -DUSE_GTK4=OFF
                -DUSE_JPEGXL=OFF

```
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-03-27 09:34:31 UTC
Same here.
Comment 9 Drake Donahue 2022-03-27 14:09:15 UTC
and same here ~amd64 not systemd
Comment 10 Larry the Git Cow gentoo-dev 2022-03-27 17:40:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=981d16504d0e25c986cffd793feb824dcaa6df26

commit 981d16504d0e25c986cffd793feb824dcaa6df26
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2022-03-27 17:38:39 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2022-03-27 17:40:32 +0000

    net-libs/webkit-gtk: Disable USE_ANGLE_WEBGL
    
    Closes: https://bugs.gentoo.org/836160
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 .../{webkit-gtk-2.36.0.ebuild => webkit-gtk-2.36.0-r1.ebuild}        | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)