Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116195 - gnome-settings-daemon fails to start, X error
Summary: gnome-settings-daemon fails to start, X error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 103559 119076 131872 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-20 11:20 UTC by Andrew D. Keyser (aka Legoguy)
Modified: 2006-05-04 15:34 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Strace of /usr/libexec/gnome-settings-daemon (gnome-settings-daemon-strace.log,342.58 KB, text/plain)
2005-12-20 11:21 UTC, Andrew D. Keyser (aka Legoguy)
Details
evdev-fix.patch (evdev.patch,2.32 KB, patch)
2005-12-23 03:22 UTC, Benoît "UBIK" Collet-Billon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew D. Keyser (aka Legoguy) 2005-12-20 11:20:05 UTC
I don't know exactly what causes this, but I am using GCC 4.0.2 and xorg split ebuilds, and this started happening on one of my systems:

% /usr/libexec/gnome-settings-daemon
The program 'gnome-settings-daemon' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 356 error_code 2 request_code 116 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
[1135104652,000,xklavier.c:XklStartListen/] 	The backend does not require manual layout management - but it is provided by the application

It seems to get to the point where it changes the DPI of the X screen, and then dies before doing much else. Occasionally it causes Firefox, if open, to hang for a while whenever I try to run the daemon.

Strace is attached.
I've tried completely re-merging everything, emerge -aev gnome, so EVERYTHING that gnome _could_ depend on has been re-merged. Same result. Appears not to be happening on my other computer, which is, at the moment, on its way to HP repair... I will be able to compare versions when I get it back.

Relevant GNOME versions:
[ Searching for package 'gnome' in all categories among: ]
 * installed packages
[I--] [  ] app-admin/gnome-system-tools-1.4.1 (0)
[I--] [  ] app-text/gnome-doc-utils-0.4.4 (0)
[I--] [  ] app-text/gnome-spell-1.0.6 (1)
[I--] [  ] dev-cpp/gnome-vfsmm-2.12.0 (1.1)
[I--] [  ] dev-cpp/libgnomecanvasmm-2.12.0 (2.6)
[I--] [  ] dev-cpp/libgnomemm-2.12.0 (2.6)
[I--] [  ] dev-cpp/libgnomeuimm-2.12.0 (2.6)
[I--] [  ] dev-python/gnome-python-2.12.0 (2)
[I--] [  ] dev-python/gnome-python-extras-2.12.0 (0)
[I--] [  ] gnome-base/gnome-2.12.1 (2.0)
[I--] [  ] gnome-base/gnome-applets-2.12.2 (2)
[I--] [  ] gnome-base/gnome-common-2.12.0 (2)
[I--] [  ] gnome-base/gnome-desktop-2.12.2 (0)
[I--] [  ] gnome-base/gnome-keyring-0.4.6 (0)
[I--] [  ] gnome-base/gnome-libs-1.4.2 (1)
[I--] [  ] gnome-base/gnome-menus-2.12.0-r1 (0)
[I--] [  ] gnome-base/gnome-mime-data-2.4.2 (0)
[I--] [  ] gnome-base/gnome-panel-2.12.2 (0)
[I--] [  ] gnome-base/gnome-session-2.12.0 (0)
[I--] [  ] gnome-base/gnome-vfs-2.12.2 (2)
[I--] [  ] gnome-base/gnome-volume-manager-1.5.4 (0)
[I--] [  ] gnome-base/libgnome-2.12.0.1 (0)
[I--] [  ] gnome-base/libgnomecanvas-2.12.0 (0)
[I--] [  ] gnome-base/libgnomeprint-2.12.1 (2.2)
[I--] [  ] gnome-base/libgnomeprintui-2.12.1 (2.2)
[I--] [  ] gnome-base/libgnomeui-2.12.0 (0)
[I--] [  ] gnome-extra/gnome-games-2.12.2 (0)
[I--] [  ] gnome-extra/gnome-keyring-manager-2.12.0 (0)
[I--] [  ] gnome-extra/gnome-media-2.12.0 (2)
[I--] [  ] gnome-extra/gnome-system-monitor-2.12.1 (0)
[I--] [  ] gnome-extra/gnome-utils-2.12.2 (0)
[I--] [  ] gnome-extra/gnome2-user-docs-2.8.1 (0)
[I--] [  ] media-plugins/gst-plugins-gnomevfs-0.8.11 (0.8)
[I--] [  ] net-analyzer/gnome-netstatus-2.12.0 (0)
[I--] [  ] net-analyzer/gnome-nettool-1.4.1 (0)
[I--] [  ] net-im/gnomemeeting-1.2.2 (0)
[I--] [  ] net-print/libgnomecups-0.2.2 (0)
[I--] [  ] x11-terms/gnome-terminal-2.12.0 (0)
[I--] [  ] x11-themes/gnome-backgrounds-2.12.2 (0)
[I--] [  ] x11-themes/gnome-icon-theme-2.12.1 (0)
[I--] [  ] x11-themes/gnome-themes-2.12.1 (0)
[I--] [  ] x11-themes/gnome-themes-extras-0.8.1 (0)

