From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: infloop when removing character Date: Sat, 16 Aug 2003 20:35:52 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1061080832 3333 80.91.224.253 (17 Aug 2003 00:40:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Aug 2003 00:40:32 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Aug 17 02:40:30 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19oBaw-0006ja-00 for ; Sun, 17 Aug 2003 02:40:30 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19oBcc-0000z7-01 for ; Sun, 17 Aug 2003 02:42:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19oBZ9-0002TU-Is for emacs-devel@quimby.gnus.org; Sat, 16 Aug 2003 20:38:39 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19oBZ4-0002RZ-RC for emacs-devel@gnu.org; Sat, 16 Aug 2003 20:38:34 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19oBYY-000278-3e for emacs-devel@gnu.org; Sat, 16 Aug 2003 20:38:33 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19oBYX-00026y-SS for emacs-devel@gnu.org; Sat, 16 Aug 2003 20:38:01 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 19oBWS-0000Kc-MJ; Sat, 16 Aug 2003 20:35:52 -0400 Original-To: Simon Josefsson In-reply-to: (message from Simon Josefsson on Fri, 15 Aug 2003 00:35:30 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15985 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15985 OK, it has happened again. I noticed some text in the echo area: Error in post-command hook: ... This suggests to me that maybe there is a loop where the code that handles an error gets another error. You can see if this is happening by putting a breakpoint at Fsignal, once you are in GDB after the loop has started. If it hits the breakpoint, please make C and Lisp backtraces, and try to figure out what's causing error handling to get an error. Here's another approach to try: 0x0810bcba in command_loop_2 () at keyboard.c:1292 1292 val = internal_condition_case (command_loop_1, Qerror, cmd_error); Value returned is $12 = 0 (gdb) finish Run till exit from #0 0x0810bcba in command_loop_2 () at keyboard.c:1292 Since the call to command_loop_2 did not exit, I suggest you get here again by calling `finish' repeatedly as before; then, once here, don't call `finish' but instead start stepping and figure out what happens after this point.