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: Sun, 26 Feb 2006 11:00:19 -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> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1140997005 22581 80.91.229.2 (26 Feb 2006 23:36:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Feb 2006 23:36:45 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org, jwe@bevo.che.wisc.edu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 27 00:36:44 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 1FDVRT-0001BO-GY for ged-emacs-devel@m.gmane.org; Mon, 27 Feb 2006 00:36:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FDVRZ-0007Dc-Mn for ged-emacs-devel@m.gmane.org; Sun, 26 Feb 2006 18:36:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FDOMr-0004NB-6M for emacs-devel@gnu.org; Sun, 26 Feb 2006 11:03:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FDOJx-0003pl-Bb for emacs-devel@gnu.org; Sun, 26 Feb 2006 11:03:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FDOJt-0003pT-TB for emacs-devel@gnu.org; Sun, 26 Feb 2006 11:00:26 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FDOKP-0000tf-D7 for emacs-devel@gnu.org; Sun, 26 Feb 2006 11:00:57 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FDOJn-00070g-3E; Sun, 26 Feb 2006 11:00:19 -0500 Original-To: "John W. Eaton" In-reply-to: <17408.38984.512531.681620@segfault.lan> (jwe@bevo.che.wisc.edu) 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:50999 Archived-At: Even surrounding the entire body of unbind_to with a BLOCK_INPUT/UNBLOCK_INPUT pair did not avoid the crash, though it took nearly 20 attempts to trigger it. There must be another place that is sensitive to a similar bug. Here's one: record_unwind_protect (function, arg) Lisp_Object (*function) P_ ((Lisp_Object)); Lisp_Object arg; { if (specpdl_ptr == specpdl + specpdl_size) grow_specpdl (); specpdl_ptr->func = function; specpdl_ptr->symbol = Qnil; specpdl_ptr->old_value = arg; specpdl_ptr++; I think specbind is another.