WebKitWebProcess crashed with SIGSEGV in WebKit::LayerTreeHost::LayerTreeHost()

Bug #1967020 reported by Erich Eickmeyer
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
webkit2gtk (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Evolution, when launched with Wayland, suddenly closes. When launched from the command line, it displays this:

Gdk-Message: 16:42:11.320: Error flushing display: Protocol error

If forced with --display=:0, it works, but an obvious crash in WebKitWebProcess occurs, hence I believe the issue lies within that.

ProblemType: Crash
DistroRelease: Ubuntu 22.04
Package: libwebkit2gtk-4.0-37 2.35.90-1ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-22.22-lowlatency 5.15.19
Uname: Linux 5.15.0-22-lowlatency x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Mar 29 16:45:19 2022
ExecutablePath: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess
InstallationDate: Installed on 2021-08-19 (222 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210818)
ProcCmdline: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess 13 43
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, user)
SegvAnalysis:
 Segfault happened at: 0x7fd90adae773: mov (%rdi),%rax
 PC (0x7fd90adae773) ok
 source "(%rdi)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: webkit2gtk
StacktraceTop:
 () at /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
 () at /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
 () at /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
 () at /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
 () at /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
Title: WebKitWebProcess crashed with SIGSEGV
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip lpadmin lxd plugdev sambashare sudo
separator:

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 WebKit::LayerTreeHost::LayerTreeHost () at ./Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:77
 std::make_unique<WebKit::LayerTreeHost, WebKit::WebPage&> () at /usr/include/c++/11/bits/unique_ptr.h:962
 WTF::makeUnique<WebKit::LayerTreeHost, WebKit::WebPage&> () at ./build-soup2/WTF/Headers/wtf/StdLibExtras.h:540
 WebKit::DrawingAreaCoordinatedGraphics::enterAcceleratedCompositingMode () at ./Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:641
 WebKit::WebPage::WebPage () at ./Source/WebKit/WebProcess/WebPage/WebPage.cpp:792

