X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C7FFD2.928AE5D9@onstor-exch02.onstor.net>; Tue, 25 Sep 2007 16:17:07 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: using dmalloc library on bobcat linux
Date: Tue, 25 Sep 2007 16:17:06 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E05B46BB3@onstor-exch02.onstor.net>
In-Reply-To: <20070925170020.29f3eb33@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: using dmalloc library on bobcat linux
Thread-Index: Acf/0D0eroHd/JrHSWuwnBTCO5JTzQAAKslQ
References: <BB375AF679D4A34E9CA8DFA650E2B04E05B46B76@onstor-exch02.onstor.net> <20070925170020.29f3eb33@ripper.onstor.net>
From: "Maxim Kozlovsky" <maxim.kozlovsky@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>
Cc: <cl-cougar>



>-----Original Message-----
>From: Andy Sharp
>Sent: Tuesday, September 25, 2007 5:00 PM
>To: Maxim Kozlovsky
>Cc: cl-cougar
>Subject: Re: using dmalloc library on bobcat linux
>
>On Tue, 25 Sep 2007 16:45:53 -0700 "Maxim Kozlovsky"
><maxim.kozlovsky@onstor.com> wrote:
>
>> I've checked in some code to support using dmalloc library with
bobcat
>> linux build, see
>> http://wiki.onstor.net/wiki/Cougar:using_dmalloc_librarry for the how
>> to.
>>
>> Larry - could you please add the package to the toolchain and root
>> filesystem.
>>
>> Currently running with the dmalloc enabled produces lots of cores in
>> various places. I'll appreciate if we will try to do this anyway and
>> fix the crashes as we get them. Migrating from BSD to Linux can
>> uncover a lot of latent bugs, it is better to find them proactively
>> rather than expect them to show in testing.
>>
>> Max
>>
>
>On linux I think you will be a lot happier using the mpatrol library,
>it's significantly more useful than the dmalloc library, and covers
>more as well.  Things like this recent free would have been caught by
>the mpatrol right off: freeing an address not returned by malloc.
>Rather than producing just a bus error some time later or whatever.
>
>Somewhere sometime I believe I sent a URL for mpatrol around.  Didn't
>I?  Hmm, people can google it.
>
>I believe mpatrol is already in the rootfs.
>
>Cheers,
>
>a
[MK]=20

It is not in root fs. All this malloc debug libraries are pretty much
the same, what is the significantly more useful feature you are
referring to?


