nwg-piotr/nwg-look

Segmentation fault after changing text scaling factor in arch (hyprland)

Opened this issue · 5 comments

I changed the text scalling factor using nwg-look (gtk settings) in arch (hyprland) but after that my browser (chromium based) crashed and rofi stopped working even after reverting it still is the same. i check the console and it says segmentation fault (core dumped). but i can use alacritty, firefox etc.

I tried reverting but it didnt work

Well, what can I say? Nothing like this happens on my side. I can change text scaling factor freely back and forth. I'm on Arch/Hyprland as well.

this might be related, a lot of apps such as sudo pacman -S code segfault after setting a theme using this. (selecting "Prefer dark" and clicking apply)
(also steam supposedly fails to launch according to my friends tests, but i ran out of disk space to confirm)

image
image

removing this file fixes everything tho
rm ~/.local/share/icons/default/index.theme

reproduction, this is how discovered it
create fresh arch install with hyprland, code and nwg-look
mkdir ~/local/share/icons
nwg-look - selecting "Prefer dark" and clicking apply
then run code - it should crash and close
and in journalctl -b 0 scroll down with page-down key, will see bunch of segfaults

Removing ~/local/share/icons/default/index.theme solved the issue for me. Thank you!
All electron applications (spotify-launcher, discord, steam) got segfault before.

Completely found this issue by accident. Had been plauging me for days. Thanks @hey-adora for the fix!

Came to say thank you @hey-adora - this issue still persists and had me banging my head against it for hours. A very unexpected bug.