gnome-control-center crashed with SIGSEGV in count_languages_and_territories()

Bug #841280 reported by Scott Stensland
222
This bug affects 30 people
Affects Status Importance Assigned to Milestone
gnome-control-center
Fix Released
Critical
gnome-control-center (Ubuntu)
Fix Released
Medium
Rodrigo Moya
Oneiric
Fix Released
Undecided
Unassigned

Bug Description

this is repeatable

System Settings ... -> User Accounts

crash - I will install a debug version of gnome-control-center but do not see one
        am looking in https://launchpad.net/ubuntu/+source/gnome-control-center

Description: Ubuntu oneiric (development branch)
Release: 11.10

 apt-cache policy gnome-control-center
gnome-control-center:
  Installed: 1:3.1.90-0ubuntu2
  Candidate: 1:3.1.90-0ubuntu2
  Version table:
 *** 1:3.1.90-0ubuntu2 0
        500 http://mirror.anl.gov/pub/ubuntu/ oneiric/main i386 Packages
        100 /var/lib/dpkg/status

I will try to do a backtrace if you tell me how to find a debug version of this package

cheers Scott Stensland

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: gnome-control-center 1:3.1.90-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun Sep 4 14:53:23 2011
ExecutablePath: /usr/bin/gnome-control-center
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110804)
ProcCmdline: gnome-control-center
SegvAnalysis:
 Segfault happened at: 0xb5513a <g_str_hash+10>: movzbl (%ecx),%edx
 PC (0x00b5513a) ok
 source "(%ecx)" (0x00000000) not located in a known VMA region (needed readable region)!
 destination "%edx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gnome-control-center
StacktraceTop:
 g_str_hash () from /lib/i386-linux-gnu/libglib-2.0.so.0
 g_hash_table_lookup () from /lib/i386-linux-gnu/libglib-2.0.so.0
 ?? () from /usr/lib/control-center-1/panels/libuser-accounts.so
 ?? () from /usr/lib/control-center-1/panels/libuser-accounts.so
 ?? () from /usr/lib/control-center-1/panels/libuser-accounts.so
