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: Mon, 19 Aug 2024 06:28:32 +0000 Message-ID: <87ttfhdo1e.fsf@protonmail.com> References: <8b1c8e1f-e0b9-4049-888c-3f723e0008a9@gmail.com> <86h6biymv4.fsf@gnu.org> <8734n2gd2x.fsf@protonmail.com> <86cym5zzq9.fsf@gnu.org> <87y14tg9ln.fsf@protonmail.com> <865xrxzvrt.fsf@gnu.org> <87ttfhg6ey.fsf@protonmail.com> <87plq5g1fo.fsf@protonmail.com> <86v7zxy8ur.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="37022"; mail-complaints-to="usenet@ciao.gmane.io" Cc: execvy@gmail.com, 72692@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 19 08:30:19 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 1sfvuE-0009TX-Ud for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Aug 2024 08:30:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfvto-0001ZB-C8; Mon, 19 Aug 2024 02:29:52 -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 1sfvtJ-0001YL-OX for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 02:29: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 1sfvtJ-0003rl-EX for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 02:29:21 -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=4bhvF5TxgvKIlcUcfixm5SkVx2p1dMjfYm9ysKGyTOQ=; b=knEfG7bAQwcD7UOh0HrPv2zzGxfqBdmRPXh9fZlAGtMzl/G1Pv6LR9OhldmEsSgU58uznBEqnfCiVpqwAvIWZRfGat6cnLlZcHdrmPuepbDdyEgjc3FoDrfAGtJ4EFNxOm2f/+G8qPDyqLaLvd3SCShta0j5k9pi0li5PIOjid5fMeqmjItakfaZVaFR6OpCqMYD5y/HFMx6BHnVNH8U9Z1a6u/edUM7ebPvHPIv/Lo+BaCkI2wI+dElvCMbmTq5XNvmcshZljtr3EZMmsiOBHeHxebTPBtRiNuR07m4uRI4x9ibn5LV0GG6W1I3zXZ4V86nP5DnQTezPwVly2uaoQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfvty-0001D4-Lh for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 02:30: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: Mon, 19 Aug 2024 06:30: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.17240489684582 (code B ref 72692); Mon, 19 Aug 2024 06:30:02 +0000 Original-Received: (at 72692) by debbugs.gnu.org; 19 Aug 2024 06:29:28 +0000 Original-Received: from localhost ([127.0.0.1]:57523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfvtP-0001Bq-Le for submit@debbugs.gnu.org; Mon, 19 Aug 2024 02:29:27 -0400 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]:60839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfvtN-0001Bc-8M for 72692@debbugs.gnu.org; Mon, 19 Aug 2024 02:29:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1724048918; x=1724308118; bh=4bhvF5TxgvKIlcUcfixm5SkVx2p1dMjfYm9ysKGyTOQ=; 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=hZ5iyZfLIuoGeVggcv48Lvds0txlSi+97zEtd+T0Ixpf1L/e7NuYvlP/8RhetqW79 stQ4gXJcRacCsiqEyZMKoT/9NU+PpOYopODldxqtsxn7qTkijuhEib9iYexEW4HsM9 VLNmgG85asbjHjPsAyvNoyhw+VKf+kfTB7NXeWHFXZXQR5YXJNjH2eFvgEjnBoBUBY dlPG2SrL3INUg5FrFlK2XcevQRrdbnUZp3yiW9E971CYxW+JS0gM3XdoLY5DvEQiyh DYDtIm7kuPjot4lH97rOPOnBMP39bQHQquJ5aeYxiFxrQFGv51NZJZt/TPcTuFdZfI xZwqymGTsiREQ== In-Reply-To: <86v7zxy8ur.fsf@gnu.org> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 9c58098ebd56b68a995b0e002cc244a703ed01d0 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:290370 Archived-At: "Eli Zaretskii" writes: > Here's one data point: this kind of problem has never, NEVER happened > to me, although I display non-ASCII text in my Emacs sessions quite a > lot. So if what you describe is so trivially easy to trigger, how > come it didn't happen to me, in all the years I'm using this code? It isn't trivially easy to trigger at all! To trigger it reliably, you need to: * apply the patch so we don't reuse fontset table entries, which otherwise hides the bug * modify the mode line to use two new non-ASCII faces, at once, by inserting two characters provided by different fonts * modify the right frame parameter (such as alpha-background) so that the basic faces are re-realized ('free_realized_face' is called for them), but 'free_realized_faces' is not. * be unlucky in your choice of malloc implementation > There has to be more to this than meets the eye, and we can only > figure this out if you provide all the missing details. I don't think there is, at this point, but I'm happy to investigate further to gain some confidence about that. In particular, I'd like to understand why we need to use two non-ASCII faces at once. Pip