[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs daemon dies at Xorg crash
From: |
Dan Nicolaescu |
Subject: |
Re: Emacs daemon dies at Xorg crash |
Date: |
Fri, 19 Dec 2008 09:00:02 -0800 (PST) |
Ulrich Mueller <address@hidden> writes:
> >>>>> On Thu, 18 Dec 2008, Dan Nicolaescu wrote:
>
> >> >> > Can you try the patch at:
> >> >> > http://permalink.gmane.org/gmane.emacs.bugs/22201
> >> >>
> >> >> Tested and Emacs doesn't die anymore. I find the "Connection lost ..."
> >> >> message in the *Messages* buffer after reconnecting.
> >>
> >> > IMO that patch is good, but it fixes the effect in this case, not the
> >> > cause.
> >>
> >> Hm, could you please elaborate what you mean by "effect" and "cause"
> >> here?
>
> > Emacs dies because something tries to call message while no frame is
> > open. This is the "effect". The "cause" is whatever causes that
> > message to be written, it probably should not happen.
>
> But "X connection lost" is precisely what happens. What could Emacs do
> to prevent this, if there is suddenly no X server anymore?
Kill the frames on the display that was closed and continue running?
Your backtrace seems to show that the problem happens because of
Fmake_network_process...
> > And indeed, even for you, it happens only for some specific window
> > managers.
>
> Looks like IceWM sends a WM_DELETE_WINDOW message to the X clients
> before it exits, while Xfce4 doesn't do this.
>
> What happens if you kill -9 your X server? Does Emacs die?
I won't try kill -9 X because I've seen that lock the machine in the
past. But C-A-backspace does not kill emacs, and I doubt it gives the WM
a chance to send any message.
- Re: Emacs daemon dies at Xorg crash, (continued)
- Re: Emacs daemon dies at Xorg crash, Ulrich Mueller, 2008/12/17
- Re: Emacs daemon dies at Xorg crash, Dan Nicolaescu, 2008/12/17
- Re: Emacs daemon dies at Xorg crash, Ulrich Mueller, 2008/12/18
- Re: Emacs daemon dies at Xorg crash, Ulrich Mueller, 2008/12/18
- Re: Emacs daemon dies at Xorg crash, Dan Nicolaescu, 2008/12/18
- Re: Emacs daemon dies at Xorg crash, Ulrich Mueller, 2008/12/18
- Re: Emacs daemon dies at Xorg crash, Dan Nicolaescu, 2008/12/18
- Re: Emacs daemon dies at Xorg crash, Ulrich Mueller, 2008/12/18
- Re: Emacs daemon dies at Xorg crash, Dan Nicolaescu, 2008/12/18
- Re: Emacs daemon dies at Xorg crash, Ulrich Mueller, 2008/12/19
- Re: Emacs daemon dies at Xorg crash,
Dan Nicolaescu <=
- Re: Emacs daemon dies at Xorg crash, Ulrich Mueller, 2008/12/19
- Re: Emacs daemon dies at Xorg crash, Dan Nicolaescu, 2008/12/19
- Re: Emacs daemon dies at Xorg crash, Stefan Monnier, 2008/12/19
- Re: Emacs daemon dies at Xorg crash, Dan Nicolaescu, 2008/12/19
- Re: Emacs daemon dies at Xorg crash, Ulrich Mueller, 2008/12/20