From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Why is `(1 . width)` zero? Date: Sun, 24 Jan 2021 11:45:15 +0100 Message-ID: <87y2givcjo.fsf@gmail.com> References: <20210118085113.7rz2pnm2t5sn7y3k@jo-so.de> <877doawahr.fsf@gmail.com> <20210118222326.mm24cg3bzgr4m74q@jo-so.de> <20210119093724.w3qfdrxamvlaoomh@jo-so.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21775"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?J=C3=B6rg?= Sommer Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 24 11:46:00 2021 Return-path: Envelope-to: geh-help-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 1l3cu8-0005Yg-JI for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 24 Jan 2021 11:46:00 +0100 Original-Received: from localhost ([::1]:55832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3cu7-0001oJ-LV for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 24 Jan 2021 05:45:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3ctX-0001mp-Gz for help-gnu-emacs@gnu.org; Sun, 24 Jan 2021 05:45:23 -0500 Original-Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:52603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3ctV-0001DR-QE; Sun, 24 Jan 2021 05:45:23 -0500 Original-Received: by mail-wm1-x332.google.com with SMTP id m187so8047414wme.2; Sun, 24 Jan 2021 02:45:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=f8BVza8MdnCwFtrWZprOoAlWq0JYKhzm9fCna6zPpFY=; b=dAhGN5WFNYRtPxubIeDHXiWubv96m9OHh4UMsOxmwjlY/ijUKp2k5yU/xftiQW0O8/ 5WW25zGtSYF03NnpP+gI09CJszlMT4z4VeoTL94WdaoiQeP5XuuaY0qQvswxR/r+lYP9 fXPJ/5r0NGA2hde+M1mvKn9F9gAZcIx8F9NmIrGthNrlsk600OqKFDstTKyp8fEHFF37 Z9WAZLt0EFThci3tYnMIzQDTQpPcwMlxBjVc0fhcoDHlWR3WA2ZqO1uC6u4+lkA8d9cY weBjrZxJ8lqA3qm7rMdW2ikdIY2NS0DJnJSFcKczS8J93XQw3MySsj7swI7RvbIipQ7B +G5g== 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 :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=f8BVza8MdnCwFtrWZprOoAlWq0JYKhzm9fCna6zPpFY=; b=P7rmlZu6HYAl4cV71JxjjtYFPMCOQxap8XktfeOkfH07s0BVXnNGi5Yv0prbu7ROus nkEwlw/h5MYWH3cBow85H59nIJKZVoDAsJaurP5mJchlN2S1qmiQRXAXvJ19/BTPN8cV U7FlXDmkBkmoL8yLkATzCKvJ1Eja9Zc/HEnLIn8OHqr8L3xhSRF6tjISAgpQgh2V/vb6 FvC55DABBH6clysLIeok0sRUNQRpDuVLdZJJBEYTKz5IgxFnQrOhq9H9HeSHb8P3czRn qzU0NveD9szZU4Le1cHCTpUo06Zwl0ISshZe7kG1WLwZ6aWhKdORlyxg04FU8zSWhqR7 pAgQ== X-Gm-Message-State: AOAM530SWVGosf+rEfZ6bEkiwg3Nhihf9XkkzuRHhEie+oLUMOB+Fnhm RXnI4KWGsPllVqK8bkdpl1U4B6yneqG+pg== X-Google-Smtp-Source: ABdhPJwTpoK4yzzEan2B7gcTM1/ZOZ15ka3uPoes1xb75ujL1ZlkbBY1wmovVxbFDGB+48iQsJlVDQ== X-Received: by 2002:a05:600c:228c:: with SMTP id 12mr11572589wmf.101.1611485117881; Sun, 24 Jan 2021 02:45:17 -0800 (PST) Original-Received: from rltb ([2a01:e34:ecfc:a861:69b6:6aaf:dbd3:8964]) by smtp.gmail.com with ESMTPSA id j9sm19361209wrm.14.2021.01.24.02.45.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jan 2021 02:45:17 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <20210119093724.w3qfdrxamvlaoomh@jo-so.de> (=?utf-8?Q?=22J?= =?utf-8?Q?=C3=B6rg?= Sommer"'s message of "Tue, 19 Jan 2021 10:37:24 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=rpluim@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127339 Archived-At: >>>>> On Tue, 19 Jan 2021 10:37:24 +0100, J=C3=B6rg Sommer = said: J=C3=B6rg> Sorry, I've picked the wrong commit. This one fixes the prob= lem and a J=C3=B6rg> backport to 27.1 fixes it there, too. J=C3=B6rg> commit c7804ac4018fb03787f291d7ef1739b34914d930 (HEAD, refs/= bisect/with-space) J=C3=B6rg> Author: Stefan Monnier J=C3=B6rg> Date: Thu Oct 8 09:49:20 2020 -0400 J=C3=B6rg> * src/ftcrfont.c (ftcrfont_open): Initialize the `max_wi= dth` field =20=20=20=20 J=C3=B6rg> On a 32bit build, Emacs can otherwise crash with a !FIXN= UM_OVERFLOW_P J=C3=B6rg> assertion in `Ffont_info` by simply doing `emacs -Q` and= then `C-s`. =20=20=20=20 J=C3=B6rg> * src/font.c: Try and detect uninitialized `max_width` f= ields. J=C3=B6rg> (font_make_object): Set max_width to a silly value. J=C3=B6rg> (Ffont_info): Check the value is not silly any more. Eli, is this ok to backport to emacs-27? Thanks Robert