From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Meyering Newsgroups: gmane.emacs.bugs Subject: bug#11144: bootstrap w/gcc-4.8.0 + nonzero MALLOC_PERTURB_ -> ./temacs segfault Date: Tue, 10 Apr 2012 13:07:27 +0200 Message-ID: <874nsrn8uo.fsf@rho.meyering.net> References: <87pqbre1gq.fsf@rho.meyering.net> <87zkas232w.fsf@rho.meyering.net> <87hawslzkm.fsf@rho.meyering.net> <8362d77ut5.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334056097 6256 80.91.229.3 (10 Apr 2012 11:08:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Apr 2012 11:08:17 +0000 (UTC) Cc: 11144@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 10 13:08:16 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 1SHYvn-0000RM-LR for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Apr 2012 13:08:15 +0200 Original-Received: from localhost ([::1]:44056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHYvm-0002HO-PM for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Apr 2012 07:08:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHYvf-0002HE-GU for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 07:08:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHYva-0001Xk-3S for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 07:08:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHYva-0001Xe-08 for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 07:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SHYwY-0003bD-BM for bug-gnu-emacs@gnu.org; Tue, 10 Apr 2012 07:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Meyering Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Apr 2012 11:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11144 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11144-submit@debbugs.gnu.org id=B11144.133405611313789 (code B ref 11144); Tue, 10 Apr 2012 11:09:02 +0000 Original-Received: (at 11144) by debbugs.gnu.org; 10 Apr 2012 11:08:33 +0000 Original-Received: from localhost ([127.0.0.1]:48107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHYw4-0003aL-Rj for submit@debbugs.gnu.org; Tue, 10 Apr 2012 07:08:33 -0400 Original-Received: from mx.meyering.net ([88.168.87.75]:57020) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SHYw2-0003aC-87 for 11144@debbugs.gnu.org; Tue, 10 Apr 2012 07:08:31 -0400 Original-Received: from rho.meyering.net (localhost.localdomain [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 8B03960214; Tue, 10 Apr 2012 13:07:27 +0200 (CEST) In-Reply-To: <8362d77ut5.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 10 Apr 2012 13:19:50 +0300") Original-Lines: 33 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:58683 Archived-At: Eli Zaretskii wrote: >> From: Jim Meyering >> Date: Tue, 10 Apr 2012 11:13:13 +0200 >> Cc: 11144@debbugs.gnu.org >> >> Jim Meyering wrote: >> > Jim Meyering wrote: >> >> Just a heads-up, since release is so near: >> >> >> >> gcc-4.8.0 vs emacs+MALLOC_PERTURB_ = ./temacs segfault >> >> http://debbugs.gnu.org/11144 >> >> >> >> It would be a shame if gcc-4.8.0 (even test a release) were to >> >> fail to bootstrap emacs with MALLOC_PERTURB_ set to nonzero. >> > >> > This seems to have been fixed, since with the latest from gcc/svn, >> > git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186106 >> > 138bc75d-0d04-0410-961f-82ee72b054a4 >> > I can now bootstrap the latest emacs. >> >> This has struck again, now using gcc version 4.8.0 20120406 >> I've reopened the bug. > > Why should we consider this an Emacs bug? Is there any evidence that > it's not a GCC bug, especially since it is coming and going depending > on GCC commits, and that you are using unreleased version of GCC? I do not know enough about this to claim it is due to a bug in gcc or in emacs. However, note that this report shows a probable use of freed memory in temacs, and that generally implicates the application, not the compiler. One additional data point: I've just built today's gcc version 4.8.0 20120410, and have used it to bootstrap emacs(trunk) four times with no such failure.