[Bug: 21.4.12] xemacs: X Error of failed request: BadWindow(invalid Window parameter)

tbennett at nvidia.com tbennett at nvidia.com
Wed Nov 17 23:20:37 EST 2004


"Ben Wing" <ben at 666.com> writes:

> Try again but execute the Lisp code (x-debug-mode t) before
> opening the file.

Ok, here it is.  Could not quickly get it to exit() when using
(x-debug-mode t), but it did produce the error msg reliably.

The C-g initiated this one, but I sometimes see the BadWindow
msg without it.  Plus this operation ("C-x h" on a large buffer)
appears hosed for buffers larger than a meg or 2.


Continuing.
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  25 (X_SendEvent)
  Resource id in failed request:  0x240a4ca
  Serial number of failed request:  19312
  Current serial number in output stream:  19313

Breakpoint 3, x_error_handler (disp=0x8719c48, event=0xbfffd070) at device-x.c:1090
1090          unbind_to (depth);
(gdb) where
#0  x_error_handler (disp=0x8719c48, event=0xbfffd070) at device-x.c:1090
#1  0x4038d874 in _XError () from /usr/X11R6/lib/libX11.so.6
#2  0x4038c5b3 in _XReply () from /usr/X11R6/lib/libX11.so.6
#3  0x40388054 in XSync () from /usr/X11R6/lib/libX11.so.6
#4  0x40388115 in _XSyncFunction () from /usr/X11R6/lib/libX11.so.6
#5  0x40385fa5 in XSendEvent () from /usr/X11R6/lib/libX11.so.6
#6  0x081d65d1 in x_decline_selection_request (event=0x871cc4c) at select-x.c:454
#7  0x081d6615 in x_selection_request_lisp_error (closure=0x8640308) at select-x.c:472
#8  0x080c4562 in unbind_to_hairy (count=0x0) at eval.c:6047
#9  0x080c44bf in unbind_to_1 (count=0x0, value=0x826f320) at eval.c:5999
#10 0x080bceb0 in unwind_to_catch (c=0xbfffe160, val=0x86d0628, tag=0x8670cfc) at eval.c:1585
#11 0x080bcfb2 in throw_or_bomb_out (tag=0x8670cfc, val=0x86d0628, bomb_out_p=0x0, sig=0x826f320, 
    data=0x826f320) at eval.c:1682
#12 0x080bd045 in Fthrow (tag=0x8670cfc, value=0x86d0628) at eval.c:1716
#13 0x080bdd1a in Fsignal (error_symbol=0x826b210, data=0x826f320) at eval.c:2347
#14 0x080be5ab in signal_quit () at eval.c:2786
#15 0x080cf93a in next_event_internal (target_event=0x871cb50, allow_queued=0x0) at event-stream.c:2168
#16 0x080d0b5b in wait_delaying_user_input (predicate=0x81d6c88 <property_deleted_p>, predicate_arg=0x11)
    at event-stream.c:3028
#17 0x081d6df6 in wait_for_property_change (tick=0x11) at select-x.c:797
#18 0x081d684c in x_reply_selection_request (event=0x871cbd8, format=0x8, 
    data=0x11d8f450 "Nov  7 04:02:04 tlinux syslogd 1.4.1: restart.\nNov  8 04:02:01 tlinux syslogd 1.4.1: restart.\nNov  8 17:56:40 tlinux kernel: NVRM: bar0: 01:00.0 10de:017a - 0xdf000000 [size=16M]\nNov  8 17:56:40 tlinu"..., size=0x50143a, type=0x1f) at select-x.c:544
#19 0x081d6b11 in x_handle_selection_request (event=0x871cbd8) at select-x.c:652
#20 0x081bfced in emacs_Xt_handle_magic_event (emacs_event=0x871cbc4) at event-Xt.c:1951
#21 0x080cd605 in event_stream_handle_magic_event (event=0x871cbc4) at event-stream.c:541
#22 0x080d0e4d in execute_internal_event (event=0x871cbc4) at event-stream.c:3184
#23 0x080d0b96 in wait_delaying_user_input (predicate=0x81d6c88 <property_deleted_p>, predicate_arg=0x10)
    at event-stream.c:3034
#24 0x081d6df6 in wait_for_property_change (tick=0x10) at select-x.c:797
#25 0x081d684c in x_reply_selection_request (event=0x871cc4c, format=0x8, 
    data=0x10e8b788 "Nov  7 04:02:04 tlinux syslogd 1.4.1: restart.\nNov  8 04:02:01 tlinux syslogd 1.4.1: restart.\nNov  8 17:56:40 tlinux kernel: NVRM: bar0: 01:00.0 10de:017a - 0xdf000000 [size=16M]\nNov  8 17:56:40 tlinu"..., size=0x50143a, type=0x1f) at select-x.c:544
#26 0x081d6b11 in x_handle_selection_request (event=0x871cc4c) at select-x.c:652
#27 0x081bfced in emacs_Xt_handle_magic_event (emacs_event=0x871cc38) at event-Xt.c:1951
#28 0x080cd605 in event_stream_handle_magic_event (event=0x871cc38) at event-stream.c:541
#29 0x080d0e4d in execute_internal_event (event=0x871cc38) at event-stream.c:3184
#30 0x080d0b96 in wait_delaying_user_input (predicate=0x81d6c88 <property_deleted_p>, predicate_arg=0xf)
    at event-stream.c:3034
