GNU bug report logs -
#33294
xwidget-insert crashes Emacs
Previous Next
Reported by: Evgeny Zajcev <lg.zevlg <at> gmail.com>
Date: Tue, 6 Nov 2018 21:15:01 UTC
Severity: normal
Tags: fixed
Fixed in version 26.2
Done: Robert Pluim <rpluim <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #32 received at 33294 <at> debbugs.gnu.org (full text, mbox):
> From: Robert Pluim <rpluim <at> gmail.com>
> Cc: Evgeny Zajcev <lg.zevlg <at> gmail.com>, Gemini Lasswell <gazally <at> runbox.com>, 33294 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
> Date: Thu, 08 Nov 2018 17:21:45 +0100
>
> (gdb) pp argvals[0]
> [Thread 0x7fff8a990700 (LWP 7812) exited]
> [New Thread 0x7fff8a990700 (LWP 7850)]
> [New Thread 0x7fff8a18f700 (LWP 7851)]
> #<xwidget >
> (gdb) p XTYPE(argvals[0])
> $1 = Lisp_Vectorlike
> (gdb) p PSEUDOVECTOR_TYPE (XVECTOR (argvals[0]))
> $2 = PVEC_XWIDGET
>
> And type-of explicitly calls abort for that tag:
>
> /* "Impossible" cases. */
> case PVEC_MISC_PTR:
> case PVEC_XWIDGET:
> case PVEC_OTHER:
> case PVEC_XWIDGET_VIEW:
> case PVEC_SUB_CHAR_TABLE:
> case PVEC_FREE: ;
> }
> emacs_abort ();
>
> which Stefan added in 1b424533675341a2090b79a6ffc420ac6b179ce7
I admit I don't understand why PVEC_XWIDGET and PVEC_XWIDGET_VIEW are
in the "impossible" cases. They are first-class Lisp objects, AFAICT.
This bug report was last modified 6 years and 256 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.