Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162042 - mono applications (f-spot, banshee) won't start with dbus
Summary: mono applications (f-spot, banshee) won't start with dbus
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-14 13:34 UTC by Christoph Peltz
Modified: 2007-01-14 23:08 UTC (History)
0 users

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


Attachments
f-spot stack trace (f-spot.strace,62.12 KB, text/plain)
2007-01-14 13:38 UTC, Christoph Peltz
Details
banshee stack trace (banshee.strace,115.59 KB, text/plain)
2007-01-14 13:38 UTC, Christoph Peltz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Peltz 2007-01-14 13:34:18 UTC
f-spot and banshee won't even start due to some Problem with dbus I presume, because they cannot open /var/run/system_bus_socket .




Reproducible: Always

Steps to Reproduce:
1.emerge f-spot or banshee
2.start f-spot or banshee
3.




portage 2.1.2_rc4-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r4 x86_64 Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
Gentoo Base System version 1.12.8
Timestamp of tree: Sat, 13 Jan 2007 12:00:03 +0000
dev-java/java-config: 1.3.7, 2.0.31-r1
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en_GB"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib alsa amd64 bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdinstall cdparanoia cdr colordiff cracklib crypt cscope cups dbus depth32 devil dlloader dmi dri dts dvd dvdr dvdread dvi ecc encode escreen esd exif fam ffmpeg firefox flac fortran ftp gdbm ggi gif glibc-compat20 glitz glut gnome gnutls gpm graphviz gs gstreamer gtk gtk2 hal iconv icq idn image imagemagick imap imlib ipv6 jabber jack jpeg jpeg2k libg++ lm_sensors lzo lzw mad matroska mime mixer mjpeg mmap mng mozbranding moznocompose moznoirc moznomail moznoroaming mozsvg mp3 mp4live mpeg mpeg2 mplayer nautilus ncurses nfs nls nptl nptlonly offensive ogg openal opengl openssl oscar pam pcre pdf perl player png ppds pppd python quicktime readline realmedia recode reflection ruby samba sdl session slang snmp sockets socks5 spell spl srt ssl svg sysfs syslog tcpd tetex tga theora threads thunderbird tiff tk transcode truetype truetype-fonts type1-fonts udev unicode vcd vim-syntax vorbis wmp wxwindows xine xml xorg xosd xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="mouse keyboard" KERNEL="linux" LINGUAS="de en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

f-spot:
Unhandled Exception: System.IO.FileNotFoundException: Datei oder Verzeichnis nicht gefunden ---> Mono.Unix.UnixIOException: Datei oder Verzeichnis nicht gefunden [ENOENT].
  at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () [0x00000] 
  at Mono.Unix.UnixMarshal.ThrowExceptionForLastErrorIf (Int32 retval) [0x00000] 
  at NDesk.DBus.Transports.UnixSocket.Connect (System.Byte[] remote_end) [0x00000] 
  at NDesk.DBus.Transports.UnixNativeTransport.OpenUnix (System.String path) [0x00000] 
  at NDesk.DBus.Transports.UnixNativeTransport..ctor (System.String path, Boolean abstract) [0x00000] 
  at NDesk.DBus.Connection.Open (System.String path, Boolean abstr) [0x00000] 
  at NDesk.DBus.Connection.OpenPrivate (System.String address) [0x00000] 
  at NDesk.DBus.Connection..ctor (System.String address) [0x00000] 
  at NDesk.DBus.Bus..ctor (System.String address) [0x00000] 
  at NDesk.DBus.Bus.Open (System.String address) [0x00000] 
  at NDesk.DBus.Bus.get_System () [0x00000] 
  at NDesk.DBus.BusG.Init () [0x00000] 
  at FSpot.Driver.Main (System.String[] args) [0x00000] 

banshee:
Datei oder Verzeichnis nicht gefunden
System.IO.FileNotFoundException: Datei oder Verzeichnis nicht gefunden ---> Mono.Unix.UnixIOException: Datei oder Verzeichnis nicht gefunden [ENOENT].
  at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () [0x00000] 
  at Mono.Unix.UnixMarshal.ThrowExceptionForLastErrorIf (Int32 retval) [0x00000] 
  at NDesk.DBus.Transports.UnixSocket.Connect (System.Byte[] remote_end) [0x00000] 
  at NDesk.DBus.Transports.UnixNativeTransport.OpenUnix (System.String path) [0x00000] 
  at NDesk.DBus.Transports.UnixNativeTransport..ctor (System.String path, Boolean abstract) [0x00000] 
  at NDesk.DBus.Connection.Open (System.String path, Boolean abstr) [0x00000] 
  at NDesk.DBus.Connection.OpenPrivate (System.String address) [0x00000] 
  at NDesk.DBus.Connection..ctor (System.String address) [0x00000] 
  at NDesk.DBus.Bus..ctor (System.String address) [0x00000] 
  at NDesk.DBus.Bus.Open (System.String address) [0x00000] 
  at NDesk.DBus.Bus.get_System () [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]

In both strace's I found this line:
connect(16, {sa_family=AF_FILE, path="/var/run/dbus/system_bus_socket"}, 34) = -1 ENOENT (No such file or directory)

f-spot exits then and banshee exits a little bit later after a NullReference that maybe depends on the first problem.
Comment 1 Christoph Peltz 2007-01-14 13:38:28 UTC
Created attachment 106930 [details]
f-spot stack trace
Comment 2 Christoph Peltz 2007-01-14 13:38:57 UTC
Created attachment 106933 [details]
banshee stack trace
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-14 13:49:19 UTC
Please set your locales to C when reporting bugs...

You need to have a dbus session running, see 
http://bugs.gentoo.org/show_bug.cgi?id=138101#c7
Comment 4 Christoph Peltz 2007-01-14 14:37:18 UTC
I am sorry for the LC_ALL="C" failure. I've tried it again, but it isn't working and the dbus-session is there and working.
Question: Should there be any files inside /var/run/dbus ? Because I have none, only the directory.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-01-14 15:08:13 UTC
(In reply to comment #4)
> Question: Should there be any files inside /var/run/dbus ? Because I have none,
> only the directory.

Sure... the socket; i.e., you still have no running dbus session...
 
# ls -l /var/run/dbus
total 0
srwxrwxrwx 1 root root 0 2007-01-10 15:16 system_bus_socket
Comment 6 Christoph Peltz 2007-01-14 15:41:39 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Question: Should there be any files inside /var/run/dbus ? Because I have none,
> > only the directory.
> 
> Sure... the socket; i.e., you still have no running dbus session...
> 

I start gnome with gdm and everytime it creates a dbus-launch and dbus-daemon and I also tried to kill the notification-daemon and then send something via notify-send and it worked. As I understand it from the other Bug you pointed me to, that should only work if the dbus-session is okay.



Comment 7 Christoph Peltz 2007-01-14 23:05:38 UTC
I am very sorry ... my local dbus was okay but I forgot to start /etc/init.d/dbus *slaps himself with a large paddle*. Thanks for being patient with me.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-01-14 23:08:12 UTC
:=) OK, thanks for reporting back...