HI Eli,

I will try with run-hooks = nil. (I still cannot reproduce the issue consistently). As a side note, I think that similar issue affects emacs dynamic modules based on my limited testing. Please reply back if you need a callstack. 

Thanks,
Ivan


On Sat, Mar 23, 2019 at 10:54 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: yyoncho <yyoncho@gmail.com>
> Date: Sat, 23 Mar 2019 22:23:49 +0200
> Cc: Sébastien Chapuis <sebastien@chapu.is>,
>       31138@debbugs.gnu.org
>
> Here it is the offending callstack.
>
> https://gist.github.com/yyoncho/7032464b456f60270100c747f42885f8

OK, thanks.  I think I see the reason.

Does it work for you to bind run-hooks to nil around calls to
json-parse-string?