emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: "Colin Baxter 😺" <m43cap@yandex.com>
Cc: Alastair Burt <alastair.burt@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: org-persist - bug report
Date: Thu, 21 Oct 2021 20:13:02 +0800	[thread overview]
Message-ID: <87mtn2k241.fsf@localhost> (raw)
In-Reply-To: <877de71psg.fsf@yandex.com>

Colin Baxter 😺 <m43cap@yandex.com> writes:

>     > (setq org-element--cache-self-verify 'backtrace)
>     > (setq org-element--cache-self-verify-frequency 1)
>
> I set the above in my ~/.emacs
>
>     > If a warning appears, backtrace could be helpful. If not, it
>     > should be something to do with org-element-cache-map.
>
> The max-specpdl-size error has happened again when I tried to add a note
> to an agenda item. Emacs hung and had to be killed. The debugger buffer
> was empty and the only other information given was the message:
>
> mapc: Lisp nesting exceeds `max-lisp-eval-depth'

It indicates yet another possible problematic place. But I still need
more information.

I just pushed a change that can help with debugging this.
If you update to current main and set `org-element--cache-interrupt-C-g'
to t, you can press "C-g" 6 times (1 +
org-element--cache-interrupt-C-g-max-count) to force-quit the "hang".

When you encounter the hang again, please try to reproduce it after
force quitting. If you figure out some way to reproduce, set
`org-element--cache-diagnostics' to t just before reproducing
(M-: (setq org-element--cache-diagnostics t) <RET>). Then, post the
contents added to your *Warnings* buffer. It will be very verbose and
can hopefully help me figure out the problem.

Best,
Ihor


  reply	other threads:[~2021-10-21 12:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CABtOJPz0cCEzuH5GGKxGuNKcGvfCkNvB-mRf2u+ZXwJng9prOA@mail.gmail.com>
2021-10-20 12:28 ` org-persist - bug report Ihor Radchenko
2021-10-20 14:09   ` Colin Baxter 😺
2021-10-20 14:30     ` Ihor Radchenko
2021-10-20 19:04       ` Colin Baxter 😺
2021-10-21 12:13         ` Ihor Radchenko [this message]
2021-10-21 12:25         ` Max Nikulin
2021-10-21 12:51           ` org-persist? error "Variable binding depth exceeds max-specpdl-size" (was: org-persist - bug report) Ihor Radchenko
2021-10-21 13:52           ` org-persist - bug report Colin Baxter 😺
2021-10-21 15:11             ` Ihor Radchenko
2021-10-21 15:31               ` Ihor Radchenko
2021-10-21 16:03                 ` Ihor Radchenko
2021-10-21 16:26                   ` Colin Baxter 😺
2021-10-21 16:50                   ` Max Nikulin
2021-10-21 23:31                   ` Alastair Burt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtn2k241.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=alastair.burt@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=m43cap@yandex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).