Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 907367

Summary: net-libs/webkit-gtk:6: -O3 causes crashes on runtime with complex websites
Product: Gentoo Linux Reporter: Maciej Barć <xgqt>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Maciej Barć gentoo-dev 2023-05-29 13:25:03 UTC
Today after reboot I noticed Tangram could not load many websites. After installing Epiphany it was crashing on those websites.

There is no backtrace, only this info:
> (epiphany:7295): Adwaita-WARNING **: 15:20:19.598: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
> (epiphany:7295): epiphany-WARNING **: 15:20:19.834: Cannot fetch source for filter e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 from <>: The URL can’t be shown
> (epiphany:7295): epiphany-WARNING **: 15:20:23.043: Web process crashed

The website that always crashes for me is after it almost finishes loading.
Comment 1 Maciej Barć gentoo-dev 2023-05-29 13:26:58 UTC
Created attachment 862816 [details]
emerge --info

emerge --info net-libs/webkit-gtk >
Comment 3 Maciej Barć gentoo-dev 2023-05-30 00:02:53 UTC
This looks like a CFLAGS bug, I have recompiled net-libs/webkit-gtk with safer CFLAGS="-march=native -O2 -pipe" and it woks correctly.
Comment 4 Matt Turner gentoo-dev 2023-05-30 17:54:08 UTC
Do you think it's -O2 vs -O3 that's responsible, or some of the other CFLAGS?
Comment 5 Maciej Barć gentoo-dev 2023-05-31 17:05:47 UTC
Looks like the fault of "-O3".
Fails on runtime when compiled with "-march=native -pipe -O3".