GNU bug report logs -
#11236
24.1.50; Maximum buffer size exceeded
Previous Next
Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Date: Fri, 13 Apr 2012 14:10:02 UTC
Severity: normal
Tags: notabug
Merged with 9705
Found in versions 24.0.90, 24.1.50
Done: Andreas Schwab <schwab <at> linux-m68k.org>
Bug is archived. No further changes may be made.
Full log
Message #61 received at 11236 <at> debbugs.gnu.org (full text, mbox):
> 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.
This bug report was last modified 13 years and 29 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.