From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rupert Swarbrick 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: Mon, 29 Sep 2014 15:04:03 +0100 Message-ID: <542966D3.1050804@broadcom.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1412022990 24660 80.91.229.3 (29 Sep 2014 20:36:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Sep 2014 20:36:30 +0000 (UTC) To: 18586@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 29 22:36:24 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 1XYhgG-0002Jo-6l for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Sep 2014 22:36:24 +0200 Original-Received: from localhost ([::1]:38961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYhgF-0008Is-SZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Sep 2014 16:36:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYhg7-0008Ig-PD for bug-gnu-emacs@gnu.org; Mon, 29 Sep 2014 16:36:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYhg1-0007xU-Ib for bug-gnu-emacs@gnu.org; Mon, 29 Sep 2014 16:36:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYhg1-0007wh-G6 for bug-gnu-emacs@gnu.org; Mon, 29 Sep 2014 16:36:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XYhfw-00085f-8k for bug-gnu-emacs@gnu.org; Mon, 29 Sep 2014 16:36:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rupert Swarbrick Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Sep 2014 20:36:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18586 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.141202293931051 (code B ref -1); Mon, 29 Sep 2014 20:36:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Sep 2014 20:35:39 +0000 Original-Received: from localhost ([127.0.0.1]:55599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XYhfW-00084g-7p for submit@debbugs.gnu.org; Mon, 29 Sep 2014 16:35:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41944) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XYbZ5-000744-Dd for submit@debbugs.gnu.org; Mon, 29 Sep 2014 10:04:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYbYz-0003Mb-2Z for submit@debbugs.gnu.org; Mon, 29 Sep 2014 10:04:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYbYy-0003LU-VV for submit@debbugs.gnu.org; Mon, 29 Sep 2014 10:04:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYbYo-0002yu-Lk for bug-gnu-emacs@gnu.org; Mon, 29 Sep 2014 10:04:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYbYj-0003KI-D2 for bug-gnu-emacs@gnu.org; Mon, 29 Sep 2014 10:04:18 -0400 Original-Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:40158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYbYj-0003IU-3T for bug-gnu-emacs@gnu.org; Mon, 29 Sep 2014 10:04:13 -0400 X-IronPort-AV: E=Sophos;i="5.04,620,1406617200"; d="scan'208";a="46979193" Original-Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw2-out.broadcom.com with ESMTP; 29 Sep 2014 07:23:21 -0700 Original-Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 29 Sep 2014 07:04:06 -0700 Original-Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.3.174.1; Mon, 29 Sep 2014 07:04:09 -0700 Original-Received: from [10.177.72.81] (unknown [10.177.72.81]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 5D4FB41015 for ; Mon, 29 Sep 2014 07:03:57 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Mon, 29 Sep 2014 16:35:31 -0400 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:93880 Archived-At: With the code at the head of the development tree at the moment, running the code (x-focus-frame (selected-frame)) yields the error Not an in-range integer, float, or cons of integers (this comes from src/data.c, in case that's of interest). Bisection tracks the change down to the patch with git sha ID c7fcb3f8, which was committed on 7/9/2014, modifying xselect.c. Running gcc -E, I see that on this system the constant X_LONG_MAX comes out as 0x7fffffff (which is 2^31-1). LONG_MAX, on the other hand, comes out as 9223372036854775807L (which is 2^63-1, I think). This bug appears when Emacsclient tries to raise a frame in which it opened a file. This would be ignorable, but the error gets spotted by an emacsclient invocation when writing commit messages with magit, and the whole commit falls over. (I'm mostly writing this paragraph for anyone searching with Google and wondering whether this is the bug they hit) In GNU Emacs 24.4.50.6 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 2014-09-29 on xl-cam-rhel6test Windowing system distributor `The X.Org Foundation', version 11.0.11300000 System Description: Red Hat Enterprise Linux Server release 6.4 (Santiago) Configured using: `configure --with-xml2 --without-sound --without-rsvg --without-imagemagick --with-x-toolkit=lucid' Configured features: XPM JPEG TIFF GIF PNG GPM DBUS GCONF NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Messages Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t Recent input: C-n M-x r e p o r t C-x o C-x b * C-x b C-x o C-n C-x o M-x M-p Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. eval: Not an in-range integer, float, or cons of integers End of buffer byte-code: Command attempted to use minibuffer while in minibuffer End of buffer Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 76621 5099) (symbols 48 17849 0) (miscs 40 48 127) (strings 32 11789 3804) (string-bytes 1 308287) (vectors 16 9947) (vector-slots 8 388130 17256) (floats 8 72 143) (intervals 56 203 8) (buffers 976 11) (heap 1024 37250 627))