Subject: bug#12814: 24.3.50; Emacs crash in event_to_kboard at keyboard.c:3421

From: Eli Zaretskii <[email-masked]>
Date: Wed, 07 Nov 2012 21:19:17 +0200

> From: Tassilo Horn <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Wed, 07 Nov 2012 19:45:21 +0100
> 
> the next crash occured.  This time not while typing but while scrolling
> (<down>) in an info buffer.

If you were scrolling down, how come Emacs was processing a selection
request event?  AFAIK, that means some other application requested the
selection data owned by Emacs.

> (gdb) p *event
> $3 = {
>   kind = SELECTION_REQUEST_EVENT, 
>   code = 54395952, 
>   part = 23068704, 
>   modifiers = 0, 
>   x = 400, 
>   y = 322, 
>   timestamp = 356, 
>   frame_or_window = 2922261, 
>   arg = 12766914
> }

Someone who knows their way around X selection code should help you
find out where does this value of frame_or_window come from, and how
that Lisp object became inaccessible.