From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#11236: 24.1.50; Maximum buffer size exceeded Date: Sun, 22 Apr 2012 22:12:36 -0700 Message-ID: <4F94E4C4.9090509@cs.ucla.edu> References: <3601C9D9-C40F-4672-A70D-8F2A4D6D39E5@Freenet.DE> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1335158011 29325 80.91.229.3 (23 Apr 2012 05:13:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2012 05:13:31 +0000 (UTC) To: 11236@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 23 07:13:30 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SMBaa-0002R3-CW for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Apr 2012 07:13:28 +0200 Original-Received: from localhost ([::1]:52831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMBaZ-0004V2-Jx for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Apr 2012 01:13:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMBaW-0004UM-VS for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 01:13:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMBaV-0006eA-9o for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 01:13:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMBaV-0006e6-6R for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 01:13:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SMBb8-0000q3-Cx for bug-gnu-emacs@gnu.org; Mon, 23 Apr 2012 01:14:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <3601C9D9-C40F-4672-A70D-8F2A4D6D39E5@Freenet.DE> Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Apr 2012 05:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11236-submit@debbugs.gnu.org id=B11236.13351580043167 (code B ref 11236); Mon, 23 Apr 2012 05:14:02 +0000 Original-Received: (at 11236) by debbugs.gnu.org; 23 Apr 2012 05:13:24 +0000 Original-Received: from localhost ([127.0.0.1]:47598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMBaW-0000p2-Ju for submit@debbugs.gnu.org; Mon, 23 Apr 2012 01:13:24 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:48680) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SMBaU-0000oq-27 for 11236@debbugs.gnu.org; Mon, 23 Apr 2012 01:13:23 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id EA12EA60002 for <11236@debbugs.gnu.org>; Sun, 22 Apr 2012 22:12:36 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gReCdZGYgX2z for <11236@debbugs.gnu.org>; Sun, 22 Apr 2012 22:12:36 -0700 (PDT) Original-Received: from [192.168.1.4] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 8703339E8007 for <11236@debbugs.gnu.org>; Sun, 22 Apr 2012 22:12:36 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59400 Archived-At: > 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.