Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 345373

Summary: gnome-base/gnome-settings-daemon crashes when resuming from suspend
Product: Gentoo Linux Reporter: Mathieu Z <mobiusstripper>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: backtrace

Description Mathieu Z 2010-11-14 09:48:41 UTC
gnome-settings-daemon crashes when resuming from suspend resulting in all gtk2 styling, icons, etc gone. If I am in a GNOME session and attempts to re-run it, it will crash the session as well. For testing purpose, I also try starting a minimal AwesomeWM session, runs /usr/libexec/gnome-settings-daemon, then suspend:

$ /usr/libexec/gnome-settings-daemon  # start at beginning of session
$ pgrep -fl gnome-settings-daemon     # It's running
28490 /usr/libexec/gnome-settings-daemon
$ sudo /usr/sbin/pm-suspend           # suspend and resume
$ pgrep -fl gnome-settings-daemon     # the process crashed, pgrep outputs nothing 
$ /usr/libexec/gnome-settings-daemon  # restart

There does not seem to be error message logged anywhere.

Reproducible: Always




=========

$ emerge --info
Portage 2.1.9.24 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.1-r3, 2.6.35-zen2-BFS x86_64)
=================================================================
System uname: Linux-2.6.35-zen2-BFS-x86_64-Intel-R-_Core-TM-_i7_CPU_L_620_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 13 Nov 2010 10:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -fomit-frame-pointer -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O2 -Wl,--hash-style=both"
LINGUAS="en ja zh zh_CN zh_TW en_US en_GB"
MAKEOPTS="-j4 --load-average"
PKGDIR="/usr/portage//packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/var/lib/layman/gentoo-china /var/lib/layman/x11 /var/lib/layman/java-overlay /var/lib/layman/sunrise /var/lib/layman/desktop-effects /var/lib/layman/lisp /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi aim alsa amd64 apache2 audiofile avahi bash-completion bcmath berkdb bidi bittorrent blas bluetooth bzip2 cairo calendar caps ccache cdaudio cdda cddb cdparanoia cdr cjk cleartype cli clisp consolekit cracklib crypt cscope css ctype cups curl curlwrappers cxx dbus dbx dga dhcpcd directfb djvu dri dts dv dvd dvdr dvdread dvi eds emacs emacs-w3 encode enscript evo exif expat fam fastcgi fbcon ffmpeg fftw flac flash fontconfig foomaticdb fortran freetds ftp fuse gcl gconf gd gdbm ginac git glib glitz glut gnome gnome-keyring gnuplot gnutls gphoto2 gpm gps gs gsl gstreamer gtk gtkhtml gzip hdaps htmlhandbook httpd iconv icq icu idn ieee1394 imagemagick imap imlib immqt-bc innodb ipod ipv6 jabber java java5 java6 javascript jingle joystick jpeg jpeg2k kde kpathsea lame lapack laptop latex lcms libcaca libnotify lm_sensors lua lzo m17n-lib mad matroska mercurial mime mmx mmxext mng modplug modules mp3 mp4 mpeg mpi mplayer msn mtp mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses netboot networkmanager nis nls nntp nptl nptlonly nsplugin odbc ogg openal openexr opengl openmp osc oscar pae pam pch pcre pda pdf perl plasma plotutils png policykit posix postgres ppds pppd pulseaudio python qq qt3support qt4 quicktime readline recode rss rtmp ruby samba sasl scanner sdl semantic-desktop session simplexml slang sndfile sockets socks5 speex spell sql sqlite sqlite3 sse sse2 sse3 ssl subversion svg sysfs system-sqlite t1lib taglib tcl tcpd theora threads tidy tiff timidity tk truetype tta udev unicode upnp usb v4l v4l2 vala vcd vhosts vim-syntax vorbis wav wavepack webkit wicd wifi wlm wma wmf wmp wxwidgets wxwindows x264 x86emu xcb xcomposite xforms xft xine xinerama xml xorg xosd xsl xulrunner xv xvid yahoo zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja zh zh_CN zh_TW en_US en_GB" NETBEANS_MODULES="cnd php mobility websvccommon apisupport java ide harness nb dlight enterprise profiler" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18%*" USERLAND="GNU" VIDEO_CARDS="intel i915 vesa vga fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-11-14 15:50:44 UTC
What version are you using ? Could you try to provide us with a backtrace ?

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 Mathieu Z 2010-11-16 08:53:35 UTC
(In reply to comment #1)
> What version are you using ? Could you try to provide us with a backtrace ?
> 
> http://www.gentoo.org/proj/en/qa/backtraces.xml
> 

Installed versions:  2.30.2-r1(12:47:45 AM 11/16/2010)(libnotify pulseaudio -debug)

...working on backtrace
Comment 3 Mathieu Z 2010-11-16 09:07:05 UTC
Created attachment 254469 [details]
backtrace

enabling -ggdb for gnome-settings-daemon generated some backtrace. It doesn't exactly have a lot of information since there are no debugging symbols for gtk, glib etc, but it DOES show that the crash occurs during a call to some function in
/usr/lib64/gnome-settings-daemon-2.0/libpointing-device.so

This file belongs to gnome-extra/gpointing-device-settings. So I just un-emerged the package. And behold...no more crash!

So, while this resolves the problem, I am re-emerging gpointing-device-settings with debugging symbol and will post a new dump soon.
Comment 4 Mathieu Z 2010-11-16 09:12:13 UTC

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