From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: VIRT_ADDR_VARIES Date: Tue, 08 Nov 2011 13:17:49 -0800 Organization: UCLA Computer Science Department Message-ID: <4EB99C7D.8000407@cs.ucla.edu> References: <4EB73983.1060000@cs.ucla.edu> <4EB86864.5080709@cs.ucla.edu> <4EB96841.7020701@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1320787087 18528 80.91.229.12 (8 Nov 2011 21:18:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Nov 2011 21:18:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 08 22:18:02 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RNt3L-0000Rz-5k for ged-emacs-devel@m.gmane.org; Tue, 08 Nov 2011 22:17:55 +0100 Original-Received: from localhost ([::1]:57369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNt3K-0006zq-Kp for ged-emacs-devel@m.gmane.org; Tue, 08 Nov 2011 16:17:54 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNt3I-0006zl-KM for emacs-devel@gnu.org; Tue, 08 Nov 2011 16:17:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNt3H-0006Gb-S6 for emacs-devel@gnu.org; Tue, 08 Nov 2011 16:17:52 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:45111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNt3H-0006GX-N1 for emacs-devel@gnu.org; Tue, 08 Nov 2011 16:17:51 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id B7C6F39E800C; Tue, 8 Nov 2011 13:17:50 -0800 (PST) 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 aOGRr4M+vRvB; Tue, 8 Nov 2011 13:17:50 -0800 (PST) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id D167C39E8008; Tue, 8 Nov 2011 13:17:49 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145954 Archived-At: On 11/08/11 10:38, Andreas Schwab wrote: > It causes PURE_P to always return true. OK, so Emacs is dumping core, not valgrind. But how can valgrind affect the address of my_edata? Valgrind supplies its own allocator, but I didn't think it could move initialized data around. I'm asking partly because I'm worried that if valgrind can move my_edata, then there are more-serious issues that we also would need to address, i.e. that the PURE_P core dump is just the tip of an iceberg. I assume this is on x86-64 GNU/Linux? I'm not observing this behavior on my host, which is that flavor. I'm running Fedora 15, which has valgrind 3.6.1.