Bug 32013 - Evolution does not display email bodies after webkit upgrade
Summary: Evolution does not display email bodies after webkit upgrade
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: High normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-06-15 12:54 CEST by Giuseppe Merigo
Modified: 2023-06-19 18:30 CEST (History)
6 users (show)

See Also:
Source RPM: evolution-3.38.3-2.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Giuseppe Merigo 2023-06-15 12:54:48 CEST
Description of problem:


Version-Release number of selected component (if applicable):

Name        : evolution
Version     : 3.38.3
Release     : 2.mga8


How reproducible:

After updating webkit to 


install webkit2-2.40.2-1.mga8.x86_64: success
install lib64webkit2gtk4.0_37-2.40.2-1.mga8.x86_64: success
install lib64webkit2gtk-gir4.0-2.40.2-1.mga8.x86_64: success

evolution does not display mail bodies anymore, both in the preview pane and in the fullscreen. If you try to reply to the mail, the body is readable in the quote.

Of course it worked before the update

The only thing that I can see is webkit aborting with signal 6 (nothing is printed on the console if you launch it via shell):

xxx kernel: [14305.355230] audit: type=1701 audit(1686822703.271:354): auid=500 uid=500 gid=500 ses=3 pid=10281
7 comm="WebKitWebProces" exe="/usr/libexec/webkit2gtk-4.0/WebKitWebProcess" sig=6 res=1
xxx kernel: [14310.415574] audit: type=1701 audit(1686822708.332:355): auid=500 uid=500 gid=500 ses=3 pid=10284
6 comm="WebKitWebProces" exe="/usr/libexec/webkit2gtk-4.0/WebKitWebProcess" sig=6 res=1
xxx kernel: [14311.420285] audit: type=1701 audit(1686822709.336:356): auid=500 uid=500 gid=500 ses=3 pid=10286
7 comm="WebKitWebProces" exe="/usr/libexec/webkit2gtk-4.0/WebKitWebProcess" sig=6 res=1



Steps to Reproduce:
1.
2.
3.
Comment 1 Morgan Leijström 2023-06-15 13:17:57 CEST
Thank you for reporting :)
And sorry for the inconveience!

Not good that an important application breaks during supported release
 -> raising priority.

Neither Webkit nor Evolution have a registered maintainer
 -> assigning to all

So you can keep working, have you tried downgrading webkit?
https://wiki.mageia.org/en/QA_Tips_and_Tricks#Downgrade_a_package_without_removing_half_your_desktop

And does it work OK again then?

CC: (none) => fri
Assignee: bugsquad => pkg-bugs
Source RPM: evolution-3.38.3-2.mga8.src.rpm => webkit, evolution-3.38.3-2.mga8.src.rpm
Priority: Normal => High

Comment 2 Morgan Leijström 2023-06-15 13:20:36 CEST
The update was Bug 31986 i suppose
CC packager

CC: (none) => nicolas.salguero

Comment 3 Giuseppe Merigo 2023-06-15 13:58:05 CEST
(In reply to Morgan Leijström from comment #1)
> Thank you for reporting :)
> And sorry for the inconveience!
> 
> Not good that an important application breaks during supported release
>  -> raising priority.
> 
> Neither Webkit nor Evolution have a registered maintainer
>  -> assigning to all
> 
> So you can keep working, have you tried downgrading webkit?
> https://wiki.mageia.org/en/
> QA_Tips_and_Tricks#Downgrade_a_package_without_removing_half_your_desktop
> 
> And does it work OK again then?

Yes I was looking for a package list, as a workaround you can do this:

urpmi --downgrade webkit2-jsc-2.38.6-1.mga8.x86_64 lib64webkit2gtk4.0_37-2.38.6-1.mga8.x86_64 webkit2-2.38.6-1.mga8.x86_64 lib64webkit2-devel-2.38.6-1.mga8.x86_64 lib64webkit2gtk-gir4.0-2.38.6-1.mga8.x86_64 lib64javascriptcore-gir4.0-2.38.6-1.mga8.x86_64 lib64javascriptcoregtk4.0_18-2.38.6-1.mga8.x86_64 lib64webkit2-devel-2.38.6-1.mga8.x86_64

I took the versions from the “erase” entry in the syslog file produced by RPM and adding packages on the go.

Now Evolution works again
Comment 4 aguador 2023-06-15 19:22:15 CEST
(In reply to Giuseppe Merigo from comment #3)

> 
> Yes I was looking for a package list, as a workaround you can do this:
> 
> urpmi --downgrade webkit2-jsc-2.38.6-1.mga8.x86_64
> lib64webkit2gtk4.0_37-2.38.6-1.mga8.x86_64 webkit2-2.38.6-1.mga8.x86_64
> lib64webkit2-devel-2.38.6-1.mga8.x86_64
> lib64webkit2gtk-gir4.0-2.38.6-1.mga8.x86_64
> lib64javascriptcore-gir4.0-2.38.6-1.mga8.x86_64
> lib64javascriptcoregtk4.0_18-2.38.6-1.mga8.x86_64
> lib64webkit2-devel-2.38.6-1.mga8.x86_64
> 
Thanks for reporting this Giuseppe and for the downgrade command, although it gave me some strange results, wanting to install a number of new packages. Guess I will wait for this to be fixed as I am also on a very poor connections.

Best,
Roy

CC: (none) => waterbearer54

Comment 5 Dave Hodgins 2023-06-15 20:02:56 CEST
Bug confirmed.
$ rpm -qa --last|grep -e lib64webkit2gtk4 -e evolution-3
lib64webkit2gtk4.0_37-2.40.2-1.mga8.x86_64    2023-06-08T12:17:33 EDT
evolution-3.38.3-3.mga8.x86_64                2022-02-13T14:48:24 EST

Hopefully evolution just needs to be rebuilt, and remembered as needing that
for future webkit2 updates.

CC: (none) => davidwhodgins

Comment 6 Nicolas Salguero 2023-06-16 08:58:42 CEST
Hi,

Can you try evolution-3.38.3-3.1.mga8 to see it solves the issue with webkit2-2.40.2-1.mga8, please?

Best regards,

Nico.
Comment 7 Giuseppe Merigo 2023-06-16 09:01:10 CEST
Is it from Testing? Is there any way to install it without modifying urpmi.cfg?
Comment 8 aguador 2023-06-16 09:51:24 CEST
Nicolas, Thanks for the quick work. I know there is a more elegant way, but I downloaded manually from updates-testing and installed...and it still does not display the messages, even after a restart. Sorry, Roy
Comment 9 Dave Hodgins 2023-06-16 18:41:48 CEST
Confirmed. It still does not display the message body.

Selecting reply does show the text in the compose window, and selecting
to view the message source also does.

We can't downgrade webkit2 as bug 31986 was for a vulnerability
(WSA-2023-0004) that is being actively exploited and webkit2 is
used by other packages too such as thunderbird (which was tested).
https://webkitgtk.org/security/WSA-2023-0004.html

We have to find a fix.
Comment 10 Dave Hodgins 2023-06-16 19:03:51 CEST
(In reply to Giuseppe Merigo from comment #7)
> Is it from Testing? Is there any way to install it without modifying
> urpmi.cfg?

Yes. Using the package qarepo to install a selected list of packages from
the testing repo. See https://wiki.mageia.org/en/QA_Repo

The package list for the testing version of evolution includes
evolution-3.38.3-3.1.mga8

As it's just a single rpm package instead of a list of packages, it's
probably easier to just download it and then run "urpmi ./evolution*.rpm".
Comment 11 aguador 2023-06-16 19:50:28 CEST
(In reply to Dave Hodgins from comment #9)
> 
> We have to find a fix.

It would be nice, but webkit2 is such an important Evo dependency that the fix may be an Evo upgrade. It's a shame to think of that with Mga8 so near to EOL. In my case I would use this to upgrade this machine to Mga9, but am in the countryside with no good internet connection. At least composition works properly and I have my main, Cauldron machine here with me as well.

Thanks for confirming and commenting, Dave.
Jose Gonzalez 2023-06-18 13:29:56 CEST

CC: (none) => boveda

Comment 12 aguador 2023-06-18 15:07:31 CEST
I'll eat my own words. MX Linux 21 has Evo 3.38.3 running with the lasted webkit2 library:

libwebkit2gtk-4.0-37:amd64               2.40.2-1~deb11u1

So, it should be possible to fix. I check evolution-data-server, but the webkit2 library does not show as a dependency, so don't have any other bright ideas.
Comment 13 katnatek 2023-06-19 00:05:39 CEST
Its an Evolution issue with the new webkit, the fix is to patch or update evolution
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035469#45
Comment 14 Nicolas Salguero 2023-06-19 09:20:42 CEST
Hi,

Can you try evolution-3.38.3-3.2.mga8 (which includes a patch from Debian) to see if it solves the issue with webkit2-2.40.2-1.mga8, please?

Best regards,

Nico.
Comment 15 Giuseppe Merigo 2023-06-19 09:25:37 CEST
(In reply to Nicolas Salguero from comment #14)
> Hi,
> 
> Can you try evolution-3.38.3-3.2.mga8 (which includes a patch from Debian)
> to see if it solves the issue with webkit2-2.40.2-1.mga8, please?
> 

I see on the update/testing this package:

evolution-3.38.3-3.1.mga8.x86_64.rpm

but I have these packages installed:

evolution-data-server-tests-3.38.3-2.mga8
evolution-ews-3.38.3-2.mga8
evolution-data-server-3.38.3-2.mga8
evolution-3.38.3-2.mga8

I don't know if there can be mismatched version with these evolution packages... (ews is to connect to Exchange and Office 365 which I need to use).
Comment 16 aguador 2023-06-19 10:18:35 CEST
(In reply to Nicolas Salguero from comment #14)
> Can you try evolution-3.38.3-3.2.mga8 (which includes a patch from Debian)
> to see if it solves the issue with webkit2-2.40.2-1.mga8, please?
> 
Downloaded and installed the patched version from testing and it solved the problem. Thank you, Nico!
Comment 17 Nicolas Salguero 2023-06-19 10:27:50 CEST
Suggested advisory:
========================

The updated packages fix displaying email bodies with webkit2 2.40.x.

References:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035469#45
========================

Updated packages in core/updates_testing:
========================
evolution-3.38.3-3.2.mga8
evolution-devel-3.38.3-3.2.mga8

from SRPM:
evolution-3.38.3-3.2.mga8.src.rpm

Assignee: pkg-bugs => qa-bugs
Source RPM: webkit, evolution-3.38.3-2.mga8.src.rpm => evolution-3.38.3-2.mga8.src.rpm
Status: NEW => ASSIGNED

Comment 18 Giuseppe Merigo 2023-06-19 10:38:40 CEST
(In reply to Nicolas Salguero from comment #17)
> Suggested advisory:
> ========================
> 
> The updated packages fix displaying email bodies with webkit2 2.40.x.
> 
> References:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035469#45
> ========================
> 
> Updated packages in core/updates_testing:
> ========================
> evolution-3.38.3-3.2.mga8
> evolution-devel-3.38.3-3.2.mga8
> 
> from SRPM:
> evolution-3.38.3-3.2.mga8.src.rpm

So this package include all the features of these?

evolution-data-server-tests-3.38.3-2.mga8
evolution-ews-3.38.3-2.mga8
evolution-data-server-3.38.3-2.mga8
Comment 19 Nicolas Salguero 2023-06-19 11:02:53 CEST
(In reply to Giuseppe Merigo from comment #18)
> So this package include all the features of these?
> 
> evolution-data-server-tests-3.38.3-2.mga8
> evolution-ews-3.38.3-2.mga8
> evolution-data-server-3.38.3-2.mga8

No, it does not.  The packages evolution-data-server, 
evolution-data-server-tests and evolution-ews do not need an update.
Comment 20 Giuseppe Merigo 2023-06-19 11:03:46 CEST
Ok I'll try the mismatched version and let you know.
Comment 21 Giuseppe Merigo 2023-06-19 11:09:07 CEST
I can confirm that installing the package evolution-3.38.3-3.1.mga8.x86_64.rpm keeping the previous versions of 

  * evolution-data-server-tests-3.38.3-2.mga8
  * evolution-ews-3.38.3-2.mga8
  * evolution-data-server-3.38.3-2.mga8

is working.

If I encounter any misbehaviour I'll let you know.

Thank you very much.
Comment 22 Morgan Leijström 2023-06-19 11:43:46 CEST
Thank you all.
Validating.
Update is in a hurry.

Whiteboard: (none) => MGA8-64-OK
Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 23 Dave Hodgins 2023-06-19 17:03:47 CEST
Confirmed fixed. Advisory committed to svn.

Keywords: (none) => advisory

Comment 24 Mageia Robot 2023-06-19 18:30:05 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0051.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.