From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#7460: 23.2.90; temacs needs LANG=C, build will fail if not. Date: Mon, 22 Nov 2010 22:58:03 +0100 Message-ID: <4CEAE76B.1090509@swipnet.se> References: <4CE92B72.6090909@swipnet.se> <4CE970E9.809@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1290464088 1459 80.91.229.12 (22 Nov 2010 22:14:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Nov 2010 22:14:48 +0000 (UTC) Cc: 7460@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 22 23:14:43 2010 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.69) (envelope-from ) id 1PKeem-0000OD-Er for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Nov 2010 23:14:40 +0100 Original-Received: from localhost ([127.0.0.1]:49631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKeel-0005co-QI for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Nov 2010 17:14:39 -0500 Original-Received: from [140.186.70.92] (port=39123 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKeeh-0005ce-Ag for bug-gnu-emacs@gnu.org; Mon, 22 Nov 2010 17:14:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKeef-0002Cu-Tt for bug-gnu-emacs@gnu.org; Mon, 22 Nov 2010 17:14:35 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKeef-0002Cg-SH for bug-gnu-emacs@gnu.org; Mon, 22 Nov 2010 17:14:33 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PKeKo-0000za-0n; Mon, 22 Nov 2010 16:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Nov 2010 21:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7460 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7460-submit@debbugs.gnu.org id=B7460.12904627833805 (code B ref 7460); Mon, 22 Nov 2010 21:54:01 +0000 Original-Received: (at 7460) by debbugs.gnu.org; 22 Nov 2010 21:53:03 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PKeJr-0000zK-1y for submit@debbugs.gnu.org; Mon, 22 Nov 2010 16:53:03 -0500 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PKeJn-0000yy-NK for 7460@debbugs.gnu.org; Mon, 22 Nov 2010 16:53:00 -0500 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id D94D9E98AF for <7460@debbugs.gnu.org>; Mon, 22 Nov 2010 22:58:14 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag41APx16kxV4S1kPGdsb2JhbACIHZpJDAEBAQE1Lb4JhUsE X-IronPort-AV: E=Sophos;i="4.59,238,1288566000"; d="scan'208";a="1693434363" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb4.telenor.se with ESMTP; 22 Nov 2010 22:58:08 +0100 Original-Received: from anon-146-150.ipredate.net (anon-146-150.ipredate.net [93.182.150.146]) by coolsville.localdomain (Postfix) with ESMTPSA id 7FFF77FA05A; Mon, 22 Nov 2010 22:58:06 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 22 Nov 2010 16:54:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:41827 Archived-At: Stefan Monnier skrev 2010-11-21 21.34: >>>> Invalid hash table rehash size: 1\,5 >>> Where does this "1,5" come from? >> src/lisp.h:#define DEFAULT_REHASH_SIZE 1.5 >> Apparently this code in fns.c, Fmake_hash_table somehow turns it into 1,5. > >> /* Look for `:rehash-size SIZE'. */ >> i = get_key_arg (QCrehash_size, nargs, args, used); >> rehash_size = i< 0 ? make_float (DEFAULT_REHASH_SIZE) : args[i]; >> if (!NUMBERP (rehash_size) >> || (INTEGERP (rehash_size)&& XINT (rehash_size)<= 0) >> || XFLOATINT (rehash_size)<= 1.0) >> signal_error ("Invalid hash table rehash size", rehash_size); > > Hmm... I can't think of any way this code could turn the 1.5 float into > a "1,5" symbol. It is args[i] that has the wrong value. But I can't figure out where it comes from. No lisp code I see sets :rehash-size explicitly to 1.5. The backtrace is just #0 Fmake_hash_table (nargs=8, args=0x7fffffffcbd0) at /home/jhd/src/emacs/trunk/src/fns.c:4349 #1 0x00000000006302cb in read1 (readcharfun=14797521, pch=0x7fffffffce8c, first_in_list=0) at /home/jhd/src/emacs/trunk/src/lread.c:2336 #2 0x000000000062f6e2 in read0 (readcharfun=14797521) at /home/jhd/src/emacs/trunk/src/lread.c:1955 #3 0x000000000062f61d in read_internal_start (stream=14797521, start=13414610, end=13414610) at /home/jhd/src/emacs/trunk/src/lread.c:1926 #4 0x000000000062f401 in Fread_from_string (string=14797521, start=13414610, end=13414610) at /home/jhd/src/emacs/trunk/src/lread.c:1872 #5 0x00000000006009f2 in Ffuncall (nargs=2, args=0x7fffffffd018) at /home/jhd/src/emacs/trunk/src/eval.c:2996 #6 0x000000000065231d in Fbyte_code (bytestr=14797297, vector=14798629, maxdepth=16) at /home/jhd/src/emacs/trunk/src/bytecode.c:679 #7 0x00000000005ff4c3 in Feval (form=14795334) at /home/jhd/src/emacs/trunk/src/eval.c:2358 #8 0x000000000062ef02 in readevalloop (readcharfun=14164562, stream=0xdae520, sourcename=14384145, evalfun=0x5fee05 , printflag=0, unibyte=13414610, readfun=13414610, start=13414610, end=13414610) at /home/jhd/src/emacs/trunk/src/lread.c:1737 #9 0x000000000062da01 in Fload (file=14384017, noerror=13414610, nomessage=13414610, nosuffix=13414610, must_suffix=13414610) at /home/jhd/src/#10 0x00000000005ff541 in Feval (form=14291270) at /home/jhd/src/emacs/trunk/src/eval.c:2366 #11 0x000000000062ef02 in readevalloop (readcharfun=14164562, stream=0xdaa130, sourcename=14325681, evalfun=0x5fee05 , printflag=0, unibyte=13414610, readfun=13414610, start=13414610, end=13414610) at /home/jhd/src/emacs/trunk/src/lread.c:1737 #12 0x000000000062da01 in Fload (file=14325425, noerror=13414610, nomessage=13414610, nosuffix=13414610, must_suffix=13414610) at /home/jhd/src/emacs/trunk/src/lread.c:1228 #13 0x00000000005ff541 in Feval (form=14302662) at /home/jhd/src/emacs/trunk/src/eval.c:2366 #14 0x0000000000556e8c in top_level_2 () at /home/jhd/src/emacs/trunk/src/keyboard.c:1330 #15 0x00000000005fd4ae in internal_condition_case (bfun=0x556e76 , handlers=13825266, hfun=0x556976 ) at /home/jhd/src/emacs/trunk/src/eval.c:1460 #16 0x0000000000556ed6 in top_level_1 (ignore=13414610) at /home/jhd/src/emacs/trunk/src/keyboard.c:1338 #17 0x00000000005fcd90 in internal_catch (tag=13821330, func=0x556e8e , arg=13414610) at /home/jhd/src/emacs/trunk/src/eval.c:1204 emacs/trunk/src/lread.c:1228 #18 0x0000000000556dca in command_loop () at /home/jhd/src/emacs/trunk/src/keyboard.c:1293 #19 0x00000000005563f7 in recursive_edit_1 () at /home/jhd/src/emacs/trunk/src/keyboard.c:923 #20 0x00000000005565fb in Frecursive_edit () at /home/jhd/src/emacs/trunk/src/keyboard.c:985 #21 0x0000000000554587 in main (argc=5, argv=0x7fffffffe5e8) at /home/jhd/src/emacs/trunk/src/emacs.c:1716 Lisp Backtrace: "read-from-string" (0xffffd020) "byte-code" (0xffffd380) "load" (0xffffd840) "load" (0xffffdd00) Any idea what I should look at? The string in Fread_from_string is "#s(hash-table size 65 test eql rehash-size 1,5 rehash-threshold 0,8 data ())" but how to figure out where it comes from? Jan D.