Bugzilla – Bug 1218528
gnome-control-center crashes when configuring region and language
Last modified: 2024-06-26 21:01:13 UTC
Created attachment 871651 [details] Journal log When configuring language or formats under region and language in gnome-control-center it crashes with Segmentation fault (core dumped). The journal output is attached.
Hi, I tried with latest Tumbleweed and I cannot reproduce your problem? Could you try again after upgrading your system? And please provide detailed steps to reproduce this, thanks.
OK, it turns out changing language is fine but changing format will make it crash, let me have a look.
I've have some ideas on why it crash and how to fix it, though I am still not sure why I cannot reproduce on my physical machine but only virtual machine, let me have a try.
The problem is the returned pointer of nl_langinfo could be invalid after switching locale, I've submitted fix to upstream: https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/2121 https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/2122 (For gnome-45) Patch also sends to GNOME:Factory: https://build.opensuse.org/request/show/1136674
I was a sleep and you did all this! Amazing! Thank you very much!
Should in both upstream and factory now, let's close this.