media-sound/banshee-0.11.5 will crash every time when started. gives errors like the following: Unable to open the session message bus. System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null. Parameter name: address at NDesk.DBus.Bus.Open (System.String address) [0x00000] at NDesk.DBus.Bus.get_Session () [0x00000] --- End of inner exception stack trace --- at NDesk.DBus.Bus.get_Session () [0x00000] at NDesk.DBus.BusG.Init () [0x00000] at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Banshee.Base.Branding.get_ApplicationIconName () [0x00000] at Banshee.Base.IconThemeUtils.SetWindowIcon (Gtk.Window window) [0x00000] at Banshee.Gui.Dialogs.ExceptionDialog..ctor (System.Exception e) [0x00000] at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] at Banshee.BansheeEntry.Main (System.String[] args) [0x00000] Reproducible: Always Steps to Reproduce: 1. emerge hald, dbus, banshee 2. execute banshee 3. CRASH/BURN. Actual Results: dellbox ~ $ banshee Unable to open the session message bus. System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null. Parameter name: address at NDesk.DBus.Bus.Open (System.String address) [0x00000] at NDesk.DBus.Bus.get_Session () [0x00000] --- End of inner exception stack trace --- at NDesk.DBus.Bus.get_Session () [0x00000] at NDesk.DBus.BusG.Init () [0x00000] at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Banshee.Base.Branding.get_ApplicationIconName () [0x00000] at Banshee.Base.IconThemeUtils.SetWindowIcon (Gtk.Window window) [0x00000] at Banshee.Gui.Dialogs.ExceptionDialog..ctor (System.Exception e) [0x00000] at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] at Banshee.BansheeEntry.Main (System.String[] args) [0x00000] dellbox ~ $ Expected Results: I expect the banshee gui to start.. hal and dbus were started previous to running banshee sys-apps/hal-0.5.71-r3 sys-apps/dbus-1.0.2 and this is banshee 0.11.5
oops, the dbus was upgraded after the "actual results" part.. now what I get is the following.. dellbox ~ $ banshee libbanshee System.DllNotFoundException: libbanshee at (wrapper managed-to-native) Banshee.BansheeEntry:banshee_dbus_compat_thread_init () at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Banshee.Base.Branding.get_ApplicationIconName () [0x00000] at Banshee.Base.IconThemeUtils.SetWindowIcon (Gtk.Window window) [0x00000] at Banshee.Gui.Dialogs.ExceptionDialog..ctor (System.Exception e) [0x00000] at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] at Banshee.BansheeEntry.Main (System.String[] args) [0x00000] dellbox ~ $
did you revdep-rebuild everything ? See if hal is running.
ok, I revdep-rebuilt everything... and now I get.. dellbox src $ banshee Unable to open the session message bus. System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argum ent cannot be null. Parameter name: address at NDesk.DBus.Bus.Open (System.String address) [0x00000] at NDesk.DBus.Bus.get_Session () [0x00000] --- End of inner exception stack trace --- at NDesk.DBus.Bus.get_Session () [0x00000] at NDesk.DBus.BusG.Init () [0x00000] at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.St ring[] args) [0x00000] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Banshee.Base.Branding.get_ApplicationIconName () [0x00000] at Banshee.Base.IconThemeUtils.SetWindowIcon (Gtk.Window window) [0x00000] at Banshee.Gui.Dialogs.ExceptionDialog..ctor (System.Exception e) [0x00000] at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.St ring[] args) [0x00000] at Banshee.BansheeEntry.Main (System.String[] args) [0x00000] dellbox src $ pgrep -lf hal 27585 /usr/sbin/hald --use-syslog 27586 hald-runner 27592 /usr/libexec/hald-addon-acpi 27602 /usr/libexec/hald-addon-storage 27604 /usr/libexec/hald-addon-storage dellbox src $ pgrep -lf dbus 27507 /usr/bin/dbus-daemon --system dellbox src $
the problem seems to me that you aren't running hald. try: rc-update add hald default /etc/init.d/hal restart
ok, did that.. restarted banshee, dellbox ~ $ banshee Unable to open the session message bus. System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null. Parameter name: address at NDesk.DBus.Bus.Open (System.String address) [0x00000] at NDesk.DBus.Bus.get_Session () [0x00000] --- End of inner exception stack trace --- at NDesk.DBus.Bus.get_Session () [0x00000] at NDesk.DBus.BusG.Init () [0x00000] at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Banshee.Base.Branding.get_ApplicationIconName () [0x00000] at Banshee.Base.IconThemeUtils.SetWindowIcon (Gtk.Window window) [0x00000] at Banshee.Gui.Dialogs.ExceptionDialog..ctor (System.Exception e) [0x00000] at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] at Banshee.BansheeEntry.Main (System.String[] args) [0x00000] dellbox ~ $ restarted /etc/init.d/dbus, dellbox ~ # /etc/init.d/dbus restart * Stopping Hardware Abstraction Layer daemon ... [ ok ] * Stopping D-BUS system messagebus ... [ ok ] * Starting D-BUS system messagebus ... [ ok ] * Starting Hardware Abstraction Layer daemon ... [ ok ] dellbox ~ # and get the same thing when starting banshee.. :( dellbox ~ $ pgrep -lf hal 15673 /usr/sbin/hald --use-syslog 15674 hald-runner 15680 /usr/libexec/hald-addon-acpi 15690 /usr/libexec/hald-addon-storage 15692 /usr/libexec/hald-addon-storage dellbox ~ $ pgrep -lf dbus 15595 /usr/bin/dbus-daemon --system dellbox ~ $
emerge --info please
dellbox ~ # emerge --info Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.6 Last Sync: Fri, 02 Feb 2007 00:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.3.5, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 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="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/co nfig /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/sh are/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ ftp://mirror.datapipe.net/gentoo" MAKEOPTS="-j4" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dfx X a52 alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_card s_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_car ds_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_y mfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm _plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins _ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins _softvol apache2 apm arts avi berkdb bitmap-fonts cli cracklib crypt cups divx4linux dlloader dri dv dvd dvdread eds elibc_glibc emboss encode esd fo omaticdb fortran frame gdbm gif gnome gpm gstreamer gtk gtk2 iconv imlib input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog jpeg justify kd e kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ libwww live mad midi mikmod mjpeg mmx mmx2 mono motif mp3 mpeg ncurses nls nptl nptlon ly ogg opengl oss pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection rtsp sdl server session spell spl sse sse2 ssl subtitles tcp d truetype truetype-fonts type1-fonts udev userland_GNU video_cards_radeon vorbis win32codecs wxwindows xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
I'm also experiencing the same issue with other dbus related applications (in particular, Beryl's dbus backend). I merged the latest ~banshee to see if I would have the same issue, and, I am! emerge --info: fuzionlaptop alsa-driver # emerge --info Portage 2.1.2-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-suspend2-r1 i686) ================================================================= System uname: 2.6.18-suspend2-r1 i686 Intel(R) Pentium(R) M processor 1.86GHz Gentoo Base System release 1.12.6 Timestamp of tree: Sat, 03 Feb 2007 10:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.61 sys-devel/automake: 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="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -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/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman /usr/portage/local/layman/mpd /usr/portage/local/layman/xeffects" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X aac acpi alsa ao audiofile bash-completion berkdb bitmap-fonts branding cdr cli cracklib crypt cups dbus directfb dlloader dri dvd dvdr eds encode ffmpeg firefox flac fortran gdbm glitz gnome gpm gstreamer gtk hal icecast iconv ipv6 isdnlog jack jpeg largefile ldap libg++ libnotify logrotate mad midi mmx mono mozbranding mp3 mpeg msn musicbrainz ncurses network nls nowin nptl nptlonly ogg opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 rdesktop readline reflection samba sdl session skins spell spl sqlite sse sse2 ssl svg symlink tagwriting tcpd theora tiff transcode truetype truetype-fonts type1-fonts udev unicode vcd vorbis wifi win32codecs wxwindows x264 x86 xine xorg xvid zlib" ALSA_CARDS="intel8x0 usb-audio" 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="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS banshee: deejay@fuzionlaptop /lib/modules $ banshee Unable to open the session message bus. System.Exception: Unable to open the session message bus. ---> System.ArgumentNullException: Argument cannot be null. Parameter name: address at NDesk.DBus.Bus.Open (System.String address) [0x00000] at NDesk.DBus.Bus.get_Session () [0x00000] --- End of inner exception stack trace --- at NDesk.DBus.Bus.get_Session () [0x00000] at NDesk.DBus.BusG.Init () [0x00000] at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[]) at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at Banshee.Base.Branding.get_ApplicationIconName () [0x00000] at Banshee.Base.IconThemeUtils.SetWindowIcon (Gtk.Window window) [0x00000] at Banshee.Gui.Dialogs.ExceptionDialog..ctor (System.Exception e) [0x00000] at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] at Banshee.BansheeEntry.Main (System.String[] args) [0x00000]
This is a gnome-session issue. Temporary workaround (to start banshee): $ dbus-launch banshee or edit the way your session is being started, with startx (.xinitrc): eval `dbus-launch --sh-syntax --exit-with-session`
w00h00! that was the issue. It works fine now. Im not running gnome. Didnt realise banshee was a gnome-specific app. thanks for the help folks. -db