From xemacs-m  Thu Sep 11 03:08:07 1997
Received: from frege.math.ethz.ch (root@frege-d-math-north-g-west.math.ethz.ch [129.132.145.3])
	by xemacs.org (8.8.5/8.8.5) with SMTP id DAA06303
	for <xemacs-beta@xemacs.org>; Thu, 11 Sep 1997 03:08:04 -0500 (CDT)
Received: from midget (vroonhof@midget [129.132.145.4]) by frege.math.ethz.ch (8.6.12/Main-STAT-mailer) with ESMTP id KAA23862 for <xemacs-beta@xemacs.org>; Thu, 11 Sep 1997 10:08:00 +0200
Received: (vroonhof@localhost) by midget (SMI-8.6/D-MATH-client) id KAA22721; Thu, 11 Sep 1997 10:08:00 +0200
To: xemacs-beta@xemacs.org
Subject: Re: xemacs not dying on logout
References: <b9u4t7wuvlm.fsf@fjo.nada.kth.se> <5v5f2u$h9u@ssbunews.ih.lucent.com> <b9usovdk0k2.fsf@fjo.nada.kth.se> <byk9gp1npd.fsf@midget.math.ethz.ch> <m2n2llw26j.fsf@altair.xemacs.org>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Date: 11 Sep 1997 10:08:00 +0200
In-Reply-To: SL Baur's message of 10 Sep 1997 09:42:28 -0700
Message-ID: <by3encmfxb.fsf@midget.math.ethz.ch>
Lines: 32
X-Mailer: Gnus v5.4.55/XEmacs 19.15

SL Baur <steve@xemacs.org> writes:

> Presumably this is from a thread in comp.emacs.xemacs.

Partly, yes. Note that this bug apperently also occurs in 19.15, so it
seems like a patch is needed for 19.16 not only in the beta.

> >> #13 <signal handler called>
> >> #12 0x63c64 in fatal_error_signal (sig=13) at emacs.c:195
> 
> > So XEmacs DOES get the signal but in the "wrong" signal handler (the
> > XIO version is much cleaner).

Note that this should fixed if we want to get red of the SIGPIPE kills
XEmacs problem.

> > So somehow we should prevent XEmacs from calling check_quit () when we
> > ARE quitting.
> 
> Something like that, yes.

May be it is sufficient to put

dont_check_for_quit=1;

at the top of 'fatal_error_signal'. To me it seems like it cannot hurt
much.

But really shouldn't a program get another SIGPIPE when it tries to
talk to the X server again?

Jan

