From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#9310: BadWindow error with quail guidance frame Date: Tue, 23 Aug 2011 08:17:52 +0200 Message-ID: <4E534610.3070408@swipnet.se> References: <4E4B59B0.6060106@swipnet.se> <4E4BEEBA.2030906@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1314080326 17747 80.91.229.12 (23 Aug 2011 06:18:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2011 06:18:46 +0000 (UTC) Cc: 9310@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 23 08:18:41 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 1QvkJt-00051z-1o for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2011 08:18:41 +0200 Original-Received: from localhost ([::1]:32819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvkJs-00072s-HT for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2011 02:18:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvkJp-00071n-FU for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2011 02:18:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvkJo-0002kW-Cd for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2011 02:18:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvkJo-0002kQ-8Z for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2011 02:18:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QvkM9-0003BW-MJ; Tue, 23 Aug 2011 02:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jan D." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Aug 2011 06:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9310 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9310-submit@debbugs.gnu.org id=B9310.131408042612195 (code B ref 9310); Tue, 23 Aug 2011 06:21:01 +0000 Original-Received: (at 9310) by debbugs.gnu.org; 23 Aug 2011 06:20:26 +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 1QvkLa-0003Ae-Hm for submit@debbugs.gnu.org; Tue, 23 Aug 2011 02:20:26 -0400 Original-Received: from smtprelay-h21.telenor.se ([195.54.99.196]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QvkLY-0003AX-UH for 9310@debbugs.gnu.org; Tue, 23 Aug 2011 02:20:25 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h21.telenor.se (Postfix) with ESMTP id E1FAAD555 for <9310@debbugs.gnu.org>; Tue, 23 Aug 2011 08:17:57 +0200 (CEST) X-SENDER-IP: [85.225.45.26] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjNvAEJDU05V4S0aPGdsb2JhbABBiRGfEQsBAQEBHhkNJYFAAQEFOB4iARALIRYPCQMCAQIBGwwKFAYNAQcBAYdvtkuGSASYIotv X-IronPort-AV: E=Sophos;i="4.68,267,1312149600"; d="scan'208";a="213055682" Original-Received: from c-1a2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.26]) by ipb2.telenor.se with ESMTP; 23 Aug 2011 08:17:57 +0200 Original-Received: from [10.225.16.19] (unknown [193.45.43.33]) by coolsville.localdomain (Postfix) with ESMTPSA id 56CC17FA059; Tue, 23 Aug 2011 08:17:55 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 23 Aug 2011 02:21:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:50236 Archived-At: Stefan Monnier skrev 2011-08-23 04:23: >>>>> emacs -Q --eval "(setq default-frame-alist '((minibuffer . nil)))" --eval >>>>> (quail-define-package "Agda" "UTF-8" "A" t)' >>>>> C-u C-\ agda RET >>>>> M-% >>>>> and I get the appended backtrace. As the input method name explains, >>>>> I bump into this problem when I use Agda (i.e. pretty often these days). >>>> Is it possible that the frame switched to (0x8c793d8 at #13) is deleted? >>> AFAIK no frame is deleted in the above scenario, and the frame's >>> `terminal' field is not NULL (if that's what you were asking). >>> 0x8c793d8 is the minibuffer-only frame. >>> IIUC your question, you can't reproduce it on your end? >> No I can not. > > Can someone help me figure out how to debug this (my X11 programming is > part rusty part nonexistent)? > Basically set synchronized and break in the error function. Then go up the call stack to find the frame the window belongs to, or see if it is some uninitialized value. Jan D.