From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1787: marked as done (23.0.60; `concat' with longer strings aborts Emacs ungracefully ) Date: Tue, 27 Jan 2009 21:25:03 +0000 Message-ID: References: <87zlhcv473.fsf@cyd.mit.edu> <20090105012320.15DD9C24862@mt-computer.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1233091503-13074-0" X-Trace: ger.gmane.org 1233092635 1036 80.91.229.12 (27 Jan 2009 21:43:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 21:43:55 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 27 22:45:08 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRvjt-00017I-MZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 22:44:58 +0100 Original-Received: from localhost ([127.0.0.1]:57808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRvib-0001vA-JY for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jan 2009 16:43:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRviX-0001v5-B1 for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 16:43:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRviW-0001ur-TY for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 16:43:33 -0500 Original-Received: from [199.232.76.173] (port=52473 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRviW-0001ul-HJ for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 16:43:32 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33988) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRviV-0007HE-To for bug-gnu-emacs@gnu.org; Tue, 27 Jan 2009 16:43:32 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0RLhT0Z017812; Tue, 27 Jan 2009 13:43:30 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0RLP3YB013105; Tue, 27 Jan 2009 13:25:03 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 1787 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24647 Archived-At: This is a multi-part message in MIME format... ------------=_1233091503-13074-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 27 Jan 2009 16:17:52 -0500 with message-id <87zlhcv473.fsf@cyd.mit.edu> and subject line Re: 23.0.60; `concat' with longer strings aborts Emacs ung= racefully=20 has caused the Emacs bug report #1787, regarding 23.0.60; `concat' with longer strings aborts Emacs ungracefully= =20 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 1787: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1787 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1233091503-13074-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 ------------=_1233091503-13074-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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@emacsbugs.donarmstrong.com 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. ------------=_1233091503-13074-0--