1 Return-Path: <sojkam1@fel.cvut.cz>
\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 4245B40BC61
\r
6 for <notmuch@notmuchmail.org>; Mon, 16 Aug 2010 00:12:35 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.851 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049] autolearn=no
\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 QoWkD9iI-zFR for <notmuch@notmuchmail.org>;
\r
16 Mon, 16 Aug 2010 00:12:21 -0700 (PDT)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 8805B40BC63
\r
19 for <notmuch@notmuchmail.org>; Mon, 16 Aug 2010 00:12:21 -0700 (PDT)
\r
20 Received: from localhost (unknown [192.168.200.4])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id A5AB719F3367;
\r
22 Mon, 16 Aug 2010 09:12:04 +0200 (CEST)
\r
23 X-Virus-Scanned: IMAP AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,
\r
27 with ESMTP id KEBvRIM8b4DE; Mon, 16 Aug 2010 09:12:03 +0200 (CEST)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id 04C2219F3376;
\r
30 Mon, 16 Aug 2010 09:12:03 +0200 (CEST)
\r
31 Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])
\r
32 (Authenticated sender: sojkam1)
\r
33 by imap.feld.cvut.cz (Postfix) with ESMTPSA id B2A1AFA003;
\r
34 Mon, 16 Aug 2010 09:12:02 +0200 (CEST)
\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)
\r
36 (envelope-from <sojkam1@fel.cvut.cz>)
\r
37 id 1OkXma-000232-PK; Sun, 15 Aug 2010 09:37:28 +0200
\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
39 To: Chong Yidong <cyd@stupidchicken.com>
\r
40 Subject: Re: bug#6214: 23.1; json-read-string crashes emacs with long string
\r
41 In-Reply-To: <8739ug3mrr.fsf@stupidchicken.com>
\r
42 References: <87pr0t5h1q.fsf@yoom.home.cworth.org>
\r
43 <87fx1pkrsh.fsf@stupidchicken.com> <87tymzv6ga.fsf@steelpick.2x.cz>
\r
44 <878w4afozw.fsf@stupidchicken.com> <87sk2hbq3s.fsf@steelpick.2x.cz>
\r
45 <8739ug3mrr.fsf@stupidchicken.com>
\r
46 User-Agent: Notmuch/0.3.1-80-g86b7c46 (http://notmuchmail.org) Emacs/23.2.1
\r
47 (x86_64-pc-linux-gnu)
\r
48 Date: Sun, 15 Aug 2010 09:37:28 +0200
\r
49 Message-ID: <87r5i02uo7.fsf@steelpick.2x.cz>
\r
51 Content-Type: text/plain; charset=utf-8
\r
52 Content-Transfer-Encoding: quoted-printable
\r
53 Cc: 6214@debbugs.gnu.org, Notmuch mailing list <notmuch@notmuchmail.org>
\r
54 X-BeenThere: notmuch@notmuchmail.org
\r
55 X-Mailman-Version: 2.1.13
\r
57 List-Id: "Use and development of the notmuch mail system."
\r
58 <notmuch.notmuchmail.org>
\r
59 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
62 List-Post: <mailto:notmuch@notmuchmail.org>
\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
64 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
65 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
66 X-List-Received-Date: Mon, 16 Aug 2010 07:12:35 -0000
\r
68 On Sat, 14 Aug 2010, Chong Yidong wrote:
\r
69 > First, please check if this equivalent and simpler recipe also
\r
70 > reproduces the problem, to make sure this is the same bug:
\r
72 > emacs --batch -q --eval "(apply 'string (make-list 1122176 ?a)))"
\r
74 Yes, the problem is still here.
\r
76 > If so, please recompile without optimizations:
\r
78 > CFLAGS=3D"-g" ./configure
\r
81 > and see if you can obtain a cleaner backtrace.
\r
83 Program received signal SIGSEGV, Segmentation fault.
\r
84 0x00000000005f81fc in Fapply (nargs=3D2, args=3D0x7fffffffc670) at eval.c:2=
\r
86 2492 memcpy (funcall_args, args, nargs * sizeof (Lisp_Object));
\r
87 #0 0x00000000005f81fc in Fapply (nargs=3D2, args=3D0x7fffffffc670) at eval=
\r
91 spread_arg =3D 38164022
\r
92 funcall_args =3D 0x7fffff76c9d0
\r
95 next =3D 0x2465636,=20
\r
96 var =3D 0x95cb41,=20
\r
99 #1 0x00000000005f7ade in Feval (form=3D19244870) at eval.c:2321
\r
100 vals =3D 0x7fffffffc670
\r
103 args_left =3D 12507474
\r
106 argvals =3D {19244854, 18642001, 0, 6, 6, 25769803776, 16350976, 12=
\r
110 original_fun =3D 12677650
\r
111 original_args =3D 19244918
\r
112 funcar =3D 19244870
\r
114 next =3D 0x7fffffffc800,=20
\r
115 function =3D 0x7fffffffc770,=20
\r
116 args =3D 0x7fffffffc670,=20
\r
118 evalargs =3D 1 '\001',=20
\r
119 debug_on_exit =3D 0 '\000'
\r
123 var =3D 0x11c7471,=20
\r
128 var =3D 0x7fffffffd530,=20
\r
132 next =3D 0x125a416,=20
\r
133 var =3D 0x7fffffffc670,=20
\r
136 #2 0x00000000005f8ead in Ffuncall (nargs=3D2, args=3D0x7fffffffc880) at ev=
\r
139 original_fun =3D 12677602
\r
142 lisp_numargs =3D 6302634
\r
145 next =3D 0x7fffffffcc80,=20
\r
146 function =3D 0x7fffffffc880,=20
\r
147 args =3D 0x7fffffffc888,=20
\r
149 evalargs =3D 0 '\000',=20
\r
150 debug_on_exit =3D 0 '\000'
\r
152 internal_args =3D 0x7fffffffc888
\r
154 #3 0x0000000000645887 in Fbyte_code (bytestr=3D9815377, vector=3D9815413, =
\r
155 maxdepth=3D40) at bytecode.c:679
\r
158 vectorp =3D 0x95c580
\r
159 bytestr_length =3D 1187
\r
161 pc =3D 0xb48b63 "\210\202\300\003\016L=E5=9D=83\311\001\346\347\0=
\r
162 16N\206\241\001\f\211A\024@!!\026F\016E\203\274\001\016E\016F\016EAB\241\21=
\r
163 0\016EA\026E\202\300\003\016F\016RB\211\026R\026E\202\300\003\016L=E8=9D=83=
\r
164 \372\001\347\016N\206\333\001\f\211A\024@!\036S\346\016S!\036T\351\016T!\20=
\r
165 3\357\001\016T\026S\352\016S\314\331#\210*\202\300\003\016L=EB=9D=83!\002\3=
\r
166 47\016N\206\f\002\f\211A\024@!\036S\346\016S!\036T\352\016T\314=D9=89$\210*=
\r
167 \202\300\003\016L=EC=9A=83J\002\331\026Q\016N\206\065\002\f\211A\024@\211\0=
\r
168 26F;\204@\002\332\355!\210\356\347\016F!!\210\202\300\003\016L=EF=9A=83X\00=
\r
169 2", <incomplete sequence \360>...,=20
\r
170 top =3D 0x7fffffffc888,=20
\r
171 bottom =3D 0x7fffffffc880,=20
\r
172 byte_string =3D 9815377,=20
\r
173 byte_string_start =3D 0xb489d9 "\306 \210\b\203\021",=20
\r
174 constants =3D 9815413,=20
\r
175 next =3D 0x7fffffffcd70
\r
177 top =3D 0x7fffffffc880
\r
178 result =3D 140737488341184
\r
179 #4 0x00000000005f9701 in funcall_lambda (fun=3D9815317, nargs=3D1, arg_vec=
\r
180 tor=3D0x7fffffffcd08) at eval.c:3165
\r
182 syms_left =3D 12507474
\r
188 #5 0x00000000005f90bb in Ffuncall (nargs=3D2, args=3D0x7fffffffcd00) at ev=
\r
191 original_fun =3D 14191698
\r
192 funcar =3D 12535520
\r
194 lisp_numargs =3D 6152191
\r
197 next =3D 0x7fffffffd0f0,=20
\r
198 function =3D 0x7fffffffcd00,=20
\r
199 args =3D 0x7fffffffcd08,=20
\r
201 evalargs =3D 0 '\000',=20
\r
202 debug_on_exit =3D 0 '\000'
\r
204 internal_args =3D 0x125ab36
\r
206 #6 0x0000000000645887 in Fbyte_code (bytestr=3D9788449, vector=3D9788485, =
\r
207 maxdepth=3D28) at bytecode.c:679
\r
210 vectorp =3D 0x955c50
\r
211 bytestr_length =3D 1723
\r
213 pc =3D 0xb4b681 "\210\016N\203^\006\201", <incomplete sequence \3=
\r
215 top =3D 0x7fffffffcd08,=20
\r
216 bottom =3D 0x7fffffffcd00,=20
\r
217 byte_string =3D 9788449,=20
\r
218 byte_string_start =3D 0xb4b02f "\306 \020\307\021\n\023\307\024\3=
\r
219 10\311!\211\035\307=3D\204\064",=20
\r
220 constants =3D 9788485,=20
\r
221 next =3D 0x7fffffffd1d0
\r
223 top =3D 0x7fffffffcd00
\r
224 result =3D 13467377
\r
225 #7 0x00000000005f9701 in funcall_lambda (fun=3D9788405, nargs=3D0, arg_vec=
\r
226 tor=3D0x7fffffffd178) at eval.c:3165
\r
228 syms_left =3D 12507474
\r
234 #8 0x00000000005f90bb in Ffuncall (nargs=3D1, args=3D0x7fffffffd170) at ev=
\r
237 original_fun =3D 13569954
\r
238 funcar =3D 13569906
\r
240 lisp_numargs =3D 6152191
\r
243 next =3D 0x7fffffffd6c0,=20
\r
244 function =3D 0x7fffffffd170,=20
\r
245 args =3D 0x7fffffffd178,=20
\r
247 evalargs =3D 0 '\000',=20
\r
248 debug_on_exit =3D 0 '\000'
\r
250 internal_args =3D 0xcd7ef1
\r
252 #9 0x0000000000645887 in Fbyte_code (bytestr=3D9783473, vector=3D9783509, =
\r
253 maxdepth=3D24) at bytecode.c:679
\r
256 vectorp =3D 0x9548e0
\r
257 bytestr_length =3D 220
\r
259 pc =3D 0xb4be2e "\210*\340\341\342\"\210\343\321\344\"\211\036$;\=
\r
261 top =3D 0x7fffffffd170,=20
\r
262 bottom =3D 0x7fffffffd170,=20
\r
263 byte_string =3D 9783473,=20
\r
264 byte_string_start =3D 0xb4bda0 "\b\203\b",=20
\r
265 constants =3D 9783509,=20
\r
268 top =3D 0x7fffffffd170
\r
269 result =3D 4294967295
\r
270 #10 0x00000000005f9701 in funcall_lambda (fun=3D9783429, nargs=3D0, arg_vec=
\r
271 tor=3D0x7fffffffd530) at eval.c:3165
\r
273 syms_left =3D 12507474
\r
274 next =3D 140733193388033
\r
279 #11 0x00000000005f932f in apply_lambda (fun=3D9783429, args=3D12507474, eva=
\r
280 l_flag=3D1) at eval.c:3092
\r
281 args_left =3D 12507474
\r
283 arg_vector =3D 0x7fffffffd530
\r
285 next =3D 0x7ffff1e40970,=20
\r
286 var =3D 0x7ffff7fc14d0,=20
\r
301 #12 0x00000000005f7dea in Feval (form=3D12978838) at eval.c:2390
\r
303 val =3D 140737488345192
\r
304 original_fun =3D 14516546
\r
305 original_args =3D 12507474
\r
306 funcar =3D 140737354130560
\r
309 function =3D 0x7fffffffd6f0,=20
\r
310 args =3D 0x7fffffffd530,=20
\r
312 evalargs =3D 0 '\000',=20
\r
313 debug_on_exit =3D 0 '\000'
\r
316 next =3D 0x7ffff7fb6488,=20
\r
317 var =3D 0x7ffff7fc14d0,=20
\r
318 nvars =3D -134225624
\r
321 next =3D 0x7fffffffd810,=20
\r
322 var =3D 0x7ffff1e34c28,=20
\r
323 nvars =3D -236739152
\r
327 var =3D 0x7fff00000017,=20
\r
330 #13 0x00000000005599d1 in top_level_2 () at keyboard.c:1347
\r
332 #14 0x00000000005f5f8c in internal_condition_case (bfun=3D0x5599be <top_lev=
\r
333 el_2>, handlers=3D12559570, hfun=3D0x5595a8 <cmd_error>) at eval.c:1458
\r
336 tag =3D 12507474,=20
\r
337 val =3D 12507474,=20
\r
338 next =3D 0x7fffffffd930,=20
\r
341 __jmpbuf =3D {5, 7988929332933021680, 4279008, 14073748834696=
\r
342 0, 0, 0, 7988929332880592880, -7988928721167724560},=20
\r
343 __mask_was_saved =3D 0,=20
\r
345 __val =3D {4294967295, 140737488345248, 1, 9246952, 0, 0, 0=
\r
346 , 0, 140737351959490, 1, 0, 0, 140737251616176, 12936662, 5, 14073748834566=
\r
350 backlist =3D 0x0,=20
\r
351 handlerlist =3D 0x0,=20
\r
352 lisp_eval_depth =3D 0,=20
\r
354 poll_suppress_count =3D 1,=20
\r
355 interrupt_input_blocked =3D 0,=20
\r
359 handler =3D 12559570,=20
\r
360 var =3D 12507474,=20
\r
361 chosen_clause =3D 140737488345104,=20
\r
362 tag =3D 0x7fffffffd7c0,=20
\r
365 #15 0x0000000000559a0b in top_level_1 (ignore=3D12507474) at keyboard.c:1355
\r
367 #16 0x00000000005f592e in internal_catch (tag=3D12555634, func=3D0x5599d3 <=
\r
368 top_level_1>, arg=3D12507474) at eval.c:1202
\r
370 tag =3D 12555634,=20
\r
371 val =3D 12507474,=20
\r
375 __jmpbuf =3D {5, 7988929332987547632, 4279008, 14073748834696=
\r
376 0, 0, 0, 7988929332960284656, -7988928721370886160},=20
\r
377 __mask_was_saved =3D 0,=20
\r
379 __val =3D {6153582, 140737255104152, 4301629832, 0, 1250747=
\r
380 4, 12779824, 140737488345720, 60129542288, 12535520, 12033184, 6152158, 140=
\r
381 737488345680, 12507474, 4279008, 140737488346960, 140737488345696}
\r
384 backlist =3D 0x0,=20
\r
385 handlerlist =3D 0x0,=20
\r
386 lisp_eval_depth =3D 0,=20
\r
388 poll_suppress_count =3D 1,=20
\r
389 interrupt_input_blocked =3D 0,=20
\r
392 #17 0x0000000000559939 in command_loop () at keyboard.c:1310
\r
394 #18 0x00000000005590df in recursive_edit_1 () at keyboard.c:940
\r
397 #19 0x0000000000559292 in Frecursive_edit () at keyboard.c:1002
\r
399 buffer =3D 12507474
\r
400 #20 0x00000000005575cc in main (argc=3D5, argv=3D0x7fffffffdf58) at emacs.c=
\r
402 dummy =3D 140737251592752
\r
403 stack_bottom_variable =3D 0 '\000'
\r
404 do_initial_setlocale =3D 1
\r
407 rlim_cur =3D 8720000,=20
\r
408 rlim_max =3D 18446744073709551615
\r
413 ch_to_dir =3D 0x45 <Address 0x45 out of bounds>
\r
416 "apply" (0xffffc670)
\r
417 "eval" (0xffffc888)
\r
418 "command-line-1" (0xffffcd08)
\r
419 "command-line" (0xffffd178)
\r
420 "normal-top-level" (0xffffd530)
\r