From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: SEGV in x_catch_errors_unwind (x86_64-unknown-linux-gnu) Date: Mon, 27 Feb 2006 03:58:57 -0500 Message-ID: References: <17403.34595.452779.27043@segfault.lan> <17408.2816.556166.916490@segfault.lan> <87zmkfv51z.fsf@stupidchicken.com> <87vev3v4bi.fsf@stupidchicken.com> <17408.38984.512531.681620@segfault.lan> <87accfxbiw.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1141154027 27780 80.91.229.2 (28 Feb 2006 19:13:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Feb 2006 19:13:47 +0000 (UTC) Cc: emacs-devel@gnu.org, jwe@bevo.che.wisc.edu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 28 20:13:43 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FEAI2-0005og-Pc for ged-emacs-devel@m.gmane.org; Tue, 28 Feb 2006 20:13:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FE0Oc-00006h-KJ for ged-emacs-devel@m.gmane.org; Tue, 28 Feb 2006 03:39:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FDeDz-00089w-4R for emacs-devel@gnu.org; Mon, 27 Feb 2006 03:59:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FDeDv-00089C-6w for emacs-devel@gnu.org; Mon, 27 Feb 2006 03:59:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FDeDt-00088S-MZ for emacs-devel@gnu.org; Mon, 27 Feb 2006 03:59:18 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FDeEV-0008Pe-T9 for emacs-devel@gnu.org; Mon, 27 Feb 2006 03:59:55 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FDeDZ-0001WK-LA; Mon, 27 Feb 2006 03:58:57 -0500 Original-To: Chong Yidong In-reply-to: <87accfxbiw.fsf@stupidchicken.com> (message from Chong Yidong on Sat, 25 Feb 2006 18:29:43 -0500) X-Mailman-Approved-At: Tue, 28 Feb 2006 00:24:28 -0500 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:51020 Archived-At: I just checked in some changes to make the x error handler avoid using record_unwind_protect. I am unable to make Emacs crash now -- can you confirm this? But if it does not use record_unwind_protect, how does it ensure that the x error handler gets turned off if an error happens? Have you checked every use of x_catch_errors to make sure that no Lisp errors can occur before the matching call to x_uncatch_errors?