Comment 3 for bug 931060

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Hi Cristian,
Thanks for your effort to improve Ubuntu by reporting this issue! I could reproduce it by installing a new language and instantly pick a locale for the new language on the "Regional formats" tab. I assume that's what you did too - please correct me if your case is different.

Martin:
It's the user_locale_validate() function in accountsservice/src/user.c that caused this crash. Is there a simple way to make setlocale() instantly aware of newly generated locales? If not I guess that playing with 'locale -a' in user_locale_validate() would be safer than calling setlocale().
(Also, can you please make bug 930785 public.)