From: Ulrich Mueller <ulm@gentoo.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: Chong Yidong <cyd@stupidchicken.com>,
Diego Petteno <flameeyes@gmail.com>,
emacs-devel@gnu.org
Subject: Re: Emacs daemon dies at Xorg crash
Date: Fri, 19 Dec 2008 18:27:03 +0100 [thread overview]
Message-ID: <18763.55655.852333.725237@a1ihome1.kph.uni-mainz.de> (raw)
In-Reply-To: <200812191700.mBJH02YT016405@mothra.ics.uci.edu>
>>>>> On Fri, 19 Dec 2008, Dan Nicolaescu wrote:
>> 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?
But it does that? The error occurs _after_ deleting these frames.
Or am I missing something here?
> Your backtrace seems to show that the problem happens because of
> Fmake_network_process...
I think that this is an unrelated problem. (In fact, I'd better set a
breakpoint in Fkill_emacs, and you wouldn't have seen that part of the
backtrace at all.)
Here are the relevant frames of the backtrace again:
#2 0x081f8844 in report_file_error (string=0x82e8afa "make client process failed", data=0x874d675) at fileio.c:277
#3 0x0829a4bd in Fmake_network_process (nargs=0xa, args=0x7f877cd0) at process.c:3632
[...]
#42 0x0824debd in Frun_hooks (nargs=0x1, args=0x7f8793f4) at eval.c:2591
[...]
#45 0x081c1a14 in Fkill_emacs (arg=0xfffffff8) at emacs.c:2087
#46 0x081c3219 in cmd_error_internal (data=0x874618d, context=0x7f87946e "") at keyboard.c:1274
Fkill_emacs is called because cmd_error_internal doesn't like to
output the error message ("Connection lost ...") to the initial frame.
Fmake_network_process is called later, while running kill-emacs-hook.
This is unrelated to the original error.
Ulrich
next prev parent reply other threads:[~2008-12-19 17:27 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1229454957.21129.0.camel@localhost>
2008-12-17 11:10 ` Emacs daemon dies at Xorg crash Ulrich Mueller
2008-12-17 11:37 ` dhruva
2008-12-17 16:03 ` Chong Yidong
2008-12-17 17:08 ` Dan Nicolaescu
2008-12-17 19:25 ` Ulrich Mueller
2008-12-17 22:51 ` Dan Nicolaescu
2008-12-18 12:03 ` Ulrich Mueller
2008-12-18 12:14 ` Ulrich Mueller
2008-12-18 19:14 ` Dan Nicolaescu
2008-12-18 22:03 ` Ulrich Mueller
2008-12-18 22:49 ` Dan Nicolaescu
2008-12-19 0:04 ` Ulrich Mueller
2008-12-19 0:46 ` Dan Nicolaescu
2008-12-19 8:00 ` Ulrich Mueller
2008-12-19 17:00 ` Dan Nicolaescu
2008-12-19 17:27 ` Ulrich Mueller [this message]
2008-12-19 17:47 ` Dan Nicolaescu
2008-12-19 13:56 ` Stefan Monnier
2008-12-19 16:45 ` Dan Nicolaescu
2008-12-20 18:35 ` Ulrich Mueller
2008-12-21 4:15 ` bug#1310: " Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18763.55655.852333.725237@a1ihome1.kph.uni-mainz.de \
--to=ulm@gentoo.org \
--cc=cyd@stupidchicken.com \
--cc=dann@ics.uci.edu \
--cc=emacs-devel@gnu.org \
--cc=flameeyes@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.