From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#69431: 30.0.50; Strange fontificaion behavior Date: Mon, 08 Apr 2024 03:15:23 -0400 Message-ID: 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> 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="37774"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 69431@debbugs.gnu.org, Eli Zaretskii , yantar92@posteo.net, hirofumi@mail.parknet.co.jp, monnier@iro.umontreal.ca To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 08 09:16:17 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 1rtjEm-0009Yb-BS for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 08 Apr 2024 09:16:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtjEW-0000SN-Uo; Mon, 08 Apr 2024 03:16:01 -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 1rtjEU-0000Pd-1P for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 03:15:58 -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 1rtjET-0007bu-7d for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 03:15:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rtjEZ-0006R7-Vy for bug-gnu-emacs@gnu.org; Mon, 08 Apr 2024 03:16:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Apr 2024 07:16:03 +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.171256054924673 (code B ref 69431); Mon, 08 Apr 2024 07:16:03 +0000 Original-Received: (at 69431) by debbugs.gnu.org; 8 Apr 2024 07:15:49 +0000 Original-Received: from localhost ([127.0.0.1]:45192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtjEK-0006Pt-US for submit@debbugs.gnu.org; Mon, 08 Apr 2024 03:15:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtjEH-0006PL-J3 for 69431@debbugs.gnu.org; Mon, 08 Apr 2024 03:15:47 -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 1rtjE0-0007UB-UZ; Mon, 08 Apr 2024 03:15:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=aRHU5BCj7jmIQtu4HCe6lX6+E7R7k1Hhu+dcVKu7fYA=; b=TcOG2gzG2mALzJMVVw5k J3m/HjfuD2HI+TVQPpOmNPIzetuwBC72ZLAcgWMKzzEazX1TcODimqNA/gUQlpsBiVr9BCBTHdJWq HtjyGGgIsTv0Ub5cD4Zr7UjzN5UvPnuyey99rsuI7RISsk+Owql1M1oPBHD/eKcSng7sw1JyoX1Qw vZb/l6bkLf4z9z1349jC0bQ2BRdqWQwzGo9VVwIcuiUKc8QNfqagWlYTwHRIFSfiZkCc/F9FcmG2c UeFaYGZzEOSHLjC1V4D8iW0vGRGFukwlHfHtwmjOWjU8a5IZjmypoA0KCca/enZGn0vAEU8L204pX byOh2FXQNAIMNw==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rtjDw-00025y-3a; Mon, 08 Apr 2024 03:15:27 -0400 In-Reply-To: <87v84tgifz.fsf@> ("=?UTF-8?Q?Bj=C3=B6rn?= Bidar"'s message of "Sun, 07 Apr 2024 21:02:08 +0300") 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:282914 Archived-At: Bj=C3=B6rn Bidar writes: > 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 b= ug >>> 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) I tried the following recipe on latest master but can't reproduce. BTW this is different bug from the one being treated here, ideally would be better to have a dedicated bug. Andrea