Bug#363516: [Pkg-openssl-devel] Bug#363516: valgrind-clean the RNG
Kurt Roeckx
kurt at roeckx.be
Fri Apr 28 18:06:21 UTC 2006
On Fri, Apr 28, 2006 at 09:25:36AM +0200, Christoph Martin wrote:
> Hi Kurt,
>
> Kurt Roeckx schrieb:
> > On Thu, Apr 27, 2006 at 10:52:18AM +0200, Christoph Martin wrote:
> >> The idea was to only compile the -dbg package with valgrind support, so
> >> that the normal library would not be changed. If someone would like to
> >> use valgrind to check his program he would just use the -dbg library.
> >
> > In that case we'll have to build things twice as much as now, and
> > it's not that easy to debug something by just installing the -dbg
> > package and getting the symbols.
>
> So, what do you propose?
The way I see it, we have 3 options:
- mark this as wontfix
- Don't add the buffer to the pool.
- Use that valgrind thing to tell valgrind to ignore it.
I'm not really in favour of the last option. Because:
- It's a valgrind specific solution. And I think it's even
specific to one of it's tools (memcheck).
- It changes the binary in a strange way that's only needed for
debugging it.
I also don't like the first options because it can give alot of
fake warnings when using valgrind, and you basicly don't have an
idea where it's comming from if you just look at the stack trace.
I bet the submitter spent quiet alot time to even get to the
point where he did to find what the problem was.
Kurt
More information about the Pkg-openssl-devel
mailing list