From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#9087: Crash reading from minibuffer with icomplete-mode Date: Sat, 07 Jan 2012 17:27:45 +0100 Message-ID: <4F087281.6080800@gmx.at> References: <83zkkfhk4c.fsf@gnu.org> <871uwng399.fsf@stupidchicken.com> <87obunjg5w.wl%claudio.bley@gmail.com> <83vcovqeu2.fsf@gnu.org> <84ty4ef5ap.wl%claudio.bley@gmail.com> <83vcopno6r.fsf@gnu.org> <83lipkoo60.fsf@gnu.org> <4F071C36.9020401@gmx.at> <83aa60odt9.fsf@gnu.org> <4F074F3F.9030502@gmx.at> <8362goobf6.fsf@gnu.org> <831urco8rt.fsf@gnu.org> <837h13hq17.fsf@gnu.org> <4F081A6D.30508@gmx.at> <831urbhjmz.fsf@gnu.org> <4F0831DD.7050504@gmx.at> <83vcong0tx.fsf@gnu.org> <4F084F4B.8040700@gmx.at> <83lipjftix.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1325953752 12837 80.91.229.12 (7 Jan 2012 16:29:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2012 16:29:12 +0000 (UTC) Cc: claudio.bley@gmail.com, lekktu@gmail.com, 9087@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 07 17:29:07 2012 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 1RjZ8k-0002BI-4y for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Jan 2012 17:29:06 +0100 Original-Received: from localhost ([::1]:47338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjZ8j-0005Rf-MM for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Jan 2012 11:29:05 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjZ8f-0005ES-2O for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2012 11:29:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjZ8d-0004c2-Uf for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2012 11:29:01 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjZ8d-0004bw-Oc for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2012 11:28:59 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RjZ8g-0001qF-45 for bug-gnu-emacs@gnu.org; Sat, 07 Jan 2012 11:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Jan 2012 16:29:02 +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.13259536827006 (code B ref 9087); Sat, 07 Jan 2012 16:29:02 +0000 Original-Received: (at 9087) by debbugs.gnu.org; 7 Jan 2012 16:28:02 +0000 Original-Received: from localhost ([127.0.0.1]:49126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RjZ7g-0001oe-2C for submit@debbugs.gnu.org; Sat, 07 Jan 2012 11:28:02 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:42972) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1RjZ7d-0001oQ-Dq for 9087@debbugs.gnu.org; Sat, 07 Jan 2012 11:27:58 -0500 Original-Received: (qmail invoked by alias); 07 Jan 2012 16:27:48 -0000 Original-Received: from 62-47-58-16.adsl.highway.telekom.at (EHLO [62.47.58.16]) [62.47.58.16] by mail.gmx.net (mp072) with SMTP; 07 Jan 2012 17:27:48 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+K+lp5Mw+KppAtftjYC7qJZL+7X6CECu/q7Y2m5B dLTHAz7lAm9v8x In-Reply-To: <83lipjftix.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:55515 Archived-At: > This call to QUIT is the problem, because this code runs in a > different thread than the main Lisp thread, the one that set up the > setjmp point to which we longjmp when we throw to top level. So it > unwinds the wrong stack. Thanks. I'm beginning to understand. Is post_character_message the only potential source of this problem or are there others as well? > By contrast, C-g does not call signal_user_input to be called, see > above. So it avoids this fate. Naively asked: Could we avoid the problem if on normal input we did not call signal_user_input but did something similar to C-g handling? martin