From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9087: Crash reading from minibuffer with icomplete-mode Date: Fri, 15 Jul 2011 18:24:03 +0300 Message-ID: <83tyanh8j0.fsf@gnu.org> References: <83zkkfhk4c.fsf@gnu.org> <83wrfjhgml.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1310747534 28178 80.91.229.12 (15 Jul 2011 16:32:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2011 16:32:14 +0000 (UTC) Cc: 9087@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 15 18:32:10 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhlJC-00063W-0G for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 18:32:10 +0200 Original-Received: from localhost ([::1]:58441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhlJA-0005Qv-Ub for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jul 2011 12:32:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhkEK-0001p2-9w for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 11:23:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhkEI-0007iq-PJ for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 11:23:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhkEI-0007im-Hi for bug-gnu-emacs@gnu.org; Fri, 15 Jul 2011 11:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhkEH-00055P-SN; Fri, 15 Jul 2011 11:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2011 15:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9087 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9087-submit@debbugs.gnu.org id=B9087.131074334119495 (code B ref 9087); Fri, 15 Jul 2011 15:23:01 +0000 Original-Received: (at 9087) by debbugs.gnu.org; 15 Jul 2011 15:22:21 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhkDc-00054O-Nl for submit@debbugs.gnu.org; Fri, 15 Jul 2011 11:22:20 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhkDa-00054B-0l for 9087@debbugs.gnu.org; Fri, 15 Jul 2011 11:22:18 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LOD00E00RWTC200@a-mtaout22.012.net.il> for 9087@debbugs.gnu.org; Fri, 15 Jul 2011 18:21:56 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.219.136]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LOD00E95S0J6K90@a-mtaout22.012.net.il>; Fri, 15 Jul 2011 18:21:56 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 15 Jul 2011 11:23:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49172 Archived-At: > From: Juanma Barranquero > Date: Fri, 15 Jul 2011 17:12:41 +0200 > Cc: 9087@debbugs.gnu.org >=20 > On Fri, Jul 15, 2011 at 14:29, Eli Zaretskii wrote: >=20 > > Could you perhaps repeat the recipe after setting a watchpoint on= the > > variable interrupt_input_blocked, with commands like this: > > > > =C2=A0p interrupt_input_blocked > > =C2=A0bt 5 > > =C2=A0continue >=20 > I'm sorry, I think you'll have to downgrade your expectations about= my > GDB-foo and explain things more slowly and with easy words ;-) Compliance! whatever> gdb ./oo/i386/emacs.exe (gdb) watch interrupt_input_blocked (gdb) commands >p interrupt_input_blocked >bt 5 >continue >end (gdb) run .... Now each time interrupt_input_blocked will change its value, GDB will kick in, perform the named "commands", and let Emacs continue. Do whatever you need to reproduce the crash, then look at what GDB printed, and see if the increments/decrements of this variable come i= n pairs, as they should, or not. Note that they could be nested, so just 2 increments in a row are okay if there are 2 decrements in a ro= w after that. See the definitions of BLOCK_INPUT and UNBLOCK_INPUT, for more insight.