GNU bug report logs - #2790
emacs 22.1.1 cannot open 5GB file on 64GB 64-bit Linux box

Previous Next

Package: emacs;

Reported by: Mike Coleman <tutufan <at> gmail.com>

Date: Thu, 26 Mar 2009 16:00:03 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mike Coleman <tutufan <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 2790 <at> debbugs.gnu.org
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
On Thu, Mar 26, 2009 at 4:14 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> Date: Thu, 26 Mar 2009 16:01:51 -0500
>> From: Mike Coleman <tutufan <at> gmail.com>
>> Cc: 2790 <at> emacsbugs.donarmstrong.com
>>
>> 'which emacs' is /usr/bin/emacs.
>
> I asked to type "file `which emacs`".  The `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
>>
>>     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.  Strange...

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.  Can 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




This bug report was last modified 13 years and 316 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.