src/tds/unittests/t0002

Main

Hostnameobon110
gcc versiongcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)
uname -aLinux obon110 2.6.23.1-1smp #3 SMP Mon Nov 5 20:51:48 CET 2007 i686 i686 i386 GNU/Linux
date2008-07-03

==13151== Memcheck, a memory error detector.
==13151== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==13151== Using LibVEX rev 1658, a library for dynamic binary translation.
==13151== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==13151== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==13151== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==13151== 
--13151-- Command line
--13151--    ./t0002
--13151-- Startup, with flags:
--13151--    --tool=memcheck
--13151--    --num-callers=20
--13151--    --leak-check=yes
--13151--    -v
--13151--    --show-reachable=yes
--13151--    --log-fd=3
--13151--    --suppressions=/home/winnt/fziglio/suppressions.supp
--13151-- Contents of /proc/version:
--13151--   Linux version 2.6.23.1-1smp (fziglio@obon110) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-13)) #3 SMP Mon Nov 5 20:51:48 CET 2007
--13151-- Arch and hwcaps: X86, x86-sse1-sse2
--13151-- Valgrind library directory: /usr/lib/valgrind
--13151-- Reading syms from /lib/ld-2.5.so (0xAE4000)
--13151-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp/src/tds/unittests/t0002 (0x8048000)
--13151-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--13151--    object doesn't have a dynamic symbol table
--13151-- Reading suppressions file: /home/winnt/fziglio/suppressions.supp
--13151-- Reading suppressions file: /usr/lib/valgrind/default.supp
--13151-- REDIR: 0xAF9540 (index) redirected to 0x38027D0F (vgPlain_x86_linux_REDIR_FOR_index)
--13151-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--13151-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
==13151== WARNING: new redirection conflicts with existing -- ignoring it
--13151--     new: 0x00AF9540 (index     ) R-> 0x040060C0 index
--13151-- REDIR: 0xAF96E0 (strlen) redirected to 0x4006290 (strlen)
--13151-- Reading syms from /lib/librt-2.5.so (0x349000)
--13151-- Reading syms from /usr/lib/libgnutls.so.13.0.6 (0x6A2D000)
--13151--    object doesn't have a symbol table
--13151-- Reading syms from /lib/libpthread-2.5.so (0xD98000)
--13151-- Reading syms from /lib/libc-2.5.so (0xB29000)
--13151-- Reading syms from /usr/lib/libz.so.1.2.3 (0xB14000)
--13151--    object doesn't have a symbol table
--13151-- Reading syms from /usr/lib/libgcrypt.so.11.2.2 (0x65F1000)
--13151--    object doesn't have a symbol table
--13151-- Reading syms from /usr/lib/libgpg-error.so.0.3.0 (0xADB000)
--13151--    object doesn't have a symbol table
--13151-- Reading syms from /lib/libnsl-2.5.so (0x330000)
--13151-- REDIR: 0xB971D0 (memset) redirected to 0x4006580 (memset)
--13151-- REDIR: 0xB976C0 (memcpy) redirected to 0x4006C60 (memcpy)
--13151-- REDIR: 0xB96330 (rindex) redirected to 0x4005FA0 (rindex)
--13151-- REDIR: 0xB95F90 (strlen) redirected to 0x4006270 (strlen)
--13151-- REDIR: 0xB91260 (malloc) redirected to 0x400537B (malloc)
--13151-- REDIR: 0xB95A30 (strcmp) redirected to 0x4006340 (strcmp)
t0002.c: Test basic submit query, results
--13151-- REDIR: 0xB96CD0 (memchr) redirected to 0x4006460 (memchr)
--13151-- REDIR: 0xB95AA0 (strcpy) redirected to 0x40069F0 (strcpy)
--13151-- REDIR: 0xB92F20 (free) redirected to 0x4004F95 (free)
--13151-- REDIR: 0xB90F60 (calloc) redirected to 0x40046A8 (calloc)
--13151-- REDIR: 0xB958C0 (index) redirected to 0x4006090 (index)
--13151-- REDIR: 0xB96180 (strncmp) redirected to 0x40062D0 (strncmp)
--13151-- REDIR: 0xB98040 (strchrnul) redirected to 0x4006610 (strchrnul)
--13151-- REDIR: 0xB973C0 (stpcpy) redirected to 0x4006910 (stpcpy)
--13151-- Reading syms from /lib/libnss_files-2.5.so (0x400A000)
--13151-- Reading syms from /lib/libnss_winbind.so.2 (0x4130000)
--13151--    object doesn't have a symbol table
--13151-- REDIR: 0xB96280 (strncpy) redirected to 0x4006DE0 (strncpy)
--13151-- REDIR: 0xB97F70 (rawmemchr) redirected to 0x4006640 (rawmemchr)
--13151-- Reading syms from /lib/libnss_dns-2.5.so (0x413B000)
--13151-- Reading syms from /lib/libresolv-2.5.so (0x592000)
--13151-- Reading syms from /usr/lib/gconv/ISO8859-1.so (0x4015000)
--13151--    object doesn't have a symbol table
--13151-- REDIR: 0xAF9AA0 (stpcpy) redirected to 0x4006830 (stpcpy)
--13151-- REDIR: 0xB95710 (strcat) redirected to 0x4006660 (strcat)
--13151-- REDIR: 0xB93110 (realloc) redirected to 0x400542A (realloc)
--13151-- REDIR: 0xB97160 (memmove) redirected to 0x40065B0 (memmove)
--13151-- Reading syms from /usr/lib/gconv/CP1252.so (0x4125000)
--13151--    object doesn't have a symbol table
--13151-- Discarding syms at 0x4125000-0x4129000 in /usr/lib/gconv/CP1252.so due to munmap()
--13151-- Discarding syms at 0x4015000-0x4018000 in /usr/lib/gconv/ISO8859-1.so due to munmap()
--13151-- Discarding syms at 0x400A000-0x4015000 in /lib/libnss_files-2.5.so due to munmap()
--13151-- Discarding syms at 0x4130000-0x413B000 in /lib/libnss_winbind.so.2 due to munmap()
--13151-- Discarding syms at 0x413B000-0x4141000 in /lib/libnss_dns-2.5.so due to munmap()
--13151-- Discarding syms at 0x592000-0x5A5000 in /lib/libresolv-2.5.so due to munmap()
==13151== 
==13151== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 30 from 1)
--13151-- 
--13151-- supp:   30 Fedora-Core-6-hack3-ld25
==13151== malloc/free: in use at exit: 2,028 bytes in 32 blocks.
==13151== malloc/free: 6,671 allocs, 6,639 frees, 604,213 bytes allocated.
==13151== 
==13151== searching for pointers to 32 not-freed blocks.
==13151== checked 199,956 bytes.
==13151== 
==13151== LEAK SUMMARY:
==13151==    definitely lost: 0 bytes in 0 blocks.
==13151==      possibly lost: 0 bytes in 0 blocks.
==13151==    still reachable: 0 bytes in 0 blocks.
==13151==         suppressed: 2,028 bytes in 32 blocks.
--13151--  memcheck: sanity checks: 20 cheap, 1 expensive
--13151--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--13151--  memcheck: auxmaps: 0 searches, 0 comparisons
--13151--  memcheck: SMs: n_issued      = 43 (688k, 0M)
--13151--  memcheck: SMs: n_deissued    = 0 (0k, 0M)
--13151--  memcheck: SMs: max_noaccess  = 65535 (1048560k, 1023M)
--13151--  memcheck: SMs: max_undefined = 0 (0k, 0M)
--13151--  memcheck: SMs: max_defined   = 38 (608k, 0M)
--13151--  memcheck: SMs: max_non_DSM   = 43 (688k, 0M)
--13151--  memcheck: max sec V bit nodes:    7 (0k, 0M)
--13151--  memcheck: set_sec_vbits8 calls: 9 (new: 7, updates: 2)
--13151--  memcheck: max shadow mem size:   992k, 0M
--13151-- translate:            fast SP updates identified: 14,985 ( 89.3%)
--13151-- translate:   generic_known SP updates identified: 1,337 (  7.9%)
--13151-- translate: generic_unknown SP updates identified: 447 (  2.6%)
--13151--     tt/tc: 29,496 tt lookups requiring 33,287 probes
--13151--     tt/tc: 29,496 fast-cache updates, 9 flushes
--13151--  transtab: new        12,395 (360,860 -> 5,820,893; ratio 161:10) [0 scs]
--13151--  transtab: dumped     0 (0 -> ??)
--13151--  transtab: discarded  862 (17,811 -> ??)
--13151-- scheduler: 2,058,331 jumps (bb entries).
--13151-- scheduler: 20/31,550 major/minor sched events.
--13151--    sanity: 21 cheap, 1 expensive checks.
--13151--    exectx: 30,011 lists, 935 contexts (avg 0 per list)
--13151--    exectx: 13,324 searches, 12,400 full compares (930 per 1000)
--13151--    exectx: 30 cmp2, 80 cmp4, 0 cmpAll

Main