From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: peder@klingenberg.no (Peder O. Klingenberg) Newsgroups: gmane.emacs.bugs Subject: bug#17125: 24.4.50; daemon mode: closing X client frame exits entire emacs Date: Wed, 02 Apr 2014 15:01:43 +0200 Organization: Persons in a Position to Know, inc. Message-ID: References: <533AC37A.7060703@yandex.ru> <533AD678.7080307@yandex.ru> <533AE900.5040507@yandex.ru> <533B880B.5070009@yandex.ru> <533C0165.70507@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1396523827 22484 80.91.229.3 (3 Apr 2014 11:17:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2014 11:17:07 +0000 (UTC) Cc: 17125@debbugs.gnu.org To: Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 03 13:17:00 2014 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 1WVeL4-0001eo-Rl for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Apr 2014 11:53:38 +0200 Original-Received: from localhost ([::1]:38578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVKpB-0003ND-5h for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Apr 2014 09:03:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVKow-0003BL-4i for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2014 09:03:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVKop-0001uq-JX for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2014 09:03:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVKop-0001uk-Gf for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2014 09:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WVKop-00084k-5o for bug-gnu-emacs@gnu.org; Wed, 02 Apr 2014 09:03:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: peder@klingenberg.no (Peder O. Klingenberg) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Apr 2014 13:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17125 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17125-submit@debbugs.gnu.org id=B17125.139644372430941 (code B ref 17125); Wed, 02 Apr 2014 13:03:03 +0000 Original-Received: (at 17125) by debbugs.gnu.org; 2 Apr 2014 13:02:04 +0000 Original-Received: from localhost ([127.0.0.1]:60494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVKnr-00082y-AA for submit@debbugs.gnu.org; Wed, 02 Apr 2014 09:02:03 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:60513) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVKno-00082X-9p for 17125@debbugs.gnu.org; Wed, 02 Apr 2014 09:02:01 -0400 Original-Received: from luna.netfonds.no ([80.91.225.79] helo=luna) by hermes.netfonds.no with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1WVKnX-0004S8-9m; Wed, 02 Apr 2014 15:01:43 +0200 Original-Received: from pok by luna with local (Exim 4.71) (envelope-from ) id 1WVKnX-0000wD-79; Wed, 02 Apr 2014 15:01:43 +0200 In-Reply-To: <533C0165.70507@yandex.ru> (Dmitry Antipov's message of "Wed, 02 Apr 2014 16:24:05 +0400") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4.50 (gnu/linux) X-MailScanner-ID: 1WVKnX-0004S8-9m MailScanner-NULL-Check: 1397048503.4489@vS0USkorVw/VLzR7t409Lg 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:87663 Archived-At: Dmitry Antipov writes: > This patch prevents [] (empty vector, means "no match") from entering font cache. > IMO this is correct, but this breaks current behavior of font_list_entities. > Could you please also try a more compatible/conservative change? Sorry, this dies in the GC before any frame becomes visible: (gdb) bt full #0 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:355 No locals. #1 0x00000000005edad0 in die ( msg=0x710f40 "FONT_ENTITY_P (AREF (((suppress_checking || ((((enum Lisp_Type) ((obj) & ~(1 ? - (1 << 3) : (9223372036854775807L >> (3 - 1))))) == Lisp_Cons)) ? (void) 0 : die (\"CONSP (obj)\", \"alloc.c\", 5374)), (str"..., file=0x7104c8 "alloc.c", line=5374) at alloc.c:6799 No locals. #2 0x00000000005ea9b2 in compact_font_cache_entry (entry=17306966) at alloc.c:5374 i = 0 size = 1 drop = false obj = 17300758 tail = 17300742 prev = 0x1081568 #3 0x00000000005eaba9 in compact_font_caches () at alloc.c:5407 entry = 17306838 cache = 18430694 t = 0x110f6a0 #4 0x00000000005eb1eb in Fgarbage_collect () at alloc.c:5582 nextb = 0x0 stack_top_variable = 0 '\000' i = 1618 message_p = false count = 40 start = { tv_sec = 1396443207, tv_nsec = 632197068 } retval = 13859698 tot_before = 0 [skipped 67 more frames, let me know if you want them.] Lisp Backtrace: "Automatic GC" (0xd2aba0) "x-create-frame" (0x2034c850) "x-create-frame-with-faces" (0x2034cd70) "make-frame" (0x2034d290) "make-frame-on-display" (0x2034d7e8) "server-create-window-system-frame" (0x2034dd98) 0x120c6a8 PVEC_COMPILED "funcall" (0x2034e310) 0x120bee8 PVEC_COMPILED "funcall" (0x2034eac0) "server-process-filter" (0x2034f1f8) -- ...Peder...