Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792930 - mail-client/evolution-3.40.1 with net-libs/webkit-gtk-2.32.1: 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, ple
Summary: mail-client/evolution-3.40.1 with net-libs/webkit-gtk-2.32.1: Something has g...
Status: RESOLVED UPSTREAM
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: 2021-05-30 00:05 UTC by Quentin Retornaz
Modified: 2021-06-13 16:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quentin Retornaz 2021-05-30 00:05:24 UTC
This happens at runtime.
I also tried to downgrade evolution and evolution-data-server to 3.38.4 but the issue is still there.
When I  open Evolution, it starts on Inbox with an email selected, and the error is shown.
When trying to open the e-mail in another window, the error is still showing.
When selecting another e-mail, the error is still there too.
It did happen since last Evolution update from 3.38.4 to 3.40.1.

Reproducible: Always

Steps to Reproduce:
1. Start Evolution
2. Select an e-mail
3. Look at the preview pane.
Actual Results:  
The error "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." is shown and e-mail content is not displayed

Expected Results:  
E-mail content is displayed.

$ emerge --info 
Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.1/no-multilib, gcc-10.2.0, glibc-2.32-r7, 5.10.27-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.2.5
KiB Mem:    32857544 total,  17133116 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 29 May 2021 16:45:01 +0000
Head commit of repository gentoo: 831b5f0c399b1e902e2b04e5d51a0cc82f7045fe
Head commit of repository Case_Of: 70978ebd93d73c358d020216475c1cc8957abd46

Head commit of repository palemoon: 3a8ce27a81d71e5c64e5d23fcf3dd358e47046e0

Head commit of repository palemoon-l10n: 892791af8abed26af7275476aea93d0cc9ebd8d0

sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          2.7.18_p9::gentoo, 3.8.9_p2::gentoo, 3.9.4_p1::gentoo
dev-lang/rust:            1.51.0-r2::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.23::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.fr.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

Case_Of
    location: /var/db/repos/Case_Of
    sync-type: git
    sync-uri: https://framagit.org/Case_Of/gentoo-overlay.git
    masters: gentoo

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

palemoon
    location: /var/db/repos/palemoon
    sync-type: git
    sync-uri: https://github.com/deu/palemoon-overlay.git
    masters: gentoo

palemoon-l10n
    location: /var/db/repos/palemoon-l10n
    sync-type: git
    sync-uri: https://github.com/CaseOf/palemoon-l10n-gentoo-overlay.git
    masters: gentoo palemoon

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirror.leaseweb.com/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://mirror.netcologne.de/gentoo/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.gethosted.online/gentoo https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
INSTALL_MASK="/etc/systemd /etc/tmpfiles.d /lib*/systemd /usr/lib*/systemd /usr/lib*/tmpfiles.d /usr/lib/modules-load.d"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j17"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 bash-completion berkdb bzip2 cli consolekit crypt dri fortran gdbm gif iconv icu idn ipv6 jpeg libglvnd libnotify libtirpc lm-sensors ncurses nls nptl opencl opengl openmp pam pcre png policykit readline seccomp split-usr ssl tcpd tiff udisks unicode vaapi vdpau vulkan xattr zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput joystick" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Quentin Retornaz 2021-05-30 00:09:51 UTC
Downgrading webkit-gtk from 2.32.1 to 2.30.6 fix the issue with evolution and evolution-data-server version 3.38.4
Comment 2 Quentin Retornaz 2021-05-30 00:15:38 UTC
It is also working on evolution and evolution-data-server 3.40.1 with webkit-gtk 2.30.6.

The issue here is webkit-gtk 2.32.1.
Comment 3 heikki kniivila 2021-06-04 06:48:08 UTC
Hi, where do i get webkit-gtk 2.30.6 ? It is not available on the default repo.
Comment 4 heikki kniivila 2021-06-04 07:04:27 UTC
(In reply to heikki kniivila from comment #3)
> Hi, where do i get webkit-gtk 2.30.6 ? It is not available on the default
> repo.

I have a fresh Gentoo installation that i "started" on june 2nd 2021, and can't compile evolution-data-server-3.40.1
Comment 5 heikki kniivila 2021-06-04 09:00:09 UTC
(In reply to heikki kniivila from comment #4)
> (In reply to heikki kniivila from comment #3)
> > Hi, where do i get webkit-gtk 2.30.6 ? It is not available on the default
> > repo.
> 
> I have a fresh Gentoo installation that i "started" on june 2nd 2021, and
> can't compile evolution-data-server-3.40.1

Got the webkit-gtk 2.30.6 but still not working, trying something else later...
Comment 6 Volkmar Glauche 2021-06-08 11:57:04 UTC
I can confirm this. When starting evolution from the command line, an additional message is displayed, stating

/usr/libexec/webkit2gtk-4.0/WebKitWebProcess: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

However, ldd /usr/libexec/webkit2gtk-4.0/WebKitWebProcess resolves the correct libstdc++.so.6. Thus, it does not seem to be an issue of linking webkitgtk.

The main culprit seems to be that webkit2gtk now uses bwrap to sandbox the WebKitWebProcess. Running

WEBKIT_FORCE_SANDBOX=0 evolution

disables the sandbox and the messages are displayed.

As a temporary workaround

LD_LIBRARY_PATH=/path/to/libstdc++.so evolution

fixes this issue. Apparently, this forces bubblewrap to include libstdc++.so in the sandbox.
Comment 7 Volkmar Glauche 2021-06-08 13:06:23 UTC
(In reply to Volkmar Glauche from comment #6)

forgot to mention my package versions:
mail-client/evolution-3.38.4
net-libs/webkit-gtk-2.30.6
sys-apps/bubblewrap-0.4.1

> I can confirm this. When starting evolution from the command line, an
> additional message is displayed, stating
> 
> /usr/libexec/webkit2gtk-4.0/WebKitWebProcess: error while loading shared
> libraries: libstdc++.so.6: cannot open shared object file: No such file or
> directory
> 
> However, ldd /usr/libexec/webkit2gtk-4.0/WebKitWebProcess resolves the
> correct libstdc++.so.6. Thus, it does not seem to be an issue of linking
> webkitgtk.
> 
> The main culprit seems to be that webkit2gtk now uses bwrap to sandbox the
> WebKitWebProcess. Running
> 
> WEBKIT_FORCE_SANDBOX=0 evolution
> 
> disables the sandbox and the messages are displayed.
> 
> As a temporary workaround
> 
> LD_LIBRARY_PATH=/path/to/libstdc++.so evolution
> 
> fixes this issue. Apparently, this forces bubblewrap to include libstdc++.so
> in the sandbox.
Comment 8 Quentin Retornaz 2021-06-09 21:08:54 UTC
I did not need to do that with net-libs/webkit-gtk-2.30.6.
Are these advises for 2.32.1?
Comment 9 Quentin Retornaz 2021-06-13 14:59:28 UTC
It seems to be fixed in 3.40.2 from what I see in changelog:

https://gitlab.gnome.org/GNOME/evolution/-/commit/48495ce0143f585def8cb8f0d9fc69bf8cd2c7c6
Comment 10 Quentin Retornaz 2021-06-13 16:08:10 UTC
I’ve just tested on evolution 3.40.2 and webkit-gtk 2.32.1 and it works.