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#18586: 24.4.50; "Not an in-range integer, float, or cons of integers" from x-focus-frame Date: Thu, 2 Oct 2014 07:50:09 +0200 Message-ID: <2C321CF0-E870-418D-A1D4-1CF0B93F781A@swipnet.se> References: <542CDA6A.50406@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1412229086 27756 80.91.229.3 (2 Oct 2014 05:51:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2014 05:51:26 +0000 (UTC) Cc: 18586@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 07:51:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZZIM-0003ON-IZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2014 07:51:18 +0200 Original-Received: from localhost ([::1]:60203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZZIK-0006c6-3n for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2014 01:51:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZZIC-0006bx-5A for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 01:51:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZZI6-0001Af-83 for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 01:51:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZZI6-0001Ab-5G for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 01:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZZI5-0002RD-NI for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 01:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Oct 2014 05:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18586-submit@debbugs.gnu.org id=B18586.14122290189315 (code B ref 18586); Thu, 02 Oct 2014 05:51:01 +0000 Original-Received: (at 18586) by debbugs.gnu.org; 2 Oct 2014 05:50:18 +0000 Original-Received: from localhost ([127.0.0.1]:57973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZZHN-0002QA-9E for submit@debbugs.gnu.org; Thu, 02 Oct 2014 01:50:17 -0400 Original-Received: from mailfe04.swip.net ([212.247.154.97]:54770 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZZHK-0002Q0-Gc for 18586@debbugs.gnu.org; Thu, 02 Oct 2014 01:50:15 -0400 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 535187568; Thu, 02 Oct 2014 07:50:11 +0200 In-Reply-To: <542CDA6A.50406@cs.ucla.edu> X-Mailer: Apple Mail (2.1878.6) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94010 Archived-At: Hello. 2 okt 2014 kl. 06:54 skrev Paul Eggert : >> I guess the apropriate thing to do is to use cons_to_signed if the = value fits in 32 signed bits, and cons_to_unsigned if it fits in 32 = unsigned bits. >=20 > There's already a function cons_to_x_long that does exactly that, and = I'll look into a patch to use it. However, I suspect another bug is = involved, as the reported value (0x385f739b4) does not fit in 32-bit = unsigned long either, and I have a sneaking suspicion that it's garbage = of some sort, i.e., that there's another bug at work here too. If it does not fit in 32 bit unsigned, then it is indeed garbage. = Unfortunately Time is unsigned long which might be 64 bit, but on the X = protocol level it is 32 bit. So garbage may happen. A watchpoint in gdb on dpyinfo->last_user_time by anyone who can = reproduce this would find it. Jan D.