Actions:
|
2010-06-08 11:22 AEST by Arthur Barrett - results of valgrind on debian:
cvsnt_debian -d cvsnt cvsnt &debian
evs cvsnt
==22265==
==22265== HEAP SUMMARY:
==22265== in use at exit: 13,520 bytes in 51 blocks
==22265== total heap usage: 3,912 allocs, 3,861 frees, 985,380 bytes allocated
==22265==
==22265== LEAK SUMMARY:
==22265== definitely lost: 313 bytes in 9 blocks
==22265== indirectly lost: 523 bytes in 24 blocks
==22265== possibly lost: 0 bytes in 0 blocks
==22265== still reachable: 12,684 bytes in 18 blocks
==22265== suppressed: 0 bytes in 0 blocks
==22265== Rerun with --leak-check=full to see details of leaked memory
==22265==
==22265== For counts of detected and suppressed errors, rerun with: -v
==22265== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
abarrett@obrien:~$ valgrind --leak-check=yes /usr/local/bin/cvsnt -d /usr/local/cvs rls
==22273== Memcheck, a memory error detector
==22273== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==22273== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for copyright info
==22273== Command: /usr/local/bin/cvsnt -d /usr/local/cvs rls
==22273==
Listing modules on server
100mbtest
CVSROOT
SmartLoader
as400-demo
cvs-as400
cvsdeps
cvsnt
cvsnt-reference
debian
gsoap
iphone
test
website
Virtual modules on server (CVSROOT/modules file)
cvsnt_debian -d cvsnt cvsnt &debian
evs cvsnt
==22273==
==22273== HEAP SUMMARY:
==22273== in use at exit: 13,520 bytes in 51 blocks
==22273== total heap usage: 3,912 allocs, 3,861 frees, 985,380 bytes allocated
==22273==
==22273== 2 bytes in 1 blocks are definitely lost in loss record 1 of 47
==22273== at 0x4C221A7: malloc (vg_replace_malloc.c:195)
==22273== by 0x49105C: xmalloc (subr.cpp:98)
==22273== by 0x44BC56: rls_proc(int, char**, char const*, char const*, char const*, int, int, char
const*, char const*) (ls.cpp:321)
==22273== by 0x459368: do_module(DBM*, char const*, mtype, char const*, int (*)(int, char**, char
const*, char const*, char const*, int, int, char const*, char const*), char const*, int, int, int, int, char
const*) (modules.cpp:343)
==22273== by 0x44CC8C: ls(int, char**) (ls.cpp:286)
==22273== by 0x45016B: main (main.cpp:1849)
==22273==
==22273== 2 bytes in 1 blocks are definitely lost in loss record 2 of 47
==22273== at 0x4C221A7: malloc (vg_replace_malloc.c:195)
==22273== by 0x6728691: strdup (strdup.c:43)
==22273== by 0x7EAA84D: ???
==22273== by 0x45B567: run_trigger(void*, int (*)(void*, trigger_interface_t const*))
(parseinfo.cpp:147)
==22273== by 0x4503CB: main (main.cpp:1862)
==22273==
==22273== 12 bytes in 1 blocks are definitely lost in loss record 4 of 47
==22273== at 0x4C221A7: malloc (vg_replace_malloc.c:195)
==22273== by 0x49105C: xmalloc (subr.cpp:98)
==22273== by 0x491372: cvs_putenv(char const*, char const*) (subr.cpp:1285)
==22273== by 0x450FD3: main (main.cpp:1501)
==22273==
==22273== 15 bytes in 1 blocks are definitely lost in loss record 7 of 47
==22273== at 0x4C221A7: malloc (vg_replace_malloc.c:195)
==22273== by 0x49105C: xmalloc (subr.cpp:98)
==22273== by 0x4915F5: xstrdup(char const*) (subr.cpp:285)
==22273== by 0x4559EF: map_repository(char const*) (mapping.cpp:658)
==22273== by 0x475C9C: do_recursion(recursion_frame*, int) (recurse.cpp:780)
==22273== by 0x4778F2: do_dir_proc(node*, void*) (recurse.cpp:1609)
==22273== by 0x43708F: walklist(list_t*, int (*)(node*, void*), void*) (hash.cpp:482)
==22273== by 0x475A4D: do_recursion(recursion_frame*, int) (recurse.cpp:1014)
==22273== by 0x4769EE: start_recursion(int (*)(void*, file_info*), int (*)(void*, int, char*, char*,
list_t*), int (*)(void*, char*, char*, char*, list_t*, char const*, direnter_type), direnter_type (*)(void*,
char*, char*, char*, list_t*, char const*, direnter_type), int (*)(void*, char*, int, char*, list_t*), void*, int,
char**, int, int, int, int, char const*, char const*, int, int (*)(char const*, char const*, char const*, char
const**, char const**), char const*) (recurse.cpp:529)
==22273== by 0x44BAB5: rls_proc(int, char**, char const*, char const*, char const*, int, int, char
const*, char const*) (ls.cpp:389)
==22273== by 0x459368: do_module(DBM*, char const*, mtype, char const*, int (*)(int, char**, char
const*, char const*, char const*, int, int, char const*, char const*), char const*, int, int, int, int, char
const*) (modules.cpp:343)
==22273== by 0x44CC8C: ls(int, char**) (ls.cpp:286)
==22273==
==22273== 23 bytes in 1 blocks are definitely lost in loss record 28 of 47
==22273== at 0x4C221A7: malloc (vg_replace_malloc.c:195)
==22273== by 0x49105C: xmalloc (subr.cpp:98)
==22273== by 0x491372: cvs_putenv(char const*, char const*) (subr.cpp:1285)
==22273== by 0x4502ED: main (main.cpp:1700)
==22273==
==22273== 27 bytes in 1 blocks are definitely lost in loss record 29 of 47
==22273== at 0x4C221A7: malloc (vg_replace_malloc.c:195)
==22273== by 0x49105C: xmalloc (subr.cpp:98)
==22273== by 0x459198: do_module(DBM*, char const*, mtype, char const*, int (*)(int, char**, char
const*, char const*, char const*, int, int, char const*, char const*), char const*, int, int, int, int, char
const*) (modules.cpp:242)
==22273== by 0x44CC8C: ls(int, char**) (ls.cpp:286)
==22273== by 0x45016B: main (main.cpp:1849)
==22273==
==22273== 155 (112 direct, 43 indirect) bytes in 1 blocks are definitely lost in loss record 42 of 47
==22273== at 0x4C221A7: malloc (vg_replace_malloc.c:195)
==22273== by 0x49105C: xmalloc (subr.cpp:98)
==22273== by 0x427FFB: read_cvsrc(int*, char***, char const*) (cvsrc.cpp:239)
==22273== by 0x44F4E3: main (main.cpp:949)
==22273==
==22273== 300 (60 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 43 of 47
==22273== at 0x4C221A7: malloc (vg_replace_malloc.c:195)
==22273== by 0x678A7FC: nss_parse_service_list (nsswitch.c:622)
==22273== by 0x678AFED: __nss_database_lookup (nsswitch.c:164)
==22273== by 0x746334F: ???
==22273== by 0x7463FA4: ???
==22273== by 0x674AFEC: getpwuid_r@@GLIBC_2.2.5 (getXXbyYY_r.c:253)
==22273== by 0x674A8DE: getpwuid (getXXbyYY.c:117)
==22273== by 0x491816: getcaller() (subr.cpp:553)
==22273== by 0x4514F9: main (main.cpp:1540)
==22273==
==22273== 300 (60 direct, 240 indirect) bytes in 1 blocks are definitely lost in loss record 44 of 47
==22273== at 0x4C221A7: malloc (vg_replace_malloc.c:195)
==22273== by 0x678A7FC: nss_parse_service_list (nsswitch.c:622)
==22273== by 0x678AFED: __nss_database_lookup (nsswitch.c:164)
==22273== by 0x74623FF: ???
==22273== by 0x7462C74: ???
==22273== by 0x67498AC: getgrgid_r@@GLIBC_2.2.5 (getXXbyYY_r.c:253)
==22273== by 0x6748F8E: getgrgid (getXXbyYY.c:117)
==22273== by 0x45FBF6: get_valid_groups() (perms.cpp:170)
==22273== by 0x45FDAC: verify_valid_name(char const*) (perms.cpp:184)
==22273== by 0x460054: verify_acl(CXmlNode*, char const*, char const*, char const*, int&, int&,
bool, char const**) (perms.cpp:373)
==22273== by 0x4618D8: verify_perm(char const*, char const*, char const*, char const*, char
const*, char const**) (perms.cpp:552)
==22273== by 0x475252: verify_access(int (*)(char const*, char const*, char const*, char const**,
char const**), char const*, char const*, char const*, char const*, char const**, char const**)
(recurse.cpp:130)
==22273==
==22273== LEAK SUMMARY:
==22273== definitely lost: 313 bytes in 9 blocks
==22273== indirectly lost: 523 bytes in 24 blocks
==22273== possibly lost: 0 bytes in 0 blocks
==22273== still reachable: 12,684 bytes in 18 blocks
==22273== suppressed: 0 bytes in 0 blocks
==22273== Reachable blocks (those to which a pointer was found) are not shown.
==22273== To see them, rerun with: --leak-check=full --show-reachable=yes
==22273==
==22273== For counts of detected and suppressed errors, rerun with: -v
==22273== ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 4 from 4)
abarrett |