unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 8884@debbugs.gnu.org
Subject: bug#8884: closed (Re: bug#8884: wide-int crash)
Date: Tue, 18 Oct 2011 11:14:10 +0200	[thread overview]
Message-ID: <23C33A8D-E7C1-49A1-9477-12AC9826BA06@Freenet.DE> (raw)
In-Reply-To: <4E9D11DA.7000303@cs.ucla.edu>


Am 18.10.2011 um 07:42 schrieb Paul Eggert:

> Perhaps I'm missing something, but
> this is the behavior I expect.
> SW.tar is too large to fit into that system's memory.
> (A 32-bit machine can't access more than 4 GiB of memory.

It rather looks that *I* am missing some understanding... I thought that the use of wide ints on a 32-bit architecture was meant to give it the ability to handle larger files. What is the intention of their introduction then? Increasing the size of the binary? The Emacs NEWS/Changelog only tells:

	** There is a new configure option --with-wide-int.
	With it, Emacs integers typically have 62 bits, even on 32-bit machines.

From buffers.texi this text is derived:

	   A buffer's size cannot be larger than some maximum, which is defined
	by the largest buffer position representable by the "Emacs integer"
	data type.  This is because Emacs tracks buffer positions using that
	data type.  For 32-bit machines, the largest buffer size is 256
	megabytes.

4 GiB is 16 times that value, quite a bit more. Maths with large numbers, greater than 2**28, works. 

--
Greetings

  Pete

Increase the size of your bike by at least *five* inches!






  reply	other threads:[~2011-10-18  9:14 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201106040034.15598.ruediger@c-plusplus.de>
     [not found] ` <201106061825.25078.ruediger@c-plusplus.de>
     [not found]   ` <jwvd3iq7uwl.fsf-monnier+emacs@gnu.org>
     [not found]     ` <201106240250.01247.ruediger@c-plusplus.de>
     [not found]       ` <jwvbox7tty4.fsf-monnier+emacs@gnu.org>
     [not found]         ` <4E148534.40106@cs.ucla.edu>
     [not found]           ` <2v8vsbte5m.fsf@fencepost.gnu.org>
2011-07-06 22:31             ` bug#8884: wide-int crash [was Re: [PATCH updated] Support for filesystem watching (inotify)] Paul Eggert
     [not found]             ` <4E14E23F.4070507@cs.ucla.edu>
2011-10-07  7:30               ` bug#8884: wide-int crash Glenn Morris
2011-06-17 17:50                 ` bug#8884: 24.0.50; temacs crashes and dumps core when configured --with-wide-int Peter Dyballa
2011-06-17 20:07                   ` Peter Dyballa
     [not found]                   ` <handler.8884.D8884.131797266119606.notifdone@debbugs.gnu.org>
2011-10-08 13:35                     ` bug#8884: closed (Re: bug#8884: wide-int crash) Peter Dyballa
2011-10-17 22:24                     ` Peter Dyballa
2011-10-18  5:42                       ` Paul Eggert
2011-10-18  9:14                         ` Peter Dyballa [this message]
2011-10-18 10:55                           ` Eli Zaretskii
2011-10-18 13:33                             ` Stefan Monnier
2011-10-18 15:38                             ` Paul Eggert
2011-10-18 15:45                               ` Andreas Schwab
2011-10-18 15:57                                 ` Paul Eggert
2011-10-18 21:41                                 ` Peter Dyballa
2011-10-19  1:47                                   ` Paul Eggert
2011-10-19 22:46                                     ` Peter Dyballa
2011-10-19  3:43                                   ` Stefan Monnier
2011-10-19 13:59                                     ` Peter Dyballa
2011-10-19 14:44                                       ` Stefan Monnier
2011-10-19 14:59                                         ` Peter Dyballa
2011-10-19 18:00                                           ` Stefan Monnier
2011-10-19 21:59                                             ` Peter Dyballa
2011-10-20  0:32                                               ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23C33A8D-E7C1-49A1-9477-12AC9826BA06@Freenet.DE \
    --to=peter_dyballa@freenet.de \
    --cc=8884@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).