From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.bugs Subject: bug#21623: 25.0.50; Another font memory leak Date: Thu, 01 Aug 2019 12:37:20 -0700 Message-ID: <87d0ho4qz3.fsf@shorty.i-did-not-set--mail-host-address--so-tickle-me> References: <874mi516kg.fsf@secretsauce.net> <87zhksg13o.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="160827"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.0; emacs 27.0.50 Cc: 21623@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 01 21:38:24 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htGu6-000fgq-QD for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Aug 2019 21:38:23 +0200 Original-Received: from localhost ([::1]:58714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htGu5-0006AO-PG for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Aug 2019 15:38:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46161) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htGtn-000665-WB for bug-gnu-emacs@gnu.org; Thu, 01 Aug 2019 15:38:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htGtm-0005MM-OR for bug-gnu-emacs@gnu.org; Thu, 01 Aug 2019 15:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46501) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1htGtm-0005KS-6U for bug-gnu-emacs@gnu.org; Thu, 01 Aug 2019 15:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1htGtm-0002gg-1z for bug-gnu-emacs@gnu.org; Thu, 01 Aug 2019 15:38:02 -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 Aug 2019 19:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21623 X-GNU-PR-Package: emacs Original-Received: via spool by 21623-submit@debbugs.gnu.org id=B21623.156468825110283 (code B ref 21623); Thu, 01 Aug 2019 19:38:02 +0000 Original-Received: (at 21623) by debbugs.gnu.org; 1 Aug 2019 19:37:31 +0000 Original-Received: from localhost ([127.0.0.1]:55322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htGtG-0002fn-KW for submit@debbugs.gnu.org; Thu, 01 Aug 2019 15:37:30 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:37333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htGtE-0002fa-IB for 21623@debbugs.gnu.org; Thu, 01 Aug 2019 15:37:29 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id A5570380; Thu, 1 Aug 2019 15:37:22 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 01 Aug 2019 15:37:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secretsauce.net; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm3; bh=32AD7NKnSeflC0WRrh0s35UxS2 PW5V2KGmgxBjGjWxI=; b=dUXu5ADL18p3ndRgnPkfNBcLQYOAbhiGzW/5dME77o 66qS3A6ZUrRvTExI4L2L/SJM2AC0hKdo5vUbupW7Nhtxy2yHOQtnZFf0dM1isVls MXdAsra/SxVFcyA068dbBL6mLIzjNcBIWtlMJnSOf3LzadbUmz5silgZL7F+5Tzo 8BkX9AR50vqynCYZNdCt9m0v4mDtKmDWFUSrFMnxtF+tujSVUTGcpBCyxBjkTTne bcatS8U7d83rqZ12JMGTrJH7r+eUUQHi+L0sIpxRqe7v57FEC0yCayJc0McM0P9W ech87RWYCYJPbZuqxzsY/6EyZy1BciDLVHB+18We/5xg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=32AD7N KnSeflC0WRrh0s35UxS2PW5V2KGmgxBjGjWxI=; b=bcqICkc72ahGJ24Sgd9/Ou aJrQUY9YLumXhJB8AvsXpOahCbxE0Yiv5LBxmAVTJ58Tf3C1yfyw4LyY73qonT7K YGTBs1g0G38xdDfKxz1QISdrWuaQQOsHQpZ6G+ZAO/Y2z2dAciYFQ3F1R4OoLNhh hvG/0BABfmXjgjBYffeXpq9o8pdxcb9SZBErfQtWuxGl3SdTN8FpwAEi06oEK/QM 7NygHVxO53lWXXRtw4v6BRo0iwRJK07G+ACdMDV+AEN8SJjVwTth7qgPNAT1vjRK gUmMOHHUuX0qRtHmN8R9vJP2QX5VWW7uyU79PvVo1c5m0s0vCU2Darcfu8sim09A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrleejgddufeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufgjfffkgggtsehttdertddtredtnecuhfhrohhmpeffihhmrgcu mfhoghgrnhcuoeguihhmrgesshgvtghrvghtshgruhgtvgdrnhgvtheqnecuffhomhgrih hnpehsvggtrhgvthhsrghutggvrdhnvghtnecukfhppedvtdejrdduhedurddvvdefrddu keelnecurfgrrhgrmhepmhgrihhlfhhrohhmpeguihhmrgesshgvtghrvghtshgruhgtvg drnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Original-Received: from shorty.local (nat-guest-189.vonkarman.net [207.151.223.189]) by mail.messagingengine.com (Postfix) with ESMTPA id 8D57780062; Thu, 1 Aug 2019 15:37:21 -0400 (EDT) Original-Received: from dima by shorty.local with local (Exim 4.92) (envelope-from ) id 1htGt6-0007x0-3B; Thu, 01 Aug 2019 12:37:20 -0700 In-reply-to: <87zhksg13o.fsf@mouse.gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:164263 Archived-At: Lars Ingebrigtsen 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 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