Gunnar, returning a pointer to a static array on the stack will cause the crash. Can you please try with
char *langlist, *language; [...] if (langlist != NULL && strlen(langlist) > 0) { char *colon = index (langlist, ':'); if (colon) language = g_strndup (langlist, colon - langlist); else language = g_strdup (langlist); return language; } -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/740754 Title: Language selection for newly created user confusing -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs