gnome-settings-daemon segmentation fault

Bug #309602 reported by Javier Cabezas
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Settings Daemon
Invalid
Unknown
gnome-settings-daemon (Ubuntu)
Triaged
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-settings-daemon

Distribution: Ubuntu Jaunty
gnome-settings-daemon: 2.25.2-0ubuntu3
libgnome-desktop-2-11: 2.25.3-0ubuntu1

I was not getting my preferences so I tried to execute gnome-settings-daemon by hand, but the process automatically died after a few seconds. Using "gdb --args gnome-settings-daemon --no-daemon" and setting "set follow-fork-mode child" I got:

...
** (gnome-settings-daemon:25789): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/xrdb.gnome-settings-plugin
** (gnome-settings-daemon:25789): DEBUG: GnomeSettingsPluginInfo: name='Base de datos de recursos de las X' file='/usr/lib/gnome-settings-daemon-2.0/xrdb.gnome-settings-plugin' location='xrdb'
** (gnome-settings-daemon:25789): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/xsettings.gnome-settings-plugin
** (gnome-settings-daemon:25789): DEBUG: GnomeSettingsPluginInfo: name='Ajustes de las X' file='/usr/lib/gnome-settings-daemon-2.0/xsettings.gnome-settings-plugin' location='xsettings'
** (gnome-settings-daemon:25789): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/housekeeping.gnome-settings-plugin
** (gnome-settings-daemon:25789): DEBUG: GnomeSettingsPluginInfo: name='Housekeeping' file='/usr/lib/gnome-settings-daemon-2.0/housekeeping.gnome-settings-plugin' location='housekeeping'
** (gnome-settings-daemon:25789): DEBUG: GnomeSettingsModule 0x99cc078 initialising
** (gnome-settings-daemon:25789): DEBUG: Loading /usr/lib/gnome-settings-daemon-2.0/libxrandr.so
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
** (gnome-settings-daemon:25789): DEBUG: Registering GsdXrandrPlugin
** (gnome-settings-daemon:25789): DEBUG: Creating object of type GsdXrandrPlugin
** (gnome-settings-daemon:25789): DEBUG: GsdXrandrPlugin initializing
** (gnome-settings-daemon:25789): DEBUG: Activating xrandr plugin
** (gnome-settings-daemon:25789): DEBUG: Starting xrandr manager
desired is = /home/jcabezas/.config/monitors.xml.desired
reading configuration...
done
error MATCHES
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb73a7b10 (LWP 25789)]
0xb7061b2b in gnome_rr_config_match () from /usr/lib/libgnome-desktop-2.so.11
(gdb) bt
#0 0xb7061b2b in gnome_rr_config_match () from /usr/lib/libgnome-desktop-2.so.11
#1 0xb7063ed2 in gnome_rr_config_apply_stored () from /usr/lib/libgnome-desktop-2.so.11
#2 0xb7157c7c in gsd_xrandr_manager_start () from /usr/lib/gnome-settings-daemon-2.0/libxrandr.so
#3 0xb7156b1f in ?? () from /usr/lib/gnome-settings-daemon-2.0/libxrandr.so
#4 0x0804cedf in gnome_settings_plugin_info_activate ()
#5 0x0804b90e in ?? ()
#6 0xb78a7727 in g_slist_foreach () from /usr/lib/libglib-2.0.so.0
#7 0x0804bb65 in gnome_settings_manager_start ()
#8 0x0804b689 in main ()

Revision history for this message
Mingming Ren (portis25) wrote :

I can confirm this.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in gnome-settings-daemon:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Daniel Queirolo (danf-1979) wrote :

Could someone please review if this dbg log is alright.

Changed in gnome-settings-daemon:
status: Incomplete → Confirmed
Revision history for this message
Javier Cabezas (javier-cabezas) wrote :

There are not available debug packages for the gnome libraries in jaunty yet. So I don't know how to get the proper traces... Anyway, I'm sending valgrind, strace and xsession-errors.

Revision history for this message
Javier Cabezas (javier-cabezas) wrote :
Revision history for this message
Javier Cabezas (javier-cabezas) wrote :
Revision history for this message
Daniel T Chen (crimsun) wrote :

The dbg packages are at http://ddebs.ubuntu.com.

Revision history for this message
Daniel Queirolo (danf-1979) wrote :

RAOF told me on IRC to delete ~/.config/monitors.xml, and this fixed the problem. Note that the file did not re-generate after restarting X.

Attached is monitors.xml file.

Revision history for this message
Ethan Baldridge (ethan-superiordocumentservices) wrote :

I was getting segfault as well, can confirm that deleting monitors.xml fixes the problem.

Changed in gnome-settings-daemon:
status: Confirmed → Triaged
Changed in gnome-settings-daemon:
status: Unknown → Invalid
Revision history for this message
SanketMedhi (sanketmedhi-gmail) wrote :

I confirm this bug. I have had this problem for the last 3 days, since I upgraded to Jaunty (pre-release).

However, the workaround mentioned above by deleting the ~/.config/monitors.xml file does not work for me. Please resolve this issue asap, I am really frustrated by this.

Revision history for this message
Alberto Milone (albertomilone) wrote :

SanketMedhi: please file a new bug report. I think you're facing a different bug (otherwise the workaround would work for you).

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.