From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.devel Subject: Re: emacs crash Date: Wed, 03 Nov 2004 22:09:49 +0800 Message-ID: References: <4188AB08.2000206@freemail.hu> <4188B2DB.9050005@gnu.org> <68c73b1a04110303066eac8188@mail.gmail.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1099491016 8499 80.91.229.6 (3 Nov 2004 14:10:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Nov 2004 14:10:16 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 03 15:10:11 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CPLpz-00067X-00 for ; Wed, 03 Nov 2004 15:10:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPLy5-0006h8-DM for ged-emacs-devel@m.gmane.org; Wed, 03 Nov 2004 09:18:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPLxe-0006dZ-5D for emacs-devel@gnu.org; Wed, 03 Nov 2004 09:18:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPLxd-0006d2-85 for emacs-devel@gnu.org; Wed, 03 Nov 2004 09:18:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPLxd-0006co-2t for emacs-devel@gnu.org; Wed, 03 Nov 2004 09:18:05 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CPLpB-0007Zp-As for emacs-devel@gnu.org; Wed, 03 Nov 2004 09:09:21 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CPLp9-0001rI-00 for ; Wed, 03 Nov 2004 15:09:20 +0100 Original-Received: from 218.2.143.161 ([218.2.143.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Nov 2004 15:09:19 +0100 Original-Received: from chenggao by 218.2.143.161 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Nov 2004 15:09:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 42 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 218.2.143.161 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:g8jGKu7c00GzpMh+86JZxqD6AiQ= 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: main.gmane.org gmane.emacs.devel:29385 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29385 I think RMS' latest commit to eval.c caused this. ,---- | CVSROOT: /cvsroot/emacs | Module name: emacs | Branch: | Changes by: Richard M. Stallman 04/11/02 08:59:26 | | Modified files: | src : eval.c | | Log message: | (Fcall_interactive_p): New function. | (interactive_p): Don't test INTERACTIVE here. | (Finteractive_p): Doc fix. | | (Feval): Abort if INPUT_BLOCKED_P. | | CVSWeb URLs: | http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/eval.c.diff?tr1=1.221&tr2=1.222&r1=text&r2=text `---- I have a temp solution: open src/eval.c, go to line 1999, and change: if (handling_signal || INPUT_BLOCKED_P) to if (handling_signal) then rebuild Emacs. Maybe it's only a workaround, not a real solution. HTH, -- 花开花谢春不管,拂意事休对人言 水暖水寒鱼自知,会心处还期独赏