From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21556: 25.0.50; Memory leak in emacs -Q with lucid (font) Date: Wed, 30 Sep 2015 10:00:59 +0300 Message-ID: <83vbasbdck.fsf@gnu.org> References: <87zj082t34.fsf@gnu.org> <83io6wffm9.fsf@gnu.org> <87lhbqdhjp.fsf@secretsauce.net> <83d1x2eugp.fsf@gnu.org> <87oagl376v.fsf@secretsauce.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443675474 15452 80.91.229.3 (1 Oct 2015 04:57:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 04:57:54 +0000 (UTC) Cc: dmantipov@yandex.ru, 21556@debbugs.gnu.org To: Dima Kogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 06:57:43 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZhVw7-0005m3-Dv for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 06:57:43 +0200 Original-Received: from localhost ([::1]:37763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhVw6-0008QO-Ne for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 00:57:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhBO0-0000K2-0k for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 03:01:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhBNu-0006qF-UD for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 03:01:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhBNu-0006qB-RH for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 03:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZhBNu-0008IR-E2 for bug-gnu-emacs@gnu.org; Wed, 30 Sep 2015 03:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Sep 2015 07:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21556 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21556-submit@debbugs.gnu.org id=B21556.144359645231868 (code B ref 21556); Wed, 30 Sep 2015 07:01:02 +0000 Original-Received: (at 21556) by debbugs.gnu.org; 30 Sep 2015 07:00:52 +0000 Original-Received: from localhost ([127.0.0.1]:48525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhBNj-0008Hw-VE for submit@debbugs.gnu.org; Wed, 30 Sep 2015 03:00:52 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:44967) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhBNh-0008Hl-T3 for 21556@debbugs.gnu.org; Wed, 30 Sep 2015 03:00:51 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NVH00J009ZQRI00@mtaout26.012.net.il> for 21556@debbugs.gnu.org; Wed, 30 Sep 2015 10:03:36 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVH00KQQAA0C710@mtaout26.012.net.il>; Wed, 30 Sep 2015 10:03:36 +0300 (IDT) In-reply-to: <87oagl376v.fsf@secretsauce.net> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107081 Archived-At: > From: Dima Kogan > Cc: handa@gnu.org, 21556@debbugs.gnu.org, dmantipov@yandex.ru > Date: Tue, 29 Sep 2015 02:28:56 -0700 > > Eli Zaretskii writes: > > > So, if you prefer not to invest any time in investigating the font > > marking code, let's wait for Dmitry to respond, and make the decision > > when he does (or when we give up waiting). > > I guess I preferred to invest more time. I found and fixed the bug, and > the patch is attached. The issue was that the compaction code wasn't > checking all the right lisp objects for the marks. The font entities > were storing a list of fonts, and this list had to be traversed, looking > for the marks. See font_clear_cache() for a function that WAS traversing > the full list. Thanks! Let's wait for a week for comments, and if nothing significant comes up, let's install this.