emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Colin Baxter 😺" <m43cap@yandex.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: , Alastair Burt <alastair.burt@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: org-persist - bug report
Date: Wed, 20 Oct 2021 20:04:15 +0100	[thread overview]
Message-ID: <877de71psg.fsf@yandex.com> (raw)
In-Reply-To: <877de7dazv.fsf@localhost> (Ihor Radchenko's message of "Wed, 20 Oct 2021 22:30:44 +0800")

>>>>> Ihor Radchenko <yantar92@gmail.com> writes:

    > Colin Baxter 😺 <m43cap@yandex.com> writes:
    >> >> I just upgraded my org-mode to the latest version in >>
    >> git. Whenever I visited a certain org file, my Emacs became >>
    >> unusable. Any attempt to use M-x (execute-extended-command) >>
    >> resulted in max-specpdl-size errors as did using C-x C-c to exit
    >> >> Emacs. Some but not all of the errors mentioned "Error during
    >> >> file deserialization". After an hour's debugging, I tracked
    >> this >> down to org-persist. Deleting "~/.cache/org-persist" made
    >> the >> problem go away.
    >> 
    >> I just stumbled on this error myself. The culprit was a agenda
    >> file - I mean, an org-mode file called by org-agenda. I'll pursue
    >> further when I've got time (not today!)

    > If you see the error again, can you also try with the following?

    > (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'

I hope this helps.

Best wishes,

Colin.



  reply	other threads:[~2021-10-20 19:20 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 😺 [this message]
2021-10-21 12:13         ` Ihor Radchenko
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=877de71psg.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=alastair.burt@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.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).