GNU bug report logs -
#12814
24.3.50; Emacs crash in event_to_kboard at keyboard.c:3421
Previous Next
Reported by: Tassilo Horn <thorn <at> fastmail.fm>
Date: Tue, 6 Nov 2012 11:00:01 UTC
Severity: normal
Found in version 24.3.50
Done: Tassilo Horn <tsdh <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Tassilo Horn <tsdh <at> gnu.org>
> Cc: 12814 <at> debbugs.gnu.org
> Date: Tue, 06 Nov 2012 19:27:46 +0100
>
> Tassilo Horn <tsdh <at> 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
This bug report was last modified 12 years and 255 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.