From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#16093: 24.3.50; Crash of emacs --daemon on killing X server Date: Sat, 14 Dec 2013 06:08:47 +0400 Message-ID: <52ABBDAF.3070002@yandex.ru> References: <87siu2uics.fsf@spindle.srvr.nix> <52A604A7.6010104@yandex.ru> <8738m0s2bu.fsf@spindle.srvr.nix> <52A7E9D9.3060306@yandex.ru> <87d2l01ise.fsf@spindle.srvr.nix> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1386988503 1294 80.91.229.3 (14 Dec 2013 02:35:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Dec 2013 02:35:03 +0000 (UTC) Cc: 16093@debbugs.gnu.org To: Nix Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 14 03:35:08 2013 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 1Vrf4O-0005LN-4w for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Dec 2013 03:35:08 +0100 Original-Received: from localhost ([::1]:45440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vrf4N-00085o-29 for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Dec 2013 21:35:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vrf4B-0007sc-6j for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 21:35:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vrf3x-0006ml-KV for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 21:34:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vrf3x-0006mL-E5 for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 21:34:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vreg6-0000nS-N0 for bug-gnu-emacs@gnu.org; Fri, 13 Dec 2013 21:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Dec 2013 02:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16093 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16093-submit@debbugs.gnu.org id=B16093.13869869542994 (code B ref 16093); Sat, 14 Dec 2013 02:10:02 +0000 Original-Received: (at 16093) by debbugs.gnu.org; 14 Dec 2013 02:09:14 +0000 Original-Received: from localhost ([127.0.0.1]:49027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrefJ-0000mC-Pc for submit@debbugs.gnu.org; Fri, 13 Dec 2013 21:09:14 -0500 Original-Received: from forward4o.mail.yandex.net ([37.140.190.33]:49502) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VrefG-0000m2-Hv for 16093@debbugs.gnu.org; Fri, 13 Dec 2013 21:09:12 -0500 Original-Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [37.140.190.29]) by forward4o.mail.yandex.net (Yandex) with ESMTP id 384195640CE4; Sat, 14 Dec 2013 06:08:48 +0400 (MSK) Original-Received: from smtp4o.mail.yandex.net (localhost [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id EF5F12320A13; Sat, 14 Dec 2013 06:08:47 +0400 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id FQXAbygyM6-8lce9CkM; Sat, 14 Dec 2013 06:08:47 +0400 (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1386986927; bh=7Ztf3okogUdOjla2imB1bNeDF1nyq7AVdAo0rQJAIrs=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=se1xzOr/tYR4wbZsYbYqrnR8EmVuBsiqHMVs7V3nxVteo/HOB0fMEvostTlvrqDo0 aQ6zTt+AZe3BWlyhay4YCEGnEdDZBr6Lal5i7g7Rf9gwxaTryhSVVLdzOBvPIPXF25 iTyLoRTHC9OswILuh2T9XCve36UKpmw89B4qLWQs= Authentication-Results: smtp4o.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <87d2l01ise.fsf@spindle.srvr.nix> 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: 140.186.70.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:81922 Archived-At: On 12/14/2013 02:35 AM, Nix wrote: > I concur that *not* freeing fonts at some point is a gigantic leak, > though. It's really gigantic in a specially designed case, which is quite far from the most of regular use cases. But it's a leak anyway. > Am I right to assume that bug 16128 is the same bug, and that > this is thus fixed by r115505? Or does r115506 indicate that you've > been forced to let this leak stand? :( No. Revision 115489 (reverted by 115506) was an attempt to solve two minor issues: 1) 'n_fonts' counter in FRAME_DISPLAY_INFO (f) should be updated when the font is closed and 2) when font-entity is gone, font_driver->free_entity should be called for it, if non-NULL (for now macfont.m is the only driver where it is so). Dmitry