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

From: Tassilo Horn <[email-masked]>
Date: Tue, 06 Nov 2012 21:01:26 +0100

Eli Zaretskii <[email-masked]> writes:

>> Um, it's an integer (which is also visible in the other backtraces).
>> 
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x0000000000543714 in event_to_kboard (event=0xbd2ba0 <kbd_buffer+98112>)
>>     at keyboard.c:3421
>> 3421	  if (WINDOWP (obj))
>> (gdb) p obj
>> $1 = 1666821
>
> All Lisp objects look like integers, but aren't.  What does "xtype"
> say about it?  Like this:
>
>  (gdb) p obj
>  (gdb) xtype

Program received signal SIGSEGV, Segmentation fault.
0x0000000000543714 in event_to_kboard (event=0xbe01e0 <kbd_buffer+152960>)
    at keyboard.c:3421
3421	  if (WINDOWP (obj))
(gdb) p obj
$1 = 7816245
(gdb) xtype 
No symbol "GCTYPEBITS" in current context.

Bye,
Tassilo