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

Bug 292587

Summary: media-sound/rhythmbox-0.12.5-r2 fails to start for ordinary users
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: VERIFIED NEEDINFO    
Severity: normal CC: gstreamer
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Juergen Rose 2009-11-09 21:31:53 UTC
If I try to start rhythmbox as ordinary user, it fails with:
rose@condor:/home/rose(29)$ rhythmbox
process 29205: type array 97 not a basic type
  D-Bus not built with -rdynamic so unable to print a backtrace

If I emerge dbus with the debug USE flag rhythmbox fails with:
rose@condor:/home/rose(36)$ rhythmbox
30740: assertion failed "dbus_type_is_basic (type)" file "/var/tmp/portage/sys-apps/dbus-1.3.0-r1/work/dbus-1.3.0/dbus/dbus-marshal-basic.c" line 513 function _dbus_marshal_read_basic
  /usr/lib/libdbus-1.so.3(+0x40286) [0x7f02f5d78286]
  /usr/lib/libdbus-1.so.3(+0x3f849) [0x7f02f5d77849]
  /usr/lib/libdbus-1.so.3(+0x35bf2) [0x7f02f5d6dbf2]
  /usr/lib/libdbus-1.so.3(+0x376c2) [0x7f02f5d6f6c2]
  /usr/lib/libdbus-1.so.3(dbus_message_iter_get_basic+0x7e) [0x7f02f5d5c3be]
  /usr/lib64/gio/modules/libgioremote-volume-monitor.so(+0x675d) [0x7f02eef8775d]
  /usr/lib64/gio/modules/libgioremote-volume-monitor.so(+0xb9d8) [0x7f02eef8c9d8]
  /usr/lib64/gio/modules/libgioremote-volume-monitor.so(+0xcd2d) [0x7f02eef8dd2d]
  /usr/lib/libgobject-2.0.so.0(g_object_newv+0x810) [0x7f02f56e3ce1]
  /usr/lib/libgobject-2.0.so.0(g_object_new_valist+0x355) [0x7f02f56e42ff]
  /usr/lib/libgobject-2.0.so.0(g_object_new+0xc7) [0x7f02f56e4442]
  /usr/lib/libgio-2.0.so.0(g_volume_monitor_get+0x78) [0x7f02f74f3f3d]
  /usr/lib/librhythmbox-core.so.0(rhythmdb_init_monitoring+0x79) [0x7f02ff5f558b]
  /usr/lib/librhythmbox-core.so.0(+0x9b04d) [0x7f02ff5f304d]
  /usr/lib/libgobject-2.0.so.0(g_type_create_instance+0xe4) [0x7f02f56fad7c]
  /usr/lib/libgobject-2.0.so.0(+0x1182d) [0x7f02f56e282d]
  /usr/lib/libgobject-2.0.so.0(g_object_newv+0x1b3) [0x7f02f56e3684]
  /usr/lib/libgobject-2.0.so.0(g_object_new_valist+0x252) [0x7f02f56e41fc]
  /usr/lib/libgobject-2.0.so.0(g_object_new+0xc7) [0x7f02f56e4442]
  /usr/lib/librhythmbox-core.so.0(rhythmdb_tree_new+0x1f) [0x7f02ff5fe8a9]
  /usr/lib/librhythmbox-core.so.0(+0x49d3e) [0x7f02ff5a1d3e]
  /usr/lib/libgobject-2.0.so.0(g_object_newv+0x1b3) [0x7f02f56e3684]
  /usr/lib/libgobject-2.0.so.0(g_object_new_valist+0x252) [0x7f02f56e41fc]
  /usr/lib/libgobject-2.0.so.0(g_object_new+0xc7) [0x7f02f56e4442]
  /usr/lib/librhythmbox-core.so.0(rb_shell_new+0x71) [0x7f02ff59f103]
  rhythmbox(main+0x35e) [0x404373]
  /lib/libc.so.6(__libc_start_main+0xfd) [0x7f02f4ea7bbd]
  rhythmbox() [0x403e99]

As root I can start rhythmbox. Reemerging rhythmbox does not improve the issue.
I think that the ordinary user rose belongs to all relevant groups:
rose@condor:/home/rose(40)$ id
uid=1203(rose) gid=100(users) Gruppen=4(adm),6(disk),7(lp),10(wheel),14(uucp),18(audio),19(cdrom),27(video),35(games),60(mysql),100(users),250(portage),1001(haldaemon),1002(plugdev),1008(scanner),1027(vboxusers),1028(kvm),1029(qemu),1036(gsm),1041(tuntap)


Reproducible: Always




