From owner-freebsd-stable@FreeBSD.ORG Thu Mar 5 20:40:45 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B34B91065670 for ; Thu, 5 Mar 2009 20:40:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 82C518FC18 for ; Thu, 5 Mar 2009 20:40:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id 1A6F846B39; Thu, 5 Mar 2009 15:40:45 -0500 (EST) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n25Kecqp007256; Thu, 5 Mar 2009 15:40:38 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-stable@freebsd.org Date: Thu, 5 Mar 2009 14:49:59 -0500 User-Agent: KMail/1.9.7 References: <87wsb5clk9.fsf@chateau.d.lf> <87iqmohcl5.fsf@chateau.d.lf> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903051449.59782.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 05 Mar 2009 15:40:39 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.2/9075/Thu Mar 5 14:37:10 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Mark Atkinson Subject: Re: GCC segfaulting while trying to compile latest Qt4 code X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 20:40:46 -0000 On Thursday 05 March 2009 11:48:11 am Mark Atkinson wrote: > Ashish SHUKLA wrote: > > > Daniel O'Connor writes: > >> On Thursday 05 March 2009 02:44:14 Ashish SHUKLA wrote: > >>> Hi everone, > >>> > >>> While trying to update my 'qt4-gui' port, gcc segfaults during > >>> compilation. I'm running FreeBSD 7.1-STABLE (amd64 architecture) updated > >>> on 3rd March, 2009. > > > >> I would not rule out a hardware problem - seg faults while compiling > >> heavy code (ie big C++ projects :) can be indicative of > >> memory/CPU/PSU/motherboard problems. > > > > Okay, but I even tried compiling that file manually and that also > > resulted in segfault. > > > >> I'd suggest running memtest86 and prime95 for a few hours if you can. > > > > I'll try running memtest86. > > > > Thanks > > I believe superpages were mfc'd to -stable as well. I have one machine > that faults in gcc with this turned on. You can try adding > > vm.pmap.pg_ps_enabled="0" > > to /boot/loader.conf, rebooting and see if that fixes the problem. If so, > you might provide the list with your hardware configuration. Note that superpages is not on by default in 7 the way it is in 8. BTW, can you get more details from your actual crash dump? I'm not sure if there's a way you can either add some debug printfs or something else to determine what the faulting address that results in the SIGBUS you are seeing? -- John Baldwin