Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907367 - net-libs/webkit-gtk:6: -O3 causes crashes on runtime with complex websites
Summary: net-libs/webkit-gtk:6: -O3 causes crashes on runtime with complex websites
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Reported: 2023-05-29 13:25 UTC by Maciej Barć
Modified: 2023-05-31 17:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

emerge --info (,8.58 KB, text/plain)
2023-05-29 13:26 UTC, Maciej Barć

Note You need to log in before you can comment on or make changes to this bug.
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".