From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: 22.0.99 emacs dumper (?) problem Date: Sat, 19 May 2007 18:32:03 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1179614164 26448 80.91.229.12 (19 May 2007 22:36:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 May 2007 22:36:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chip Coldwell Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 20 00:36:03 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HpXWq-0000a7-Tl for ged-emacs-devel@m.gmane.org; Sun, 20 May 2007 00:36:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpXWq-00048b-Ea for ged-emacs-devel@m.gmane.org; Sat, 19 May 2007 18:36:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HpXT4-0007Oc-1Y for emacs-devel@gnu.org; Sat, 19 May 2007 18:32:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HpXT3-0007OE-Cm for emacs-devel@gnu.org; Sat, 19 May 2007 18:32:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpXT3-0007O0-9d for emacs-devel@gnu.org; Sat, 19 May 2007 18:32:05 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HpXT2-0005LH-Vs for emacs-devel@gnu.org; Sat, 19 May 2007 18:32:05 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HpXT1-0000LF-3z; Sat, 19 May 2007 18:32:03 -0400 In-reply-to: (message from Chip Coldwell on Fri, 18 May 2007 09:42:19 -0400 (EDT)) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71403 Archived-At: There was a report that the same problem happened with the unicode-2 Emacs branch. That seems to have been spurious. But as far as I know that doesn't mean your problem isn't real. Can you please try building the previous pretests, and see if the problem has appeared recently? MALLOC_MMAP_MAX_=0 to this line LC_ALL=C $(RUN_TEMACS) -nl -batch -l loadup dump works, although there are some conflicting reports about this, also. It is possible that this is a Glibc bug, perhaps due to some private change in Fedora's version of Glibc. Here is an idea. You could try changing emacs_blocked_malloc so that, when Vpurify_flag is non-nil, it uses mallopt to prevent malloc mmap'ing. It could save the value of the N_MMAP_MAX parameter, then set it to 0, then call malloc, then restore the old value of the parameter. But it should do this only when Vpurify_flag is non-nil. Does that fix the problem?