Thanks very much for fixing these memory leak issues. I would request you to continue to do for the entire LTP suite. I would definitely not ask you to do this immediately, but, as and when you find time for the activity.
I really feel happy to see some of you taking initiatives to fix something in large scale, just like: 1) Renaud => concurrency issues in the test cases, 2) Garrett => Overhauling LTP Makefiles, 3) Yamato => Porting missing test cases, and so on.... Thanks and kindly keep the flow. Regards-- Subrata On Thu, 2008-09-11 at 10:30 +0800, Jin Bing Guo wrote: > Hi, > > Use valgrind tool (http://valgrind.org/) to check the memory leak > problem. Now the valgrind can be compiled on the following platforms: > X86/Linux, AMD64/Linux, PPC32/Linux, PPC64/Linux. > > ================= > Before patching > ================= > # valgrind --leak-check=full --show-reachable=yes ./semaphore_test_03 > ....................... > ==28798== LEAK SUMMARY: > ==28798== definitely lost: 896 bytes in 13 blocks. > ==28798== possibly lost: 0 bytes in 0 blocks. > ==28798== still reachable: 0 bytes in 0 blocks. > ==28798== suppressed: 0 bytes in 0 block > ================= > After patching > ================= > # valgrind --leak-check=full --show-reachable=yes ./semaphore_test_03 > ....................... > ==1413== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 3 from > 1) > ==1413== malloc/free: in use at exit: 0 bytes in 0 blocks. > ==1413== malloc/free: 6 allocs, 6 frees, 416 bytes allocated. > ==1413== For counts of detected errors, rerun with: -v > ==1413== All heap blocks were freed -- no leaks are possible. > > Signed-off-by: Jin Bing Guo <[EMAIL PROTECTED]> > ---------- > (See attached file: Fix_mem_leak_semaphore_test_03.patch) > > > Best regards! > > Jin Bing Guo 郭晋兵 > > Linux for System p Test > IBM China Systems & Technology Laboratory in Beijing > Tel: +86-10-82454439 > Email: [EMAIL PROTECTED] > ------------------------------------- > "Do today what others won't so tomorrow you do what other's can't" > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
