Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173423 - bonobo-activation-server does not shutdown at logout
Summary: bonobo-activation-server does not shutdown at logout
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 182489 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-05 02:27 UTC by Brian Beardall
Modified: 2008-05-28 13:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Beardall 2007-04-05 02:27:35 UTC
This is an interrelated but with evolution-data-server. When logging out of session evolution-data-server keeps running since it is detached from the session. However this prevents bonobo-activation-server from shutting down, but it still works when I log back in. The problem that occurs is that drivemount_applet no longer shows on the taskbar when I login again. This is fixed by killing evolution-data-server, which then bonobo-activation-server shuts down.If I logout, and login and try to add drivemount_applet it won't show either, but the applet does load into memory. The drivemount_applet just won't show on the taskbar after logging out, and logging back in.

Portage 2.1.2.3 (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 Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.9
Timestamp of tree: Wed, 04 Apr 2007 21:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
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.20-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -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/bind"
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/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
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/local/portage /usr/portage/local/layman/armagetron /usr/portage/local/layman/gnome-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx alsa amd64 apache2 asf beagle berkdb bitmap-fonts bonobo browserplugin bzip2 cairo cdr cli cracklib crypt cups curl dba dbus dri dts dv dvd dvdr dvdread eds encode esd evo exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimp glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imagemagick imap imlib ipv6 isdnlog java joystick jpeg kqemu lame lcms ldap libg++ libnotify libsamplerate mad mhash midi mng mono mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg openal opengl pam pcre pda pdf perl plotutils png ppds pppd python quicktime readline reflection samba scanner sdl session slang snmp spamassassin speex spell spl ssl svg tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis x264 xine xml xml2 xorg 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="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2007-04-05 05:44:26 UTC
Do you have any accounts configured in evolution?

Could you attach strace and/or gdb (using http://www.gentoo.org/proj/en/qa/backtraces.xml) to see if it's waiting for something or actively working on something?

Thanks
Comment 2 Brian Beardall 2007-04-05 14:27:53 UTC
#0  0x00002b81de8ff556 in poll () from /lib/libc.so.6
#1  0x00002b81de17a29e in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00002b81de17a736 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00002b81dd823f55 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#4  0x00000000004046bf in main (argc=3, argv=<value optimized out>) at server.c:
393
#0  0x00002b81de8ff556 in poll () from /lib/libc.so.6
#1  0x00002b81de17a29e in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00002b81de17a736 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00002b81dd823f55 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#4  0x00000000004046bf in main (argc=3, argv=<value optimized out>) at server.c:
393

This is what evolution-data-server-1.10 is doing when I am logged in, and the second is after I logged out. This problem only began occuring after I setup evolution with my email accounts. Before evolution was setup this did not occur.
Comment 3 Brian Beardall 2007-04-05 19:08:00 UTC
#0  0x00002b85a703351f in poll () from /lib/libc.so.6
#1  0x00002b85a6cf429e in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00002b85a6cf4736 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00002b85a63a0f55 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#4  0x00002b85a639f3c1 in bonobo_generic_factory_main_timeout ()
   from /usr/lib/libbonobo-2.so.0
#5  0x00002b85a4697104 in panel_applet_factory_main_closure ()
   from /usr/lib/libpanel-applet-2.so.0
#6  0x0000000000404a5b in main (argc=3, argv=<value optimized out>)
    at drivemount.c:211

This is the bt for drivemount_applet2. If I run strace on drivemount_applet2 it will show, but on this instance the applet didn't show on the panel since I started the applet normally, and attached to it in gdb.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2007-04-06 05:35:30 UTC
Could you rebuild glib too and rerun e-d-s in gdb? I'm 99% sure we're going to see a g_idle_event_* something but just to be sure :)

Thanks
Comment 5 Brian Beardall 2007-04-06 06:33:27 UTC
#0  0x00002b6e7a700556 in poll () from /lib/libc.so.6
#1  0x00002b6e79f7b29e in g_main_context_iterate (context=0x519ca0, block=1, dis
patch=1, self=<value optimized out>)
    at gmain.c:2979
