From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Emacs should survive a lost X connection Date: Tue, 05 Feb 2008 15:49:49 -0800 Message-ID: <200802052349.m15NnxSu013983@sallyv1.ics.uci.edu> References: <20080205.155847.56398348.hanche@math.ntnu.no> <200802051957.m15Jv8r1019258@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202255501 30109 80.91.229.12 (5 Feb 2008 23:51:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Feb 2008 23:51:41 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Harald Hanche-Olsen To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 06 00:52:03 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JMXa0-0005ld-RO for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2008 00:51:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMXZY-0006KC-MC for ged-emacs-devel@m.gmane.org; Tue, 05 Feb 2008 18:51:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMXZU-0006Jn-Ud for emacs-devel@gnu.org; Tue, 05 Feb 2008 18:51:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMXZS-0006JZ-SM for emacs-devel@gnu.org; Tue, 05 Feb 2008 18:51:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMXZS-0006JW-Ms for emacs-devel@gnu.org; Tue, 05 Feb 2008 18:51:22 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMXZS-0002QF-ET for emacs-devel@gnu.org; Tue, 05 Feb 2008 18:51:22 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JMXZS-0008VB-3l for emacs-pretest-bug@gnu.org; Tue, 05 Feb 2008 18:51:22 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JMXZO-0002Pe-Qz for emacs-pretest-bug@gnu.org; Tue, 05 Feb 2008 18:51:21 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JMXZO-0002PN-An; Tue, 05 Feb 2008 18:51:18 -0500 X-ICS-MailScanner-Watermark: 1202860200.77235@zCjp+3yHi4zsD24L2O88nw Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m15NnxSu013983; Tue, 5 Feb 2008 15:49:59 -0800 (PST) In-Reply-To: <200802051957.m15Jv8r1019258@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 05 Feb 2008 11:57:03 -0800") Original-Lines: 28 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88316 gmane.emacs.pretest.bugs:20892 Archived-At: Dan Nicolaescu writes: > Harald Hanche-Olsen writes: > > > What I did: a deliberate test, not an accident - > > (and my apologies in the likely case that this is well known): > > > > I started emacs -nw, then ran M-x make-frame-on-display RET :0 RET. > > After the new frame popped up on display :0 (I did all this from an > > xterm not on that display), I logged out of display :0. > > Emacs aborted as a result. > > > This used to work, not sure when it broke... It broke because of this change: 2007-09-29 Richard Stallman * eval.c (internal_condition_case_2, internal_condition_case_1) (internal_condition_case): Reenable abort if x_catching_errors () to see if that really happens and why. Richard, now you have part of the answer: if the X11 connection is lost emacs crashes after your patch. It works fine after undoing the patch. (Undoing this patch also solves another issue discussed recently: emacs crashes after using xkill on an emacsclient frame).