GNU bug report logs -
#21623
25.0.50; Another font memory leak
Previous Next
To reply to this bug, email your comments to 21623 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21623
; Package
emacs
.
(Mon, 05 Oct 2015 19:04:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dima Kogan <lists <at> dima.secretsauce.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 05 Oct 2015 19:04:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I'm continuing to hunt for memory leaks. The next largest one is caused
by a workaround in
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18403
In that report issues were observed when deallocating a font, and a
workaround was to leak the memory. This is not an insignificant leak
(3kB at a time), and a better solution is desired.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21623
; Package
emacs
.
(Thu, 01 Aug 2019 19:04:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 21623 <at> debbugs.gnu.org (full text, mbox):
Dima Kogan <lists <at> dima.secretsauce.net> writes:
> I'm continuing to hunt for memory leaks. The next largest one is caused
> by a workaround in
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18403
>
> In that report issues were observed when deallocating a font, and a
> workaround was to leak the memory. This is not an insignificant leak
> (3kB at a time), and a better solution is desired.
(I'm going through old bug reports that have unfortunately not gotten
any responses.)
That bug was fixed, I think, so the workaround wasn't necessary any
more? Are you still seeing memory leaks in this area?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21623
; Package
emacs
.
(Thu, 01 Aug 2019 19:38:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 21623 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> (I'm going through old bug reports that have unfortunately not gotten
> any responses.)
Thank you very much for doing that
> That bug was fixed, I think, so the workaround wasn't necessary any
> more? Are you still seeing memory leaks in this area?
I'm not using the lucid terminal anymore, so I'm not seeing this, but
I'm certain it's still an issue. The fix to 18403 WAS the workaround
that leaks memory (without the workaround emacs was crashing).
The commit that fixes 18403 by introducing a memory leak:
commit 80465f41d7fc67d40f0a233504e295b127ad2c6b
Author: Dmitry Antipov <dmantipov <at> yandex.ru>
Date: Tue Sep 9 07:22:36 2014 +0400
* xterm.c (x_term_init): Consolidate duplicated code.
[USE_LUCID]: Revert 2014-04-02 change (Bug#18403). Add comment.
(x_delete_terminal): Do not close X connection fd (Bug#18403).
Add eassert and mark dpyinfo as dead only if it was alive.
When I was looking at this I wrote some tools to aid in debugging. The
blog post that describes these tools talks about this memory leak:
http://notes.secretsauce.net/notes/2015/10/05_memory-leak-debugging-tools.html
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#21623
; Package
emacs
.
(Thu, 01 Aug 2019 19:45:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 21623 <at> debbugs.gnu.org (full text, mbox):
Dima Kogan <dima <at> secretsauce.net> writes:
> I'm not using the lucid terminal anymore, so I'm not seeing this, but
> I'm certain it's still an issue. The fix to 18403 WAS the workaround
> that leaks memory (without the workaround emacs was crashing).
I tried grepping the sources for the proposed patch and it didn't look
like it had been applied. But I must have done something wrong, because
I can find it now. Sorry for the confusion.
> When I was looking at this I wrote some tools to aid in debugging. The
> blog post that describes these tools talks about this memory leak:
>
> http://notes.secretsauce.net/notes/2015/10/05_memory-leak-debugging-tools.html
Hm, interesting...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 6 years and 14 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.