* [ANN] Parser cache is disabled by default
@ 2017-01-21 9:48 Nicolas Goaziou
2017-01-21 12:43 ` Gregor Zattler
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2017-01-21 9:48 UTC (permalink / raw)
To: Org Mode List
Hello,
Considering the bug reports about random freezes, I decided to disable
cache by default for the time being. IOW, `org-element-use-cache' is
nil.
Please consider turning it on if you want to help debugging the issue.
Regards,
--
Nicolas Goaziou 0x80A93738
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Parser cache is disabled by default
2017-01-21 9:48 [ANN] Parser cache is disabled by default Nicolas Goaziou
@ 2017-01-21 12:43 ` Gregor Zattler
2017-01-21 23:16 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Gregor Zattler @ 2017-01-21 12:43 UTC (permalink / raw)
To: emacs-orgmode
Hi Nicolas,
* Nicolas Goaziou <mail@nicolasgoaziou.fr> [21. Jan. 2017]:
> I decided to disable cache by default for the time being. IOW,
> `org-element-use-cache' is nil.
>
> Please consider turning it on if you want to help debugging the issue.
Is there an easy to follow receipt what to do in order to help
you debugging? When Emacs hangs I do pkill -USR2 emacs but then
there is no debug info!?
Ciao, Gregor
--
-... --- .-. . -.. ..--.. ...-.-
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Parser cache is disabled by default
2017-01-21 12:43 ` Gregor Zattler
@ 2017-01-21 23:16 ` Nicolas Goaziou
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2017-01-21 23:16 UTC (permalink / raw)
To: emacs-orgmode
Hello,
Gregor Zattler <telegraph@gmx.net> writes:
> Is there an easy to follow receipt what to do in order to help
> you debugging? When Emacs hangs I do pkill -USR2 emacs but then
> there is no debug info!?
The freezes itself is easy to understand. The cache (an AVL tree) is
corrupted, and inserting a new cached object infloops, roughly.
Debugging data obtained at the time of the freeze is probably not
useful.
The difficult part is to find an ECM to reproduce the bug. AFAIU,
headlines are involved, probably in conjunction with property drawers.
Unfortunately, you may only realize the cache is corrupted quite some
time after it happened.
Typically, you are close to getting a recipe when you experience
a freeze, reset the cache (`org-element-cache-reset'), resume working
and quickly experience another freeze. The ingredients are between the
reset and the new freeze.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-01-21 23:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-21 9:48 [ANN] Parser cache is disabled by default Nicolas Goaziou
2017-01-21 12:43 ` Gregor Zattler
2017-01-21 23:16 ` Nicolas Goaziou
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).