This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
Minko Markov <mmarkov(a)shaw.ca> writes:
Vin Shelton <acs(a)xemacs.org> writes:
......
> C-h v x-selection-strict-motif-ownership
......
Vin,
It is almost certainly a bug, at least in my installation.
With "binary search" I found the treshold of the selection
size at which the selection killing fails: 262040 characters.
When the selection is <= 262040 characters, the killing with
C-w happens *instantaneously*. When it is >= 262041, it never
happens, and all the memory is eaten.
Can someone confirm/deny that under a different instalation/environment?
Again, it is xemacs 21.4.4, Linux.
Huh! You are right, Minko - Something is seriously broken. On my
Linux box at home, I'm seeing the same behavior. Here's the recipe to
reproduce:
1. xemacs -vanilla
2. C-x C-f bigfile
3. C-u 262050 C-f
4. M-<
5. C-x C-x
6. C-w
This does not happen when I'm running xemacs -nw, by the way.
When I'm running under gdb, here's the backtrace I generate after
interrupting the process:
#0 0x403e34ae in select () from /lib/libc.so.6
#1 0x400e7ef4 in vendorShellWidgetClass () from /usr/X11R6/lib/libXt.so.6
#2 0x400bd6b8 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#3 0x081b3209 in emacs_Xt_next_event (emacs_event=0x8580300)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-Xt.c:2703
#4 0x080e9339 in event_stream_next_event (event=0x8580300)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:499
#5 0x080ebad3 in next_event_internal (target_event=139985664, allow_queued=0)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:1959
#6 0x080ed352 in wait_delaying_user_input (predicate=0x81c6c64
<property_deleted_p>,
predicate_arg=0x13) at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:2895
#7 0x081c6d77 in wait_for_property_change (tick=19)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:787
#8 0x081c6907 in x_reply_selection_request (event=0x85802a0, format=8,
data=0x40971008 ".M...... /usr/lib/gimp/1.2/plug-ins\nS.5....T c
/etc/zprofile\n.......T c /etc/zshrc\nS.5....T c /etc/pam.d/passwd\n.......T
/usr/share/apps/kfind/icons/locolor/22x22/actions/archive.png\n.......T /u"...,
size=262050, type=31) at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:534
#9 0x081c6b1b in x_handle_selection_request (event=0x85802a0)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:642
#10 0x081b1e4f in emacs_Xt_handle_magic_event (emacs_event=0x858028c)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-Xt.c:1858
#11 0x080e939a in event_stream_handle_magic_event (event=0x858028c)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:515
#12 0x080ed6d3 in execute_internal_event (event=139985548)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:3039
#13 0x080ed3dc in wait_delaying_user_input (predicate=0x81c6c64
<property_deleted_p>,
predicate_arg=0x12) at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:2902
#14 0x081c6d77 in wait_for_property_change (tick=18)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:787
#15 0x081c6907 in x_reply_selection_request (event=0x85801b8, format=8,
data=0x40871008 ".M...... /usr/lib/gimp/1.2/plug-ins\nS.5....T c
/etc/zprofile\n.......T c /etc/zshrc\nS.5....T c /etc/pam.d/passwd\n.......T
/usr/share/apps/kfind/icons/locolor/22x22/actions/archive.png\n.......T /u"...,
size=262050, type=31) at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:534
#16 0x081c6b1b in x_handle_selection_request (event=0x85801b8)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:642
#17 0x081b1e4f in emacs_Xt_handle_magic_event (emacs_event=0x85801a4)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-Xt.c:1858
#18 0x080e939a in event_stream_handle_magic_event (event=0x85801a4)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:515
---Type <return> to continue, or q <return> to quit---
#19 0x080ed6d3 in execute_internal_event (event=139985316)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:3039
#20 0x080ed3dc in wait_delaying_user_input (predicate=0x81c6c64
<property_deleted_p>,
predicate_arg=0x11) at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:2902
#21 0x081c6d77 in wait_for_property_change (tick=17)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:787
#22 0x081c6907 in x_reply_selection_request (event=0x8580144, format=8,
data=0x40771008 ".M...... /usr/lib/gimp/1.2/plug-ins\nS.5....T c
/etc/zprofile\n.......T c /etc/zshrc\nS.5....T c /etc/pam.d/passwd\n.......T
/usr/share/apps/kfind/icons/locolor/22x22/actions/archive.png\n.......T /u"...,
size=262050, type=31) at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:534
#23 0x081c6b1b in x_handle_selection_request (event=0x8580144)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:642
#24 0x081b1e4f in emacs_Xt_handle_magic_event (emacs_event=0x8580130)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-Xt.c:1858
#25 0x080e939a in event_stream_handle_magic_event (event=0x8580130)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:515
#26 0x080ed6d3 in execute_internal_event (event=139985200)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:3039
#27 0x080ed3dc in wait_delaying_user_input (predicate=0x81c6c64
<property_deleted_p>,
predicate_arg=0x10) at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:2902
#28 0x081c6d77 in wait_for_property_change (tick=16)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:787
#29 0x081c6907 in x_reply_selection_request (event=0x8621bc0, format=8,
data=0x406b1008 ".M...... /usr/lib/gimp/1.2/plug-ins\nS.5....T c
/etc/zprofile\n.......T c /etc/zshrc\nS.5....T c /etc/pam.d/passwd\n.......T
/usr/share/apps/kfind/icons/locolor/22x22/actions/archive.png\n.......T /u"...,
size=262050, type=31) at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:534
#30 0x081c6b1b in x_handle_selection_request (event=0x8621bc0)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:642
#31 0x081b1e4f in emacs_Xt_handle_magic_event (emacs_event=0x8621bac)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-Xt.c:1858
#32 0x080e939a in event_stream_handle_magic_event (event=0x8621bac)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:515
#33 0x080ed6d3 in execute_internal_event (event=140647340)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:3039
#34 0x080ed3dc in wait_delaying_user_input (predicate=0x81c6c64
<property_deleted_p>, predicate_arg=0xf)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:2902
#35 0x081c6d77 in wait_for_property_change (tick=15)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:787
#36 0x081c6907 in x_reply_selection_request (event=0x8621b4c, format=8,
---Type <return> to continue, or q <return> to quit---
data=0x40631008 ".M...... /usr/lib/gimp/1.2/plug-ins\nS.5....T c
/etc/zprofile\n.......T c /etc/zshrc\nS.5....T c /etc/pam.d/passwd\n.......T
/usr/share/apps/kfind/icons/locolor/22x22/actions/archive.png\n.......T /u"...,
size=262050, type=31) at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:534
#37 0x081c6b1b in x_handle_selection_request (event=0x8621b4c)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:642
#38 0x081b1e4f in emacs_Xt_handle_magic_event (emacs_event=0x8621b38)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-Xt.c:1858
#39 0x080e939a in event_stream_handle_magic_event (event=0x8621b38)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:515
#40 0x080ed6d3 in execute_internal_event (event=140647224)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:3039
#41 0x080ed3dc in wait_delaying_user_input (predicate=0x81c6c64
<property_deleted_p>, predicate_arg=0xe)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:2902
#42 0x081c6d77 in wait_for_property_change (tick=14)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:787
#43 0x081c6907 in x_reply_selection_request (event=0x861e784, format=8,
data=0x405b1008 ".M...... /usr/lib/gimp/1.2/plug-ins\nS.5....T c
/etc/zprofile\n.......T c /etc/zshrc\nS.5....T c /etc/pam.d/passwd\n.......T
/usr/share/apps/kfind/icons/locolor/22x22/actions/archive.png\n.......T /u"...,
size=262050, type=31) at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:534
#44 0x081c6b1b in x_handle_selection_request (event=0x861e784)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/select-x.c:642
#45 0x081b1e4f in emacs_Xt_handle_magic_event (emacs_event=0x861e770)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-Xt.c:1858
#46 0x080e939a in event_stream_handle_magic_event (event=0x861e770)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:515
#47 0x080ed6d3 in execute_internal_event (event=140633968)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:3039
#48 0x080ef879 in Fdispatch_event (event=140633968)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/event-stream.c:4252
#49 0x0809af74 in Fcommand_loop_1 () at
/opt/src/xemacs-21.4-2001-11-13-debug/src/cmdloop.c:583
#50 0x0809ad52 in command_loop_1 (dummy=137131868)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/cmdloop.c:494
#51 0x080b6f07 in condition_case_1 (handlers=137131964, bfun=0x809ad14
<command_loop_1>,
barg=137131868, hfun=0x809a384 <cmd_error>, harg=137131868)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/eval.c:1651
#52 0x0809a477 in command_loop_3 () at
/opt/src/xemacs-21.4-2001-11-13-debug/src/cmdloop.c:256
#53 0x0809a49b in command_loop_2 (dummy=137131868)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/cmdloop.c:267
#54 0x080b6a8c in internal_catch (tag=137207988, func=0x809a490 <command_loop_2>,
arg=137131868,
---Type <return> to continue, or q <return> to quit---
threw=0x0) at /opt/src/xemacs-21.4-2001-11-13-debug/src/eval.c:1317
#55 0x0809a766 in initial_command_loop (load_me=137131868)
at /opt/src/xemacs-21.4-2001-11-13-debug/src/cmdloop.c:305
#56 0x080b2909 in xemacs_21_4_5_i686_pc_linux ()
at /opt/src/xemacs-21.4-2001-11-13-debug/src/emacs.c:2353
#57 0x080b30d2 in main () at /opt/src/xemacs-21.4-2001-11-13-debug/src/emacs.c:2782
#58 0x403165b0 in __libc_start_main () from /lib/libc.so.6
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux
zion.rcn.com 2.4.8-26mdk-smp-acs #2 SMP Sat Oct 20 22:40:36 EDT 2001 i686
unknown
/opt/src/xemacs-21.4-2001-11-13/configure
'--prefix=/usr/local/xemacs-21.4-2001-11-13' '--with-gcc'
'--site-includes=/usr/local/include' '--site-libraries=/usr/local/lib'
'--infopath=/usr/local/info' '--with-mule=no' '--compiler=gcc'
'--cflags=-Os -malign-double -pipe -ffast-math -march=pentiumpro -mcpu=pentiumpro
-fno-exceptions' '--with-dialogs=no' '--with-widgets=no'
'--package-path=/usr/local/site-packages::/usr/local/xemacs-packages'
'--debug=no' '--error-checking=none'
XEmacs 21.4.5 "Civil Service" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /opt/src/xemacs-21.4-2001-11-13
Installation prefix: /usr/local/xemacs-21.4-2001-11-13
Additional header files: /usr/local/include
Additional libraries: /usr/local/lib
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -Os -malign-double -pipe -ffast-math
-march=pentiumpro -mcpu=pentiumpro -fno-exceptions
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.
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.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
nil
Installed XEmacs Packages:
-------------------------
((xemacs-devel:version 1.38 :type single-file)
(xemacs-base :version 1.56 :type regular)
(w3 :version 1.2 :type regular)
(view-process :version 1.11 :type regular)
(vc :version 1.29 :type regular)
(tramp :version 1.0 :type regular)
(time :version 1.11 :type regular)
(text-modes :version 1.32 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.18 :type regular)
(speedbar :version 1.21 :type regular)
(sh-script :version 1.13 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.1 :type regular)
(psgml :version 1.23 :type regular)
(prog-modes
:version
1
.44
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.55 :type regular)
(pc :version 1.2 :type single-file)
(os-utils :version 1.25 :type single-file)
(net-utils :version 1.23 :type single-file)
(mail-lib :version 1.4 :type regular)
(ispell :version 1.23 :type regular)
(igrep :version 1.08 :type regular)
(hm--html-menus :version 1.16 :type regular)
(gnus :version 1.57 :type regular)
(footnote :version 1.13 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.01 :type regular)
(elib :version 1.08 :type single-file)
(efs :version 1.26 :type regular)
(edit-utils :version 1.72 :type single-file)
(ediff :version 1.33 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(debug :version 1.14 :type regular)
(cc-mode :version 1.26 :type regular)
(calc :version 1.17 :type regular)
(c-support :version 1.16 :type single-file)
(bbdb :version 1.16 :type regular)
(apel :version 1.2 :type regular))
Features:
--------
(xemacsbug shadow view-less view w3-style bbdb-gui bbdb-com compile
diff-mode flow-fill w3-hot url-file url-cache w3-xemac w3-xemacs
w3-toolbar xbm-button xpm-button images url-http url-cookie urlauth w3
w3-menu url-news url-gw w3-script w3-jscript w3-elisp w3-java cus-edit
cus-load w3-emulate w3-auto w3-parse w3-cfg w3-sysdp mail-extr
gnus-picon w3-forms w3-display w3-imap w3-widget css font w3-mouse
w3-vars w3-cus w3-keyword url mm mule-sysdp url-parse url-vars
annotations sort gnus-cite gnus-async gnus-score score-mode gnus-dup
gnus-ml gnus-msg gnus-art mm-uu mm-view disp-table info nndraft nnmh
gnus-cache nnml bbdb-gnus nntp nnoo gnus-sum gnus-group gnus-undo
nnmail mail-source format-spec gnus-start gnus-range gnus-spec
gnus-int gnus-win gnus gnus-ems gnus-xmas wid-edit message messagexmas
mml mm-decode mm-encode mailcap mm-bodies uudecode mail-parse rfc2045
rfc2231 rfc2047 qp ietf-drums mail-abbrevs sendmail rfc822 mailheader
gnus-util time-date parse-time nnheader nnheaderxm mail-utils mm-util
mail-prsvr tar-mode efs-cu func-menu filladapt gnuserv pending-del
byte-optimize bytecomp byte-compile recent-files detached-minibuf
lazy-shot font-lock ebuff-menu electric bbdb timezone paren mic-paren
cus-face advice advice-preload uniquify jka-compr rsz-minibuf
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads
view-process-autoloads vc-autoloads tramp-autoloads time-autoloads
text-modes-autoloads texinfo-autoloads supercite-autoloads
speedbar-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads psgml-autoloads prog-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
net-utils-autoloads mail-lib-autoloads ispell-autoloads
igrep-autoloads hm--html-menus-autoloads gnus-autoloads
footnote-autoloads eterm-autoloads eshell-autoloads elib-autoloads
efs-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
dired-autoloads debug-autoloads cc-mode-autoloads calc-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 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:
-----------------
SPC f a r SPC I SPC h a v e SPC b e e n SPC u n a b
l e SPC t o SPC g e n e r a t e SPC a SPC b a c k t
r a c e , SPC b u t SPC I ' m SPC t r y i n g SPC t
o SPC i n v e s t i g a e SPC BS BS t SPC BS e SPC
r i g h t SPC n o w . misc-user misc-user button1 button1up
misc-user
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Loading view-less...done
Loading view-less...
Quit
M-_ not defined.
Quit
Quit
Quit
Quit
Quit
Generating summary...done
Generating summary...
Suppressing duplicates...done
Suppressing duplicates...
Fetching headers for comp.emacs.xemacs...done
Fetching headers for comp.emacs.xemacs...
Retrieving newsgroup: comp.emacs.xemacs...
Generating summary...done
Generating summary...
- vin