From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Coleman Newsgroups: gmane.emacs.bugs Subject: bug#2790: emacs 22.1.1 cannot open 5GB file on 64GB 64-bit Linux box Date: Thu, 26 Mar 2009 16:33:29 -0500 Message-ID: <3c6c07c20903261433v66b63eev2f4e9b74da666524@mail.gmail.com> References: <3c6c07c20903260850r180e942dscb2c61d1096793f8@mail.gmail.com> <3c6c07c20903261401o57b49b58p372c24d947911c4d@mail.gmail.com> Reply-To: Mike Coleman , 2790@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1238103933 27400 80.91.229.12 (26 Mar 2009 21:45:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Mar 2009 21:45:33 +0000 (UTC) Cc: 2790@emacsbugs.donarmstrong.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 26 22:46:50 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 1LmxPV-0003Rt-QK for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Mar 2009 22:46:50 +0100 Original-Received: from localhost ([127.0.0.1]:40877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmxO8-0004OQ-Sm for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Mar 2009 17:45:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmxMg-0003EL-IU for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2009 17:43:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmxMb-000374-6c for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2009 17:43:53 -0400 Original-Received: from [199.232.76.173] (port=52793 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmxMa-00036Z-Uw for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2009 17:43:48 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36969) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LmxMa-0007iu-30 for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2009 17:43:48 -0400 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 n2QLhjP8015305; Thu, 26 Mar 2009 14:43:46 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2QLe4o2014216; Thu, 26 Mar 2009 14:40:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Mike Coleman Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 26 Mar 2009 21:40:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2790 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2790-submit@emacsbugs.donarmstrong.com id=B2790.123810321812734 (code B ref 2790); Thu, 26 Mar 2009 21:40:04 +0000 Original-Received: (at 2790) by emacsbugs.donarmstrong.com; 26 Mar 2009 21:33:38 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-ew0-f178.google.com (mail-ew0-f178.google.com [209.85.219.178]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2QLXYbE012720 for <2790@emacsbugs.donarmstrong.com>; Thu, 26 Mar 2009 14:33:36 -0700 Original-Received: by ewy26 with SMTP id 26so906934ewy.1 for <2790@emacsbugs.donarmstrong.com>; Thu, 26 Mar 2009 14:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KJDZADLXrEt1AxFPmpVRXzGG+GHoyaxIl0Vrvt1gNKU=; b=YkmkaptsWGI/nknQ8ZjzmqHU0QfHfjTySAeX6oTm+LQ22fZtb8PZOsTqhdbqT/J/No 64gqUBO8b/7s0XGrn5KcziMjzmGlSaSwpnyvMXmJkdB5veLusdY8/XZWHII17FcLsLwA wp6bJqC+xjpizOqnhqv2rq2eQFHYFpY9/laLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=BF3Zm1VQpZ/NQkfpJV39ODjIcm/VDcvyYcBvfz08cRIRlqLu1W8qJ9IXi7nwiiMX9r Y5ATzWZUED702Mgb4r+b8azWmgnX3dtMDZrvXGwA57jwnUjPPiJmbap5O+rFZCzOM0So MrUYm4pQf5Dqpf3BtNjv5nRJIsjc5TmFbWZd4= Original-Received: by 10.210.82.2 with SMTP id f2mr233734ebb.37.1238103209182; Thu, 26 Mar 2009 14:33:29 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 26 Mar 2009 17:43:53 -0400 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:26646 Archived-At: On Thu, Mar 26, 2009 at 4:14 PM, Eli Zaretskii wrote: >> Date: Thu, 26 Mar 2009 16:01:51 -0500 >> From: Mike Coleman >> Cc: 2790@emacsbugs.donarmstrong.com >> >> 'which emacs' is /usr/bin/emacs. > > I asked to type "file `which emacs`". =A0The `file' part is important. Ah, missed it. Here you go: $ file `which emacs` /usr/bin/emacs: symbolic link to `/etc/alternatives/emacs' Also $ file -L `which emacs` /usr/bin/emacs: sticky ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped in case that's where we were headed. :-) And $ lsb_release -rd Description: CentOS release 5.2 (Final) Release: 5.2 >> most-positive-fixnum gives >> >> =A0 =A0 1152921504606846975 (#o37777777777, #xffffffff) > > That sounds like a bug: the decimal representation is like I'd expect > on a 64-bit machine, but the octal and hex representations are like on > a 32-bit machine. =A0Strange... Yeah, that looked a little odd to me, too. I gather from your questions that this (loading the large file) was more or less supposed to work? > Perhaps this is some bug that was in Emacs 22.1. =A0Can you upgrade to > 22.3? This distribution version has no later package available. I can just go ahead and build from source, though. Are there any particular flags I should use, etc., to support this debugging process? Mike