unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9310: BadWindow error with quail guidance frame
@ 2011-08-16 20:15 Stefan Monnier
  2011-08-17  6:03 ` Jan D.
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Monnier @ 2011-08-16 20:15 UTC (permalink / raw)
  To: 9310

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).


        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 <command_loop_1>, 
    handlers=..., hfun=0x8259d74 <cmd_error>) at eval.c:1493
#65 0x0825a2c3 in command_loop_2 (ignore=...) at keyboard.c:1156
#66 0x0833bf0a in internal_catch (tag=..., func=0x825a297 <command_loop_2>, 
    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 <M-backspace> <M-backspace> 
<M-backspace> <M-backspace> <M-backspace> <M-backspace> 
<M-backspace> <M-backspace> <backspace> <backspace> 
. <switch-frame> <switch-frame> <help-echo> <down-mouse-1> 
<mouse-1> <backspace> <backspace> <backspace> <backspace> 
SPC p o w e r C-e <right> <down> <left> <right> <down> 
<right> <up> <left> <right> <right> <up> <up> <up> 
<left> <right> <up> <left> <right> <down> <left> <right> 
<down> <down> <down> <down> C-q C-j C-q C-j C-q C-j 
M-i S t e f a n <switch-frame> <switch-frame> <down-mouse-1> 
<mouse-movement> <mouse-1> p r o b l e m SPC C-e <right> 
<down> <left> <right> <down> <left> <right> <up> <up> 
<up> <up> <left> <right> <down> <left> <right> <down> 
<left> <right> <down> <left> <right> <up> <left> <right> 
<up> <up> <left> <right> <down> <down> <left> <right> 
<down> <left> <right> <down> <left> <right> <up> <left> 
<right> <up> <left> <right> <down> <left> <right> <down> 
<left> <right> <up> <up> <left> <right> <down> <left> 
<right> <down> <left> <right> <up> <left> <right> <up> 
<left> <right> <down> <left> <right> <down> <left> 
<right> <up> <up> <left> <right> <down> <left> <right> 
<down> <left> <right> <up> <left> <right> <up> <left> 
<right> <down> <left> <right> <down> <left> <right> 
<up> <up> <left> <right> <down> <left> <right> <down> 
<left> <right> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <switch-frame> <switch-frame> <switch-frame> 
<switch-frame> <down-mouse-1> <mouse-movement> <mouse-1> 
SPC ( a k a SPC <down-mouse-2> <mouse-2> C-e <switch-frame> 
<switch-frame> M-q C-a <up> S e e SPC SPC <backspace> 
M-q <down> <down> <left> . C-c C-c q s <switch-frame> 
<switch-frame> <switch-frame> C-x 5 0 <switch-frame> 
g <select-window> <select-window> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <return> <return> 
M-> q s <select-window> <select-window> <select-window> 
<select-window> <up> <return> M-> q s <down> <return> 
<return> <select-window> <select-window> k q s <down> 
<down> <return> C-g <select-window> M-x r e p o <tab> 
r <tab> <return>

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)





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-10-14 17:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-16 20:15 bug#9310: BadWindow error with quail guidance frame Stefan Monnier
2011-08-17  6:03 ` Jan D.
2011-08-17 13:46   ` Stefan Monnier
2011-08-17 16:39     ` Jan Djärv
2011-08-17 21:45       ` Chong Yidong
2011-08-23  2:23       ` Stefan Monnier
2011-08-23  6:17         ` Jan D.
2011-08-23 19:40           ` Stefan Monnier
2011-08-24 13:32             ` Jan D.
2011-10-14 17:46               ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).