Colin Baxter 😺 <m43...@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