From xemacs-m  Wed Sep 10 05:13:47 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 FAA16859
	for <xemacs-beta@xemacs.org>; Wed, 10 Sep 1997 05:13:43 -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 MAA11168; Wed, 10 Sep 1997 12:13:19 +0200
Received: (vroonhof@localhost) by midget (SMI-8.6/D-MATH-client) id MAA18984; Wed, 10 Sep 1997 12:13:18 +0200
To: fjo@nada.kth.se (Fredrik =?ISO-8859-1?Q?J=F6nsson?=),
        xemacs-beta@xemacs.org
Cc: cvengel@hzsbg01.nl.lucent.com
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>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
From: Jan Vroonhof <vroonhof@math.ethz.ch>
Date: 10 Sep 1997 12:13:18 +0200
In-Reply-To: fjo@nada.kth.se's message of 10 Sep 1997 10:58:21 +0200
Message-ID: <byk9gp1npd.fsf@midget.math.ethz.ch>
Lines: 32
X-Mailer: Gnus v5.4.55/XEmacs 19.15

fjo@nada.kth.se (Fredrik Jnsson) writes:

> I've sent in a complete bug report. I'll just post the backtrace as well,
> if someone is interested.

This does look interesting.

> #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).

> #11 0x656c0 in shut_down_emacs (sig=13, stuff=1344552964) at emacs.c:1914

and it is shutting down. Hooray!

> #10 0xa13f8 in Fdo_auto_save (no_message=1344552984, current_only=1344552964)
>     at fileio.c:4306

This is seems ok...

> #9  0xef1d0 in check_quit () at signal.c:506

But we go down hill from here...

> #5  0xef369120 in XCheckIfEvent ()

It tries to  do X things....

So somehow we should prevent XEmacs from calling check_quit () when we
ARE quitting.

