Re: oafd Leak fixes



Pavel Cisler <pavel eazel com> writes:

> If you are using memprof or libleakchecker.so, it is best that you build
> the leakchecked binary with -gdwarf-2 instead of -g. There is a bug in
> the way gcc generates stabs debugging info that causes the bfd lookup of
> some symbols to fail. When that happens you see the wrong routines in a
> stack crawl in the leak output.

This is actually a binutils bug that was fixed quite about a year ago
- current distributions should have it fixed.  For instance, the
problem occurs in Red Hat 6.2, but not Red Hat 7.0.

Regards,
                                        Owen





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