Subject: Re: bug#17975: 24.3.92; assertion failure deleting frames with varying names for the same display (and, using multiple X11 connections in that case too)

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 09 Sep 2020 13:35:43 +0200

Dmitry Antipov <[email-masked]> writes:

> Just for the record: running Motif build with the same args, i.e.
>
> ./src/emacs -Q --eval '(let ((f (selected-frame)))
> (make-frame-on-display ":0") (delete-frame f))'
>
> produces a hard crash caused by an attempt to dereference NULL
> 'Display *' pointer somewhere in Motif's libXm.so library:
>
> Program received signal SIGSEGV, Segmentation fault.
> XFindContext (display=display@entry=0x0, rid=14237104,
> context=context@entry=-5, data=data@entry=0x7ffffffecc80) at

I tried this on Debian bullseye (and Emacs 28) now, and it did not
segfault.  Are you still able to reproduce this bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no