|
From: Tom H. <th...@cy...> - 2003-12-18 17:10:32
|
In message <1071540160.20064.65.camel@localhost.localdomain>
Jeremy Fitzhardinge <je...@go...> wrote:
> I've been testing this pretty solidly for a while, so I think it should
> work OK. No doubt you'll find some problems, but that's why I'm
> checking it in (and why we did the 2.1.0 release *before* checking it in
> - so that there's something semi-stable for people to play with).
I've found another problem - if you fork and exec then it removes
the vg_inject.so entry from LD_PRELOAD but not any vgpreload_xxx.so
entry that the current tool may have added, so if you're using
memcheck you wind up with a very oddly broken malloc in the child
process ;-)
Attached is a patch to fix this.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|