Relevant xorg-x11 versions:
[ Searching for package '.*' in 'x11-.*' among: ]
 * installed packages
[I--] [  ] x11-apps/bdftopcf-0.99.3 (0)
[I--] [  ] x11-apps/iceauth-0.99.2 (0)
[I--] [  ] x11-apps/mesa-progs-6.4.1 (0)
[I--] [  ] x11-apps/mkfontdir-0.99.2 (0)
[I--] [  ] x11-apps/mkfontscale-0.99.2 (0)
[I--] [  ] x11-apps/rgb-0.99.3 (0)
[I--] [  ] x11-apps/setxkbmap-0.99.3 (0)
[I--] [  ] x11-apps/ttmkfdir-3.0.9-r3 (0)
[I--] [  ] x11-apps/xauth-0.99.3 (0)
[I--] [  ] x11-apps/xclock-0.99.2 (0)
[I--] [  ] x11-apps/xcursorgen-0.99.2 (0)
[I--] [  ] x11-apps/xdpyinfo-0.99.2 (0)
[I--] [  ] x11-apps/xev-0.99.2 (0)
[I--] [  ] x11-apps/xhost-0.99.3 (0)
[I--] [  ] x11-apps/xinit-0.99.4 (0)
[I--] [  ] x11-apps/xkbcomp-0.99.2 (0)
[I--] [  ] x11-apps/xkbutils-0.99.2 (0)
[I--] [  ] x11-apps/xmodmap-0.99.2 (0)
[I--] [  ] x11-apps/xprop-0.99.2 (0)
[I--] [  ] x11-apps/xrandr-0.99.2 (0)
[I--] [  ] x11-apps/xrdb-0.99.2 (0)
[I--] [  ] x11-apps/xset-0.99.4 (0)
[I--] [  ] x11-apps/xsetroot-0.99.2 (0)
[I--] [  ] x11-apps/xtrap-0.99.2 (0)
[I--] [  ] x11-base/opengl-update-3.0.0 (0)
[I--] [  ] x11-base/xorg-server-1.0.0 (0)
[I--] [  ] x11-base/xorg-x11-7.0.0_rc3-r1 (0)
[I--] [  ] x11-drivers/xf86-input-evdev-1.0.0.4 (0)
[I--] [  ] x11-drivers/xf86-input-keyboard-1.0.1.2 (0)
[I--] [  ] x11-drivers/xf86-input-mouse-1.0.3 (0)
[I--] [  ] x11-drivers/xf86-video-v4l-0.0.1.4 (0)
[I--] [  ] x11-libs/Xaw3d-1.5-r1 (0)
[I--] [  ] x11-libs/cairo-1.0.2 (0)
[I--] [  ] x11-libs/ecore-0.9.9.013 (0)
[I--] [  ] x11-libs/esmart-0.9.0.004 (0)
[I--] [  ] x11-libs/evas-0.9.9.020 (0)
[I--] [  ] x11-libs/fltk-1.1.6 (1.1)
[I--] [  ] x11-libs/gtk+-1.2.10-r11 (1)
[I--] [  ] x11-libs/gtk+-2.8.9 (2)
[I--] [  ] x11-libs/gtkglarea-1.2.3-r1 (1)
[I--] [  ] x11-libs/gtkglarea-1.99.0 (2)
[I--] [  ] x11-libs/gtkglext-1.0.6-r3 (0)
[I--] [  ] x11-libs/gtksourceview-1.4.2 (0)
[I--] [  ] x11-libs/libICE-1.0.0 (0)
[I--] [  ] x11-libs/libSM-1.0.0 (0)
[I--] [  ] x11-libs/libX11-1.0.0 (0)
[I--] [  ] x11-libs/libXScrnSaver-1.0.0 (0)
[I--] [  ] x11-libs/libXTrap-1.0.0 (0)
[I--] [  ] x11-libs/libXau-1.0.0 (0)
[I--] [  ] x11-libs/libXaw-1.0.0 (0)
[I--] [  ] x11-libs/libXcomposite-0.2.2.2 (0)
[I--] [  ] x11-libs/libXcursor-1.1.5.2 (0)
[I--] [  ] x11-libs/libXdamage-1.0.2.2 (0)
[I--] [  ] x11-libs/libXdmcp-1.0.0 (0)
[I--] [  ] x11-libs/libXext-1.0.0 (0)
[I--] [  ] x11-libs/libXfixes-3.0.1.2 (0)
[I--] [  ] x11-libs/libXfont-1.0.0 (0)
[I--] [  ] x11-libs/libXft-2.1.8.2 (0)
[I--] [  ] x11-libs/libXi-1.0.0 (0)
[I--] [  ] x11-libs/libXinerama-1.0.0 (0)
[I--] [  ] x11-libs/libXmu-1.0.0 (0)
[I--] [  ] x11-libs/libXp-1.0.0 (0)
[I--] [  ] x11-libs/libXpm-3.5.4.2 (0)
[I--] [  ] x11-libs/libXrandr-1.1.0.2 (0)
[I--] [  ] x11-libs/libXrender-0.9.0.2 (0)
[I--] [  ] x11-libs/libXres-1.0.0 (0)
[I--] [  ] x11-libs/libXt-1.0.0 (0)
[I--] [  ] x11-libs/libXtst-1.0.0 (0)
[I--] [  ] x11-libs/libXv-1.0.0 (0)
[I--] [  ] x11-libs/libXxf86dga-1.0.0 (0)
[I--] [  ] x11-libs/libXxf86misc-1.0.0 (0)
[I--] [  ] x11-libs/libXxf86vm-1.0.0 (0)
[I--] [  ] x11-libs/libast-0.6.1-r1 (0)
[I--] [  ] x11-libs/libdmx-1.0.0 (0)
[I--] [  ] x11-libs/libdrm-2.0 (0)
[I--] [  ] x11-libs/libfontenc-1.0.0 (0)
[I--] [  ] x11-libs/liblbxutil-1.0.0 (0)
[I--] [  ] x11-libs/libsvg-cairo-0.1.6 (0)
[I--] [  ] x11-libs/libwnck-2.12.2 (0)
[I--] [  ] x11-libs/libxkbfile-1.0.0 (0)
[I--] [  ] x11-libs/libxkbui-1.0.0 (0)
[I--] [  ] x11-libs/libxklavier-2.0-r1 (0)
[I--] [  ] x11-libs/motif-config-0.9 (0)
[I--] [  ] x11-libs/openmotif-2.2.3-r7 (2.2)
[I--] [  ] x11-libs/pango-1.10.2 (0)
[I--] [  ] x11-libs/qt-3.3.4-r8 (3)
[I--] [  ] x11-libs/qt-4.0.1 (4)
[I--] [  ] x11-libs/startup-notification-0.8 (0)
[I--] [  ] x11-libs/vte-0.11.16 (0)
[I--] [  ] x11-libs/wxGTK-2.4.2-r4 (2.4)
[I--] [  ] x11-libs/wxGTK-2.6.2-r1 (2.6)
[I--] [  ] x11-libs/xtrans-1.0.0 (0)
[I--] [  ] x11-misc/fbpager-0.1.4 (0)
[I--] [  ] x11-misc/fluxconf-0.9.8 (0)
[I--] [  ] x11-misc/imake-1.0.0 (0)
[I--] [  ] x11-misc/makedepend-1.0.0 (0)
[I--] [  ] x11-misc/menumaker-0.17 (0)
[I--] [  ] x11-misc/netwmpager-1.6 (0)
[I--] [  ] x11-misc/obconf-1.5-r1 (0)
[I--] [  ] x11-misc/obtuner-0.2 (0)
[I--] [  ] x11-misc/pypanel-2.4 (0)
[I--] [  ] x11-misc/shared-mime-info-0.16 (0)
[I--] [  ] x11-misc/synergy-1.2.6 (0)
[I--] [  ] x11-misc/util-macros-1.0.0 (0)
[I--] [  ] x11-misc/x11vnc-0.7.2 (0)
[I--] [  ] x11-misc/xbitmaps-1.0.0 (0)
[I--] [  ] x11-misc/xcompmgr-1.1.3 (0)
[I--] [  ] x11-misc/xkbdata-1.0.0 (0)
[I--] [  ] x11-misc/xmbdfed-4.7_p1 (0)
[I--] [  ] x11-misc/xorg-cf-files-1.0.0 (0)
[I--] [  ] x11-misc/xosview-1.8.2-r1 (0)
[I--] [  ] x11-misc/xscreensaver-4.23 (0)
[I--] [  ] x11-proto/bigreqsproto-1.0.2 (0)
[I--] [  ] x11-proto/compositeproto-0.2.2 (0)
[I--] [  ] x11-proto/damageproto-1.0.2 (0)
[I--] [  ] x11-proto/dmxproto-2.2.2 (0)
[I--] [  ] x11-proto/evieext-1.0.2 (0)
[I--] [  ] x11-proto/fixesproto-3.0.2 (0)
[I--] [  ] x11-proto/fontcacheproto-0.1.2 (0)
[I--] [  ] x11-proto/fontsproto-2.0.2 (0)
[I--] [  ] x11-proto/glproto-1.4.2 (0)
[I--] [  ] x11-proto/inputproto-1.3.2 (0)
[I--] [  ] x11-proto/kbproto-1.0.2 (0)
[I--] [  ] x11-proto/printproto-1.0.3 (0)
[I--] [  ] x11-proto/randrproto-1.1.2 (0)
[I--] [  ] x11-proto/recordproto-1.13.2 (0)
[I--] [  ] x11-proto/renderproto-0.9.2 (0)
[I--] [  ] x11-proto/resourceproto-1.0.2 (0)
[I--] [  ] x11-proto/scrnsaverproto-1.0.2 (0)
[I--] [  ] x11-proto/trapproto-3.4.3 (0)
[I--] [  ] x11-proto/videoproto-2.2.2 (0)
[I--] [  ] x11-proto/xcmiscproto-1.1.2 (0)
[I--] [  ] x11-proto/xextproto-7.0.2 (0)
[I--] [  ] x11-proto/xf86bigfontproto-1.1.2 (0)
[I--] [  ] x11-proto/xf86dgaproto-2.0.2 (0)
[I--] [  ] x11-proto/xf86miscproto-0.9.2 (0)
[I--] [  ] x11-proto/xf86rushproto-1.1.2 (0)
[I--] [  ] x11-proto/xf86vidmodeproto-2.2.2 (0)
[I--] [  ] x11-proto/xineramaproto-1.1.2 (0)
[I--] [  ] x11-proto/xproto-7.0.4 (0)
[I--] [  ] x11-terms/eterm-0.9.3-r4 (0)
[I--] [  ] x11-terms/gnome-terminal-2.12.0 (0)
[I--] [  ] x11-terms/rxvt-unicode-5.9 (0)
[I--] [  ] x11-terms/tilda-0.09.1 (0)
[I--] [  ] x11-terms/xterm-207 (0)
[I--] [  ] x11-themes/fluxbox-styles-fluxmod-20050128 (0)
[I--] [  ] x11-themes/fvwm-themes-0.7.0 (0)
[I--] [  ] x11-themes/fvwm-themes-extra-0.7.0 (0)
[I--] [  ] x11-themes/gnome-backgrounds-2.12.2 (0)
[I--] [  ] x11-themes/gnome-icon-theme-2.12.1 (0)
[I--] [  ] x11-themes/gnome-themes-2.12.1 (0)
[I--] [  ] x11-themes/gnome-themes-extras-0.8.1 (0)
[I--] [  ] x11-themes/gtk-engines-2.7.0 (2)
[I--] [  ] x11-themes/hicolor-icon-theme-0.8 (0)
[I--] [  ] x11-themes/openbox-themes-0.6-r1 (0)
[I--] [  ] x11-themes/redhat-artwork-0.122.1-r1 (0)
[I--] [  ] x11-themes/xcursor-themes-1.0.0 (0)
[I--] [  ] x11-wm/fluxbox-0.9.14-r1 (0)
[I--] [  ] x11-wm/fvwm-2.5.14-r1 (0)
[I--] [  ] x11-wm/metacity-2.12.2 (0)
[I--] [  ] x11-wm/openbox-3.3_rc2 (3)
[I--] [  ] x11-wm/twm-0.99.2 (0)
Comment 1 Andrew D. Keyser (aka Legoguy) 2005-12-20 11:21:16 UTC
Created attachment 75227 [details]
Strace of /usr/libexec/gnome-settings-daemon
Comment 2 Sander Sweers 2005-12-20 15:55:27 UTC
This is a xorg modular issue. Are you by any chance using evdev as input driver? If you change it to "normal" mouse it should work again, for me it does.
Comment 3 Andrew D. Keyser (aka Legoguy) 2005-12-20 18:58:38 UTC
Ah, so that's what it is. Unfortunately I can't do that as a permanent resolution for the problem because I have a Logitech MX1000 and I need evdev to best use all the extra features of it.
Comment 4 Benoît "UBIK" Collet-Billon 2005-12-23 03:22:01 UTC
Created attachment 75383 [details, diff]
evdev-fix.patch

