From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#55414: 29.0.50; Byte compilation error for the modus-themes Date: Mon, 16 May 2022 07:58:02 +0000 Message-ID: References: <87lev46l8y.fsf@protesilaos.com> <874k1qj4eo.fsf@gnus.org> <87lev296hl.fsf@protesilaos.com> <87zgjihlmw.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15093"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Protesilaos Stavrou , 55414@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 16 10:35:21 2022 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 1nqWCH-0003fk-78 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 May 2022 10:35:21 +0200 Original-Received: from localhost ([::1]:52510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqWC7-0003Z8-NN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 May 2022 04:35:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqVd9-0003zJ-Hn for bug-gnu-emacs@gnu.org; Mon, 16 May 2022 03:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqVd7-0005Re-KL for bug-gnu-emacs@gnu.org; Mon, 16 May 2022 03:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqVd7-0000Ao-KD for bug-gnu-emacs@gnu.org; Mon, 16 May 2022 03:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 May 2022 07:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55414 X-GNU-PR-Package: emacs Original-Received: via spool by 55414-submit@debbugs.gnu.org id=B55414.1652687892575 (code B ref 55414); Mon, 16 May 2022 07:59:01 +0000 Original-Received: (at 55414) by debbugs.gnu.org; 16 May 2022 07:58:12 +0000 Original-Received: from localhost ([127.0.0.1]:51576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqVcK-00009D-FI for submit@debbugs.gnu.org; Mon, 16 May 2022 03:58:12 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:29228 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1nqVcI-00008z-I0 for 55414@debbugs.gnu.org; Mon, 16 May 2022 03:58:11 -0400 Original-Received: (qmail 30116 invoked by uid 3782); 16 May 2022 07:58:03 -0000 Original-Received: from acm.muc.de (p4fe15b7d.dip0.t-ipconnect.de [79.225.91.125]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 16 May 2022 09:58:03 +0200 Original-Received: (qmail 3743 invoked by uid 1000); 16 May 2022 07:58:02 -0000 Content-Disposition: inline In-Reply-To: <87zgjihlmw.fsf@gnus.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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" Xref: news.gmane.io gmane.emacs.bugs:232359 Archived-At: Hello, Lars and Prot. On Sun, May 15, 2022 at 17:16:07 +0200, Lars Ingebrigtsen wrote: > Protesilaos Stavrou writes: > > Thank you! I attach the backtrace with commit 850074636e and also with > > the current master (4aa8115855). > Looks like it's `byte-compile--first-symbol-with-pos' that's very > recursive. Perhaps it should be rewritten to not recurse (i.e., use a > stack)? Looking a bit more carefully at the backtrace, it's evident there were two lisp eval depth overflows. The first was in the compilation of the library, where a condition-case was used to discard the diagnostic data (I hate it when this is done). This was in the macro displaying-byte-compile-warnings in .../lisp/emacs-lisp/bytecomp.el. This failure then called the byte compiler error routines, which caused the second overflow, in byte-compile--first-symbol-with-pos. This second overflow is "only just" happening - another few spare slots, and it would have succeeded; at least on this particular part of the program structure. My feeling is that the first overflow is a real overflow, not an infinite recursion, and could you (Prot) please test this by compiling with a larger max-lisp-eval-depth, something like M-: (let ((max-lisp-eval-depth (* 2 max-lisp-eval-depth))) (byte-compile-file "~/Git/Projects/modus-themes/modus-operandi-theme.e...")) If this compilation succeeds, then perhaps we need to increase our default max-lisp-eval-depth. Thanks! > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no -- Alan Mackenzie (Nuremberg, Germany).