#31 0x081d6df6 in wait_for_property_change (tick=0xf) at select-x.c:797
#32 0x081d684c in x_reply_selection_request (event=0x871ccc0, format=0x8, 
    data=0xff87ac0 "Nov  7 04:02:04 tlinux syslogd 1.4.1: restart.\nNov  8 04:02:01 tlinux syslogd 1.4.1: restart.\nNov  8 17:56:40 tlinux kernel: NVRM: bar0: 01:00.0 10de:017a - 0xdf000000 [size=16M]\nNov  8 17:56:40 tlinu"..., size=0x50143a, type=0x1f) at select-x.c:544
#33 0x081d6b11 in x_handle_selection_request (event=0x871ccc0) at select-x.c:652
#34 0x081bfced in emacs_Xt_handle_magic_event (emacs_event=0x871ccac) at event-Xt.c:1951
#35 0x080cd605 in event_stream_handle_magic_event (event=0x871ccac) at event-stream.c:541
#36 0x080d0e4d in execute_internal_event (event=0x871ccac) at event-stream.c:3184
#37 0x080d0b96 in wait_delaying_user_input (predicate=0x81d6c88 <property_deleted_p>, predicate_arg=0xe)
    at event-stream.c:3034
#38 0x081d6df6 in wait_for_property_change (tick=0xe) at select-x.c:797
#39 0x081d684c in x_reply_selection_request (event=0x8a5b01c, format=0x8, 
    data=0xf083df8 "Nov  7 04:02:04 tlinux syslogd 1.4.1: restart.\nNov  8 04:02:01 tlinux syslogd 1.4.1: restart.\nNov  8 17:56:40 tlinux kernel: NVRM: bar0: 01:00.0 10de:017a - 0xdf000000 [size=16M]\nNov  8 17:56:40 tlinu"..., size=0x50143a, type=0x1f) at select-x.c:544
#40 0x081d6b11 in x_handle_selection_request (event=0x8a5b01c) at select-x.c:652
#41 0x081bfced in emacs_Xt_handle_magic_event (emacs_event=0x8a5b008) at event-Xt.c:1951
#42 0x080cd605 in event_stream_handle_magic_event (event=0x8a5b008) at event-stream.c:541
#43 0x080d0e4d in execute_internal_event (event=0x8a5b008) at event-stream.c:3184
#44 0x080d0b96 in wait_delaying_user_input (predicate=0x81d6c88 <property_deleted_p>, predicate_arg=0xd)
    at event-stream.c:3034
#45 0x081d6df6 in wait_for_property_change (tick=0xd) at select-x.c:797
#46 0x081d684c in x_reply_selection_request (event=0x86832c8, format=0x8, 
    data=0xe681570 "Nov  7 04:02:04 tlinux syslogd 1.4.1: restart.\nNov  8 04:02:01 tlinux syslogd 1.4.1: restart.\nNov  8 17:56:40 tlinux kernel: NVRM: bar0: 01:00.0 10de:017a - 0xdf000000 [size=16M]\nNov  8 17:56:40 tlinu"..., size=0x50143a, type=0x1f) at select-x.c:544
#47 0x081d6b11 in x_handle_selection_request (event=0x86832c8) at select-x.c:652
#48 0x081bfced in emacs_Xt_handle_magic_event (emacs_event=0x86832b4) at event-Xt.c:1951
#49 0x080cd605 in event_stream_handle_magic_event (event=0x86832b4) at event-stream.c:541
#50 0x080d0e4d in execute_internal_event (event=0x86832b4) at event-stream.c:3184
#51 0x080d2cc0 in Fdispatch_event (event=0x86832b4) at event-stream.c:4563
#52 0x0809db87 in Fcommand_loop_1 () at cmdloop.c:601
#53 0x0809d9d0 in command_loop_1 (unused_dummy=0x826f320) at cmdloop.c:506
#54 0x080bd271 in condition_case_1 (handlers=0x826eb28, bfun=0x809d9b7 <command_loop_1>, barg=0x826f320, 
    hfun=0x809d62b <cmd_error>, harg=0x826f320) at eval.c:1918
#55 0x0809d747 in command_loop_3 () at cmdloop.c:262
#56 0x0809d769 in command_loop_2 (unused_dummy=0x826f320) at cmdloop.c:275
#57 0x080bce1e in internal_catch (tag=0x823a430, func=0x809d75e <command_loop_2>, arg=0x826f320, threw=0x0, 
    thrown_tag=0x0) at eval.c:1527
#58 0x0809d858 in initial_command_loop (load_me=0x826f320) at cmdloop.c:313
#59 0x080b7caa in xemacs_21_5_b18_i686_pc_linux (argc=0x1, argv=0xbfffe494, unused_envp=0xbfffe49c, 
    restart=0x0) at emacs.c:2407
#60 0x080b88f2 in main (argc=0x1, argv=0xbfffe494, envp=0xbfffe49c) at emacs.c:2837
(gdb) 

-- 
--tony




More information about the XEmacs-Beta mailing list