https://bugs.kde.org/show_bug.cgi?id=384732

--- Comment #12 from Philippe Waroquiers <philippe.waroqui...@skynet.be> ---
(In reply to Daniel from comment #11)
> (In reply to Philippe Waroquiers from comment #10)
> > What you might do is to write a replacement procedure for
> > posix_spawn/posis_spawnp, using the technique/code of glibc 2.24.
> 
> Good suggestion! I'm not familiar with the valgrind code, but I tried adding
> a replacement function to vg_preloaded.c
> It compiled but as I ran my binary, the replacement function was not used.
> 
> I then added the glibc 2.24 code to my own program and replaced my
> posix_spawnp call with my own glibc implementation and this works.
> I just run this implementation if valgrind is running, otherwise the
> standard posix_spawnp function.
> 
> So I can live with the issue now, but of course a real fix in valgrind would
> be perferable.
> 
> Thanks for all your work on this great tool!

Thanks for the feedback.

Can you attach to this bug the 2 different patches (the 'in application' patch,
and the 'in valgrind' patch) ?

Others might use the first as a temporary bypass, and we could see why the
second one is not working, fix and integrate it;

Thanks

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to