From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Vinicius =?UTF-8?Q?Jos=C3=A9?= Latorre Newsgroups: gmane.emacs.bugs Subject: bug#39865: 28.0.50; Emacs crash Date: Fri, 6 Mar 2020 14:24:05 -0300 Message-ID: References: <83fteryy4o.fsf@gnu.org> <837dzyuf20.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000046428b05a032ec70" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="115788"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39865@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 06 18:34:49 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jAGs4-000Tzw-8T for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Mar 2020 18:34:48 +0100 Original-Received: from localhost ([::1]:40138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAGs3-0003Gc-8p for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Mar 2020 12:34:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54742) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAGid-0002hx-4u for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2020 12:25:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAGib-0003Vt-UL for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2020 12:25:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39892) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAGib-0003Vj-QL for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2020 12:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jAGib-0004D3-Mx for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2020 12:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vinicius =?UTF-8?Q?Jos=C3=A9?= Latorre Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Mar 2020 17:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39865 X-GNU-PR-Package: emacs Original-Received: via spool by 39865-submit@debbugs.gnu.org id=B39865.158351546416134 (code B ref 39865); Fri, 06 Mar 2020 17:25:01 +0000 Original-Received: (at 39865) by debbugs.gnu.org; 6 Mar 2020 17:24:24 +0000 Original-Received: from localhost ([127.0.0.1]:45865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAGi0-0004C9-4w for submit@debbugs.gnu.org; Fri, 06 Mar 2020 12:24:24 -0500 Original-Received: from mail-il1-f170.google.com ([209.85.166.170]:42011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAGhx-0004Bx-TI for 39865@debbugs.gnu.org; Fri, 06 Mar 2020 12:24:22 -0500 Original-Received: by mail-il1-f170.google.com with SMTP id x2so2717949ila.9 for <39865@debbugs.gnu.org>; Fri, 06 Mar 2020 09:24:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ucBIP/bcoeQVBB0+6zkh+JCpIEIMJc1gQdjxLtb36RE=; b=FyGIEB/8vopfN2UPkFL2VhEKtOYbXLRzQwA3QRlMycwRsDr6/s0qDp1xpDXpyRIE/v cI7BeV6U+DnDtG7gji8Su+WDrWTtVzR+WOldIlPCZGv/UfGKL5ZuWjHYREkLTdE9aC3V h8sMhu6nmlBqVVsmY6aJjhamvJg9arV1Cs4GGIx87zm8NrYQKmM2eknhVwHT9EXOgY/W f9rJa+zjyk0UMfyqsRiEq/NUR0PqT0hBv7sP0n2kw8uycKxnV6H6AMAxxrnfymJZ0vcS IHuP8ZaRYdqKveUN/MwkoL4/XQlR0lGZYP7rR04ArU8KlIe4LoLfj+0Gj2Jcv+JEOJza 2y3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ucBIP/bcoeQVBB0+6zkh+JCpIEIMJc1gQdjxLtb36RE=; b=IZ2tt5aqj4BGVFPdA3scFhO6XaHscfEKjMttL7UTP/mkJHnQtlJcU/1di1/bkIMGpK 5AKHURuCES4QdmoVFypHhbU75Jq8CzbenXuw8fXnlv0+EDCIHsbFroMPy7i/mnjXaQHc Y0aGBqNAhPXTf+FugZWNOXs289KJnw0QoyTPHWs00B6atjFxdraIX15uw7pqegtqirSm oacnKW8bC7MKVl6exVbfFl9dn0toJQZtwlVCkz+E5U+ddZ+Fod+p3vTnbMe4Oyj9kXH3 ssR3C9xNItdVbq62VYFtR6U9zzxag6sWApIjakrl/Rxxs/2KA2tPMDuDscfeQlry2zZk oTzg== X-Gm-Message-State: ANhLgQ1VJ+xQxwZv+zb9WksZ3rbnhleoSRDIUsEGHVyVKfwSaKP45clA r7SOyXet1BqlVts44VUCYkmhRT799rAA0JC6STVLFQ== X-Google-Smtp-Source: ADFU+vsz+La8LLqsEOuBWywmWsHVzA4yzmuj+WzCGXt1Yv3vbTUjw6xKvXt55lWEF1ZlDvMEndVO4CBI9mOtj5w9z4w= X-Received: by 2002:a92:1a08:: with SMTP id a8mr4108715ila.251.1583515456388; Fri, 06 Mar 2020 09:24:16 -0800 (PST) In-Reply-To: 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176973 Archived-At: --00000000000046428b05a032ec70 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable BTW, emacs 27 does not crash using that lisp line. On Fri, Mar 6, 2020 at 2:20 PM Vinicius Jos=C3=A9 Latorre wrote: > > OK, then the crash is a known problem: you cannot change the font > > backend once the session started, you can only do that in X resources. > > Previously, XFT was your original backend, but now it's HarfBuzz. > > I think that emacs should be more robust about this and do not crash for > any bad value. > > > Why are you doing this? What happens/doesn't work if you remove this > > line? > > Well, I use emacs since 1992, I don't remember why I set this. > > Removing this line all works like a charming. > > > > On Fri, Mar 6, 2020 at 4:18 AM Eli Zaretskii wrote: > >> > From: Vinicius Jos=C3=A9 Latorre >> > Date: Thu, 5 Mar 2020 19:21:22 -0300 >> > Cc: 39865@debbugs.gnu.org >> > >> > I found this line in my ~/.emacs that causes the crash: >> > >> > (push '(font-backend xft x) default-frame-alist) >> >> OK, then the crash is a known problem: you cannot change the font >> backend once the session started, you can only do that in X resources. >> Previously, XFT was your original backend, but now it's HarfBuzz. >> >> Why are you doing this? What happens/doesn't work if you remove this >> line? >> > --00000000000046428b05a032ec70 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
BTW, emacs 27 does not crash using that l= isp line.


On Fri, Mar 6, 2020 at 2:20 PM Vinicius= Jos=C3=A9 Latorre <viniciusjl@g= mail.com> wrote:
> OK, then the crash is a known problem: you ca= nnot change the font
> backend once the session started, you can only= do that in X resources.
> Previously, XFT was your original backend,= but now it's HarfBuzz.

I think that emacs should be more robust= about this and do not crash for any bad value.

> Why are you doi= ng this?=C2=A0 What happens/doesn't work if you remove this
> lin= e?

Well, I use emacs since 1992, I don't remembe= r why I set this.

Removing this line all works like a charming.
<= br>


On Fri, Mar 6, 2020 at 4:18 AM Eli Zaretskii <eliz@gnu.org> wrote:=
> From: Vini= cius Jos=C3=A9 Latorre <viniciusjl@gmail.com>
> Date: Thu, 5 Mar 2020 19:21:22 -0300
> Cc: 39865@d= ebbugs.gnu.org
>
> I found this line in my ~/.emacs that causes the crash:
>
> (push '(font-backend xft x) default-frame-alist)

OK, then the crash is a known problem: you cannot change the font
backend once the session started, you can only do that in X resources.
Previously, XFT was your original backend, but now it's HarfBuzz.

Why are you doing this?=C2=A0 What happens/doesn't work if you remove t= his
line?
--00000000000046428b05a032ec70--