Segmentation Fault when Opening Appearance

Bug #1323736 reported by Jonah Bron on 2014-05-27
50
This bug affects 11 people
Affects Status Importance Assigned to Milestone
unity-control-center (Ubuntu)
Undecided
Unassigned

Bug Description

When I open unity-control-center and click on Appearance, most of the time it crashes as soon as it finishes loading the wallpaper thumbnails. Sometimes, the command-line output is as follows:

-------------------------------------------------------------------------

(unity-control-center:4394): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion '!g_slist_find (group, radio_button)' failed

(unity-control-center:4394): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion '!g_slist_find (group, radio_button)' failed

(unity-control-center:4394): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion '!g_slist_find (group, radio_button)' failed

(unity-control-center:4394): unity-control-center-WARNING **: Could not load /usr/share/themes/Adwaita/index.theme: No such file or directory

(unity-control-center:4394): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

Segmentation fault (core dumped)

-------------------------------------------------------------------------

And sometimes it looks like this (note the corruption error at the end):

-------------------------------------------------------------------------

(unity-control-center:4454): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion '!g_slist_find (group, radio_button)' failed

(unity-control-center:4454): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion '!g_slist_find (group, radio_button)' failed

(unity-control-center:4454): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion '!g_slist_find (group, radio_button)' failed

(unity-control-center:4454): unity-control-center-WARNING **: Could not load /usr/share/themes/Adwaita/index.theme: No such file or directory

(unity-control-center:4454): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** Error in `unity-control-center': double free or corruption (!prev): 0x00007fe5fc0dfb40 ***
Aborted (core dumped)

------------------------------------------------------------------------

Running Ubuntu 14.04, unity-control-center 14.04.3+14.04.20140410-0ubuntu1.

Jonah Bron (jonahbron) on 2014-05-27
description: updated
Launchpad Janitor (janitor) wrote :

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

Changed in unity-control-center (Ubuntu):
status: New → Confirmed
Antoine (tawane) wrote :

Exactly the same issue on my computer. Ubuntu 14.04 x64

Itried the folowing:

gary@deepblue:~|⇒ dpkg -S /usr/share/themes/Adwaita/index.theme
dpkg-query: aucun chemin ne correspond à /usr/share/themes/Adwaita/index.theme

gary@deepblue:~|⇒ dpkg -S Adwaita
dpkg-query: aucun chemin ne correspond à *Adwaita*

gary@deepblue:~|⇒ dpkg -S index.theme
oxygen-icon-theme: /usr/share/icons/oxygen/index.theme
gnome-accessibility-themes: /usr/share/icons/HighContrast/index.theme
humanity-icon-theme: /usr/share/icons/Humanity/index.theme
hicolor-icon-theme: /usr/share/icons/hicolor/index.theme
ubuntu-sounds: /usr/share/sounds/ubuntu/index.theme
light-themes: /usr/share/themes/Ambiance/index.theme
dmz-cursor-theme: /usr/share/icons/DMZ-White/index.theme
unity-webapps-common: /usr/share/icons/unity-webapps-applications/index.theme
light-themes: /usr/share/themes/Radiance/index.theme
humanity-icon-theme: /usr/share/icons/Humanity-Dark/index.theme
ubuntu-mono: /usr/share/icons/ubuntu-mono-light/index.theme
gnome-icon-theme: /usr/share/icons/gnome/index.theme
ubuntu-mono: /usr/share/icons/LoginIcons/index.theme
gnome-accessibility-themes: /usr/share/themes/HighContrast/index.theme
dmz-cursor-theme: /usr/share/icons/DMZ-Black/index.theme
app-install-data: /usr/share/app-install/index.theme
sound-theme-freedesktop: /usr/share/sounds/freedesktop/index.theme
unity-asset-pool: /usr/share/icons/unity-icon-theme/index.theme
ubuntu-mono: /usr/share/icons/ubuntu-mono-dark/index.theme

gary@deepblue:~|⇒ sudo apt-get install --reinstall gnome-accessibility-themes light-themes libgtk-3-common libgtk2.0-common metacity-common
[...]

Nothing to do...

David (daharper) wrote :

Same problem, using Ubuntu 14.04 64bit:

 unity-control-center

(unity-control-center:4387): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion '!g_slist_find (group, radio_button)' failed

(unity-control-center:4387): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion '!g_slist_find (group, radio_button)' failed

(unity-control-center:4387): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion '!g_slist_find (group, radio_button)' failed

(unity-control-center:4387): unity-control-center-WARNING **: Could not load /usr/share/themes/Adwaita/index.theme: No such file or directory
Segmentation fault

David (daharper) wrote :

Just to add, it crashes for me before I see the Appearance settings.

For example:

* Right click and select Change Desktop Background, I see nothing

* Within System Settings, if I click Appearance, the settings UI crashes immediately.

Adwaita theme has nothing to do with it (Can be installed with gnome-themes-standard-data)

Same problem here, segfaults on unit-control-center appearance

ii libunity-control-center1 14.04.3+14.04.20140604-0ubuntu1 amd64 utilities to configure the GNOME desktop
ii unity-control-center 14.04.3+14.04.20140604-0ubuntu1 amd64 utilities to configure the GNOME desktop

Allan Bogh (ajbogh) wrote :

Same problem.

First error:

(unity-control-center:20928): unity-control-center-WARNING **: Could not load /usr/share/themes/Adwaita/index.theme: No such file or directory
Segmentation fault (core dumped)

After installing gnome-themes-standard:

(unity-control-center:21272): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion '!g_slist_find (group, radio_button)' failed
Segmentation fault (core dumped)

Ubuntu 14.04 upgraded from 13.10, x64, NVidia graphics. Considering re-installing 14.04 if Appearance works in live CD.

Naftoli Gugenheim (naftoligug) wrote :

Workaround: I rolled back to this version: https://launchpad.net/ubuntu/+source/unity-control-center/14.04.2-0ubuntu1/+build/5587415
Downloading it and installing it with dpkg -i fixed it for me.

Eivar Montenegro (e.mont01) wrote :

Naftoli solution worked for me on Ubuntu 14.04.1 LTS

David (daharper) wrote :

I get this after the following steps:

sudo add-apt-repository ppa:inizan-yannick/mono
sudo apt-get update
sudo apt-get dist-upgrade

libglib2.0-0 libglib2.0-0:i386 libglib2.0-bin libglib2.0-data

I accept the updates, then the problem happens.

Just to be clear, everything is fine until I upgrade the mentioned packages.
I have re-installed and repeated this process.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers