Bug 2181034

Summary: Wayland + HW acceleration causes rendering crash in Epiphany
Product: [Fedora] Fedora Reporter: Davis Davalos-DeLosh <fedora>
Component: wpebackend-fdoAssignee: Chris King <bunnyapocalypse>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: bunnyapocalypse, gecko-bugs-nobody, gnome-sig, jhorak, mcatanza, mclasen, rstrode, sandmann, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: wpebackend-fdo-1.14.2-1.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-24 02:03:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.