emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem copying large text under X


From: Kim F. Storm
Subject: Problem copying large text under X
Date: Tue, 2 Nov 2004 00:44:28 +0100 (CET)

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

emacs -Q
C-x C-f xdisp.c RET
C-x h
M-w

Sometimes this takes a long time and emacs seems to hang...

[If this is excepted, shouldn't it show the hourglass cursor in this case?]

When I get tired of waiting, I type C-g, which triggers the following error:

Xlib: unexpected async reply (sequence 0x2ad6)!

But emacs is still unresponsive...

(gdb) bt
#0  0xffffe002 in ?? ()
#1  0x4021ef02 in _XFlush () from /usr/X11R6/lib/libX11.so.6
#2  0x4021ed19 in _XFlush () from /usr/X11R6/lib/libX11.so.6
#3  0x4021f47b in _XEventsQueued () from /usr/X11R6/lib/libX11.so.6
#4  0x40212578 in XPending () from /usr/X11R6/lib/libX11.so.6
#5  0x080e422f in XTread_socket (sd=0, expected=1, hold_quit=0xbfffbedc) at 
xterm.c:7108
#6  0x0811638e in read_avail_input (expected=1) at keyboard.c:6682
#7  0x08116585 in handle_async_input () at keyboard.c:6827
#8  0x081165c8 in input_available_signal (signo=29) at keyboard.c:6866
#9  <signal handler called>
#10 0xffffe002 in ?? ()
#11 0x4023f20f in _X11TransWrite () from /usr/X11R6/lib/libX11.so.6
#12 0x4021ee92 in _XFlush () from /usr/X11R6/lib/libX11.so.6
#13 0x402204fd in _XReply () from /usr/X11R6/lib/libX11.so.6
#14 0x4021b975 in XSync () from /usr/X11R6/lib/libX11.so.6
#15 0x080e4fd6 in x_catch_errors_unwind (old_val=137755221) at xterm.c:7622
#16 0x0818a033 in unbind_to (count=12, value=137722713) at eval.c:3095
#17 0x08186c81 in unwind_to_catch (catch=0xbfffd180, value=137748941) at 
eval.c:1150
#18 0x0818762d in Fsignal (error_symbol=137783713, data=137722713) at 
eval.c:1545
#19 0x081c63a6 in wait_reading_process_output (time_limit=20, microsecs=0, 
read_kbd=0, do_display=0, wait_for_cell=137750261, wait_proc=0x0, 
just_wait_proc=0) at process.c:4101
#20 0x080f578a in wait_for_property_change (location=0x86fd758) at 
xselect.c:1120
#21 0x080f4c7b in x_reply_selection_request (event=0xbfffc8a0, format=8, 
data=0x8acd494 "assalkj/* Display generation from window structure and buffer 
text.\n   Copyright (C) 1985,86,87,88,93,94,95,97,98,99,2000,01,02,03,04\n   
Free Software Foundation, Inc.\n\nThis file is part of GNU Emacs."..., 
size=670762, type=234) at xselect.c:688
#22 0x080f4ff1 in x_handle_selection_request (event=0xbfffc8a0) at xselect.c:841
#23 0x08112e0f in swallow_events (do_display=1) at keyboard.c:4215
#24 0x081c6cc9 in wait_reading_process_output (time_limit=30, microsecs=0, 
read_kbd=-1, do_display=1, wait_for_cell=137722713, wait_proc=0x0, 
just_wait_proc=0) at process.c:4464
#25 0x0805ace0 in sit_for (sec=30, usec=0, reading=1, display=1, 
initial_display=0) at dispnew.c:6365
#26 0x08110821 in read_char (commandflag=1, nmaps=2, maps=0xbfffce50, 
prev_event=137722713, used_mouse_menu=0xbfffcf3c) at keyboard.c:2758
#27 0x08119a46 in read_key_sequence (keybuf=0xbfffd0b0, bufsize=30, 
prompt=137722713, dont_downcase_last=0, can_return_switch_frame=1, 
fix_current_buffer=1) at keyboard.c:8830
#28 0x0810d84a in command_loop_1 () at keyboard.c:1528
#29 0x0818715c in internal_condition_case (bfun=0x810d42d <command_loop_1>, 
handlers=137783689, hfun=0x810cf45 <cmd_error>) at eval.c:1346
#30 0x0810d28a in command_loop_2 () at keyboard.c:1309
#31 0x08186c06 in internal_catch (tag=137807153, func=0x810d26b 
<command_loop_2>, arg=137722713) at eval.c:1107
#32 0x0810d1ea in command_loop () at keyboard.c:1276
#33 0x0810ccbb in recursive_edit_1 () at keyboard.c:981
#34 0x0813a323 in read_minibuf (map=137750797, initial=137722713, 
prompt=142858723, backup_n=0, expflag=0, histvar=137873601, histpos=0, 
defalt=141053075, allow_props=0, inherit_input_method=0) at minibuf.c:698
#35 0x0813bf1f in Fcompleting_read (prompt=142858723, table=137754885, 
predicate=137722713, require_match=137722713, initial_input=137722713, 
hist=137873601, def=141053075, inherit_input_method=137722713) at minibuf.c:1709
#36 0x0813af13 in Fread_buffer (prompt=142858723, def=141053075, 
require_match=137722713) at minibuf.c:1148
#37 0x08183f61 in Fcall_interactively (function=137831129, 
record_flag=137722713, keys=137779596) at callint.c:564
#38 0x0811ba1b in Fcommand_execute (cmd=137831129, record_flag=137722713, 
keys=137722713, special=137722713) at keyboard.c:9724
#39 0x0810e9b5 in command_loop_1 () at keyboard.c:1779
#40 0x0818715c in internal_condition_case (bfun=0x810d42d <command_loop_1>, 
handlers=137783689, hfun=0x810cf45 <cmd_error>) at eval.c:1346
#41 0x0810d28a in command_loop_2 () at keyboard.c:1309
#42 0x08186c06 in internal_catch (tag=137777697, func=0x810d26b 
<command_loop_2>, arg=137722713) at eval.c:1107
#43 0x0810d23d in command_loop () at keyboard.c:1288
#44 0x0810ccbb in recursive_edit_1 () at keyboard.c:981
#45 0x0810cdfc in Frecursive_edit () at keyboard.c:1042
#46 0x0810b6e6 in main (argc=2, argv=0xbfffde84) at emacs.c:1739
#47 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6

