From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.bugs Subject: bug#21556: 25.0.50; Memory leak in emacs -Q with lucid (font) Date: Thu, 01 Oct 2015 11:50:58 -0700 Message-ID: <874mia2zjh.fsf@secretsauce.net> References: <87zj082t34.fsf@gnu.org> <83io6wffm9.fsf@gnu.org> <87lhbqdhjp.fsf@secretsauce.net> <83d1x2eugp.fsf@gnu.org> <87oagl376v.fsf@secretsauce.net> <560BB690.3020804@yandex.ru> <87612q3oxj.fsf@secretsauce.net> <560D34CB.5010900@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443726730 3650 80.91.229.3 (1 Oct 2015 19:12:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 19:12:10 +0000 (UTC) Cc: 21556@debbugs.gnu.org To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 21:11:56 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 1ZhjGl-0003fh-Rh for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 21:11:55 +0200 Original-Received: from localhost ([::1]:55541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhjGl-0006YU-2y for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 15:11:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhixa-0002Wm-Ao for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 14:52:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhixW-0000ww-Au for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 14:52:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhixW-0000wq-8Y for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 14:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZhixV-00025Q-SU for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 14:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dima Kogan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2015 18:52:01 +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.14437254657948 (code B ref 21556); Thu, 01 Oct 2015 18:52:01 +0000 Original-Received: (at 21556) by debbugs.gnu.org; 1 Oct 2015 18:51:05 +0000 Original-Received: from localhost ([127.0.0.1]:50999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zhiwa-000247-Vh for submit@debbugs.gnu.org; Thu, 01 Oct 2015 14:51:05 -0400 Original-Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58682) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhiwY-00023w-4W for 21556@debbugs.gnu.org; Thu, 01 Oct 2015 14:51:02 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BBBCE20881 for <21556@debbugs.gnu.org>; Thu, 1 Oct 2015 14:51:01 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 01 Oct 2015 14:51:01 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=j0OO3 jXrxZP/6YCFr14oGTlQDys=; b=d3ma7NpJjXJgRs04X0jICTaS9TrdM3Zr9IWUl Y58dHOqRu7qxjS1/EZYfqqnMN4zTnBb/iYVE0AN5sIn5BJBkwL5LxzMrT7QXdgup Y0otUvjTLonszhmfPYmlwERJAEtktoQtwKCFmJwzm4RZ7YNUoyJIhRxmV1mnDMxw kd0S0M= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=j0OO3jXrxZP/6YCFr14oGTlQDys=; b=EjsFj biWSPqI2owmEhYaSy5B+lwKpNME8gkWi03UpfCALStydwHUwVF+F2nJHX5k5IBcN U1ws8CYw6Q+sSYzUSRI7JlL9F2o/IZZQu7X6Tzx9BPni1lgr6FqLq/I3sMe+wuCF aqrjZIPmMJrA1WpHLIUy4wU5havDK7HRZb5OdU= X-Sasl-enc: vdsCTdiUAG2EmwSQdMKE9ESQCu9j4xYy4KFQbNTqh5o5 1443725461 Original-Received: from shorty.local (50-1-153-216.dsl.dynamic.fusionbroadband.com [50.1.153.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 45D08C00021; Thu, 1 Oct 2015 14:51:01 -0400 (EDT) Original-Received: from ip6-localhost ([::1] helo=shorty) by shorty.local with esmtp (Exim 4.84) (envelope-from ) id 1ZhiwU-0002jI-CL; Thu, 01 Oct 2015 11:50:58 -0700 In-reply-to: <560D34CB.5010900@yandex.ru> 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:107175 Archived-At: Dmitry Antipov writes: > On 10/01/2015 12:42 PM, Dima Kogan wrote: > >> Clearly in this function we mark the font. We don't obviously mark the >> containing entity, unless it's one of the face->lface[] elements. If >> even in this case we're supposed to be marking the entity, where would >> this be? > > Hm...I suppose that all really used font stuff should be marked through > fontsets (read: char tables, see fontset.c) recorded in Vfontset_table. OK, so are you suggesting changing how mark_face_cache() works? How bad is it to accept that fonts and font entities are not necessarily linked, and to install the latest patch in this bug?