From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Arithmetic range error Date: Fri, 08 Feb 2019 14:15:15 +0100 Message-ID: References: <87k1iaft1p.fsf@yandex.com> <8736oye8gm.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="44117"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Colin Baxter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 14:15:41 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gs60K-000BKD-SW for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2019 14:15:41 +0100 Original-Received: from localhost ([127.0.0.1]:56461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs60J-000834-Hi for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2019 08:15:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs605-00080n-G6 for emacs-devel@gnu.org; Fri, 08 Feb 2019 08:15:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs603-0006uN-IM for emacs-devel@gnu.org; Fri, 08 Feb 2019 08:15:25 -0500 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:37772) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gs5zz-0006pP-W5 for emacs-devel@gnu.org; Fri, 08 Feb 2019 08:15:21 -0500 Original-Received: by mail-wr1-x42e.google.com with SMTP id c8so3544432wrs.4 for ; Fri, 08 Feb 2019 05:15:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=Uh6jZHxfW7bZBIUAFFiiIeJqgrTW27cHmt6EdpbTmN8=; b=Oj80Bk7gxKe98xTsJ4G/kjUHIlIbtS5L47EbFF5GHNN0eZW/A+LPoW1NcmnVhTOKyv VAJDXnFyqt23fbbjLLNHAGpzPAMm6dRbJq0CZImy1T+ONoZ4hOl1SvhaXhTNT9pDJaDR vof/ucCUXTZnKReHY8zMr2a2CUtsZ8U4+lb2YfGRAGP8hK7KcRy9VogejQxtCnHF21KU W9Sx28p9AYUa5VfIp3cMwSrjggAT/g9eigELha/Tq2RvAb5FZABtS5Q81Gkgh6FGVlb+ 7w5VRlGfQbqA6K1L+HJ+RqLQBCfvKQQLIhURFH8dQ2put7HzdknjHLPQh1h1DL3gYk2o zlkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=Uh6jZHxfW7bZBIUAFFiiIeJqgrTW27cHmt6EdpbTmN8=; b=L0rMG1QMpahzbszABmI8D/HXBujbgJRhWTtHa8ZU3jKGExMiVUl3kN+kpE3WRNXOW3 J4aH5xa9ESvl6Xqtr++4KCMIFUbGz6f0GTZ5TbsJisBfo8UmaT3ycbTfNO9KWsGMUCTF 19PNhb381VPnl1w1bpk6KWU1BI65Zs9uOsOmYFoB2UpG5zZI70mxar25uB/QWPQWQO6J jMrvO2FAVIpZ0jlex5KtsoEvXMiw2882wP801EfPznRksl2OOou2cTWTpxIPVuamNlrt KL4xxmO5qeSCR6Nn1On9JCBjGXYHAQokwwT5Y11B5eDlVHZPPbjcI0SaD3tnoO2ux52h pbPA== X-Gm-Message-State: AHQUAuag65bAMfIcW3Q/ZlvgFC8J+WdcB1Hfasj+X+21kOx9LZJSIhUA HPnusZL1E4XroQ1xTwmsP66bpHYWdSc= X-Google-Smtp-Source: AHgI3IavJbUZm8IZ4mAt1JiibrmD6NdDXx6f9Oa1dQLZmSK2s+bV4DzZGNatB//expjWmeZPwMtJQQ== X-Received: by 2002:adf:ba8e:: with SMTP id p14mr16152861wrg.230.1549631716766; Fri, 08 Feb 2019 05:15:16 -0800 (PST) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:508e:f5c1:5162:8e85]) by smtp.gmail.com with ESMTPSA id f15sm1112753wrt.10.2019.02.08.05.15.15 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 08 Feb 2019 05:15:15 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <8736oye8gm.fsf@yandex.com> (Colin Baxter's message of "Fri, 08 Feb 2019 13:05:45 +0000") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233121 Archived-At: Colin Baxter writes: > Dear Robert, > > According to my reading of the code, this can only happen if > > you=CA=BCre overflowing the maximum integer value on your machine, = but > > the value in your backtrace is well below that even on 32 bit > > machines. > > > Could you let us know your values of most-positive-fixnum, > > system-configuration, system-configuration-options and > > system-configuration-features? > > most-positive-fixnum: > 536870911 > And that shows that I=CA=BCd forgotten about the tag bits in emacs integers. 'floor' is trying to convert 1549541220, which is greater than your most-positive-fixnum. You can either switch to a 64 bit platform, or try rebuilding emacs with '--wide-int', which will attempt to use 62 bit integers (or switch to the unreleased emacs-27, which has essentially unbounded integers). Robert