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: Wed, 17 Aug 2011 08:03:28 +0200 Message-ID: <4E4B59B0.6060106@swipnet.se> References: 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 1313561068 28905 80.91.229.12 (17 Aug 2011 06:04:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2011 06:04:28 +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 Wed Aug 17 08:04:18 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 1QtZEf-0001X9-LF for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Aug 2011 08:04:18 +0200 Original-Received: from localhost ([::1]:56410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtZEe-00031u-TK for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Aug 2011 02:04:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtZEb-0002td-9d for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2011 02:04:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtZEY-0000kN-DI for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2011 02:04:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtZEY-0000kI-BM for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2011 02:04:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QtZGL-0000pb-MR; Wed, 17 Aug 2011 02:06: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: Wed, 17 Aug 2011 06:06: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.13135611303156 (code B ref 9310); Wed, 17 Aug 2011 06:06:01 +0000 Original-Received: (at 9310) by debbugs.gnu.org; 17 Aug 2011 06:05:30 +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 1QtZFp-0000oq-DA for submit@debbugs.gnu.org; Wed, 17 Aug 2011 02:05:30 -0400 Original-Received: from smtprelay-b12.telenor.se ([62.127.194.21]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QtZFl-0000og-3V for 9310@debbugs.gnu.org; Wed, 17 Aug 2011 02:05:27 -0400 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 101B8C612 for <9310@debbugs.gnu.org>; Wed, 17 Aug 2011 08:03:31 +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: ApVvAA5ZS05V4S0aPGdsb2JhbABBiQ+fQQsBAQEBHhkNJYFAAQEEAScRHhMBDgEQCyEPBw8JAwIBAgEbDAoUBg0BBwEBGodSAroFg0eDAQSYH4tr X-IronPort-AV: E=Sophos;i="4.68,237,1312149600"; d="scan'208";a="1753544221" Original-Received: from c-1a2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.26]) by ipb4.telenor.se with ESMTP; 17 Aug 2011 08:03:31 +0200 Original-Received: from [10.225.16.246] (unknown [193.45.43.33]) by coolsville.localdomain (Postfix) with ESMTPSA id 658527FA059; Wed, 17 Aug 2011 08:03:30 +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: Wed, 17 Aug 2011 02:06: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:50099 Archived-At: Stefan Monnier skrev 2011-08-16 22:15: > 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? Jan D. > > Stefan > > > Breakpoint 6, x_error_quitter (display=0x88f9000, event=0xbfffbaf0) > at xterm.c:7882 > (gdb) bt > #0 x_error_quitter (display=0x88f9000, event=0xbfffbaf0) at xterm.c:7882 > #1 0x081b3ee9 in x_error_handler (display=0x88f9000, event=0xbfffbaf0) > at xterm.c:7861 > #2 0xb74940d3 in _XError () from /usr/lib/i386-linux-gnu/libX11.so.6 > #3 0xb7490d7d in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6 > #4 0xb7490dd7 in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6 > #5 0xb7491c90 in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6 > #6 0xb748d236 in XSync () from /usr/lib/i386-linux-gnu/libX11.so.6 > #7 0xb748d2d3 in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6 > #8 0xb746b0e3 in XSetWindowBorder () from /usr/lib/i386-linux-gnu/libX11.so.6 > #9 0x081aa3f2 in frame_highlight (f=0x8be6610) at xterm.c:3357 > #10 0x081aab15 in x_frame_rehighlight (dpyinfo=0x8937000) at xterm.c:3560 > #11 0x081aa9ad in XTframe_rehighlight (frame=0x8c793d8) at xterm.c:3532 > #12 0x080721bd in Fredirect_frame_focus (frame=..., focus_frame=...) > at frame.c:1970 > #13 0x0806b5a7 in do_switch_frame (frame=..., track=1, for_deletion=0, > norecord=...) at frame.c:822 > #14 0x0806c0c3 in Fselect_frame (frame=..., norecord=...) at frame.c:874 > #15 0x080fec98 in select_frame_norecord (frame=...) at window.c:2921 > #16 0x080fefbf in run_window_configuration_change_hook (f=0x8be6610) > at window.c:2946 > #17 0x081bdea3 in x_set_menu_bar_lines (f=0x8be6610, value=..., oldval=...) > at xfns.c:1268 > #18 0x08075d83 in x_set_frame_parameters (f=0x8be6610, alist=...) > at frame.c:2924 > #19 0x0807abcd in x_default_parameter (f=0x8be6610, alist=..., prop=..., > deflt=..., xprop=0x0, xclass=0x0, type=RES_TYPE_NUMBER) at frame.c:3919 > #20 0x081c24ca in Fx_create_frame (parms=...) at xfns.c:3319 > #21 0x08341926 in Ffuncall (nargs=2, args=0xbfffc260) at eval.c:3009 > #22 0x083bae73 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., > args_template=..., nargs=0, args=0x0) at bytecode.c:785 > #23 0x08342c29 in funcall_lambda (fun=..., nargs=1, arg_vector=0x4) > at eval.c:3240 > #24 0x08341dec in Ffuncall (nargs=2, args=0xbfffc5f0) at eval.c:3058 > #25 0x083bae73 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., > args_template=..., nargs=0, args=0x0) at bytecode.c:785 > #26 0x08342c29 in funcall_lambda (fun=..., nargs=1, arg_vector=0x5) > at eval.c:3240 > #27 0x08341dec in Ffuncall (nargs=2, args=0xbfffc990) at eval.c:3058 > #28 0x083bae73 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., > args_template=..., nargs=0, args=0x0) at bytecode.c:785 > #29 0x08342c29 in funcall_lambda (fun=..., nargs=0, arg_vector=0x7) > at eval.c:3240 > #30 0x08341dec in Ffuncall (nargs=1, args=0xbfffcd30) at eval.c:3058 > #31 0x083bae73 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., > args_template=..., nargs=0, args=0x0) at bytecode.c:785 > #32 0x08342c29 in funcall_lambda (fun=..., nargs=0, arg_vector=0x5) > at eval.c:3240 > #33 0x08341dec in Ffuncall (nargs=1, args=0xbfffd0d0) at eval.c:3058 > #34 0x083bae73 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., > args_template=..., nargs=0, args=0x0) at bytecode.c:785 > #35 0x08342c29 in funcall_lambda (fun=..., nargs=0, arg_vector=0x5) > at eval.c:3240 > #36 0x08341dec in Ffuncall (nargs=1, args=0xbfffd470) at eval.c:3058 > #37 0x083bae73 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., > args_template=..., nargs=0, args=0x0) at bytecode.c:785 > #38 0x08342c29 in funcall_lambda (fun=..., nargs=1, arg_vector=0x4) > at eval.c:3240 > #39 0x08341dec in Ffuncall (nargs=2, args=0xbfffd934) at eval.c:3058 > #40 0x0833fa9e in Fapply (nargs=3, args=0xbfffd934) at eval.c:2457 > #41 0x0834163d in Ffuncall (nargs=4, args=0xbfffd930) at eval.c:2991 > #42 0x083bae73 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., > args_template=..., nargs=0, args=0x0) at bytecode.c:785 > #43 0x08342c29 in funcall_lambda (fun=..., nargs=1, arg_vector=0x6) > at eval.c:3240 > #44 0x08341dec in Ffuncall (nargs=2, args=0xbfffdcdc) at eval.c:3058 > #45 0x08340bed in call1 (fn=..., arg1=...) at eval.c:2778 > #46 0x082bed37 in read_minibuf (map=..., initial=..., prompt=..., > backup_n=..., expflag=0, histvar=..., histpos=..., defalt=..., > allow_props=0, inherit_input_method=1) at minibuf.c:666 > #47 0x082bff32 in Fread_from_minibuffer (prompt=..., initial_contents=..., > keymap=..., read=..., hist=..., default_value=..., > inherit_input_method=...) at minibuf.c:967 > #48 0x08341cbf in Ffuncall (nargs=8, args=0xbfffdfa0) at eval.c:3035 > #49 0x083bae73 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., > args_template=..., nargs=0, args=0x0) at bytecode.c:785 > #50 0x08342c29 in funcall_lambda (fun=..., nargs=2, arg_vector=0x9) > at eval.c:3240 > #51 0x08341dec in Ffuncall (nargs=3, args=0xbfffe350) at eval.c:3058 > #52 0x083bae73 in exec_byte_code (bytestr=..., vector=..., maxdepth=..., > args_template=..., nargs=0, args=0x0) at bytecode.c:785 > #53 0x08342c29 in funcall_lambda (fun=..., nargs=2, arg_vector=0x5) > at eval.c:3240 > #54 0x083421d0 in apply_lambda (fun=..., args=...) at eval.c:3117 > #55 0x0833f7bd in eval_sub (form=...) at eval.c:2402 > #56 0x0833b596 in Flet (args=...) at eval.c:1065 > #57 0x0833ed71 in eval_sub (form=...) at eval.c:2305 > #58 0x0833e799 in Feval (form=..., lexical=...) at eval.c:2211 > #59 0x08335768 in Fcall_interactively (function=..., record_flag=..., > keys=...) at callint.c:346 > #60 0x08341a2b in Ffuncall (nargs=4, args=0xbfffec94) at eval.c:3016 > #61 0x08340c89 in call3 (fn=..., arg1=..., arg2=..., arg3=...) at eval.c:2809 > #62 0x0827c2f1 in Fcommand_execute (cmd=..., record_flag=..., keys=..., > special=...) at keyboard.c:10274 > #63 0x0825b989 in command_loop_1 () at keyboard.c:1572 > #64 0x0833c70c in internal_condition_case (bfun=0x825a72c, > handlers=..., hfun=0x8259d74) at eval.c:1493 > #65 0x0825a2c3 in command_loop_2 (ignore=...) at keyboard.c:1156 > #66 0x0833bf0a in internal_catch (tag=..., func=0x825a297, > arg=...) at eval.c:1247 > #67 0x0825a26c in command_loop () at keyboard.c:1135 > #68 0x08259666 in recursive_edit_1 () at keyboard.c:756 > #69 0x08259a06 in Frecursive_edit () at keyboard.c:820 > #70 0x08257151 in main (argc=6, argv=0xbffff574) at emacs.c:1705 > > Lisp Backtrace: > "x-create-frame" (0xbfffc264) > "x-create-frame-with-faces" (0xbfffc5f4) > "make-frame" (0xbfffc994) > "quail-make-guidance-frame" (0xbfffcd34) > "quail-show-guidance" (0xbfffd0d4) > "quail-activate" (0xbfffd474) > "quail-use-package" (0xbfffd938) > "apply" (0xbfffd934) > "activate-input-method" (0xbfffdce0) > "read-from-minibuffer" (0xbfffdfa4) > "query-replace-read-from" (0xbfffe354) > "query-replace-read-args" (0xbfffe630) > "let" (0xbfffe938) > "call-interactively" (0xbfffec98) > > > > > In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4) > of 2011-08-12 on faina > Windowing system distributor `The X.Org Foundation', version 11.0.11002000 > configured using `configure 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' 'LDFLAGS=-L/home/monnier/src/Xaw3d' 'CPPFLAGS=-I/home/monnier/src/Xaw3d' '--enable-maintainer-mode'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: fr_CH.UTF-8 > value of $XMODIFIERS: nil > locale-coding-system: utf-8-unix > default enable-multibyte-characters: t > > Major mode: Group > > Minor modes in effect: > diff-auto-refine-mode: t > gnus-undo-mode: t > electric-pair-mode: t > electric-indent-mode: t > url-handler-mode: t > global-reveal-mode: t > reveal-mode: t > auto-insert-mode: t > savehist-mode: t > minibuffer-electric-default-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > SPC c o m p l e t e SPC C-e > > > . > > SPC p o w e r C-e > > > C-q C-j C-q C-j C-q C-j > M-i S t e f a n > p r o b l e m SPC C-e > > > > > > > > > > > > > > > > > > > SPC ( a k a SPC C-e > M-q C-a S e e SPC SPC > M-q . C-c C-c q s > C-x 5 0 > g > > M-> q s > M-> q s > k q s > C-g M-x r e p o > r > > Recent messages: > Expiring articles...done > Saving /home/monnier/var/newsrc.eld... > Saving file /home/monnier/var/newsrc.eld... > Wrote /home/monnier/var/newsrc.eld > Saving /home/monnier/var/newsrc.eld...done > Retrieving newsgroup: nnimap+diro:emacs... > Quit getting the articles to read > Quit > Warning: interactive-p is obsolete! [3 times] > Making completion list... > > Load-path shadows: > /usr/share/emacs23/site-lisp/bbdb/bbdb-com hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-com > /usr/share/emacs23/site-lisp/bbdb/bbdb-ftp hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-ftp > /usr/share/emacs23/site-lisp/bbdb/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-rmail > /usr/share/emacs23/site-lisp/bbdb/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-mhe > /usr/share/emacs23/site-lisp/bbdb/bbdb-gui hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gui > /usr/share/emacs23/site-lisp/bbdb/bbdb-print hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-print > /usr/share/emacs23/site-lisp/bbdb/bbdb hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb > /usr/share/emacs23/site-lisp/bbdb/bbdb-w3 hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-w3 > /usr/share/emacs23/site-lisp/bbdb/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-sc > /usr/share/emacs23/site-lisp/bbdb/bbdb-whois hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-whois > /usr/share/emacs23/site-lisp/bbdb/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-snarf > /usr/share/emacs23/site-lisp/bbdb/bbdb-merge hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-merge > /usr/share/emacs23/site-lisp/bbdb/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-vm > /usr/share/emacs23/site-lisp/bbdb/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-migrate > /usr/share/emacs23/site-lisp/bbdb/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus > /usr/share/emacs23/site-lisp/bbdb/bbdb-hooks hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-hooks > > Features: > (shadow emacsbug canlock multi-isearch ielm comint ring diff-mode > jka-compr gnus-fun mailalias sendmail supercite regi mule-util nnfolder > gnus-html browse-url xml url-cache mm-url url url-proxy url-privacy > url-expand url-methods url-history url-cookie url-util flow-fill > executable copyright pp sort smiley ansi-color gnus-cite mail-extr > gnus-async gnus-bcklg qp gnus-ml nndraft nnmh rfc2104 nnimap parse-time > utf7 netrc nnagent nnml network-stream starttls tls gnus-agent gnus-srvr > gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 > epg-config mm-view mml-smime smime dig mailcap nntp gnus-cache nnir > gnus-sum nnoo gnus-group gnus-undo nnmail mail-source server gnus-start > gnus-spec gnus-int gnus-range message format-spec rfc822 mml mml-sec > mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 > ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems > nnheader mail-utils wid-edit noutline outline easy-mmode flyspell ispell > eldoc checkdoc regexp-opt thingatpt help-mode easymenu view prog-mode > electric url-handlers url-parse auth-source warnings eieio byte-opt > bytecomp byte-compile cconv macroexp assoc gnus-util password-cache > url-vars mm-util mail-prsvr reveal autoinsert uniquify advice help-fns > advice-preload time-date savehist minibuf-eldef disp-table cl > cl-loaddefs package tabulated-list proof-site proof-autoloads pg-vars > bbdb-autoloads agda2 tooltip ediff-hook vc-hooks lisp-float-type mwheel > x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page > newcomment menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock > font-lock syntax font-core frame cham georgian utf-8-lang misc-lang > vietnamese tibetan thai tai-viet lao korean japanese hebrew greek > romanian slovak czech european ethiopic indian cyrillic chinese > case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs > button faces cus-face files text-properties overlay sha1 md5 base64 > format env code-pages mule custom widget hashtable-print-readable > backquote make-network-process dbusbind dynamic-setting > system-font-setting font-render-setting move-toolbar gtk x-toolkit > x multi-tty emacs) > >