Bug 16481

Summary: Cpp crashes frequently
Product: Base System Reporter: simonw <simonw>
Component: gnuAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description simonw 2000-01-31 00:10:01 UTC
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.

Fix: 

setenv MALLOC_OPTIONS Z

This seems to indicate that cpp is assuming all malloced memory
is zeroed. With this fix kernel rebuilds correctly.
How-To-Repeat: cd /sys/i386/conf
config GENERIC
cd <build dir>
make depend
Comment 1 Ruslan Ermilov 2000-01-31 19:31:45 UTC
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
Comment 2 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-05-23 21:35:46 UTC
State Changed
From-To: open->closed

Overtaken by events.