tags: removed: need-amd64-retrace
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in webkit2gtk (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: WebKitWebProcess crashed with SIGSEGV

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in webkit2gtk (Ubuntu):
status: New → Confirmed
Revision history for this message
Gavin Graham (gavingraham) wrote :

I'm also having this with Jammy. I am using Wayland with the AMD opensource GPU drivers.
The following appears in syslog:
Apr 19 15:45:56 ROC-Cube kernel: [ 1629.677203] evolution[23936]: segfault at 0 ip 00007fef9c195536 sp 00007ffe2be1cf88 error 4 in libwebkit2gtk-4.0.so.37.56.4[7fef9bc43000+2739000]
Apr 19 15:45:56 ROC-Cube kernel: [ 1629.677216] Code: 89 e7 ff d3 eb d2 e8 c9 e2 ab ff 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 47 28 48 8d 15 c1 2a 00 00 48 8b b8 a8 01 00 00 <48> 8b 07 48 8b 40 30 48 39 d0 75 06 31 c0 c3 0f 1f 00 ff e0 66 0f

Revision history for this message
Gavin Graham (gavingraham) wrote :

Actually, a correction. Evolution starts fine but if I go to type an email (or reply) the editor window is blank. Closing the new or reply message window THEN crashes Evolution.

Revision history for this message
Gavin Graham (gavingraham) wrote :
Download full text (3.8 KiB)

Apr 19 16:00:48 ROC-Cube systemd[4105]: app-gnome-org.inkscape.Inkscape-29481.scope: Consumed 25.374s CPU time.
Apr 19 16:00:51 ROC-Cube kernel: [ 2524.702434] evolution[28125]: segfault at 0 ip 00007f6cf7dc4536 sp 00007ffc3fc482e8 error 4 in libwebkit2gtk-4.0.so.37.56.4[7f6cf7872000+2739000]
Apr 19 16:00:51 ROC-Cube kernel: [ 2524.702443] Code: 89 e7 ff d3 eb d2 e8 c9 e2 ab ff 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 48 8b 47 28 48 8d 15 c1 2a 00 00 48 8b b8 a8 01 00 00 <48> 8b 07 48 8b 40 30 48 39 d0 75 06 31 c0 c3 0f 1f 00 ff e0 66 0f
Apr 19 16:00:51 ROC-Cube systemd[1]: Starting Process error reports when automatic reporting is enabled...
Apr 19 16:00:51 ROC-Cube systemd[1]: Started crash report submission.
Apr 19 16:00:51 ROC-Cube whoopsie[33941]: [16:00:51] Using lock path: /var/lock/whoopsie/lock
Apr 19 16:00:51 ROC-Cube systemd[1]: whoopsie.service: Deactivated successfully.
Apr 19 16:00:51 ROC-Cube whoopsie-upload-all[33940]: INFO:root:/var/crash/_usr_bin_gnome-shell.1000.crash already marked for upload, skipping
Apr 19 16:00:51 ROC-Cube whoopsie-upload-all[33940]: INFO:root:/var/crash/_opt_ExpanDrive_SharedSupport_exfs.1000.crash already marked for upload, skipping
Apr 19 16:00:51 ROC-Cube whoopsie-upload-all[33940]: INFO:root:/var/crash/_usr_share_teams_teams.1000.crash already marked for upload, skipping
Apr 19 16:00:51 ROC-Cube whoopsie-upload-all[33940]: INFO:root:/var/crash/_usr_bin_nextcloud.1000.crash already marked for upload, skipping
Apr 19 16:00:51 ROC-Cube whoopsie-upload-all[33940]: INFO:root:/var/crash/_usr_bin_gnome-calendar.1000.crash already marked for upload, skipping
Apr 19 16:00:51 ROC-Cube whoopsie-upload-all[33940]: INFO:root:/var/crash/_usr_libexec_gnome-shell-calendar-server.1000.crash already marked for upload, skipping
Apr 19 16:00:51 ROC-Cube whoopsie-upload-all[33940]: INFO:root:/var/crash/_usr_lib_x86_64-linux-gnu_webkit2gtk-4.0_WebKitWebProcess.1000.crash already marked for upload, skipping
Apr 19 16:00:51 ROC-Cube systemd[1]: Started crash report submission.
Apr 19 16:00:51 ROC-Cube whoopsie[33945]: [16:00:51] Using lock path: /var/lock/whoopsie/lock
Apr 19 16:00:51 ROC-Cube systemd[1]: whoopsie.service: Deactivated successfully.
Apr 19 16:00:51 ROC-Cube whoopsie-upload-all[33940]: INFO:root:Collecting info for /var/crash/_usr_bin_evolution.1000.crash...
Apr 19 16:00:54 ROC-Cube whoopsie-upload-all[33940]: INFO:root:Marking /var/crash/_usr_bin_evolution.1000.crash for whoopsie upload
Apr 19 16:00:54 ROC-Cube whoopsie-upload-all[33940]: INFO:root:Waiting for whoopsie to upload reports (timeout: 20 s)
Apr 19 16:00:54 ROC-Cube whoopsie-upload-all[33940]: INFO:root: missing (remaining: 20 s): /var/crash/_usr_bin_evolution.1000.uploaded
Apr 19 16:00:54 ROC-Cube systemd[1]: Started crash report submission.
Apr 19 16:00:54 ROC-Cube whoopsie[35085]: [16:00:54] Using lock path: /var/lock/whoopsie/lock
Apr 19 16:00:54 ROC-Cube whoopsie[35085]: [16:00:54] Parsing /var/crash/_usr_bin_evolution.1000.crash.
Apr 19 16:00:54 ROC-Cube whoopsie[35085]: [16:00:54] Uploading /var/crash/_usr_bin_evolution.1000.crash.
Apr 19 16:00:55 ROC-Cube systemd[4105]: app-gnome-org.gnome.Evolution-28125.scope: Consumed 15.552s CPU time...

Read more...

Revision history for this message
Gavin Graham (gavingraham) wrote :

Attached crash file.

Revision history for this message
Gavin Graham (gavingraham) wrote :

Evolution-3.44.0-1ubuntu1 in Jammy proposed fixes the issue.

Changed in webkit2gtk (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

"Fix Released" isn't appropriate until it migrates from proposed.

Changed in webkit2gtk (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Ahmet Yıldırım (regenx) wrote :

What is the target date of fix that we can install on jammy?

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

From https://wiki.ubuntu.com/StableReleaseUpdates

> The SRU team will evaluate the testing feedback and they will move the package into -updates after it has passed a minimum aging period of 7 days.

summary: - WebKitWebProcess crashed with SIGSEGV
+ WebKitWebProcess crashed with SIGSEGV in
+ WebKit::LayerTreeHost::LayerTreeHost()
Changed in webkit2gtk (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.