================================================================
Dear Bug Team!
How to reproduce:
1. Start an ediff. The control frame must be enabled.
2. Make sure the mouse if off the XEmacs frame and hit q y
3. You will get the following error:
xemacs: X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 40 (X_TranslateCoords)
Resource id in failed request: 0xc00393
Serial number of failed request: 81079
Current serial number in output stream: 81079
You might need to be running fluxbox.
The problem is in the `x_get_mouse_position' function in frame-x.c.
In the while loop to try to find the innermost window, the second time
this loop is run you get the above error and the XTranslateCoordinates
returns false. If you comment out the while, the program works fine.
Could somebody try this in another window manager?
Cheers,
Sean MacLennan
http://xemacs.seanm.ca/
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux fillmore 2.4.18-17.8.0 #1 Tue Oct 8 11:48:09 EDT 2002 i686 athlon i386
GNU/Linux
./configure '--package-path=/home/xemacs/packages' '--with-dialogs=no'
'--with-widgets=no' '--error-checking=none'
'--with-sound=native,noesd' '--pdump'
XEmacs 21.4.12 "Portable Code" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /home/xemacs/xemacs-21.4
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: ccache gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
nil
Installed XEmacs Packages:
-------------------------
((xemacs-devel:version 1.5 :type single-file)
(xemacs-base :version 1.75 :type regular)
(vm :version 7.07 :type regular)
(vc :version 1.35 :type regular)
(tramp :version 1.11 :type regular)
(toolbar-fancy :version 0.06 :type regular)
(time :version 1.12 :type regular)
(text-modes :version 1.58 :type single-file)
(speedbar :version 1.26 :type regular)
(sounds-au :version 1.1 :type regular)
(site-lisp :version 1.0 :type single)
(sh-script :version 1.17 :type regular)
(semantic :version 1.17 :type regular)
(scheme :version 1.13 :type regular)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.38 :type regular)
(prog-modes
:version
1
.72
:type
single-file)
(pgg :version 1.02 :type regular)
(perl-modes :version 1.04 :type single-file)
(pcomplete :version 1.02 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.3 :type single-file)
(oo-browser :version 4.5 :type regular)
(net-utils :version 1.31 :type single-file)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.56 :type regular)
(ispell :version 1.24 :type regular)
(igrep :version 1.1 :type regular)
(ibuffer :version 1.08 :type regular)
(gnus :version 1.65 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.12 :type single-file)
(forms :version 1.14 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.29 :type regular)
(edit-utils :version 1.98 :type single-file)
(ediff :version 1.46 :type regular)
(edebug :version 1.15 :type regular)
(ecb :version 1.01 :type regular)
(dired :version 1.13 :type regular)
(dictionary :version 1.11 :type regular)
(cookie :version 1.14 :type regular)
(cc-mode :version 1.32 :type regular)
(calendar :version 1.19 :type regular)
(c-support :version 1.16 :type single-file)
(bbdb :version 1.21 :type regular)
(apel :version 1.26 :type regular))
Installed Modules:
-----------------
Features:
--------
(xemacsbug shadow vm-reply compile igrep cmacexp xcscope libc-mode
info ctypes tramp-vc vc vc-hooks c-comment-edit cc-mode cc-align
cc-cmds cc-engine cc-styles cc-langs cc-vars cc-menus imenu cc-defs
jka-compr smerge byte-optimize ediff-merg ediff-diff ediff-tbar
ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff bytecomp
byte-compile greedy-delete flow-fill gnus-picon sort gnus-cite
gnus-async gnus-score score-mode gnus-ml gnus-msg gnus-art mm-uu
mm-view disp-table gnus-sum nndraft nnmh gnus-cache gnus-group
gnus-undo nnmail mail-source nntp nnoo gnus-start gnus-range gnus-spec
gnus-int gnus-win gnus-ems wid-edit gnus-xmas message mml mm-decode
mm-encode mailcap mm-bodies uudecode mail-parse rfc2045 rfc2231
rfc2047 qp ietf-drums mailheader gnus-util time-date parse-time gnus
vm-delete smiley messagexmas nnheader nnheaderxm mm-util mail-prsvr
mail-utils annotations vm-page vm-mime vm-save tapestry vm-motion
vm-undo vm-toolbar vm-sort vm-summary vm-thread vm-message vm-folder
vm-misc vm-mouse vm-window vm-menu vm-opera mailcrypt bbdb-vm
bbdb-snarf mail-extr bbdb-com mail-abbrevs bbdb timezone smtpmail
sendmail rfc822 vm-autoload highlight-headers vm-vars vm-version vm
vm-startup gopher forms-mode forms electric ws-trim gnuserv filladapt
backup tramp regexp-opt shell comint ring format-spec browse-kill-ring
ediff-hook advice advice-preload uniquify hide-copyleft
font-lock-extras font-lock intellimouse edmacro iswitchb path-util
poe-xemacs timer overlay poe pym static apel-ver product efs-cu
slashdot browse-url http time cus-face pending-del paren blink-paren
uncompress redo xemacs-devel-autoloads xemacs-base-autoloads
vm-autoloads vc-autoloads tramp-autoloads toolbar-fancy-autoloads
time-autoloads text-modes-autoloads speedbar-autoloads
sounds-au-autoloads site-lisp-autoloads sh-script-autoloads
semantic-autoloads scheme-autoloads psgml-dtds-autoloads
psgml-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads oo-browser-autoloads
net-utils-autoloads mailcrypt-autoloads mail-lib-autoloads
ispell-autoloads igrep-autoloads ibuffer-autoloads gnus-autoloads
games-autoloads fsf-compat-autoloads forms-autoloads emerge-autoloads
elib-autoloads eieio-autoloads efs-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads ecb-autoloads dired-autoloads
dictionary-autoloads cookie-autoloads cc-mode-autoloads
calendar-autoloads c-support-autoloads bbdb-autoloads apel-autoloads
lisp-autoloads loadhist auto-show fontl-hooks x-iso8859-1 gutter-items
menubar-items x-menubar mode-motion mouse itimer auto-save lisp-mode
easymenu iso8859-1 page buff-menu lib-complete help-nomule cus-file
derived frame text-props obsolete cus-start custom widget cl-extra
mini-cl cl cl-19 packages backquote very-early-lisp postgresqlv7
postgresql lucid-scrollbars cut-buffer lucid-menubars x c-balloon-help
tty-frames tty toolbar native-sound scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
berkeley-db md5 xemacs gutter tiff png gif jpeg xpm xbm
lisp-float-type linux devices window-system base64)
Recent keystrokes:
-----------------
BS BS BS BS BS BS BS BS BS H o w SPC t o SPC r C-x
k RET M-x e d i f TAB - b u TAB BS BS r e TAB p TAB
BS BS BS BS BS BS BS BS BS e m TAB a c s TAB - BS r
e TAB BS BS TAB BS BS BS BS BS BS x e m a v s TAB BS
BS c s TAB TAB BS BS BS BS BS BS BS r e p o TAB r t
TAB x e m TAB RET
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Making completion list...
Making completion list...
Making completion list...
Making completion list...
Making completion list...
Loading vm-reply...done
Loading vm-reply...
256 messages, 0 new, 0 unread, 2 deleted
Checking for new mail for /home/seanm/Mail/INBOX...
256 messages, 0 new, 0 unread, 2 deleted
End of message 256 from Stephen J. Turnbull
256 messages, 0 new, 0 unread, 2 deleted
Wrote /home/xemacs/xemacs-21.4/src/frame-x.c
Wrote /home/xemacs/xemacs-21.4/src/frame-x.c
Wrote /home/xemacs/xemacs-21.4/src/frame-x.c
Wrote /home/xemacs/xemacs-21.4/src/frame-x.c
Quit