|
From: Julian S. <js...@ac...> - 2005-09-28 23:52:31
|
> The problem seems to be that LD_PRELOAD is not being cleared when > a program is execed and --trace-children is not set. That is a bug. That should be done by m_libcproc.c:VG_(env_remove_valgrind_env_stuff). However, looking at that I see there is some confusion in what the .so's are really called. Christoph, m_libcproc.c:206 should look like this: VG_(sprintf)(buf, "%s*/vgpreload_core.so", VG_(libdir)); If you change that to VG_(sprintf)(buf, "%s*/vg_preload_core.so", VG_(libdir)); and rebuild, is there any difference in behaviour? Note, don't mess with line 208 (yes, I know this is inconsistent). J |