From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: switching font backends in .emacs.desktop causes crash Date: Fri, 08 Feb 2019 15:49:38 +0100 Message-ID: References: <5C5D9032.1060303@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="29836"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 15:50:48 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 1gs7UL-0007QN-8r for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2019 15:50:45 +0100 Original-Received: from localhost ([127.0.0.1]:57567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs7UF-0001f8-43 for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2019 09:50:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs7TX-0001es-Mq for emacs-devel@gnu.org; Fri, 08 Feb 2019 09:49:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs7TW-000402-UA for emacs-devel@gnu.org; Fri, 08 Feb 2019 09:49:55 -0500 Original-Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:37521) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gs7TW-0003tY-LD for emacs-devel@gnu.org; Fri, 08 Feb 2019 09:49:54 -0500 Original-Received: by mail-wr1-x429.google.com with SMTP id c8so3877425wrs.4 for ; Fri, 08 Feb 2019 06:49:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=o0st5WFOVKGXvL64U52Ue7hVvm/nSvjS4Nw9F/+T9ak=; b=kQuJT7055xZFzLPIwMM60DH2u/+wy0aIWr4P++Wwp5qH28+7tw+Yl2AmMdA7hcIoD/ cNVgH/IEhTuL2NtlwRPcNgv220H2i0/skJ25eTnGV1t2wYau8A/p7jEnhNV78YfcTaQ3 pBJTLwN+p+SuNkmEkbWYph5Yh6wo1FQCRmRUEzq+VCCy2huvA77srilgGT0CoK1/wzpW Nr3ZZHNc1ejxuQjMDQsj9iDP4mygfy9wsTOnfEjpJZejC0JN3YrUj9V2pd9zwuF4SYpj MFVi/SBLvFM+oSg9b40+X2SBh03o/3UcSb04uHWUCl3+MMLpsFnx8BtoctNzs2a7ualG 8anw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version; bh=o0st5WFOVKGXvL64U52Ue7hVvm/nSvjS4Nw9F/+T9ak=; b=V+x7n8Hn37OsTTCvgRthLMexWvgoH2zgL5sDId7LEZPGP7FAF1MlPwL+d3HKzt7uDA DnBMzWQaRrhbOdswQHlAMQkm4OgJAzPdrifdOCwNmNClkchebsrf8s1RiNo3nLM4CMl+ SyUjpDcRlyKH1DStPqU/Ys6Z1Mqiz8xwKFiUmOrIwr8yaC645vTj2oAmBs5k2Nia9CNI ksVFt54KIxm1zQJ/nYAFJSuZZh1XSCBEop7SYyfEChaT6pJ02+x38RS82rrutxAZe1co XxVeibF2DJAXWWE6XQJilUlVYVJVxbwIUOXGWOlbyHWLCbxmIMe84kEfU0yjP0x+jSx3 oBrg== X-Gm-Message-State: AHQUAuYTFb8bh8DGZ9LyfL2VgOvbKNfgbFRNxIo3i1g+wIXLWNucsXiT /rG9O19Buon+aXV8CWqAcC/y4nbuqOw= X-Google-Smtp-Source: AHgI3IbSyR0IItEXy+HHTir2UoUfilk0eisNoZZcCe3BAO1qyAXa2fzCOtVRr+UJbfWYj4VMsrz/1w== X-Received: by 2002:adf:fbc8:: with SMTP id d8mr16599302wrs.318.1549637381147; Fri, 08 Feb 2019 06:49:41 -0800 (PST) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:508e:f5c1:5162:8e85]) by smtp.gmail.com with ESMTPSA id o2sm3962126wmo.33.2019.02.08.06.49.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 08 Feb 2019 06:49:39 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <5C5D9032.1060303@gmx.at> (martin rudalics's message of "Fri, 08 Feb 2019 15:20:34 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::429 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:233128 Archived-At: martin rudalics writes: >> 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=> pointer>, 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. It is in fact exactly that. I tried the patch there, it works for me. How come it never went in? Robert