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: Wed, 20 Oct 2021 22:30:44 +0800	[thread overview]
Message-ID: <877de7dazv.fsf@localhost> (raw)
In-Reply-To: <87sfwvkctj.fsf@yandex.com>

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)

If a warning appears, backtrace could be helpful. If not, it should be
something to do with org-element-cache-map.

Best,
Ihor


  reply	other threads:[~2021-10-20 14:34 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 [this message]
2021-10-20 19:04       ` Colin Baxter 😺
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=877de7dazv.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).