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

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

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


From: Eli Zaretskii
Subject: bug#12814: 24.3.50; Emacs crash in event_to_kboard at keyboard.c:3421
Date: Tue, 06 Nov 2012 21:08:55 +0200

> From: Tassilo Horn <tsdh@gnu.org>
> Cc: 12814@debbugs.gnu.org
> Date: Tue, 06 Nov 2012 19:27:46 +0100
> 
> Tassilo Horn <tsdh@gnu.org> writes:
> 
> >>> 3421        if (WINDOWP (obj))
> >>
> >> What is 'obj' here?  Why does it cause a segfault?
> >
> > I'll tell you the next time the crash occurs.  Shouldn't take too
> > long.
> 
> 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





reply via email to

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