X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C88461.74CA9EAC@onstor-exch02.onstor.net>; Wed, 12 Mar 2008 09:52:28 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: PERFORCE change 28304 for review
Date: Wed, 12 Mar 2008 09:52:28 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E08D2A479@onstor-exch02.onstor.net>
In-Reply-To: <20080312094809.278d2e7e@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: PERFORCE change 28304 for review
Thread-Index: AciEYNyFZ8+46e19RbSNwGAQfjmokQAAGVeA
References: <WEBMAILg01aups8u6jV00000223@mail.onstor.com><BB375AF679D4A34E9CA8DFA650E2B04E08D2A3C8@onstor-exch02.onstor.net> <20080312094809.278d2e7e@ripper.onstor.net>
From: "Maxim Kozlovsky" <maxim.kozlovsky@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>
Cc: "Larry Scheer" <larry.scheer@onstor.com>,
	"Tim Gardner" <tim.gardner@onstor.com>,
	"Mike Lee" <mike.lee@onstor.com>


Why would the segfault within the C library produce a corrupt core file?


>-----Original Message-----
>From: Andy Sharp
>Sent: Wednesday, March 12, 2008 9:48 AM
>To: Maxim Kozlovsky
>Cc: Larry Scheer; Tim Gardner; Mike Lee
>Subject: Re: PERFORCE change 28304 for review
>
>On Wed, 12 Mar 2008 08:49:09 -0700 "Maxim Kozlovsky"
><maxim.kozlovsky@onstor.com> wrote:
>
>> Huh?
>>
>> Man malloc:
>> "If MALLOC_CHECK_ is set to 0, any detected heap corruption is
>> silently ignored"
>>
>> How does that enable us to collect more meaningful core files?
>
>Man pages aren't code.  Feel free to look at the code and figure out
>why.  Without it, certain types of segfaults within the C library leave
>us with a corrupt core file.
>
>
>
>> >-----Original Message-----
>> >From: Larry Scheer
>> >Sent: Tuesday, March 11, 2008 9:55 PM
>> >To: Amit Bothra; Andy Sharp; Brian DeForest; Charissa Willard; Chris
>> >Vandever; Deepak Veliath; Eric Barrett; Ian Brown; Jobi Ariyamannil;
>> >Jonathan Goldick; Ken Renshaw; Larry Scheer; Maxim Kozlovsky; Narain
>> >Ramadass; Sandrine Boulanger; Svati Chandra; Tim Gardner
>> >Subject: PERFORCE change 28304 for review
>> >
>> >Change 28304 by larrys@larrys-r14-dmip on 2008/03/11 21:50:40
>> >
>> >	 TED00022699 Cougar - vsd core  pm_sig_handler
>> >
>> >	 Creating /etc/default/onstor in Linux root filesystem.
>> >	 Setting MALLOC_CHECK_=3D0 so we can collect more meaningful
>> >	 core files.
>> >
>> >	 Updated linux/rootfs/Makefile to
>> >	install /etc/default/onstor. Reviewed by: TimG
>> >
>> >Affected files ...
>> >
>> >... //depot/dev/linux/rootfs/Makefile#24 edit
>> >... //depot/dev/linux/rootfs/etc/default/onstor#1 add
>> >
>> >
>> >http://liszt:1818/@md=3Dd&cd=3D//depot/$c=3DG35@/28304?ac=3D10
