From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Allen Li Newsgroups: gmane.emacs.bugs Subject: bug#37786: 26.3; Emacs crashes when calling function to decode string Date: Mon, 21 Oct 2019 20:44:09 -0700 Message-ID: <80d0ep4f7a.fsf@felesatra.moe> References: <80sgnsdn9a.fsf@felesatra.moe> <87zhi0knm5.fsf@gnus.org> <80wod21xu4.fsf@felesatra.moe> <80imol1qj9.fsf@felesatra.moe> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="237317"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: 37786@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 22 05:45:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iMl6d-000zdG-WC for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Oct 2019 05:45:12 +0200 Original-Received: from localhost ([::1]:49768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMl6c-0001FT-Rc for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2019 23:45:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48078) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMl6V-0001FL-UA for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 23:45:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMl6U-0005O4-QN for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 23:45:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49315) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMl6U-0005O0-G8 for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 23:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iMl6U-0000Iq-9D for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 23:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Oct 2019 03:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37786 X-GNU-PR-Package: emacs Original-Received: via spool by 37786-submit@debbugs.gnu.org id=B37786.15717158601096 (code B ref 37786); Tue, 22 Oct 2019 03:45:02 +0000 Original-Received: (at 37786) by debbugs.gnu.org; 22 Oct 2019 03:44:20 +0000 Original-Received: from localhost ([127.0.0.1]:58136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMl5n-0000Hc-O9 for submit@debbugs.gnu.org; Mon, 21 Oct 2019 23:44:20 -0400 Original-Received: from mail-pf1-f182.google.com ([209.85.210.182]:39817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMl5l-0000HO-Jh for 37786@debbugs.gnu.org; Mon, 21 Oct 2019 23:44:18 -0400 Original-Received: by mail-pf1-f182.google.com with SMTP id v4so9750120pff.6 for <37786@debbugs.gnu.org>; Mon, 21 Oct 2019 20:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20150623.gappssmtp.com; s=20150623; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=gP73QgxEFOAFGBMtlgkestpVnfgiGE60bIgUfplS4Y0=; b=fP0kr2DfuK+YZkBRMmIT1MUiREEJRcFegIw8F95P+ooUZC6BArWcakHBftwhGNhuO0 QRYRjgs4JnyoI1ERXhdeCt5HuNX0UYo/bcK/CXRatVvbX6hctSp+UPCWKl9IAvoN4da3 r1nJPZ6ypAC4cOluJR2S+T+2wu3I3FVA3jzSFTd7Thm39pC3SS4PrBMBs1xt4d+ssLX9 vAPxRSjxmkFETlLgHbO7TRMM4J4mYlcw1kSAsJYLu7fcf+M8AScPoG3EVVh67vCVO4rG GLYbAAtYrtUDJQdXG9Z55Awc2cKGLU2EC4xCWRvTtnPMqN/52Asem2kor1n3r8MEYHfS o5sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=gP73QgxEFOAFGBMtlgkestpVnfgiGE60bIgUfplS4Y0=; b=pTH0CqA/M8Ym+8tQp3xN9RGVujSW3lJFjB4fsD0RzvFued7BY4OLc+n66TkBDOmuOk ykfQxTXW6ahSgigrIZoBON7SXrlYw2t6CthWMnmHAPnIL7EJNA6NsfVopB8L0TO94+Lg Ql+vv3yapWtsPRU0gEBHKVFw1Ra3LpWIH0wAIJC+ZnUaLli/zh1R7quMtFYDtRmFGf80 C0EYPmLR8/EBcNrd/1IsFVucJjRcRrrurrCrJKeFhLhb1tgPg4ytDD8k9iSAFnFD+a8Y 4PW73IwOC2/ed9KtIB48o8vQkgy+yPo/+HuOqs2T94/1vsPl+IADves0UA54S8NoO1dT LbiA== X-Gm-Message-State: APjAAAUB8tBSERc2QaALEg2C+6pD1AFQz4QUyPsnSQSri9fVzYBIRXuy GotzfEOB2iJGgoIO1bUefOB5I1knwGCZgA== X-Google-Smtp-Source: APXvYqwSvZ7x3UgAp46LpGqDx3dTEoo2PkrPQc36npN7O6QiJVhfj5DwmTBLXBBKAAAD1krAO9johw== X-Received: by 2002:a63:3754:: with SMTP id g20mr1397125pgn.349.1571715850832; Mon, 21 Oct 2019 20:44:10 -0700 (PDT) Original-Received: from localhost ([2600:1700:7270:7d1f:fa59:71ff:fe00:10cc]) by smtp.gmail.com with ESMTPSA id 199sm19974205pfv.152.2019.10.21.20.44.09 for <37786@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2019 20:44:10 -0700 (PDT) In-Reply-To: (Robert Pluim's message of "Mon, 21 Oct 2019 12:02:34 +0200") 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169969 Archived-At: Robert Pluim writes: >>>>>> On Fri, 18 Oct 2019 18:18:34 -0700, Allen Li said: > Allen> That gives me the following output: > > Allen> Loading file /usr/share/fonts/adobe-source-code-pro/SourceCode= Pro-Regular.otf/0 > Allen> FontFile /usr/share/fonts/adobe-source-code-pro/SourceCodePro-= It.otf/0 matches new > Allen> Loading file /usr/share/fonts/adobe-source-code-pro/SourceCode= Pro-It.otf/0 > Allen> FontFile /usr/share/fonts/adobe-source-code-pro/SourceCodePro-= Light.otf/0 matches new > Allen> Loading file /usr/share/fonts/adobe-source-code-pro/SourceCode= Pro-Light.otf/0 > Allen> FontFile /usr/share/fonts/adobe-source-code-pro/SourceCodePro-= Bold.otf/0 matches new > Allen> Loading file /usr/share/fonts/adobe-source-code-pro/SourceCode= Pro-Bold.otf/0 > Allen> FontFile /usr/share/fonts/adobe-source-code-pro/SourceCodePro-= Regular.otf/0 matches existing (2) > Allen> FontFile /usr/share/fonts/adobe-source-code-pro/SourceCodePro-= Light.otf/0 matches existing (2) > Allen> FontFile /usr/share/fonts/adobe-source-code-pro/SourceCodePro-= Bold.otf/0 matches existing (2) > Allen> FontFile /usr/share/fonts/adobe-source-code-pro/SourceCodePro-= Regular.otf/0 matches existing (3) > Allen> FontFile /usr/share/fonts/adobe-source-code-pro/SourceCodePro-= Light.otf/0 matches existing (3) > Allen> FontFile /usr/share/fonts/adobe-source-code-pro/SourceCodePro-= Bold.otf/0 matches existing (3) > Allen> FontFile /usr/share/fonts/adobe-source-code-pro/SourceCodePro-= Regular.otf/0 matches existing (4) > Allen> FontFile /usr/share/fonts/adobe-source-code-pro/SourceCodePro-= Regular.otf/0 matches existing (4) > Allen> FontFile /usr/share/fonts/noto/NotoColorEmoji.ttf/0 matches new > Allen> Loading file /usr/share/fonts/noto/NotoColorEmoji.ttf/0 > > Allen> and then Emacs hangs at this point. > > Hmm, that configuration of emacs should not be loading NotoColorEmoji > (unless you've somehow arranged for xft-ignore-color-fonts to be > nil). What's your version of fontconfig (probably from > /usr/include/fontconfig/fontconfig.h)? I haven't touched xft-ignore-color-fonts (and it reproduces from emacs -Q) #define FC_MAJOR 2 #define FC_MINOR 13 #define FC_REVISION 91 > > (note that building emacs-27 with cairo enabled should solve this: > that doesn=CA=BCt use XFT). > > Robert