AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070925183259.61f882b5@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<dl-cougar>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E056C910B@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Tue, 25 Sep 2007 18:50:55 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: <dl-cougar>
Subject: Re: using dmalloc library on bobcat linux
Message-ID: <20070925185055.7f9819bd@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E056C910B@onstor-exch02.onstor.net>
References: <20070925170930.02f04bd5@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E056C910B@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Tue, 25 Sep 2007 18:08:16 -0700 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> Mpatrol and efence are both in the rootfs. I will add dmalloc to the
> rootfs and the toolchain. 

The more the merrier, I sometimes say!

> Larry
> 
> -----Original Message-----
> From: Andy Sharp 
> Sent: Tuesday, September 25, 2007 5:10 PM
> To: Maxim Kozlovsky
> Cc: dl-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
> > 
> 
> Resending because I farkled the cougar list address the first time.
> 
> 
> On linux (ie., the SSC on cougar) 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.  You can link/run with it
> dynamically, so you don't really need it in the toolchain.
> 
> Cheers,
> 
> a