root@condor:/var/tmp/portage(119)# emerge --info
Portage 2.1.7.4 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r3-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 08 Nov 2009 08:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
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.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
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 /var/lib/hsqldb"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=nocona -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j1"
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="/usr/local/portage/layman/zugaina /usr/local/portage/layman/dotnet /usr/local/portage/layman/science /usr/local/portage/layman/lordvan /usr/local/portage/layman/java-overlay /usr/local/portage/layman/perl-experimental /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf aspell atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost branding bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dts dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fuse galago garmin gd gdal gdbm geolocation geos gif gimp gimpprint ginac glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http httpd hvm iconv icq icu id3 ide imagemagick imap innodb ipod ipv6 irda irmc ithreads jabber java java5 java6 jbig john jpeg jpeg2k kde kde4 kerberos kexi keyring kvm ladspa lame lapack latex lcms ldap libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo lzw mad maildir mailwrapper math matroska mikmod mmx mmxext mng mod modules mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric nvidia obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp pae pam pcre pda pdf perl pipechan plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio python qhull qt3support qt4 quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl server session slang slp smbclient smp sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg sysfs szip t1lib tcl tcpd tex theora threads thunar thunderbird tidy tiff tk tntc truetype unicode usb userlocales utempter v4l2 vorbis wav webdav webdav-serf webkit wmf wxwidgets x264 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" 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 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" DVB_CARDS="cx8800 cx88xx tda1004x tda10045 tda10046 saa713" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue gentoo-dev 2009-11-09 22:44:29 UTC
emerge -pv rhythmbox gvfs udev dbus please
Comment 2 Juergen Rose 2009-11-10 09:36:35 UTC
After the last 'emerge --sync;  emerge -uvDN world', I could again start rhythmbox as ordinary user rose, but I got a lot of warnings:

root@condor:/home/rose/(20)# rhythmbox

(rhythmbox:12554): Rhythmbox-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


(rhythmbox:12554): Rhythmbox-WARNING **: couldn't connect to session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(rhythmbox:12554): Rhythmbox-WARNING **: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
...
(rhythmbox:13549): Rhythmbox-WARNING **: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)

(rhythmbox:13549): GConf-WARNING **: Directory `/apps/rhythmbox' was not being monitored by GConfClient 0x19e0580

(rhythmbox:13549): Rhythmbox-WARNING **: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)

The result of 'emerge -pv rhythmbox gvfs udev dbus' is:
root@condor:/home/rose/Tarantel_hw_configuration(25)# emerge -pv rhythmbox gvfs udev dbus

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/dbus-1.3.0-r1  USE="X doc -debug (-selinux) -test" 0 kB
[ebuild   R   ] media-sound/rhythmbox-0.12.5-r2  USE="brasero cdr doc gnome-keyring hal ipod libnotify lirc mtp musicbrainz nsplugin python -daap -debug -test -udev" 0 kB
[ebuild   R   ] sys-fs/udev-146-r1  USE="devfs-compat extras (-selinux)" 0 kB
[ebuild   R   ] gnome-base/gvfs-1.4.1  USE="bash-completion bluetooth cdda doc fuse gnome gnome-keyring gphoto2 hal samba udev -archive -avahi -gdu" 0 kB

Total: 4 packages (4 reinstalls), Size of downloads: 0 kB
Comment 3 Gilles Dartiguelongue gentoo-dev 2009-11-12 11:09:20 UTC
There must be something wrong in either how you start your X session or how is your system setup. Those messages basically say you have no session dbus, no gconf and no gnome-session running.

Please tell us how your start your X session. Do you have a session dbus started (ps aux |egrep "dbus.*session") ?
Comment 4 Juergen Rose 2009-11-16 06:24:40 UTC
I start X via gdm. But at the affected computer, I login very seldom, maybe I am logged in for more than to weeks. I.e., maybe I had no fresh login after the gnome upgrade.
Comment 5 Gilles Dartiguelongue gentoo-dev 2010-01-21 00:00:48 UTC
if you upgraded to a new major version of gnome, it will most likely cause problems if you do not restart your session. Did you restart your system since then and if so how are things going now ?
Comment 6 Sunit Das 2010-03-23 17:12:58 UTC
I had this same error occur in gxine.

A gentoo forum post claims that it is related to gvfs protocol changes, and suggests killing gvfs processes (on my workstation, it was "gvfsd" and "gvfs-hal-volume-monitor").

This worked for me.  It also further justifies Gilles suggestion to restart the session;  doing so would certainly restart any gvfs-related daemons.

The forum post:

     http://forums.gentoo.org/viewtopic-t-801148-start-0.html
Comment 7 Gilles Dartiguelongue gentoo-dev 2010-12-30 13:16:33 UTC
Due to lack of updated information in the last 2 weeks, there is no way we can further help you solve this problem. Thanks for reporting anyway.