From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69431: 30.0.50; Strange fontificaion behavior Date: Sun, 07 Apr 2024 21:02:08 +0300 Message-ID: <35905.6260831252$1712513012@news.gmane.org> References: <871q8x6e06.fsf@mail.parknet.co.jp> <87v869oklj.fsf@localhost> <86il29u4hy.fsf@gnu.org> <87sf1dogi8.fsf@localhost> <87h6hi8d87.fsf@mail.parknet.co.jp> <86il1g2dfd.fsf@gnu.org> <87cyr2pc9t.fsf@localhost> <861q7h1jku.fsf@gnu.org> <86wmp9z6c2.fsf@gnu.org> <86sezxyxwj.fsf@gnu.org> Reply-To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar 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="18178"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 69431@debbugs.gnu.org, yantar92@posteo.net, acorallo@gnu.org, monnier@iro.umontreal.ca, hirofumi@mail.parknet.co.jp To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 07 20:03:24 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 1rtWrU-0004Vy-1U for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Apr 2024 20:03:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtWr3-0000MS-DE; Sun, 07 Apr 2024 14:02:57 -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 1rtWr1-0000ME-6z for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2024 14:02:55 -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 1rtWr0-0003tW-SP for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2024 14:02:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rtWr7-0004IH-Od for bug-gnu-emacs@gnu.org; Sun, 07 Apr 2024 14:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Apr 2024 18:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69431 X-GNU-PR-Package: emacs Original-Received: via spool by 69431-submit@debbugs.gnu.org id=B69431.171251294516344 (code B ref 69431); Sun, 07 Apr 2024 18:03:01 +0000 Original-Received: (at 69431) by debbugs.gnu.org; 7 Apr 2024 18:02:25 +0000 Original-Received: from localhost ([127.0.0.1]:44507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtWqX-0004FY-7A for submit@debbugs.gnu.org; Sun, 07 Apr 2024 14:02:25 -0400 Original-Received: from thaodan.de ([2a03:4000:4f:f15::1]:39332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtWqV-0004EW-1w for 69431@debbugs.gnu.org; Sun, 07 Apr 2024 14:02:24 -0400 Original-Received: from odin (dsl-trebng12-50dc75-154.dhcp.inet.fi [80.220.117.154]) by thaodan.de (Postfix) with ESMTPSA id 3E57ED04527; Sun, 7 Apr 2024 21:02:09 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1712512929; bh=PN5xt4THivKy9lgaVBZJyCuYeHZfo6LVDK7vYn+FQrY=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=yOU2FzX1iWf200Ct65n92vdKx33/eA3VX1nIB7V7u9BqEKgH1T+cG9rXrhaZ0x/jK ztahh8m47TnewLShygx16eyHT1ziMsMRF7gLeFISdF+XxHMHkGlu2LB446bjCX3j19 2eIXcjnKfCO32yR+13+wj8drdW/wqDxjSXEA4H4KhIcHS2D/Jbf2acNL0i4bGiYtYI AstaF0+VP2bHN0vO0tiuUZawfXkFGdYD5xFEv0YvtqHfANwHqEFdO4733bi/7D0lmk 6rZLMrv916Sd4Jg2aaaiq+tXXKwmKrxwyr//eT+Sairzwm6ZpZt6/kb5N+59sPCEVf pQ96HrMJUw6VtJvx7WaBWJUvizORMVlV88dX9M2C9qfpJelxCIOJaTJk3diPew7c1p /mpItz17wv5axnGmpLsZKlyDgiNu6o71zYhSJEGVh4QjGCf4TWwRame6hJCRDncU7L fCWeXHu8FfaYoxr9hQXNWTwZo/r//5QT0VAdytRSDSm+GSjPHpPlh/WF0XjJhnHskY 7ThtO6z9mKyWuuDqumLEl/l/e7uawSDSKKHLLSaBpxTspw1eS2j/wJLYCpFC7eFH/C q+u+CO7jELvurs7/WlIbt7xGS3v64QxVubW9XTUXMqWS6faKM367KY09gv3gnRsmrz 3xXOsSr3DPvPRyOpLXTEUHQk= In-Reply-To: <86sezxyxwj.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Apr 2024 18:50:52 +0300") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH 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:282885 Archived-At: Eli Zaretskii writes: >> From: Bj=C3=B6rn Bidar >> Cc: acorallo@gnu.org, yantar92@posteo.net, monnier@iro.umontreal.ca, >> 69431@debbugs.gnu.org, hirofumi@mail.parknet.co.jp >> Date: Sun, 07 Apr 2024 18:00:26 +0300 >> >> >> Is there already a bug for this issue or should I open a new one? >> >> > It depends, I think. What is the recipe for what you see? >> >> I can only trigger the bug when I load enough packages to trigger the bug >> First I thought the bug is triggered when I modus themes but it also >> happens without, I just have to load enough packages. >> >> >> I attach my init.el (with private information removed) and >> the logs I had from earlier and now. > > It is some kind of recursive call: > > face-attribute->face-attribute-merged-with->face_attribute->... > > Looks like a separate problem to me. It is important to understand > what face causes this, and what is that face's spec. > > Also, please make a point of loading the src/.gdbinit file from the > Emacs source tree before running Emacs under GDB, so that the > backtrace includes also the Lisp backtrace, and shows Lisp objects in > human-readable format, for easier reading. The backtrace was with src/.gdbinit loaded however the lisp wasn't included the backtace I suspect it is because: Cannot access memory at address 0x7fffff66ff7f >> I tried to find which package exactly triggers the bug but I did not >> manage to do that. I only know that it is triggered through the use of >> faces. > > Both backtraces are almost identical, and in both the problem seems to > be triggered by loading and enabling a theme. So I don't think I > understand what you say here about "enough packages" -- I don't > suppose all of the packages you load are themes, are they? IOW, can > you show a backtrace from a crash that is not caused by loading a > theme? E.g., what happens if you remove all theme loading and related > stuff from your init files? What do you mean by related? If I don't load a theme Emacs doesn't crash but if I start Emacs with -Q and load the theme it's not enough to crash Emacs that's why I mean by enough packages essentially. Eventually I isolated the exact problem what caused the bug: 1. (setq max-lisp-eval-depth 32768) 2. load-theme modus-vivendi (any modus theme works as a trigger) With the Emacs ref c59c8db98a1d031a20ec7850978653657e394baa=20=20 this Emacs doesn't crash with the same settings.