From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: SEGV in x_catch_errors_unwind (x86_64-unknown-linux-gnu) Date: Sat, 25 Feb 2006 18:29:43 -0500 Message-ID: <87accfxbiw.fsf@stupidchicken.com> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140925579 30792 80.91.229.2 (26 Feb 2006 03:46:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Feb 2006 03:46:19 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 26 04:46:16 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 1FDCrQ-0001WO-2g for ged-emacs-devel@m.gmane.org; Sun, 26 Feb 2006 04:46:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FDCrQ-0007VO-9i for ged-emacs-devel@m.gmane.org; Sat, 25 Feb 2006 22:46:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FD8rN-0002fK-B2 for emacs-devel@gnu.org; Sat, 25 Feb 2006 18:29:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FD8rG-0002c8-5y for emacs-devel@gnu.org; Sat, 25 Feb 2006 18:29:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FD8rD-0002b5-Fl for emacs-devel@gnu.org; Sat, 25 Feb 2006 18:29:49 -0500 Original-Received: from [18.95.6.7] (helo=outgoing.mit.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FD8rY-0006kJ-5i; Sat, 25 Feb 2006 18:30:08 -0500 Original-Received: by outgoing.mit.edu (Postfix, from userid 1000) id A15A71E40A9; Sat, 25 Feb 2006 18:29:43 -0500 (EST) Original-To: "John W. Eaton" In-Reply-To: <17408.38984.512531.681620@segfault.lan> (John W. Eaton's message of "Sat, 25 Feb 2006 12:47:52 -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 Xref: news.gmane.org gmane.emacs.devel:50979 Archived-At: "John W. Eaton" writes: > | One solution is to somehow re-engineer the x error handler not to use > | record_unwind_protect. > > I think this might be the best bet. > > | The other is to block inputs at the point in > | unbind_to where specpdl_ptr is being modified, like this: > > This does not solve the problem for me. It seems to be harder to > generate the crash, but I am still hitting the x_error_message == 0 > segfault. 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? (Maybe this issue is related to the other problem, reported on emacs-devel recently, on nil becoming bound to "(#