Title: gnome-control-center crashed with SIGSEGV in g_str_hash()
UpgradeStatus: Upgraded to oneiric on 2011-08-25 (10 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Scott Stensland (scottstensland) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_str_hash (v=0x0) at /build/buildd/glib2.0-2.29.18/./glib/gstring.c:142
 g_hash_table_lookup_node (hash_return=<synthetic pointer>, key=0x0, hash_table=0x21d000c0) at /build/buildd/glib2.0-2.29.18/./glib/ghash.c:360
 g_hash_table_lookup (hash_table=0x21d000c0, key=0x0) at /build/buildd/glib2.0-2.29.18/./glib/ghash.c:1022
 count_languages_and_territories () at gdm-languages.c:638
 collect_locales () at gdm-languages.c:663

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gnome-control-center (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
visibility: private → public
Revision history for this message
Scott Stensland (scottstensland) wrote : Re: gnome-control-center crashed with SIGSEGV in g_str_hash()

/usr/bin/gnome-control-center --version
gnome-control-center 3.1.91

this is followup from my above crash report,
now it repeatedly core dumps when I launch :

/usr/bin/gnome-control-center

then after its window opens I use mouse and click on icon : User Accounts

Segmentation fault (core dumped)

please advise on any debugging you would recommend

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Pedro can you upstream it? You can add that l1168 is " if (is_unique_language (language_code)) {"

summary: - gnome-control-center crashed with SIGSEGV in g_str_hash()
+ gnome-control-center crashed with SIGSEGV in
+ count_languages_and_territories()
Changed in gnome-control-center (Ubuntu):
assignee: nobody → Pedro Villavicencio (pvillavi)
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at:
https://bugzilla.gnome.org/show_bug.cgi?id=658551

Changed in gnome-control-center (Ubuntu):
assignee: Pedro Villavicencio (pvillavi) → nobody
status: Confirmed → Triaged
Changed in gnome-control-center:
importance: Undecided → Unknown
status: New → Unknown
Changed in gnome-control-center:
importance: Unknown → Critical
status: Unknown → New
Changed in gnome-control-center:
status: New → Incomplete
Changed in gnome-control-center:
status: Incomplete → Confirmed
tags: added: rls-mgr-o-tracking
tags: added: bugpattern-needed
Revision history for this message
VladimirCZ (vlabla) wrote :

I just want to add here that the User Accounts setting does not work at all and causes the crash both in Unity and in Gnome Shell. Ford details, please, see to the Bug 863032.

Changed in gnome-control-center (Ubuntu):
assignee: nobody → Rodrigo Moya (rodrigo-moya)
Revision history for this message
Jakob Malm (malmjakob) wrote :

I experience this problem on 64 bit Ubuntu 11.10 beta2.

Revision history for this message
Damian Beltrami (damian-beltrami-id) wrote :

Clean install of Ubuntu 11.10 has removed this problem for me

Changed in gnome-control-center (Ubuntu):
status: Triaged → In Progress
tags: removed: bugpattern-needed
tags: added: bugpattern-written
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-control-center (Ubuntu Oneiric):
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Scott, or anyone else affected,

Accepted gnome-control-center into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in gnome-control-center (Ubuntu Oneiric):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Michael DePaulo (mikedep333) wrote :

Martin Pitt, That worked!
Updating gnome-control-center & libgnome-control-center from oneiric's 1:3.2.0-0ubuntu6 to oneiric-proposed's 1:3.2.1-0ubuntu1 fixed this bug for me.
(Done on AMD64)

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:3.2.1-0ubuntu1

---------------
gnome-control-center (1:3.2.1-0ubuntu1) oneiric-proposed; urgency=low

  [ Gunnar Hjalmarsson ]
  * debian/patches/52_ubuntu_language_list_mods.patch:
    Don't mess with non-utf8 locales, or else the language chooser in
    the User Accounts UI may display confusing info (LP: #864618).

  [ Rodrigo Moya ]
  * New upstream release
  * debian/patches/00git_show_search_view.patch:
  * debian/patches/00git_show_section_labels.patch:
  * debian/patches/00git_use_correct_sleep_timeout_when_disabled.patch:
  * debian/patches/00git_use_gtk_widget_show.patch:
    - Remove upstreamed patches
  * debian/patches/08_dont_crash_on_null_territories.patch:
    - Don't crash on locales with no territory code (LP: #841280)
  * debian/patches/12_add_never_turn_screen_off.patch:
    - Remove translations from patch, as they are now imported to LP
  * debian/patches/52_ubuntu_language_list_mods.patch:
    - Rebased patch
 -- Rodrigo Moya <email address hidden> Tue, 18 Oct 2011 11:39:14 +0200

Changed in gnome-control-center (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
dFlyer (ggaribaldi) wrote :

Will not start from settings menu with no error message and receives seg fault when starting from command line.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:3.2.1-0ubuntu1

---------------
gnome-control-center (1:3.2.1-0ubuntu1) oneiric-proposed; urgency=low

  [ Gunnar Hjalmarsson ]
  * debian/patches/52_ubuntu_language_list_mods.patch:
    Don't mess with non-utf8 locales, or else the language chooser in
    the User Accounts UI may display confusing info (LP: #864618).

  [ Rodrigo Moya ]
  * New upstream release
  * debian/patches/00git_show_search_view.patch:
  * debian/patches/00git_show_section_labels.patch:
  * debian/patches/00git_use_correct_sleep_timeout_when_disabled.patch:
  * debian/patches/00git_use_gtk_widget_show.patch:
    - Remove upstreamed patches
  * debian/patches/08_dont_crash_on_null_territories.patch:
    - Don't crash on locales with no territory code (LP: #841280)
  * debian/patches/12_add_never_turn_screen_off.patch:
    - Remove translations from patch, as they are now imported to LP
  * debian/patches/52_ubuntu_language_list_mods.patch:
    - Rebased patch
 -- Rodrigo Moya <email address hidden> Tue, 18 Oct 2011 11:39:14 +0200

Changed in gnome-control-center (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Jander Moreira (moreira-jander) wrote :

Hello. I still have the problem.

$> gnome-shell --version
GNOME Shell 3.2.0
$> gnome-control-center --version
gnome-control-center 3.2.1
$> apt-show-versions gnome-control-center
gnome-control-center/oneiric-updates uptodate 1:3.2.1-0ubuntu1
$> gnome-control-center
Segmentation fault
(after clicking on User Accounts)

Revision history for this message
Jander Moreira (moreira-jander) wrote :

This problem doesn't happen when using Unity.

Revision history for this message
Jander Moreira (moreira-jander) wrote :

I've found this bug page when looking for the solution to another problem.
Gnome-shell was crashing with the gnome-shell-extensions-alternative-status-menu. The workaround I found was just to set the picture in the user profile.
Then I've found User Accounts was crashing, what I wasn't aware of.
In Unity, I put a picture in my profile. After rebooting, everything works fine: both User Accounts and the shell extension.

I'm really not sure if there is an actual relation between these issues, but was a workaround for me.

Changed in gnome-control-center:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.