libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] Re: Call to strdup breaks heap profilers


From: Daniel Jacobowitz
Subject: [Libunwind-devel] Re: Call to strdup breaks heap profilers
Date: Tue, 1 Jul 2008 12:03:09 -0400
User-agent: Mutt/1.5.17 (2008-05-11)

On Thu, Jun 26, 2008 at 11:55:42PM -0700, Arun Sharma wrote:
> On Thu, Jun 26, 2008 at 8:38 PM, Arun Sharma <address@hidden> wrote:
> 
> > Hi Daniel,
> >
> > Looks like your patch from Feb introduced a call to strdup:
> >
> >
> > http://git.kernel.org/?p=libs/libunwind/libunwind.git;a=commit;h=3842dac7333e42aa44531eda34ba55200b99ccf8
> >
> 
> It also introduced a few direct calls to malloc as well, which cause
> problems when libunwind is called from within malloc.

Hi Arun,

Sorry for breaking things.  Our mpatrol port, the original user of
this code, has a recursion guard; it was unavoidable, because mpatrol
instruments memcpy.  I'll try to fix it, but it will be a little
longer before I have time.

-- 
Daniel Jacobowitz
CodeSourcery




reply via email to

[Prev in Thread] Current Thread [Next in Thread]