#2  0x00002b6e79f7b736 in IA__g_main_loop_run (loop=0x53b680) at gmain.c:2881
#3  0x00002b6e79624f55 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#4  0x00000000004046bf in main (argc=3, argv=<value optimized out>) at server.c:
393
#0  0x00002b6e7a700556 in poll () from /lib/libc.so.6
#1  0x00002b6e79f7b29e in g_main_context_iterate (context=0x519ca0, block=1, dis
patch=1, self=<value optimized out>)
    at gmain.c:2979
#2  0x00002b6e79f7b736 in IA__g_main_loop_run (loop=0x53b680) at gmain.c:2881
#3  0x00002b6e79624f55 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#4  0x00000000004046bf in main (argc=3, argv=<value optimized out>) at server.c:
393

With glib recompiled. Same order as before.
Comment 6 Brian Beardall 2007-04-19 21:51:26 UTC
This bug also occurs with evolution-data-server-1.10
Comment 7 Brian Beardall 2007-04-19 21:52:26 UTC
This occurs with evolution-data-server-1.10.1 Sorry about the dup.
Comment 8 Alex Tarkovsky 2007-05-19 11:27:09 UTC
I'm having a similar problem with other panel applets. bluetooth-applet and gnome-power-manager refused to show in the panel even after a system reboot. I had to manually kill and re-launch them in each new Gnome session to get them to appear. As for the Tomboy applet, 4 out of 5 times gnome-panel would hang permanently when Tomboy was loading.

So I reinstalled the Bonobo libs and then the applets, and that fixed the problem with Tomboy and bluetooth-applet. Unfortunately it didn't fix gnome-power-manager, and that's quite annoying being that this is on my laptop.

Seems like there could be some misaligned versions somewhere. I'm using the Gnome 2.18 packages from package.mask BTW, and I don't use Evolution (it's not even configured).

Installed packages which may be relevant:

bluez-gnome-0.6
evolution-data-server-1.10.1-r2
gnome-applets-2.18.0-r1
gnome-panel-2.18.1
gnome-session-2.18.0
libbonobo-2.18.0
libbonoboui-2.18.0
tomboy-0.6.3

----------------

Portage 2.1.2.7 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21-suspend2-r3 x86_64)
=================================================================
System uname: 2.6.21-suspend2-r3 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 19 May 2007 09:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
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.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
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/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ 	http://mirror.datapipe.net/gentoo 	http://mirror.espri.arizona.edu/gentoo/ 	http://www.gtlib.gatech.edu/pub/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
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/local/overlays/layman/sunrise /usr/local/overlays/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X X509 a52 aac acl acpi alsa amd64 amr ao applet async autoipd automount avahi bash-completion berkdb bitmap-fonts bittorrent bluetooth bzip2 cairo cdda cddb cdr chroot cli cracklib crypt cups curl daap dbus device-mapper dia disk-partition djvu dri dts dv dvd dvdnav dvdr dvdread dvi eds encode esd evo exif fam fbsplash ffmpeg fftw flac fontconfig foomaticdb fortran fpx ftp gdbm gif gimp glitz gnome gnutls gphoto2 gs gsf gstreamer gtk gtkhtml hal hfs howl-compat hpn iconv ieee1394 imagemagick imlib inkjar ipod ipv6 isdnlog java javascript jce jpeg jpeg2k keyring lame lcms libg++ libnotify libsamplerate logrotate mad mailwrapper md5sum mdnsresponder-compat midi mmap mmx mng mono mozdevelop mp3 mp4 mpeg msn mudflap multislot musepack ncurses network nfs nls nntp no-old-linux nolvm1 nptl nptlonly nsplugin ogg opengl openmp oss pam pcmcia pcre pdf perl plotutils png postscript ppds pppd pulseaudio python quicktime readline reflection restrict-javascript rtsp samba scanner sdl server session smp sndfile socks5 spell spl sse sse2 ssl svg swat symlink syslog t1lib tcpd theora threads threadsafe thumbnailing tiff tordns truetype truetype-fonts tta type1-fonts unicode usb v4l v4l2 vcd vim vim-syntax vorbis wavpack webdav winbind wma wmf wxwindows x264 xcb xforms xine xml xorg xosd xpm xprint xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel 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" CAMERAS="canon spca50x" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-05-19 20:34:45 UTC
gnome-power-manager is a known issue with 2.18.x.  It's not an applet, it's a tray icon, so it doesn't use bonobo.  It's a gtk+ bug, already filed upstream.
Comment 10 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-05-19 20:37:18 UTC
And I should have mentioned:  the workaround for g-p-m is:

