Subject: Re: bug#77240: 30.1; Native-comp causing large memory leak

From: Juri Linkov <[email-masked]>
Date: Wed, 02 Apr 2025 09:58:32 +0300

>> Doesn't display-warning protect itself against such recursion?
>
> It should IMHO but I do not see where.  'with-suppressed-warnings' is
> about byte-compiler errors; the one at work here might be something
> different, maybe caused by the package mechanism or by not disabling
> 'undo' orderly.

Trying

  (progn 
    (setq display-buffer-alist
          '(((category . warning)
             ((lambda (&rest _) (warn "Compilation error"))))))
    (warn "Compilation error"))

soon stops with

  "Lisp nesting exceeds ‘max-lisp-eval-depth’: 1622"