From triska@gmx.at Sun Jan 4 17:23:38 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 5 Jan 2009 01:23:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=FOURLA,FVGT_m_MULTI_ODD, IMPRONONCABLE_1,IMPRONONCABLE_2,MURPHY_WRONG_WORD2 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n051NUuJ026567 for ; Sun, 4 Jan 2009 17:23:31 -0800 Received: from mail.gnu.org ([199.232.76.166]:54582 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LJeAf-0003V8-4W for emacs-pretest-bug@gnu.org; Sun, 04 Jan 2009 20:22:21 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LJeBi-0006U4-LM for emacs-pretest-bug@gnu.org; Sun, 04 Jan 2009 20:23:29 -0500 Received: from mail.gmx.net ([213.165.64.20]:46094) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LJeBi-0006Tw-3t for emacs-pretest-bug@gnu.org; Sun, 04 Jan 2009 20:23:26 -0500 Received: (qmail invoked by alias); 05 Jan 2009 01:23:23 -0000 Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp071) with SMTP; 05 Jan 2009 02:23:23 +0100 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX1+AjpA4ptiA7l96C/KGbgh29UfJZ+e5tLzHAXo3Ho FRZBV0iFKW/9Ns Received: by mt-computer.local (Postfix, from userid 502) id 15DD9C24862; Mon, 5 Jan 2009 02:23:20 +0100 (CET) From: Markus Triska To: emacs-pretest-bug@gnu.org Subject: 23.0.60; `concat' with longer strings aborts Emacs ungracefully Message-Id: <20090105012320.15DD9C24862@mt-computer.local> Date: Mon, 5 Jan 2009 02:23:20 +0100 (CET) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.47 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. On OSX and Ubuntu jaunty machines with 1 GB RAM, doing: $ emacs -Q --eval "(let ((v \"x\")) (while t (setq v (concat v v))))" aborts Emacs with the following backtrace: (gdb) bt #0 0x9010d3db in abort () #1 0x0013a561 in make_uninit_multibyte_string (nchars=-536870912, nbytes=-536870912) at alloc.c:2503 #2 0x0013a590 in make_uninit_string (length=-536870912) at alloc.c:2486 #3 0x00159210 in concat (nargs=2, args=0xbfffec90, target_type=Lisp_String, last_special=0) at fns.c:619 #4 0x00152c10 in Feval (form=41853805) at eval.c:2348 #5 0x00152cbc in Fsetq (args=41853797) at eval.c:551 #6 0x00152b58 in Feval (form=41853789) at eval.c:2322 #7 0x00152e34 in Fprogn (args=41853837) at eval.c:449 #8 0x00155199 in Fwhile (args=41853781) at eval.c:1111 #9 0x00152b58 in Feval (form=41853773) at eval.c:2322 #10 0x00152e34 in Fprogn (args=41853845) at eval.c:449 #11 0x001552a5 in Flet (args=41853765) at eval.c:1089 #12 0x00152b58 in Feval (form=41853733) at eval.c:2322 #13 0x00153621 in Ffuncall (nargs=2, args=0xbffff0b0) at eval.c:3050 #14 0x0018cb8b in Fbyte_code (bytestr=2175051, vector=2175068, maxdepth=10) at bytecode.c:678 #15 0x00152f2b in funcall_lambda (fun=2175020, nargs=1, arg_vector=0xbffff254) at eval.c:3231 #16 0x0015340e in Ffuncall (nargs=2, args=0xbffff250) at eval.c:3101 #17 0x0018cb8b in Fbyte_code (bytestr=2161403, vector=2161420, maxdepth=7) at bytecode.c:678 #18 0x00152f2b in funcall_lambda (fun=2161380, nargs=0, arg_vector=0xbffff3e4) at eval.c:3231 #19 0x0015340e in Ffuncall (nargs=1, args=0xbffff3e0) at eval.c:3101 #20 0x0018cb8b in Fbyte_code (bytestr=2158059, vector=2158076, maxdepth=6) at bytecode.c:678 #21 0x00152f2b in funcall_lambda (fun=2158036, nargs=0, arg_vector=0xbffff500) at eval.c:3231 #22 0x00153196 in apply_lambda (fun=2158036, args=58721289, eval_flag=1) at eval.c:3155 #23 0x001528e0 in Feval (form=35544669) at eval.c:2435 #24 0x000e3a9c in top_level_2 () at keyboard.c:1358 #25 0x00151798 in internal_condition_case (bfun=0xe3a80 , handlers=58760953, hfun=0xea6ef ) at eval.c:1511 #26 0x000e3ae4 in top_level_1 () at keyboard.c:1366 #27 0x001513ea in internal_catch (tag=58757025, func=0xe3aa2 , arg=58721289) at eval.c:1247 #28 0x000e37ff in command_loop () at keyboard.c:1321 #29 0x000e38cf in recursive_edit_1 () at keyboard.c:942 #30 0x000e3a17 in Frecursive_edit () at keyboard.c:1004 #31 0x000e282f in main (argc=4, argv=0xbffff97c) at emacs.c:1786 Lisp Backtrace: "concat" (0xbfffec90) "setq" (0xbfffede8) "while" (0xbfffeed8) "let" (0xbffff008) "eval" (0xbffff0b4) "command-line-1" (0xbffff254) "command-line" (0xbffff3e4) "normal-top-level" (0xbffff500) To me, throwing an error seems to be much preferable in this case. In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9) of 2008-12-25 on mt-computer.local Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t From cyd@stupidchicken.com Tue Jan 27 13:17:24 2009 Received: (at 1787-done) by emacsbugs.donarmstrong.com; 27 Jan 2009 21:17:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=FVGT_m_MULTI_ODD autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0RLHM5n011813 for <1787-done@emacsbugs.donarmstrong.com>; Tue, 27 Jan 2009 13:17:23 -0800 Received: by cyd.mit.edu (Postfix, from userid 1000) id E17AA57E205; Tue, 27 Jan 2009 16:17:52 -0500 (EST) From: Chong Yidong To: Markus Triska Cc: 1787-done@debbugs.gnu.org Subject: Re: 23.0.60; `concat' with longer strings aborts Emacs ungracefully Date: Tue, 27 Jan 2009 16:17:52 -0500 Message-ID: <87zlhcv473.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > On OSX and Ubuntu jaunty machines with 1 GB RAM, doing: > > $ emacs -Q --eval "(let ((v \"x\")) (while t (setq v (concat v > v))))" > > aborts Emacs I've checked in a fix. Thanks. From unknown Thu Aug 21 14:54:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 25 Feb 2009 15:24:06 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator