From: Paul Eggert <eggert@cs.ucla.edu>
To: 11236@debbugs.gnu.org
Subject: bug#11236: 24.1.50; Maximum buffer size exceeded
Date: Sun, 22 Apr 2012 22:12:36 -0700 [thread overview]
Message-ID: <4F94E4C4.9090509@cs.ucla.edu> (raw)
In-Reply-To: <3601C9D9-C40F-4672-A70D-8F2A4D6D39E5@Freenet.DE>
> the struct st, which has:
>
> ...
> st_size = 5425793530331136,
> st_blocks = 10617159159808,
>
> Ls delivers:
>
> gls -lin lisp/loaddefs.el
> 43973072 -rw-r--r-- 1 501 80 1263291 16. Apr 10:40 lisp/loaddefs.el
Since 5425793530331136 == 1263291 << 32, this suggests that
there's a mismatch between the ABI that Emacs is assuming
and the ABI that the 'stat' system call is actually using.
Perhaps it's a bug in the way largefile mode is being set up (see
Autoconf's AC_SYS_LARGFILE, which Emacs uses). Perhaps some code is
compiled in largefile mode, and other code is not -- that's a no-no.
Or, as Andreas Schwab suggests, if you're mixing code that's compiled
by incompatible compilers, that would cause these symptoms.
One other thought: is Emacs invoking 'stat' directly, or indirectly
via the 'stat' defined in lib/stat.c? If the latter, perhaps there's
something messed up with the indirection.
prev parent reply other threads:[~2012-04-23 5:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-13 14:04 bug#11236: 24.1.50; Maximum buffer size exceeded Peter Dyballa
2012-04-13 15:31 ` Eli Zaretskii
2012-04-14 10:57 ` Peter Dyballa
2012-04-14 11:31 ` Eli Zaretskii
2012-04-16 14:59 ` Peter Dyballa
2012-04-16 16:54 ` Eli Zaretskii
2012-04-16 20:12 ` Peter Dyballa
2012-04-16 20:39 ` Andreas Schwab
2012-04-16 22:09 ` Peter Dyballa
2012-04-14 15:27 ` Peter Dyballa
2012-04-15 12:02 ` Peter Dyballa
2012-04-15 22:44 ` Peter Dyballa
2012-04-15 23:48 ` Glenn Morris
2012-04-16 9:03 ` Peter Dyballa
2012-04-16 10:28 ` Andreas Schwab
2012-04-16 13:59 ` Peter Dyballa
2012-04-16 18:24 ` Glenn Morris
2012-04-16 20:16 ` Peter Dyballa
2012-04-23 9:37 ` Andreas Schwab
2012-04-23 5:12 ` Paul Eggert [this message]
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=4F94E4C4.9090509@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=11236@debbugs.gnu.org \
/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).