Whenever there is some big image loaded in, the browser crashes. Yes. Not just a tab, but the entire browser. When i look in Konsole i see this from chromium as the last message: Segmentation fault (core dumped) I also tried to look in the browsers dev console to see if anything special gets printed before the crash. Nothing special gets printed there though. And the strange thing is that i had those chromium crashes on other distros too.
.Nothing special gets printed there though.
Run strace -C -d chromium %u
and open the large image into Chromium when it opens up. Copy the Konsole/terminal output.
The output file is about 20mb and too large to copy it here or on the susepastes site. Here is the link to the tar.gz file where that output is: https://transfer.sh/(/qvwnia/output1.txt).tar.gz
Purge ${HOME}/.config/chromium/ and start the browser.
It still crashes but now i see some output i didnt see before (that from libpng)
Here is the output
chromium
(chromium:32274): Gtk-WARNING **: 12:53:09.398: Theme parsing error: gtk-dark.css:9349:21: Not using units is deprecated. Assuming ‘px’.
[32274:32274:1222/125309.586585:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedeskt
op.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[32274:32274:1222/125309.586601:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled)
[32274:32274:1222/125309.586851:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher:
org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[32274:32274:1222/125309.586856:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5
[32274:32274:1222/125309.692146:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.D
Bus.Error.NoReply: Message recipient disconnected from message bus without replying
[32274:32274:1222/125309.692161:ERROR:kwallet_dbus.cc(418)] Error contacting kwalletd5 (close)
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Segmentation fault (core dumped)
Those errors and warnings are harmless. Run Chromium as -
chromium --disable-extensions --disable-plugins %u
It still crashes. and the libpng warnings were gone too.
Do you use a dedicated GPU? If you do then try this -
chromium --disable-extensions --disable-plugins --disable-gpu %u
Im not using the dedicated GPU as my main one, but i have it. It still crashes.
Show the output of -
chromium --disable-extensions --disable-plugins --disable-gpu --enable-logging --v=1 %u
You need to copy the log before browser restart. What is the url you are loading?
chromium --disable-extensions --disable-plugins --disable-gpu --enable-logging --v=1 %u
(chromium:4685): Gtk-WARNING **: 09:19:54.242: Theme parsing error: gtk-dark.css:9349:21: Not using units is deprecated. Assuming ‘px’.
[4685:4685:1223/091954.387777:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[4685:4685:1223/091954.387815:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled)
[4685:4685:1223/091954.388047:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[4685:4685:1223/091954.388054:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5
[4685:4685:1223/091954.483692:ERROR:object_proxy.cc(623)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[4685:4685:1223/091954.483718:ERROR:kwallet_dbus.cc(418)] Error contacting kwalletd5 (close)
[4685:4685:1223/092004.613178:ERROR:interface_endpoint_client.cc(694)] Message 1 rejected by interface blink.mojom.WidgetHost
Segmentation fault (core dumped)
Im loading that, and then i click on some image
Check GPU flags in the browser -
chrome://gpu
If the flags are off then enable them in System via -
chrome://settings
It said Accelerated video encode was disabled. chrome://flags said not available for your platform
It also said WebGPU was disabled, but i couldnt it in flags.