Subject: bug#33294: xwidget-insert crashes Emacs

From: Andy Moreton <[email-masked]>
Date: Wed, 07 Nov 2018 16:16:00 +0000

On Wed 07 Nov 2018, Eli Zaretskii wrote:

>> From: Evgeny Zajcev <[email-masked]>
>> Date: Wed, 7 Nov 2018 00:13:20 +0300
>> 
>> Emacs from git crashes on next code:
>> 
>>   (require 'xwidget)
>>   (with-temp-buffer
>>     (xwidget-insert (point-min) 'webkit (buffer-name) 320 240))
>
> Thank you for your report.  Please show a GDB backtrace from the
> crash.

Unrelated to this bug, but a quick look at the code shows that
xwidget-insert calls make-xwidget, which returns an uninitialized object
if the type argument is not 'webkit.

    AndyM