When I click Desktop->LogOut in Gnome, the logout does not happen, the upper panel freezes. The upper panel does not redraw, launchers on it don't respond when clicked. Any applets on the upper panel work fine. The rest of the system, including the lower panel and any open applications work fine. After several minutes the upper panel unlocks and the logout takes place, or the logout confirmation dialog comes up if configured to. While the upper applet is hung netstat -t gives: obelix@home ~ $ netstat -t Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 1 localhost:60854 localhost:16001 SYN_SENT obelix@home ~ $ lsof -i COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME gnome-pan 14107 obelix 27u IPv4 28613 TCP localhost:60854->localhost:16001 (SYN_SENT) This looks to me like a pending TCP connection attempt, by gnome-panel. Suppose I have configured Gnome to show a logout confirmation dialog. I click Desktop->LogOut, 5 minutes go by, the dialog comes up, I cancel the logout. The next time I click Desktop->LogOut the dialog comes up right away as it should. The panel hangs only the first time. I am able to reproduce this with both my main account and a plain new account created with useradd and copying /etc/skel as home directory. Reproducible: Always Steps to Reproduce: obelix@home ~ $ emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.12-gentoo-r2 i686) ================================================================= System uname: 2.6.12-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -momit-leaf-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -momit-leaf-frame-pointer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac acl acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl directfb doc dvd dvdr eds emboss encode flac foomaticdb gd gdbm gif gnome gpm gstreamer gtk gtk2 guile hal howl imagemagick imlib ipv6 ithreads java jpeg junit kde kdeenablefinal ldap libg++ libwww mad mikmod mmap mmx motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia ogg oggvorbis opengl pam pdflib perl pic plotutils png postgres pthreads python qt quicktime readline sdl session sharedmem spell sse sse2 ssl svga symlink tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs xml xml2 xmms xv zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
obelix@home ~ $ grep 16001 /usr/include/esd.h #define ESD_DEFAULT_PORT (16001) obelix@home ~ $ Seems gnome-panel is trying to connect to esd. In Desktop->Preferences->SoundPrefs. I have unchecked "Enable sound server startup". If I check it, the 5 minute freeze is happening on log-in, so I guess the freeze happens because of esd startup.
If I do /etc/init.d/esound start before trying to logout from gnome, the freeze does not happen. However on the next login I get a box saying: I've detected a panel already running, and will now exit.
The freeze appears to have been caused by a fwbuilder bug. I don't get the freeze with a firehol firewall or no firwall. I get the freeze with a fwbuilder firewall. However, the ---- I've detected a panel already running, and will now exit. ---- box is still appearing, even with a clean account.
Ok, since the freeze is no more and this was not even a Gnome bug, I will close the bug and open an other one for the ---- I've detected a panel already running, and will now exit. ---- box if I don't manage to solve it.