emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Parser cache is disabled by default
Date: Sun, 22 Jan 2017 00:16:48 +0100	[thread overview]
Message-ID: <877f5oc8bj.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20170121124330.kspplgwnpert64zc@len.workgroup> (Gregor Zattler's message of "Sat, 21 Jan 2017 13:43:30 +0100")

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

      reply	other threads:[~2017-01-21 23:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=877f5oc8bj.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    /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).