After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 661866 - [patch] Segfault when esperanto locale installed
[patch] Segfault when esperanto locale installed
Status: RESOLVED DUPLICATE of bug 658551
Product: gnome-control-center
Classification: Core
Component: Region & Language
3.2.x
Other Linux
: Normal major
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-10-15 20:08 UTC by Artur Frysiak
Modified: 2012-03-01 18:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Check locale->territory_code before use (1.12 KB, patch)
2011-10-15 20:14 UTC, Artur Frysiak
none Details | Review

Description Artur Frysiak 2011-10-15 20:08:36 UTC
gnome-control-center segfault when esperanto locale is installed on system.


(gdb) run
Starting program: /usr/bin/gnome-control-center 
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /usr/lib64/libexpat.so.0
Try to install package that provides `/usr/lib/debug/.build-id/7e/7c2151a82d5d7c67405b9da6a3626505150fd2.debug' file
Missing separate debuginfo for /usr/lib64/libcroco-0.6.so.3
Missing separate debuginfo for /lib64/libwrap.so.0
Try to install package that provides `/usr/lib/debug/.build-id/5b/edaa26dffd2db01608b68048d6e1d356a88924.debug' file
[New Thread 0x7fffe11a3700 (LWP 13553)]
[New Thread 0x7fffe0971700 (LWP 13554)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7760750 in g_str_hash () from /usr/lib64/libglib-2.0.so.0
(gdb) bt
  • #0 g_str_hash
    from /usr/lib64/libglib-2.0.so.0
  • #1 g_hash_table_lookup
    from /usr/lib64/libglib-2.0.so.0
  • #2 count_languages_and_territories
    at gdm-languages.c line 638
  • #3 collect_locales
    at gdm-languages.c line 663
  • #4 get_language_count
    at gdm-languages.c line 670
  • #5 is_unique_language
    at gdm-languages.c line 679
  • #6 gdm_get_language_from_name
    at gdm-languages.c line 1166
  • #7 add_other_users_language
    at cc-common-language.c line 486
  • #2 count_languages_and_territories
    at gdm-languages.c line 638
$1 = {
  id = 0xb96de0 "eo", 
  name = 0xbf7c00 "eo.utf8", 
  language_code = 0xb96e70 "eo", 
  territory_code = 0x0, 
  codeset = 0xbf7b30 "utf8", 
  modifier = 0x0
}

Esperanto locale don't have territory_code set.
Comment 1 Artur Frysiak 2011-10-15 20:14:32 UTC
Created attachment 199077 [details] [review]
Check locale->territory_code before use
Comment 2 Bastien Nocera 2012-03-01 18:05:56 UTC
Should be fixed by the patch from bug 658551.

*** This bug has been marked as a duplicate of bug 658551 ***