Same issue here. 
I've looked in gnome's bugzilla and found a similar bug:
http://bugzilla.gnome.org/show_bug.cgi?id=323724
there's also a patch which solves this problem (for me at least).
Comment 5 Sander Sweers 2005-12-23 15:35:19 UTC
(In reply to comment #4)
> Created an attachment (id=75383) [edit]
> evdev-fix.patch
> 
> Same issue here. 
> I've looked in gnome's bugzilla and found a similar bug:
> http://bugzilla.gnome.org/show_bug.cgi?id=323724
> there's also a patch which solves this problem (for me at least).

I can confirm this solved the problem for me but it might not for others. 
Comment 6 Waldo 2005-12-28 18:42:59 UTC
I just did an overlay to gnome-base/control-center using that patch and I can confirm that it works as well.  Using evdev for mouse & keyboard.

Unfortunately, I get a kind of stuttering when dragging windows around, but that's another bug.

Anyway, if this patch could be checked in, it would be much appreciated..

W
Comment 7 Benoît "UBIK" Collet-Billon 2005-12-28 21:51:35 UTC
Just a question to those who applied the patch (not sure of my english for this sentence!):
did it break the multimedia keys of your keyboard or not?
If not, that means i've missed something in my config, i'll check it later.
Comment 8 Waldo 2006-01-04 01:33:59 UTC
Not sure what you mean by the "multimedia keys" but I'm having no problem at all with the keyboard or mouse (evdev driver).

W
Comment 9 Waldo 2006-01-04 01:35:05 UTC
I should also add that the stuttering that I described above has nothing to do with gnome-settings-daemon.  It's some other weirdness.  A workaround is to not use a desktop pattern.

Hopefully someone will be checking this patch in soon!

W
Comment 10 Andrew D. Keyser (aka Legoguy) 2006-01-07 15:06:39 UTC
Is this going to be stuck into another -r or something? Proposed patch fixes problem for me.
Comment 11 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-21 14:48:00 UTC
*** Bug 103559 has been marked as a duplicate of this bug. ***
Comment 12 Olivier Crete (RETIRED) gentoo-dev 2006-01-24 18:09:47 UTC
there is a new fixed patch on the gnome bugzilla.. Please make a new -r asap with this, its breaking for everyone with Xorg 7 and its coming out of p.mask soon.
Comment 13 Xake 2006-02-02 03:10:53 UTC
*** Bug 119076 has been marked as a duplicate of this bug. ***
Comment 14 Waldo 2006-02-06 21:41:29 UTC
After a ton of new ebuilds today, I was sad to see that old error back...  Guess it hasn't been fixed in 2.12.3:

here's what happens when you try to put the old patch on the new version...

 * Applying control-center-evdev-fix.patch ...                                                              [ ok ]/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/linc.m4:1: warning: underquoted definition of AM_PATH_LINC
/usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME
/usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART
/usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT

With all those warnings, it did compile.  Guess I should restart everything to see if it still works..

W
Comment 15 Waldo 2006-02-06 21:47:00 UTC
Wow, following a restart... i have icons back!  It doesnt' look like this patch made it to the upstream...

W
Comment 16 Paul Bredbury 2006-03-05 04:16:17 UTC
The patch works for me. Should be in Portage.
Comment 17 Lubos Dolezel 2006-03-18 08:58:43 UTC
+1

Please put this patch into Portage so other users won't have to go through this problem.
Comment 18 Christophe 2006-03-24 09:26:43 UTC
Patch works with control-center-2.14.0. Please add it to portage soon... even if not applied yet but so people could at least fix their install if they forgot to do it before... downloading patch in lynx is not easy.

Have upgraded 3 machines (to X modular) so far... always needed. And break is really bad sometimes...(cascading failure i supposed, gnome-panel crashing, no access to a terminal, was able to fix it only because i knew the problem ahead and could solve it from console)
Comment 19 Olivier Crete (RETIRED) gentoo-dev 2006-04-14 16:34:03 UTC
gnome-base/control-center-2.14.1 fixes this bug
Comment 20 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-05-04 15:34:25 UTC
*** Bug 131872 has been marked as a duplicate of this bug. ***