From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#72692: Emacs 31.05 (40eecd594ac) get SIGSEGV on Linux (Linux 6.6.45 Kde Wayland) Date: Mon, 19 Aug 2024 18:54:44 +0300 Message-ID: <86zfp8wlrv.fsf@gnu.org> References: <8b1c8e1f-e0b9-4049-888c-3f723e0008a9@gmail.com> <865xrxzvrt.fsf@gnu.org> <87ttfhg6ey.fsf@protonmail.com> <87plq5g1fo.fsf@protonmail.com> <86v7zxy8ur.fsf@gnu.org> <87ttfhdo1e.fsf@protonmail.com> <86jzgcycla.fsf@gnu.org> <87frr0eiyy.fsf@protonmail.com> <868qwsy40c.fsf@gnu.org> <87y14sd07m.fsf@protonmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5738"; mail-complaints-to="usenet@ciao.gmane.io" Cc: execvy@gmail.com, 72692@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 19 17:55:46 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 1sg4jQ-0001IR-AE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Aug 2024 17:55:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sg4j7-0003N9-Ba; Mon, 19 Aug 2024 11:55:25 -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 1sg4j3-0003MP-4E for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 11:55:21 -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 1sg4j2-0005RO-Ky for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 11:55:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=jdmEVLlTWdEiox92mTV2L73pgn7YnQ1HP54PqxFIxo4=; b=jZjab+qa9HAw5EOh2g3bj8PafacyQNOewHLkXKWKLf6qSMdSGzxAzHbf30KYM1HxxCMQYJLB77OVAguJRUUfkcZhPH9pfCRhwFQq01danZ2/W+JpDwm+jQJXLxkwgjlExlOl8Bk8gvDxFZ61HfXBSvO5x0wP/Rn8ikLMOeGcFdIKRn5TNCCxT6yW1AnYSOu1akg2o8aRPDG9cjlTCHhO1bC/73euNKvY9VMrk2yr7oiML6OcRk2sFs0q8Xo7GPFUTRJmql21eGDzVh7zskC0YxBMTUit1Xy2KMbjn+7BAs/6CcaU8auajUu4ggyqskslpUSUTy2wRgXeY8dQ4h6BBQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sg4ji-00009k-38 for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 11:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Aug 2024 15:56:02 +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.1724082938563 (code B ref 72692); Mon, 19 Aug 2024 15:56:02 +0000 Original-Received: (at 72692) by debbugs.gnu.org; 19 Aug 2024 15:55:38 +0000 Original-Received: from localhost ([127.0.0.1]:58980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg4jJ-000091-LU for submit@debbugs.gnu.org; Mon, 19 Aug 2024 11:55:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg4jG-00008i-R3 for 72692@debbugs.gnu.org; Mon, 19 Aug 2024 11:55:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sg4iV-0005DA-93; Mon, 19 Aug 2024 11:54:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jdmEVLlTWdEiox92mTV2L73pgn7YnQ1HP54PqxFIxo4=; b=hh3m20qqfe5i Yz8EMMI5xx1puGQJmA4DSMK4x4H5e4l39kmYP02dgLopQhV3m8XTSvkqsqyZW1Sy2LsPhRp7MR/1U FOQmWyGTPGaFDAgjLHS1B+bCie4sW6elqM/cRYFi98EHbb0OGdOblSqa1j8yP3mJW9hvLJ8hSRYSO jKohoXv2ioWUGGdMy1Z+mG9qwZX0qKyiskaJOCdStq+k4SKgIATBiiGZExvOsRp0HGWMyn0NtBx/x ikBFeOl7lmtzk6hBGj08EeGP/jMoK4cD29AGxvySsyf6Rjxnmcz5ke/3wIXR1+DFFmP62uWIgZhcl Y+yNyQCKBvwTJgy7fI5LKQ==; In-Reply-To: <87y14sd07m.fsf@protonmail.com> (message from Pip Cet on Mon, 19 Aug 2024 15:03:13 +0000) 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:290399 Archived-At: > Date: Mon, 19 Aug 2024 15:03:13 +0000 > From: Pip Cet > Cc: execvy@gmail.com, 72692@debbugs.gnu.org > > I'll check whether setting f->face_change = true in the relevant places > is enough to avoid the bug... Thanks, but I'd also like to see the callers which call free_realized_face in a way that causes the latter to call free_face_fontset. That's why I asked for backtraces from those calls, but I don't think you sent such backtraces. What you sent was a backtrace from realize_gui_face and another one from the abort. The former is too early, the latter too late. I'd like to see the code which causes the fontset to be freed in a way that avoids re-realizing all of the faces that use the fontset. That's where the problem is, at least at my current level of understanding this issue.