From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#9087: Crash reading from minibuffer with icomplete-mode Date: Mon, 18 Jul 2011 13:53:47 +0200 Message-ID: References: <83zkkfhk4c.fsf@gnu.org> <83wrfjhgml.fsf@gnu.org> <83tyanh8j0.fsf@gnu.org> <83pql9mwne.fsf@gnu.org> <83tyak70mw.fsf@gnu.org> 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 1310990132 1578 80.91.229.12 (18 Jul 2011 11:55:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 11:55:32 +0000 (UTC) Cc: 9087@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 18 13:55:28 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 1QimQ1-0002cr-Tt for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 13:55:26 +0200 Original-Received: from localhost ([::1]:57118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QimQ0-00011y-9i for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 07:55:24 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QimPi-0000zP-OQ for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 07:55:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QimPe-0008Iu-Sc for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 07:55:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QimPe-0008Il-Mx for bug-gnu-emacs@gnu.org; Mon, 18 Jul 2011 07:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QimPd-000197-QO; Mon, 18 Jul 2011 07:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Jul 2011 11:55: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.13109900764373 (code B ref 9087); Mon, 18 Jul 2011 11:55:01 +0000 Original-Received: (at 9087) by debbugs.gnu.org; 18 Jul 2011 11:54:36 +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 1QimPC-00018U-LG for submit@debbugs.gnu.org; Mon, 18 Jul 2011 07:54:34 -0400 Original-Received: from mail-pz0-f41.google.com ([209.85.210.41]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QimPA-00018H-Ug for 9087@debbugs.gnu.org; Mon, 18 Jul 2011 07:54:33 -0400 Original-Received: by pzk4 with SMTP id 4so3691949pzk.0 for <9087@debbugs.gnu.org>; Mon, 18 Jul 2011 04:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=VbwKdYphTXxAgPR+bGbB4U5T/faM9zqXoyHcSZSPFjI=; b=mgprOtf21Mk5y4X6xRaRRX4oF8hSBwXjES7w/0TAMx3mIpaW9MRIcLvtJgDVjboq5E NVOPG0vmKWfB+rAOX0cwq/o5zFSQeBv8SkpKLb6J6LNGGgKoFEIKRjECnpxkK6KaqypO bff8T7FleX6LeI174t9Zbvm+YiK/7i0fySvA0= Original-Received: by 10.142.13.3 with SMTP id 3mr3114883wfm.239.1310990067130; Mon, 18 Jul 2011 04:54:27 -0700 (PDT) Original-Received: by 10.142.141.19 with HTTP; Mon, 18 Jul 2011 04:53:47 -0700 (PDT) In-Reply-To: <83tyak70mw.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 18 Jul 2011 07:55: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:49391 Archived-At: On Mon, Jul 18, 2011 at 05:01, Eli Zaretskii wrote: > It should have. =C2=A0But if the abort was not in UNBLOCK_INPUT, then I > don't understand the backtrace you posted: where else is the call to > `abort', if not inside UNBLOCK_INPUT? If you're talking about this crash: Breakpoint 1, w32_abort () at w32fns.c:7182 7182 button =3D MessageBox (NULL, (gdb) bt #0 w32_abort () at w32fns.c:7182 #1 0x0103a942 in xfree (block=3D0x32d4f80) at alloc.c:713 #2 0x01004b8d in pop_kboard () at keyboard.c:923 [etc] yes, it happens in UNBLOCK_INPUT, and at this moment I wasn't using watchpoints. But in this one Breakpoint 1, w32_abort () at w32fns.c:7182 7182 button =3D MessageBox (NULL, (gdb) bt #0 w32_abort () at w32fns.c:7182 #1 0x011d4c94 in Fframe_first_window (frame_or_window=3D56209413) at windo= w.c:249 #2 0x0110457b in choose_minibuf_frame () at minibuf.c:133 #3 0x011045e3 in choose_minibuf_frame_1 (ignore=3D53151770) at minibuf.c:1= 40 #4 0x01039a41 in unbind_to (count=3D27, value=3D53151770) at eval.c:3437 #5 0x010334d9 in unwind_to_catch (catch=3D0x88e450, value=3D53436670) at eval.c:1290 #6 0x0103403a in Fsignal (error_symbol=3D53209954, data=3D53151770) at eva= l.c:1748 #7 0x010340ed in xsignal (error_symbol=3D53209954, data=3D53151770) at eva= l.c:1769 #8 0x0103410c in xsignal0 (error_symbol=3D53209954) at eval.c:1778 #9 0x0126224e in text_read_only (propval=3D53151794) at textprop.c:92 #10 0x01269a74 in verify_interval_modification (buf=3D0x35b1800, start=3D1, end=3D114) at textprop.c:2157 #11 0x011121f3 in prepare_to_modify_buffer (start=3D1, end=3D114, preserve_ptr=3D0x7481f83c) at insdel.c:1851 #12 0x011117c1 in del_range_1 (from=3D1, to=3D114, prepare=3D1, ret_string=3D0) at insdel.c:1601 #13 0x0111174a in del_range (from=3D1, to=3D114) at insdel.c:1576 #14 0x010bfc20 in Ferase_buffer () at buffer.c:1950 #15 0x011064c8 in read_minibuf_unwind (data=3D53151770) at minibuf.c:864 #16 0x01039a41 in unbind_to (count=3D27, value=3D53151770) at eval.c:3437 #17 0x010334d9 in unwind_to_catch (catch=3D0x88d9f0, value=3D53151794) at eval.c:1290 #18 0x01033577 in Fthrow (tag=3D56259586, value=3D53151794) at eval.c:1328 #19 0x0122260d in signal_user_input () at w32fns.c:2482 #20 0x012226aa in post_character_message (hwnd=3D0x6c035c, msg=3D258, wParam=3D117, lParam=3D1441793, modifiers=3D0) at w32fns.c:2542 #21 0x012236eb in w32_wnd_proc (hwnd=3D0x6c035c, msg=3D258, wParam=3D117, lParam=3D1441793) at w32fns.c:2913 #22 0x767162fa in USER32!OffsetRect () from C:\Windows\syswow64\user32.dll #23 0x006c035c in ?? () #24 0x00000102 in ?? () #25 0x00000075 in ?? () #26 0x00160001 in ?? () #27 0x012226d3 in post_character_message (hwnd=3D0x12226d3, msg=3D7078748, wParam=3D258, lParam=3D117, modifiers=3D1441793) at w32fns.c:2546 #28 0x76716d3a in USER32!IsWindow () from C:\Windows\syswow64\user32.dll #29 0x012226d3 in post_character_message (hwnd=3D0x0, msg=3D19015379, wParam=3D7078748, lParam=3D258, modifiers=3D117) at w32fns.c:2546 #30 0x767177c4 in USER32!AnyPopup () from C:\Windows\syswow64\user32.dll #31 0x00000000 in ?? () where I did have the interrupt_input_blocked watchpoint set, how do you know that it was inside UNBLOCK_INPUT? =C2=A0 =C2=A0 Juanma