|
From: Fernandez, D. <df...@qu...> - 2004-08-02 21:26:20
|
Hi there, I've been trying to get valgrind to work on a multi-threaded application and keep getting the following error midway. My platform is a RH Linux AS 3 Update 2 , IBM x-server dual CPU Error=3D=3D=3D valgrind's libpthread.so: VG_N_RWLOCKS is too low. Increase and recompile. Please report this bug at: valgrind.kde.org =3D=3D32706=3D=3D =3D=3D32706=3D=3D ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 = from 0) =3D=3D32706=3D=3D malloc/free: in use at exit: 24475064 bytes in 25258 = blocks. =3D=3D32706=3D=3D malloc/free: 25826 allocs, 569 frees, 24844538 bytes allocated. =3D=3D32706=3D=3D For a detailed leak analysis, rerun with: = --leak-check=3Dyes =3D=3D32706=3D=3D For counts of detected errors, rerun with: -v I tried building valgrind with different values in in coregrind/vg_include.h up to 25000 and still get the same error.=20 Any ideas what the right value should be and how to circumvent this problem? Thanks in advance, David |