From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: switching font backends in .emacs.desktop causes crash Date: Fri, 08 Feb 2019 15:20:34 +0100 Message-ID: <5C5D9032.1060303@gmx.at> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="133639"; mail-complaints-to="usenet@blaine.gmane.org" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 15:21:02 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gs71a-000Yct-1g for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2019 15:21:02 +0100 Original-Received: from localhost ([127.0.0.1]:57302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs71Y-0002qY-R3 for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2019 09:21:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs71T-0002qO-DG for emacs-devel@gnu.org; Fri, 08 Feb 2019 09:20:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs71R-0003yt-FN for emacs-devel@gnu.org; Fri, 08 Feb 2019 09:20:55 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:42519) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gs71P-0003uy-CV for emacs-devel@gnu.org; Fri, 08 Feb 2019 09:20:53 -0500 Original-Received: from [192.168.1.101] ([46.125.249.98]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MF5FT-1gucFC0Tut-00GLLK for ; Fri, 08 Feb 2019 15:20:45 +0100 In-Reply-To: X-Provags-ID: V03:K1:NaDP2DclEK5wn8L11C9uF8Wtt6ufAxqZ2gzxWz2td1Do11SwHEc nnroCtlosHSJIVVvTVAcpCTZv6/Rgn/R0luzglZlTA/+izyzhMPQd1oqzMFJk1y0DLGZo8F QUCU1UhwXXBimjpTq5k0ti7LDAlNt5cANr9lOUxwgtWuVjIutO55J5IB4KqBq16EZSLt/38 rCB1JvzJkmJLePR1gGgsQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:VZTPPdLpIH4=:gh4FVcEz3dA60mqGdbCuAn K/y4OUxDvLUaXXOmNL/8nrAf8HJ0DrNrj/O/wMZaisn8Bezw3R1qMR46/zeigQmhvvL4SaEtE wujTQqn/oGm6JTfQCRabo4l8V4aNf1ULnlzZL8sioYs3S+Sw1xPfktum3ASaMharyUoVUN1bi 3GAWGUD07daUuRkyUSUBOvZKRPKhHneTy+k650WfcyKSK3O0Whs9SuYQJPsnd3UhtTydItavw llstPqZrF157pJPajLNr5pKuYIpylBaKYt+HGgd7XIiM/fX+6SWfvOe8yjn4QKuzQOirPeVz5 60dMmO1iErorV12WlN/7KDk6zjKhXZOLwTZLjwhHOHf2Mo91g0iEZdwk+3gs6TYXopNCzUuQ2 o0gQP6yD7kSLqkkinde9uXgBNk4rKGSZkwmc3oyrx5+K4PvzQcShK39UWRS/Z5QXdifdIiqaW oXxil7NjHmUxIiohkNaL3jSJUEWkvForVKfE177Gpr1jvHLKFX6r8Qma2WPsnuT67CiVjSoKn PBLSa9Z+n5v+oQSjQQGN+FW6FoYR4Ghxxvw5knTY4HcD7L5jbAp8IhkPtxbSbnBhRr45/l3Yr Cm6UJDg7GFRvT30rhUvAmpJGPRMmV8wZIVkkeiEQYDYimKUKAon/xH1sJxBMaXpvWw9Tfmma7 qrYNZe5iCfunsXNvRx/7CkFYRoi7OdxzlDbC3gEJJphWeDucT2lE/Tgi4IwELrshoC0WtXhAv T+UmWikJ/AVNO2Rd/CfnquMcgrC6C6+3NOGBHVujn/I16zV7kPB5kZ4YiZHJPO4edX03k8Xi X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233126 Archived-At: > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > 0x00007ffff446468d in XftCharIndex () from /usr/lib/x86_64-linux-gnu/libXft.so.2 > (gdb) bt > #0 0x00007ffff446468d in XftCharIndex () at /usr/lib/x86_64-linux-gnu/libXft.so.2 > #1 0x0000555555758689 in xftfont_encode_char (font=, c=) > at xftfont.c:532 > #2 0x00005555555d60a9 in get_char_glyph_code (char2b=, font=0x555557b49470, c=) at xdisp.c:25915 > #3 0x00005555555d60a9 in x_produce_glyphs (it=0x7fffffff9b00) at xdisp.c:28294 > > Here we're using xftfont_encode_char, even though we've just closed > the XFT font backend and should be using the X one for the minibuffer? > Is the 'it' there caching XFT information? > > I have no idea how to fix this. I can reproduce at will if more gdb > info is needed (BTW, emacs-26 has the same issue). > > Lisp Backtrace: > "message" (0xffffc458) > "desktop-read" (0xffffc7e0) > 0x563cec70 PVEC_COMPILED > "run-hooks" (0xffffcae0) > "command-line" (0xffffd388) > "normal-top-level" (0xffffd700) This looks like Bug#23386: Segfault when messing with font-backend. martin