From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72692: Emacs 31.05 (40eecd594ac) get SIGSEGV on Linux (Linux 6.6.45 Kde Wayland) Date: Tue, 27 Aug 2024 19:26:21 +0000 Message-ID: <8734mp22ed.fsf@protonmail.com> References: <8b1c8e1f-e0b9-4049-888c-3f723e0008a9@gmail.com> <86v7zqmdo5.fsf@gnu.org> <86bk1gxz1z.fsf@mail.linkov.net> <86v7zojuqw.fsf@gnu.org> <87y14j25mg.fsf@protonmail.com> <86cylvjw5l.fsf@gnu.org> <87r0ab14ye.fsf@protonmail.com> <87mskz146e.fsf@protonmail.com> <86zfoyi3wj.fsf@gnu.org> Reply-To: Pip Cet 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="17452"; mail-complaints-to="usenet@ciao.gmane.io" Cc: execvy@gmail.com, 72692@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 27 21:27:36 2024 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 1sj1qp-0004Em-Iz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Aug 2024 21:27:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sj1qT-0006mg-LX; Tue, 27 Aug 2024 15:27:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sj1qQ-0006fd-08 for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2024 15:27:11 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sj1qP-00032B-36 for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2024 15:27:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=6451XbIwY9i/LUmcl9mdI3+qTAoA8wD3T7dyJYsN1NQ=; b=VsDKO6ag79L1rmN3lF4i86oktNanKa5lIofT0DlcDkbQxUY4J4R3/PSzc+E7vQaq0jU8BqHOM+Tdfi+20s7yqwTHdYzQzOf/tZ6pWrFWojT6EKDmUoswwRPgo3+f3cL+GsLAVX8R1nOkJPFVNjJGWn6RhFxAUYhEeAXRiY3t2RZvP8UAq7cN4mEHIZAoJU+YYhVp3iyoOuEfmAJtIUci2GDTj+/g2lZmcAm68nPcYgL2Nbw6EXXCYKs35wO4WylHxYlc/zAkzxKiIxfNgyhnFj8slTQBq6Nk8PcTYPApyl+HwS+Ucg+slqgkjpHJOyqdEmEKAJ6XfQGigu4XcYpeFA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sj1rG-0006VV-11 for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2024 15:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Aug 2024 19:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72692 X-GNU-PR-Package: emacs Original-Received: via spool by 72692-submit@debbugs.gnu.org id=B72692.172478685024967 (code B ref 72692); Tue, 27 Aug 2024 19:28:01 +0000 Original-Received: (at 72692) by debbugs.gnu.org; 27 Aug 2024 19:27:30 +0000 Original-Received: from localhost ([127.0.0.1]:47611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sj1qg-0006UX-3e for submit@debbugs.gnu.org; Tue, 27 Aug 2024 15:27:30 -0400 Original-Received: from mail-40134.protonmail.ch ([185.70.40.134]:37559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sj1qe-0006UI-JV for 72692@debbugs.gnu.org; Tue, 27 Aug 2024 15:27:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1724786785; x=1725045985; bh=6451XbIwY9i/LUmcl9mdI3+qTAoA8wD3T7dyJYsN1NQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=rhlgi4uFBbcrKc4YIgAyr66k+NkhlOs8ctAsotkmoar3CMClHxhYOBM1oVfxVPsz4 BholOsnR1K04P30OWpRef04DA76OWN/mvSPyFHCHjOaa+1VOthY1CB0dNsWkJIeLde 4B+7XBL6mpCh+03EZmpRKhvSL88vW+lBiPprNAxki8hOhKZgp8A66N0d/c8BroQugy ARKuHUWrWP2vZtN2P0uAX4u+8dZ6qPj5yU5nnL17GJZSpm64Qbt5p/FlOZLvjIVqWD k7sxec/g9KmyzolRKcj92u1xRWSWq/ToA+nIGJEMmQPDV1/Vu6BR1TiXaYq+7Q7z6E Fiud6YipPDuSw== In-Reply-To: <86zfoyi3wj.fsf@gnu.org> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: c245ad830bfc9053204cb2c8490ed0bf6c80600b X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290839 Archived-At: "Eli Zaretskii" writes: > That was the main idea of the patch I proposed, except that avoiding > to set the face_change flag when all we have in the cache are the > basic faces is a bit stronger, no? Indeed. I think your proposed patch is the way to go, with the off-by-one fixed. I think there will be some slowdown for people using non-ASCII faces in the modeline, in particular, but it should still result in acceptable performance. >> Is that case sufficiently common to result in acceptable >> performance? > > Which case? That only basic faces are realized, and we can therefore avoid freeing any cached faces. Pip