From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: C-g crash redux Date: Thu, 03 Aug 2006 09:17:35 +0200 Organization: orebokech dot com Message-ID: <87psfithio.fsf@pacem.orebokech.com> References: <877j1qvp4k.fsf@pacem.orebokech.com> <17617.8764.824445.882539@kahikatea.snap.net.nz> <87psfi4fon.fsf@stupidchicken.com> <17617.35905.981639.63129@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1154589841 1291 80.91.229.2 (3 Aug 2006 07:24:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Aug 2006 07:24:01 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 03 09:23:59 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 1G8XSV-0001Zz-Mz for ged-emacs-devel@m.gmane.org; Thu, 03 Aug 2006 09:17:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8XSU-0002XG-R5 for ged-emacs-devel@m.gmane.org; Thu, 03 Aug 2006 03:17:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G8XSG-0002W7-P7 for emacs-devel@gnu.org; Thu, 03 Aug 2006 03:17:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G8XSC-0002Uh-Hx for emacs-devel@gnu.org; Thu, 03 Aug 2006 03:17:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G8XSC-0002Ue-FH for emacs-devel@gnu.org; Thu, 03 Aug 2006 03:17:12 -0400 Original-Received: from [82.67.41.165] (helo=yeast.orebokech.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G8XVU-0007ru-2O for emacs-devel@gnu.org; Thu, 03 Aug 2006 03:20:36 -0400 Original-Received: from pacem.orebokech.com (pacem.orebokech.com [192.168.1.3]) by yeast.orebokech.com (Postfix) with ESMTP id 400D512CC1; Thu, 3 Aug 2006 09:17:11 +0200 (CEST) Original-Received: by pacem.orebokech.com (Postfix, from userid 1000) id 5DA12523F4; Thu, 3 Aug 2006 09:17:35 +0200 (CEST) Original-To: Nick Roberts X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM (Nick Roberts's message of "Thu, 3 Aug 2006 17:40:17 +1200") 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:58033 Archived-At: Nick Roberts writes: > In fact if BYTE_CODE_SAFE is defined, it appears Emacs will just > generate an error rather than crash. For those following along at home: | /* Binds and unbinds are supposed to be compiled balanced. */ | if (SPECPDL_INDEX () != count) | #ifdef BYTE_CODE_SAFE | error ("binding stack not balanced (serious byte compiler bug)"); | #else | abort (); | #endif I'm curious to know: if the error is recoverable, why abort? The BYTE_CODE_SAFE branch certainly seems to suggest that it is recoverable... -- Romain Francoise | The sea! the sea! the open it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the | ever free! --Bryan W. Procter