(gdb)up 20
#20 0x080f578a in wait_for_property_change (location=0x86fd758) at 
xselect.c:1120
(gdb) p property_change_reply
$1 = 137750261
(gdb) pr
(nil)
(gdb) p x_selection_timeout
$2 = 20000
(gdb) up
#21 0x080f4c7b in x_reply_selection_request (event=0xbfffc8a0, format=8, 
data=0x8acd494 "assalkj/* Display generation from window structure and buffer 
text.\n   Copyright (C) 1985,86,87,88,93,94,95,97,98,99,2000,01,02,03,04\n   
Free Software Foundation, Inc.\n\nThis file is part of GNU Emacs."..., 
size=670762, type=234) at xselect.c:688
(gdb) p reply
$3 = {
  type = 31, 
  serial = 140111888, 
  send_event = 137953617, 
  display = 0x859f010, 
  requestor = 27263245, 
  selection = 1, 
  target = 234, 
  property = 291, 
  time = 0
}
(gdb) p *event
$4 = (struct input_event *) 0xbfffc8a0
(gdb) p *event
$5 = {
  kind = SELECTION_REQUEST_EVENT, 
  code = 140111888, 
  part = 27263245, 
  modifiers = 1, 
  x = 234, 
  y = 291, 
  timestamp = 0, 
  padding = {0x0, 0x0}, 
  frame_or_window = 137722713, 
  arg = 137722713
}
(gdb) p *(struct selection_input_event *)event
$6 = {
  kind = 8, 
  display = 0x859f010, 
  requestor = 27263245, 
  selection = 1, 
  target = 234, 
  property = 291, 
  time = 0
}
(gdb) p x_queue_selection_requests
$7 = 0
(gdb) p bytes_remaining
$8 = 670762
(gdb) 


In GNU Emacs 21.3.50.27 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2004-11-01 on kfs-l.imdomain.dk
Distributor `The XFree86 Project, Inc', version 11.0.40300000
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: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

--
Kim F. Storm  http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]