Subject: 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: Fri, 11 Sep 2020 14:54:25 +0200

Dmitry Antipov <[email-masked]> writes:

>> I tried this with Emacs 28 now (on Debian bullseye), and valgrind did
>> not output this warning.  (This is with a lucid build.)  However,
>> looking at the x11 bug tracker, there doesn't seem to have been any
>> progress there:
>>    https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/36
>> So are you still seeing this problem?
>
> No.

OK, closing this bug report.

> But, to whom it may be interesting, running the following code:
>  (dotimes (n 10000)
>   (let ((x (make-frame-on-display ":1.0"))
>         (y (make-frame-on-display ":1.0")))
>     (delete-frame x)
>     (delete-frame y)))
>
> with Xnest (which is ":1.0") successfully raises Emacs' RSS from
> ~30M to ~120M.

This sounds like it should be reported as a new bug report.

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