Re: bug#6214: 23.1; json-read-string crashes emacs with long string

Subject: Re: bug#6214: 23.1; json-read-string crashes emacs with long string

Date: Sat, 14 Aug 2010 17:30:32 -0400

To: Michal Sojka

Cc: 6214@debbugs.gnu.org, Notmuch mailing list

From: Chong Yidong


Michal Sojka <sojkam1@fel.cvut.cz> writes:

> I cloned bzr repo (trunk:101071) and I can reproduce the bug (./emacs
> --batch -l ~/q/json-emacs-bug.el). Backtrace is the same as in my
> previous mail and report-emacs-bug information is bellow. Let me know if
> you need additional info.

First, please check if this equivalent and simpler recipe also
reproduces the problem, to make sure this is the same bug:

  emacs --batch -q --eval "(apply 'string (make-list 1122176 ?a)))"

If so, please recompile without optimizations:

  CFLAGS="-g" ./configure
  make

and see if you can obtain a cleaner backtrace.

Thread: