From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Core dumps in redisplay. Date: Sun, 27 Feb 2005 19:56:38 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1109531268 13999 80.91.229.2 (27 Feb 2005 19:07:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 27 Feb 2005 19:07:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 27 20:07:47 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5TlV-0004Tj-GJ for ged-emacs-devel@m.gmane.org; Sun, 27 Feb 2005 20:07:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5U3i-0002S8-9B for ged-emacs-devel@m.gmane.org; Sun, 27 Feb 2005 14:26:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5TzM-0007bp-6x for emacs-devel@gnu.org; Sun, 27 Feb 2005 14:22:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5Tz9-0007Vm-UT for emacs-devel@gnu.org; Sun, 27 Feb 2005 14:21:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5Tz5-0007NN-Ph for emacs-devel@gnu.org; Sun, 27 Feb 2005 14:21:46 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D5Tau-00039m-4d for emacs-devel@gnu.org; Sun, 27 Feb 2005 13:56:44 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1D5Tan-00047H-DG; Sun, 27 Feb 2005 13:56:37 -0500 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sun, 27 Feb 2005 08:43:07 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33876 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33876 Richard Stallman writes: > /* Unblock input if we enter with input blocked. This may happen if > redisplay traps e.g. during tool-bar update with input blocked. */ > while (INPUT_BLOCKED_P) > UNBLOCK_INPUT; > > return Fthrow (Qtop_level, Qnil); > } > > This approach of unblocking input appears completely useless to me, > since unwinding the stack includes restoration of > interrupt_input_blocked. > > Probably that code was needed in the past, > before unwind_to_catch did this. I will try deleting it. Also with regard to the other report you answered (where I was wrong): I might well be mistaken. I am just trying to get a hold of why Emacs keeps crashing on me. It appears, anyway, that something seriously elusive is going on here. I'll probably have to implement some kind of trace buffering for interrupt_input_block in order to get a hold of what is happening here. I already disassembled stuff because I thought the compiler might be at fault. Maybe I should also try without optimization. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum