Bug 2181034 - Wayland + HW acceleration causes rendering crash in Epiphany
Summary: Wayland + HW acceleration causes rendering crash in Epiphany
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wpebackend-fdo
Version: 38
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Chris King
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-22 21:52 UTC by Davis Davalos-DeLosh
Modified: 2023-03-24 02:03 UTC (History)
9 users (show)

Fixed In Version: wpebackend-fdo-1.14.2-1.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-24 02:03:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
WebKit Project 254117 0 None None None 2023-03-23 11:23:41 UTC

Description Davis Davalos-DeLosh 2023-03-22 21:52:27 UTC
Description of problem:
Epiphany hangs momentarily and then crashes when visiting certain pages like Reddit, Gitlab, etc. Websites like Google never cause the crash.

This occurs only on the Wayland backend (it did not happen using GDK_BACKEND=x11 and XWayland, but maybe that is just affecting how HW acceleration works?), and I tested it with /org/gnome/epiphany/web/hardware-acceleration-policy set to "never" and "always" and only reproduced it when set to "always"

I was unable to reproduce the problem in the builtin help browser of GNOME Builder which appears to be linking to the same libwebgtk library.

Version-Release number of selected component (if applicable):
Epiphany 44.rc / epiphany-44~rc-3.fc38.x86_64
WebKitGTK 2.40.0 / webkitgtk6.0-2.40.0-2.fc38.x86_64
GStreamer 1.22.1 / gstreamer1-1.22.1-1.fc38.x86_64

How reproducible: Sometimes: it seems to take ~3 tries of trying to load the same website for it to crash.

Steps to Reproduce:
1. Open Epiphany
2. Visit a post on reddit/gitlab, etc.
3. Crash

Actual results:
Program hangs before rendering page, then crashes

Expected results:
No crash

Additional info:
GDB Full Backtrace: https://gist.github.com/Programmerino/50ea2c692fda188a33ce1e95020224fd
Package versions: https://gist.github.com/Programmerino/0a0471e879564e4f418a0a6428139f47
journalctl output: https://gist.github.com/Programmerino/252688fcb76755f8754e1100d819ab6c
lspci -nn: https://gist.github.com/Programmerino/db6d10c70197e8ba2cab8fe9a37fb3c3
Program output w/ WAYLAND_DEBUG: https://gist.github.com/Programmerino/c5234aafecaad80aa45d56ca2207592c

Comment 1 Fedora Update System 2023-03-23 11:22:57 UTC
FEDORA-2023-3f1af58baf has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3f1af58baf

Comment 2 Michael Catanzaro 2023-03-23 11:23:27 UTC
Nice backtrace, thanks!

Comment 3 Fedora Update System 2023-03-24 02:03:47 UTC
FEDORA-2023-3f1af58baf has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


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