src/tds/unittests/t0004

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

==21708== Memcheck, a memory error detector.
==21708== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==21708== Using LibVEX rev 1658, a library for dynamic binary translation.
==21708== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==21708== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==21708== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==21708== 
--21708-- Command line
--21708--    ./t0004
--21708-- Startup, with flags:
--21708--    --tool=memcheck
--21708--    --num-callers=20
--21708--    --leak-check=yes
--21708--    -v
--21708--    --show-reachable=yes
--21708--    --log-fd=3
--21708--    --suppressions=/home/winnt/fziglio/suppressions.supp
--21708-- Contents of /proc/version:
--21708--   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
--21708-- Arch and hwcaps: X86, x86-sse1-sse2
--21708-- Valgrind library directory: /usr/lib/valgrind
--21708-- Reading syms from /lib/ld-2.5.so (0xAE4000)
--21708-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/tds/unittests/t0004 (0x8048000)
--21708-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--21708--    object doesn't have a dynamic symbol table
--21708-- Reading suppressions file: /home/winnt/fziglio/suppressions.supp
--21708-- Reading suppressions file: /usr/lib/valgrind/default.supp
--21708-- REDIR: 0xAF9540 (index) redirected to 0x38027D0F (vgPlain_x86_linux_REDIR_FOR_index)
--21708-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--21708-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
==21708== WARNING: new redirection conflicts with existing -- ignoring it
--21708--     new: 0x00AF9540 (index     ) R-> 0x040060C0 index
--21708-- REDIR: 0xAF96E0 (strlen) redirected to 0x4006290 (strlen)
--21708-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/tds/.libs/libtds.so.5.0.0 (0x4009000)
--21708-- Reading syms from /usr/lib/libgnutls.so.13.0.6 (0x6A2D000)
--21708--    object doesn't have a symbol table
--21708-- Reading syms from /lib/libc-2.5.so (0xB29000)
--21708-- Reading syms from /usr/lib/libz.so.1.2.3 (0xB14000)
--21708--    object doesn't have a symbol table
--21708-- Reading syms from /usr/lib/libgcrypt.so.11.2.2 (0x65F1000)
--21708--    object doesn't have a symbol table
--21708-- Reading syms from /usr/lib/libgpg-error.so.0.3.0 (0xADB000)
--21708--    object doesn't have a symbol table
--21708-- Reading syms from /lib/libnsl-2.5.so (0x330000)
--21708-- REDIR: 0xB96330 (rindex) redirected to 0x4005FA0 (rindex)
--21708-- REDIR: 0xB95F90 (strlen) redirected to 0x4006270 (strlen)
--21708-- REDIR: 0xB91260 (malloc) redirected to 0x400537B (malloc)
--21708-- REDIR: 0xB976C0 (memcpy) redirected to 0x4006C60 (memcpy)
--21708-- REDIR: 0xB95A30 (strcmp) redirected to 0x4006340 (strcmp)
t0004.c: Test large (>512 bytes) queries
--21708-- REDIR: 0xB96CD0 (memchr) redirected to 0x4006460 (memchr)
--21708-- REDIR: 0xB95AA0 (strcpy) redirected to 0x40069F0 (strcpy)
--21708-- REDIR: 0xB92F20 (free) redirected to 0x4004F95 (free)
--21708-- REDIR: 0xB971D0 (memset) redirected to 0x4006580 (memset)
--21708-- REDIR: 0xB96180 (strncmp) redirected to 0x40062D0 (strncmp)
--21708-- REDIR: 0xB90F60 (calloc) redirected to 0x40046A8 (calloc)
--21708-- REDIR: 0xB98040 (strchrnul) redirected to 0x4006610 (strchrnul)
--21708-- REDIR: 0xB973C0 (stpcpy) redirected to 0x4006910 (stpcpy)
--21708-- Reading syms from /lib/libnss_files-2.5.so (0x408D000)
--21708-- REDIR: 0xB958C0 (index) redirected to 0x4006090 (index)
--21708-- Reading syms from /lib/libnss_winbind.so.2 (0x41B2000)
--21708--    object doesn't have a symbol table
--21708-- REDIR: 0xB96280 (strncpy) redirected to 0x4006DE0 (strncpy)
--21708-- REDIR: 0xB97F70 (rawmemchr) redirected to 0x4006640 (rawmemchr)
--21708-- Reading syms from /usr/lib/gconv/ISO8859-1.so (0x4098000)
--21708--    object doesn't have a symbol table
--21708-- REDIR: 0xAF9AA0 (stpcpy) redirected to 0x4006830 (stpcpy)
--21708-- REDIR: 0xB93110 (realloc) redirected to 0x400542A (realloc)
--21708-- Discarding syms at 0x4098000-0x409B000 in /usr/lib/gconv/ISO8859-1.so due to munmap()
--21708-- Discarding syms at 0x408D000-0x4098000 in /lib/libnss_files-2.5.so due to munmap()
--21708-- Discarding syms at 0x41B2000-0x41BD000 in /lib/libnss_winbind.so.2 due to munmap()
==21708== 
==21708== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 25 from 1)
--21708-- 
--21708-- supp:   25 Fedora-Core-6-hack3-ld25
==21708== malloc/free: in use at exit: 4 bytes in 1 blocks.
==21708== malloc/free: 199 allocs, 198 frees, 185,539 bytes allocated.
==21708== 
==21708== searching for pointers to 1 not-freed blocks.
==21708== checked 189,804 bytes.
==21708== 
==21708== LEAK SUMMARY:
==21708==    definitely lost: 0 bytes in 0 blocks.
==21708==      possibly lost: 0 bytes in 0 blocks.
==21708==    still reachable: 0 bytes in 0 blocks.
==21708==         suppressed: 4 bytes in 1 blocks.
--21708--  memcheck: sanity checks: 5 cheap, 1 expensive
--21708--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--21708--  memcheck: auxmaps: 0 searches, 0 comparisons
--21708--  memcheck: SMs: n_issued      = 24 (384k, 0M)
--21708--  memcheck: SMs: n_deissued    = 0 (0k, 0M)
--21708--  memcheck: SMs: max_noaccess  = 65535 (1048560k, 1023M)
--21708--  memcheck: SMs: max_undefined = 0 (0k, 0M)
--21708--  memcheck: SMs: max_defined   = 39 (624k, 0M)
--21708--  memcheck: SMs: max_non_DSM   = 24 (384k, 0M)
--21708--  memcheck: max sec V bit nodes:    4 (0k, 0M)
--21708--  memcheck: set_sec_vbits8 calls: 4 (new: 4, updates: 0)
--21708--  memcheck: max shadow mem size:   688k, 0M
--21708-- translate:            fast SP updates identified: 7,923 ( 90.1%)
--21708-- translate:   generic_known SP updates identified: 609 (  6.9%)
--21708-- translate: generic_unknown SP updates identified: 254 (  2.8%)
--21708--     tt/tc: 14,683 tt lookups requiring 15,664 probes
--21708--     tt/tc: 14,683 fast-cache updates, 6 flushes
--21708--  transtab: new        6,697 (172,464 -> 2,815,467; ratio 163:10) [0 scs]
--21708--  transtab: dumped     0 (0 -> ??)
--21708--  transtab: discarded  353 (7,025 -> ??)
--21708-- scheduler: 538,037 jumps (bb entries).
--21708-- scheduler: 5/9,216 major/minor sched events.
--21708--    sanity: 6 cheap, 1 expensive checks.
--21708--    exectx: 30,011 lists, 233 contexts (avg 0 per list)
--21708--    exectx: 406 searches, 175 full compares (431 per 1000)
--21708--    exectx: 0 cmp2, 73 cmp4, 0 cmpAll

Main