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

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

abort in x_handle_selection_event when copying text (was: x-dnd (drag an


From: Reiner Steib
Subject: abort in x_handle_selection_event when copying text (was: x-dnd (drag and drop) fails on x86_64)
Date: Mon, 07 Feb 2005 16:52:14 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

[ Resent message because the first one didn't make it to the list.
  Combined it with another message and adjusted subject: the problem
  isn't x86_64 specific. ]

On Mon, Feb 07 2005, Reiner Steib wrote:

> On Sat, Feb 05 2005, Jan D. wrote:
>
>> Then do the drop again and send the output in the buffer *Messages* 
>> here.
>
> Here is the log. [...]

When doing this, another problem appeared.  I was copying the content
of the *Messages* buffer using M-w (`kill-ring-save') in the current
CVS Emacs.  Then I yanked (`C-y') it in the mail buffer of this Emacs
session (Emacs 21.3).

At this moment, CVS Emacs aborted, see this backtrace:

--8<---------------cut here---------------start------------->8---
TERM = screen
Breakpoint 1 at 0x4e3dc0: file [...]/emacs/src/emacs.c, line 453.
Breakpoint 2 at 0x4bc4f0: file [...]/emacs/src/xterm.c, line 7788.
(gdb) r -Q -l ~/Mail/Attachments/dnd-diff.el -eval '(setq message-log-max t)'
Starting program: [...]/x86_64/src/emacs -Q -l ~/Mail/Attachments/dnd-diff.el 
-eval '(setq message-log-max t)'
[Thread debugging using libthread_db enabled]
[New Thread 182940272320 (LWP 6199)]
[Switching to Thread 182940272320 (LWP 6199)]

Breakpoint 1, abort () at [...]/emacs/src/emacs.c:453
453     {
(gdb) bt
#0  abort () at [...]/emacs/src/emacs.c:453
#1  0x00000000004cfe55 in x_handle_selection_event (event=0x7fbfffcd00)
    at [...]/emacs/src/xselect.c:820
#2  0x00000000004ed3f8 in swallow_events (do_display=1) at 
[...]/emacs/src/keyboard.c:4213
#3  0x00000000005812bf in wait_reading_process_output (time_limit=30, 
microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=9613345, 
    wait_proc=0x0, just_wait_proc=0) at [...]/emacs/src/process.c:4455
#4  0x000000000044a5c1 in sit_for (sec=30, usec=0, reading=1, display=1, 
initial_display=0)
    at [...]/emacs/src/dispnew.c:6367
#5  0x00000000004f1238 in read_char (commandflag=1, nmaps=2, maps=0x7fbfffd510, 
prev_event=9613345, used_mouse_menu=0x7fbfffd584)
    at [...]/emacs/src/keyboard.c:2765
#6  0x00000000004f3406 in read_key_sequence (keybuf=0x7fbfffd720, bufsize=30, 
prompt=9613345, dont_downcase_last=0, 
    can_return_switch_frame=1, fix_current_buffer=1) at 
[...]/emacs/src/keyboard.c:8799
#7  0x00000000004f502d in command_loop_1 () at [...]/emacs/src/keyboard.c:1534
#8  0x000000000054d1a1 in internal_condition_case (bfun=0x4f4e90 
<command_loop_1>, handlers=9724865, hfun=0x4ef4e0 <cmd_error>)
    at [...]/emacs/src/eval.c:1385
#9  0x00000000004ee74a in command_loop_2 () at [...]/emacs/src/keyboard.c:1315
#10 0x000000000054d2f0 in internal_catch (tag=Variable "tag" is not available.
) at [...]/emacs/src/eval.c:1144
#11 0x00000000004ef178 in command_loop () at [...]/emacs/src/keyboard.c:1294
#12 0x00000000004ef211 in recursive_edit_1 () at [...]/emacs/src/keyboard.c:987
#13 0x00000000004ef33e in Frecursive_edit () at [...]/emacs/src/keyboard.c:1048
#14 0x00000000004e4bfd in main (argc=6, argv=0x7fbfffdfa8) at 
[...]/emacs/src/emacs.c:1763
(gdb) xbacktrace 
(gdb) 
--8<---------------cut here---------------end--------------->8---

This problem is not specific to x86_64.  I get the same with Emacs
built on i686:

--8<---------------cut here---------------start------------->8---
(gdb) bt
#0  abort () at [...]/emacs/src/emacs.c:454
#1  0x08105ad8 in x_handle_selection_event (event=0xffffb900)
    at [...]/emacs/src/xselect.c:820
#2  0x08120e27 in swallow_events (do_display=1)
    at [...]/emacs/src/keyboard.c:4213
#3  0x081ac5b2 in wait_reading_process_output (time_limit=30, microsecs=0, 
read_kbd=-1, 
    do_display=1, wait_for_cell=137543697, wait_proc=0x0, just_wait_proc=0)
    at [...]/emacs/src/process.c:4455
#4  0x08085514 in sit_for (sec=30, usec=0, reading=1, display=1, 
initial_display=0)
    at [...]/emacs/src/dispnew.c:6367
#5  0x081242f6 in read_char (commandflag=1, nmaps=2, maps=0xffffbfa0, 
prev_event=137543697, 
    used_mouse_menu=0xffffbff8)
    at [...]/emacs/src/keyboard.c:2765
#6  0x08126256 in read_key_sequence (keybuf=0xffffc110, bufsize=30, 
prompt=137543697, 
    dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1)
    at [...]/emacs/src/keyboard.c:8799
#7  0x08127cb9 in command_loop_1 ()
    at [...]/emacs/src/keyboard.c:1534
#8  0x0817a86d in internal_condition_case (bfun=0x8127b30 <command_loop_1>, 
    handlers=137604689, hfun=0x8122a50 <cmd_error>)
    at [...]/emacs/src/eval.c:1385
#9  0x08121dfc in command_loop_2 ()
    at [...]/emacs/src/keyboard.c:1315
#10 0x0817a94a in internal_catch (tag=4562, func=0x8121de0 <command_loop_2>, 
arg=137543697)
    at [...]/emacs/src/eval.c:1144
#11 0x08122737 in command_loop ()
    at [...]/emacs/src/keyboard.c:1294
#12 0x081227d2 in recursive_edit_1 ()
    at [...]/emacs/src/keyboard.c:987
#13 0x081228ef in Frecursive_edit ()
    at [...]/emacs/src/keyboard.c:1048
---Type <return> to continue, or q <return> to quit---
#14 0x08119635 in main (argc=6, argv=0xffffc734)
    at [...]/emacs/src/emacs.c:1763
(gdb) xbacktrace 
(gdb) 
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

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