Re: Hi all
[notmuch-archives.git] / 8d / e5e050714f17e1f6b7b8c1c830861225a47225
1 Return-Path: <cyd@stupidchicken.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id A65FB40BC75\r
6         for <notmuch@notmuchmail.org>; Tue, 17 Aug 2010 08:11:24 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=unavailable\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id sRfPf3viAyqp for <notmuch@notmuchmail.org>;\r
16         Tue, 17 Aug 2010 08:11:11 -0700 (PDT)\r
17 Received: from pantheon-po44.its.yale.edu (pantheon-po44.its.yale.edu\r
18         [130.132.50.78])\r
19         by olra.theworths.org (Postfix) with ESMTP id 01F4E40BC77\r
20         for <notmuch@notmuchmail.org>; Tue, 17 Aug 2010 08:11:10 -0700 (PDT)\r
21 Received: from furry ([64.134.241.179]) (authenticated bits=0)\r
22         by pantheon-po44.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id\r
23         o7HFAcWL014923\r
24         (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);\r
25         Tue, 17 Aug 2010 11:10:40 -0400\r
26 Received: by furry (Postfix, from userid 1000)\r
27         id C9A36C013; Tue, 17 Aug 2010 11:10:37 -0400 (EDT)\r
28 From: Chong Yidong <cyd@stupidchicken.com>\r
29 To: Stefan Monnier  <monnier@iro.umontreal.ca>\r
30 Subject: Re: bug#6214: 23.1; json-read-string crashes emacs with long string\r
31 References: <87pr0t5h1q.fsf@yoom.home.cworth.org>\r
32         <87fx1pkrsh.fsf@stupidchicken.com> <87tymzv6ga.fsf@steelpick.2x.cz>\r
33         <878w4afozw.fsf@stupidchicken.com> <87sk2hbq3s.fsf@steelpick.2x.cz>\r
34         <8739ug3mrr.fsf@stupidchicken.com> <87r5i02uo7.fsf@steelpick.2x.cz>\r
35         <874oeuv4le.fsf@stupidchicken.com> <87fwye2sxt.fsf@steelpick.2x.cz>\r
36 Date: Tue, 17 Aug 2010 11:10:37 -0400\r
37 In-Reply-To: <87fwye2sxt.fsf@steelpick.2x.cz> (Michal Sojka's message of "Mon,\r
38         16 Aug 2010 22:39:26 +0200")\r
39 Message-ID: <87pqxhmg0i.fsf@stupidchicken.com>\r
40 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)\r
41 MIME-Version: 1.0\r
42 Content-Type: text/plain; charset=us-ascii\r
43 X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed)\r
44 Cc: 6214@debbugs.gnu.org, Notmuch mailing list <notmuch@notmuchmail.org>\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Tue, 17 Aug 2010 15:11:24 -0000\r
58 \r
59 Michal Sojka <sojkam1@fel.cvut.cz> writes:\r
60 \r
61 > On Mon, 16 Aug 2010, Chong Yidong wrote:\r
62 >> Thanks, that is a useful backtrace.  Could you apply this patch and see\r
63 >> if it fixes the problem?\r
64 >\r
65 > Great! The patch fixes the problem. Now I can view 20 MB email in\r
66 > notmuch.\r
67 \r
68 Hmm, there is a problem, though.  If we attempt to avoid a stack\r
69 overflow in `apply' by using the heap rather than the stack to store\r
70 large numbers of arguments, those arguments are invisible to the\r
71 stack-marking gargbage collector.\r
72 \r
73 One workaround is to temporarily disable garbage collection if using the\r
74 heap.  Stefan, any ideas?\r