From nobody@FreeBSD.ORG  Sun Jan 30 16:07:55 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 0FF22151C5; Sun, 30 Jan 2000 16:07:55 -0800 (PST)
Message-Id: <20000131000755.0FF22151C5@hub.freebsd.org>
Date: Sun, 30 Jan 2000 16:07:55 -0800 (PST)
From: simonw@d2.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: Cpp crashes frequently
X-Send-Pr-Version: www-1.0

>Number:         16481
>Category:       gnu
>Synopsis:       Cpp crashes frequently
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 30 16:10:01 PST 2000
>Closed-Date:    Wed May 23 13:35:46 PDT 2001
>Last-Modified:  Wed May 23 13:36:00 PDT 2001
>Originator:     Simon Walton
>Release:        3.4-rel
>Organization:
>Environment:
FreeBSD stepney 3.4-RELEASE FreeBSD 3.4-RELEASE #0: Sun Jan 30 15:35:07 PST 2000     simonw@stepney:/usr/src/sys/compile/STEPNEY  i386

>Description:
When, for example, rebuilding the kernel, cpp crashes with a variety
of signals, sometimes SEGV or ABRT, at random times. The distribution
is CDROM from cheapbytes.com.


>How-To-Repeat:
cd /sys/i386/conf
config GENERIC
cd <build dir>
make depend

>Fix:
setenv MALLOC_OPTIONS Z

This seems to indicate that cpp is assuming all malloced memory
is zeroed. With this fix kernel rebuilds correctly.


>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@ucb.crimea.ua>
To: simonw@d2.com
Cc:  
Subject: Re: gnu/16481: Cpp crashes frequently
Date: Mon, 31 Jan 2000 21:31:45 +0200

 On Sun, Jan 30, 2000 at 04:07:55PM -0800, simonw@d2.com wrote:
 > 
 > When, for example, rebuilding the kernel, cpp crashes with a variety
 > of signals, sometimes SEGV or ABRT, at random times. The distribution
 > is CDROM from cheapbytes.com.
 > 
 This usually happens due to bad RAM chips.
 Can you replace them and try again?
 
 > setenv MALLOC_OPTIONS Z
 > 
 > This seems to indicate that cpp is assuming all malloced memory
 > is zeroed. With this fix kernel rebuilds correctly.
 > 
 Hmm, do you have /etc/malloc.conf?
 
 -- 
 Ruslan Ermilov		Sysadmin and DBA of the
 ru@ucb.crimea.ua	United Commercial Bank,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.247.647	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
 
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed May 23 13:35:46 PDT 2001 
State-Changed-Why:  
Overtaken by events. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=16481 
>Unformatted:
