gnome-screensaver 2.18 breaks with error at start wonder denny # emerge -vp gnome-screensaver These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] gnome-extra/gnome-screensaver-2.18.0 USE="pam -debug* -doc -opengl -xinerama" 0 kB with debug-modus this error: wonder denny # gnome-screensaver process 14230: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3168. This is normally a bug in some application using the D-Bus library. /usr/lib/libdbus-1.so.3 [0x2b00bf78fc8c] /usr/lib/libdbus-1.so.3 [0x2b00bf78f319] /usr/lib/libdbus-1.so.3 [0x2b00bf785305] /usr/lib/libdbus-1.so.3(dbus_connection_send_with_reply_and_block+0x1c7) [0x2b00bf7674c7] gnome-screensaver [0x40f063] /usr/lib/libgobject-2.0.so.0(g_type_create_instance+0x560) [0x2b00bfb81530] /usr/lib/libgobject-2.0.so.0 [0x2b00bfb688dd] /usr/lib/libgobject-2.0.so.0(g_object_newv+0x23f) [0x2b00bfb66d3f] /usr/lib/libgobject-2.0.so.0(g_object_new_valist+0x21c) [0x2b00bfb6776c] /usr/lib/libgobject-2.0.so.0(g_object_new+0xa1) [0x2b00bfb679a1] gnome-screensaver(gs_listener_new+0x12) [0x40d262] gnome-screensaver [0x40aa87] /usr/lib/libgobject-2.0.so.0(g_type_create_instance+0x560) [0x2b00bfb81530] /usr/lib/libgobject-2.0.so.0 [0x2b00bfb688dd] /usr/lib/libgobject-2.0.so.0(g_object_newv+0x23f) [0x2b00bfb66d3f] /usr/lib/libgobject-2.0.so.0(g_object_new_valist+0x21c) [0x2b00bfb6776c] /usr/lib/libgobject-2.0.so.0(g_object_new+0xa1) [0x2b00bfb679a1] gnome-screensaver(gs_monitor_new+0x12) [0x40a132] gnome-screensaver(main+0xb5) [0x409f05] /lib/libc.so.6(__libc_start_main+0xf4) [0x2b00c103e374] gnome-screensaver [0x409db9] Abgebrochen wonder denny # emerge --info Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r4 x86_64) ================================================================= System uname: 2.6.20-gentoo-r4 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-56 Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 30 Mar 2007 12:20:01 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ " LANG="de_DE" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/myebuilds" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 apache2 berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd fam fortran gdbm gnome gpm gtk hal iconv imagemagick ipv6 isdnlog libg++ midi ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode userlocales xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always
I can confirm this. same Problem here gnome-screensaver process 5565: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3168. emerge --info Portage 2.1.2.3 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo i686) ================================================================= System uname: 2.6.20-gentoo i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.12.9 Timestamp of tree: Tue, 03 Apr 2007 08:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.gentoo.skynet.be/pub/gentoo/" LANG="de_DE.UTF-8" LINGUAS="de GER german en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/sunrise /usr/local/overlay /usr/local/portage /usr/local/xeffects/trunk /usr/local/xeffects/experimental /usr/local/gnome" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac alsa apache2 apic applet arts audacious audiofile avahi bash-completion berkdb bidi bitmap-fonts bzip2 cairo caps cdr chroot cli cmov cracklib crypt cups curl cx8 dbus de directfb dri dts dvd dvdr dvdread eds emboss encode esd expat extrafilters fam fat fbcon ffmpeg flac fortran fpu ftp fuse fxsr gaim gdbm gif gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk+ hal iconv ident imagemagick ipv6 isdnlog jack java jfs jpeg jpeg2k k3b ldap libg++ live mad mca mce midi mikmod mjpeg mmx mmxext mouse mp3 mp4 mpeg msr mtrr mzscheme nautilus ncurses netjack network nfs nls nptl nptlonly nsplugin ntpl nvidia objc objc++ ogg opengl openssl oss pae pam pat pcre pdf perl pge pic png portaudio ppds pppd print pse pse36 python qt3 qt4 quicktime readline reflection ruby samba screen sdl sep session sockets socks5 speex spell spl sse sse2 ssl symlink syscall tcl tcltk tcpd teamarena theora tiff tk truetype truetype-fonts tsc type1-fonts unicode usb userloclaes vme vorbis win32codecs wxwindows x86 xinerama xml xorg xprint xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de GER german en_US" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
It works fine here. Have you done a full 2.18 upgrade? Which verion of dbus do you have installed (and which version is running?) Have you rebooted since the last dbus upgrade?
This bug also occurs in gnome-screensaver 2.16.2 and dbus 1.0.2-r2: gnome-screensaver process 5902: arguments to dbus_connection_add_filter() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 4954. emerge --info Portage 2.1.2.2 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.3.6-r5, 2.6.20-gentoo-r6 i686) ================================================================= System uname: 2.6.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 13 May 2007 23:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acl acpi aiglx alsa amr apache2 arts berkdb bitmap-fonts browserplugin cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kerberos ldap libg++ mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev i128 i740 i810 nv tga v4l vesa vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
did you do a revdep-rebuild ? is dbus started (just in case) ? do you have a session-bus running (ps aux |grep dbus|grep session) ?
(In reply to comment #4) > did you do a revdep-rebuild ? > is dbus started (just in case) ? > > do you have a session-bus running (ps aux |grep dbus|grep session) ? > I get the following error with gnome-extra/gnome-screensaver-2.16.2 and sys-apps/dbus-1.0.2-r2: [malahal@malahal ~]$ /usr/bin/gnome-screensaver process 1225: arguments to dbus_connection_add_filter() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 4954. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace Aborted I did revdep-rebuild and rebooted the system. Here is the (ps aux |grep dbus|grep session) output: [malahal@malahal ~]$ ps aux |grep dbus|grep session malahal 6512 0.0 0.0 2632 644 ? S 14:23 0:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session malahal 6513 0.0 0.0 4220 1540 ? Ss 14:23 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session emerge --info: Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r2, 2.6.19-gentoo-r5 i686) ================================================================= System uname: 2.6.19-gentoo-r5 i686 Intel(R) Xeon(TM) CPU 3.60GHz Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 10 May 2007 21:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=nocona -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/avisynth /usr/local/portage" SYNC="rsync://twmlinux.raleigh.ibm.com/gentoo-portage" USE="X aac acl acpi alsa apache arts at3 avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dts dvd dvdr dvdread emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libg++ mad mbox midi mikmod mmx mmxext mp3 mpeg mysql ncurses nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline real reflection sdl server session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs wmp x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Does ~arch 2.16.3 or masked 2.18.1 work better? 2.16.3 passes a DBUS env var to its stripped down environment which might help for this
(In reply to comment #6) > Does ~arch 2.16.3 or masked 2.18.1 work better? > 2.16.3 passes a DBUS env var to its stripped down environment which might help > for this > I just emerged 2.16.3 and still get: $ gnome-screensaver process 8266: arguments to dbus_connection_add_filter() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 4954. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace Aborted
This is not really a bug and should likely be closed. gnome-screensaver does not porperly detect when dbus is not running and fails with this error. Gentoo users must ensure that they have run: rc-update add dbus default before gnome-screensaver will work. For it to work before you reboot the first time, you can manually start dbus with: /etc/init.d/dbus start Hope this solves the issue for everyone. It did for me.It would be nice if a patch were created for gnome-screensaver that provided better information like, "Unable to connect to Dbus daemon". Also, note that this actually affects all platforms, not just AMD64.
@Sean, gnome desktop expects a session and a system bus to be present. This is stated in the dbus ebuild also it is more implicit than explicit (concerning the system bus). elog "Somme applications require a session bus in addition to the system" elog "bus. Please see \`man dbus-launch\` for more information." @Denny, is this bug solved for you ?
get back to us please.
(In reply to comment #9) > @Sean, gnome desktop expects a session and a system bus to be present. This is > stated in the dbus ebuild also it is more implicit than explicit (concerning > the system bus). > elog "Somme applications require a session bus in addition to the system" > elog "bus. Please see \`man dbus-launch\` for more information." > I understand that perfectly, which is why I stated that it was not really a bug. But it is still bad programming practices for an application to crash violently, when a prerequisite is missing, instead of detecting that it is missing and printing an informative error message to the enduser. Such a messgae would likely avoid bugs like this being opened in the first place. I still believe that this would be a worthwhile enhancement request. Sean > @Denny, is this bug solved for you ? >