bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18375: 24.4.50; Emacs hangs X session manager logout in certain case


From: Christoph Ruegge
Subject: bug#18375: 24.4.50; Emacs hangs X session manager logout in certain cases
Date: Mon, 1 Sep 2014 13:40:55 +0200

> I don't know precisely why this causes the
> bug, since the SM connection is supposed to be shut down in
> x_delete_display(), but I am pretty sure that the bug happens if and
> only if the first terminal has been closed.

Adding to this, I think the reason is that the call to x_session_close() in
x_delete_display() deletes the connection's FD, but does not actually tell the
SM to close. Adding a call to SmcCloseConnection() to x_session_close()
solves the hanging behaviour for me, but of course retains the weird behaviour
of Emacs not shutting down if the first terminal was closed.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]