killall gnome-power-manager && gnome-power-manager

I have to do this every time I log in.  It's running, it's icon just doesn't show up in the tray.
Comment 11 Alex Tarkovsky 2007-05-20 03:10:35 UTC
(In reply to comment #10)
> And I should have mentioned:  the workaround for g-p-m is:
> 
> killall gnome-power-manager && gnome-power-manager

Yeah I've already been doing this as a workaround. Thanks for clearing up my confusion over g-p-m's non-applet status.

Anyhow, I'm still left wondering why the other two applets, Tomboy and bluetooth-applet, only started showing up in the panel after I rebuilt them, Bonobo, and gnome-panel (the latter I forgot to specify earlier).
Comment 12 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-05-20 16:20:15 UTC
Beats me.  They've worked for me all along.  Possibly a dependency library mismatch?  Try a revdep-rebuild -p and see if anything suspicious shows up as causing a rebuild.
Comment 13 Alex Tarkovsky 2007-05-20 23:22:12 UTC
revdep-rebuild didn't reveal anything before or after I rebuilt Bonobo et. al., so I just made an educated guess about which ebuilds might be involved and I got lucky.
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-11-21 18:21:50 UTC
*** Bug 182489 has been marked as a duplicate of this bug. ***
Comment 15 Steve Arnold archtester gentoo-dev 2008-03-15 18:27:45 UTC
The original problem (ie, drivemount_applet doesn't show in the panel on the second login) is still happening for me with the following versions:

gnome 2.20.3
gnome-applets 2.20.1
gnome-panel 2.20.3
libbonobo 2.20.4

The symptoms are as reported above; the applet seems to load into memory just fine, and killing it and restarting it does *not* make it appear on the panel.  It always appears in the panel on the first login after a fresh boot in the morning, but never on any subsequent logins (even after my wife logs in/out using a non-Gnome session).

Any tips on a workaround for this?
Comment 16 Steve Arnold archtester gentoo-dev 2008-03-15 18:45:49 UTC
Doh!  I don't know I didn't think of this a few minutes ago (maybe I thought it was already enabled) but the workaround for gdm seems to be to enable the "always restart X server" option.  I swear I remember that option being in the login manager config GUI, but just now I couldn't find it (although it's still in the factory-gdm.conf file).

I just manually added the following to the [daemon] section of my custom.conf:

AlwaysRestartServer=true

and when I looged back in, the drivemount_applet appeared as it should in the panel.  Yay...

Since the above is not the default, I'm not sure if there's anything else that expects something in the environment to be preserved across logouts/logins; ie, I haven't seen anything else break yet, but one never knows...
Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2008-05-28 06:29:27 UTC
(In reply to comment #16)
> I just manually added the following to the [daemon] section of my custom.conf:
> 
> AlwaysRestartServer=true

@Brian, does editing your gdm.conf like Steve did help?

Thanks
Comment 18 Brian Beardall 2008-05-28 13:06:54 UTC
The default sis for the X server to restart since gnome 2.20. The bug is fixed in gnome 2.22 so I'm not experiencing it. This is actually an upstream bug that was worked on for a long time.