From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 6214@debbugs.gnu.org, Notmuch mailing list <notmuch@notmuchmail.org>
Subject: Re: bug#6214: 23.1; json-read-string crashes emacs with long string
Date: Tue, 17 Aug 2010 11:10:37 -0400 [thread overview]
Message-ID: <87pqxhmg0i.fsf@stupidchicken.com> (raw)
In-Reply-To: <87fwye2sxt.fsf@steelpick.2x.cz> (Michal Sojka's message of "Mon, 16 Aug 2010 22:39:26 +0200")
Michal Sojka <sojkam1@fel.cvut.cz> writes:
> On Mon, 16 Aug 2010, Chong Yidong wrote:
>> Thanks, that is a useful backtrace. Could you apply this patch and see
>> if it fixes the problem?
>
> Great! The patch fixes the problem. Now I can view 20 MB email in
> notmuch.
Hmm, there is a problem, though. If we attempt to avoid a stack
overflow in `apply' by using the heap rather than the stack to store
large numbers of arguments, those arguments are invisible to the
stack-marking gargbage collector.
One workaround is to temporarily disable garbage collection if using the
heap. Stefan, any ideas?
next prev parent reply other threads:[~2010-08-17 15:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-18 16:08 23.1; json-read-string crashes emacs with long string Carl Worth
2010-05-18 18:07 ` bug#6214: " Chong Yidong
2010-08-12 21:58 ` Michal Sojka
2010-08-13 16:37 ` Chong Yidong
2010-08-14 7:39 ` Michal Sojka
2010-08-14 21:30 ` Chong Yidong
2010-08-15 7:37 ` Michal Sojka
2010-08-16 17:40 ` Chong Yidong
2010-08-16 20:39 ` Michal Sojka
2010-08-17 15:10 ` Chong Yidong [this message]
2010-08-17 16:27 ` Chong Yidong
2010-08-17 20:57 ` Andreas Schwab
2010-08-17 21:46 ` Chong Yidong
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://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pqxhmg0i.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=6214@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=notmuch@notmuchmail.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://yhetil.org/notmuch.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).