my window manager is xmonad, see "steps to reproduce" for detail. related packages: app-editors/emacs-24.4-r1:24 USE="X Xaw3d acl alsa dbus gif gpm gtk3 inotify jpeg motif png svg tiff xft xpm zlib (-aqua) -athena -games -gconf -gfile -gnutls -gsettings -gtk -gzip-el -hesiod -imagemagick -kerberos -libxml2 -livecd -m17n-lib -pax_kernel (-selinux) -sound -source -toolkit-scroll-bars -wide-int" app-emacs/emacs-daemon-0.21 Reproducible: Always Steps to Reproduce: 1. login and start emacs by `emacsclient -c -a ""` 2. log out (as xmonad's default behavior of logging out is simply terminating itself without sending any EWMH messages) Actual Results: login using either X server or tty, and might find emacs taking one of the CPU core to full load, `emacsclient -c -a ""` shows "Waiting for Emacs..." and keep waiting forever.
Please post your `emerge --info app-editors/emacs' output in a comment.
Created attachment 393462 [details] emerge info
I'm unable to reproduce the problem, neither by logging out (xfce4 here, though) nor by killing the Emacs window with xkill. (In reply to Javran Cheng from comment #0) > app-editors/emacs-24.4-r1:24 USE="X Xaw3d acl alsa dbus gif gpm gtk3 > inotify jpeg motif png svg tiff xft xpm zlib (-aqua) -athena -games -gconf > -gfile -gnutls -gsettings -gtk -gzip-el -hesiod -imagemagick -kerberos > -libxml2 -livecd -m17n-lib -pax_kernel (-selinux) -sound -source > -toolkit-scroll-bars -wide-int" Does the bug still occur if you build emacs with USE="-motif" (and all other flags unchanged)?
(In reply to Ulrich Müller from comment #3) > I'm unable to reproduce the problem, neither by logging out (xfce4 here, > though) nor by killing the Emacs window with xkill. > > (In reply to Javran Cheng from comment #0) > > app-editors/emacs-24.4-r1:24 USE="X Xaw3d acl alsa dbus gif gpm gtk3 > > inotify jpeg motif png svg tiff xft xpm zlib (-aqua) -athena -games -gconf > > -gfile -gnutls -gsettings -gtk -gzip-el -hesiod -imagemagick -kerberos > > -libxml2 -livecd -m17n-lib -pax_kernel (-selinux) -sound -source > > -toolkit-scroll-bars -wide-int" > > Does the bug still occur if you build emacs with USE="-motif" (and all other > flags unchanged)? the bug still occurs with USE="-motif", I notice the bug only occurs when xmoand quits with emacs window opened - if I close emacs when quiting, the bug doesn't occur. Can you try to kill the xfce4 session? I think loging out xfce4 would send close message to emacs so it gets terminated properly.
I have xfce4 installed, can confirm that if you "pkill -9 xfce4-session" and relogin, the bug would occur.
I still cannot reproduce the problem. Setup here is: - emacs-24.1-r1, USE flags identical to yours - xfsession-4.11.0-r2, USE="nls upower xscreensaver -debug -systemd" - xfwm4-4.11.2, USE="dri startup-notification xcomposite -debug" - no ~/.emacs file - empty X resources ("xrdb </dev/null")
(In reply to Ulrich Müller from comment #6) > I still cannot reproduce the problem. Setup here is: > - emacs-24.1-r1, USE flags identical to yours > - xfsession-4.11.0-r2, USE="nls upower xscreensaver -debug -systemd" > - xfwm4-4.11.2, USE="dri startup-notification xcomposite -debug" > - no ~/.emacs file > - empty X resources ("xrdb </dev/null") weird, I'm using exactly the same version of packages & USE flags as yours. I tried several combinations, the problem persisted with and without customization (~/.emacs.d/). but after a reboot, suddenly the problem is gone. not sure if it has something to do with the -motif flag.
Not much I can do if I cannot reproduce the problem. Therefore closing the bug, for the time being. Feel free to reopen when you see the problem again.