Hello, Bind: a dns system, program name is named, it is a deamon, and it will fork child process and create a few threads.
When I use valgrind to check bind, valgrind outputs a few messages and quit, but named is still running. Please help me, thanks a lot. The information is as follows: # valgrind --version valgrind-3.7.0 # valgrind --trace-children=yes bin/named/named -u bind -t /var/lib/named ==31878== Memcheck, a memory error detector ==31878== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==31878== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==31878== Command: bin/named/named -u bind -t /var/lib/named ==31878== ==31892== ==31892== HEAP SUMMARY: ==31892== in use at exit: 0 bytes in 0 blocks ==31892== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==31892== ==31892== All heap blocks were freed -- no leaks are possible ==31892== ==31892== For counts of detected and suppressed errors, rerun with: -v ==31892== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2) ==31921== ==31921== HEAP SUMMARY: ==31921== in use at exit: 0 bytes in 0 blocks ==31921== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==31921== ==31921== All heap blocks were freed -- no leaks are possible ...... ==31878== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==31878== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==31878== Command: /home/caizb/bind/bind/bind-9.9.2-P1/bin/named/.libs/lt-named -u bind -t /var/lib/named ==31878== ==31938== error 2 No such file or directory ==31938== mknod /tmp/vgdb-pipe-from-vgdb-to-31938-by-root-on-??? ==31938== valgrind: fatal error: vgdb FIFOs cannot be created. ==31878== ==31878== HEAP SUMMARY: ==31878== in use at exit: 323,328 bytes in 15 blocks ==31878== total heap usage: 29 allocs, 14 frees, 325,785 bytes allocated ==31878== ==31878== LEAK SUMMARY: ==31878== definitely lost: 0 bytes in 0 blocks ==31878== indirectly lost: 0 bytes in 0 blocks ==31878== possibly lost: 0 bytes in 0 blocks ==31878== still reachable: 323,328 bytes in 15 blocks ==31878== suppressed: 0 bytes in 0 blocks ==31878== Rerun with --leak-check=full to see details of leaked memory ==31878== ==31878== For counts of detected and suppressed errors, rerun with: -v ==31878== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ==31878== could not unlink /tmp/vgdb-pipe-from-vgdb-to-31878-by-root-on-??? ==31878== could not unlink /tmp/vgdb-pipe-to-vgdb-from-31878-by-root-on-??? ==31878== could not unlink /tmp/vgdb-pipe-shared-mem-vgdb-31878-by-root-on-??? # ps -ef | grep named bind 10544 1 99 15:15 ? 02:26:12 /home/bind/bin/named/named -u bind -c etc/bind/named.conf -n 7 -u bind -t /var/lib/named ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users