src/dblib/unittests/t0006

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

==22096== Memcheck, a memory error detector.
==22096== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==22096== Using LibVEX rev 1658, a library for dynamic binary translation.
==22096== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==22096== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==22096== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==22096== 
--22096-- Command line
--22096--    ./t0006
--22096-- Startup, with flags:
--22096--    --tool=memcheck
--22096--    --num-callers=20
--22096--    --leak-check=yes
--22096--    -v
--22096--    --show-reachable=yes
--22096--    --log-fd=3
--22096--    --suppressions=/home/winnt/fziglio/suppressions.supp
--22096-- Contents of /proc/version:
--22096--   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
--22096-- Arch and hwcaps: X86, x86-sse1-sse2
--22096-- Valgrind library directory: /usr/lib/valgrind
--22096-- Reading syms from /lib/ld-2.5.so (0xAE4000)
--22096-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/dblib/unittests/t0006 (0x8048000)
--22096-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--22096--    object doesn't have a dynamic symbol table
--22096-- Reading suppressions file: /home/winnt/fziglio/suppressions.supp
--22096-- Reading suppressions file: /usr/lib/valgrind/default.supp
--22096-- REDIR: 0xAF9540 (index) redirected to 0x38027D0F (vgPlain_x86_linux_REDIR_FOR_index)
--22096-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--22096-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
==22096== WARNING: new redirection conflicts with existing -- ignoring it
--22096--     new: 0x00AF9540 (index     ) R-> 0x040060C0 index
--22096-- REDIR: 0xAF96E0 (strlen) redirected to 0x4006290 (strlen)
--22096-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/dblib/.libs/libsybdb.so.5.0.0 (0x4009000)
--22096-- Reading syms from /usr/lib/libgnutls.so.13.0.6 (0x6A2D000)
--22096--    object doesn't have a symbol table
--22096-- Reading syms from /lib/libc-2.5.so (0xB29000)
--22096-- Reading syms from /usr/lib/libz.so.1.2.3 (0xB14000)
--22096--    object doesn't have a symbol table
--22096-- Reading syms from /usr/lib/libgcrypt.so.11.2.2 (0x65F1000)
--22096--    object doesn't have a symbol table
--22096-- Reading syms from /usr/lib/libgpg-error.so.0.3.0 (0xADB000)
--22096--    object doesn't have a symbol table
--22096-- Reading syms from /lib/libnsl-2.5.so (0x330000)
--22096-- REDIR: 0xB96330 (rindex) redirected to 0x4005FA0 (rindex)
--22096-- REDIR: 0xB95F90 (strlen) redirected to 0x4006270 (strlen)
--22096-- REDIR: 0xB91260 (malloc) redirected to 0x400537B (malloc)
--22096-- REDIR: 0xB976C0 (memcpy) redirected to 0x4006C60 (memcpy)
--22096-- REDIR: 0xB95A30 (strcmp) redirected to 0x4006340 (strcmp)
--22096-- REDIR: 0xB95AA0 (strcpy) redirected to 0x40069F0 (strcpy)
--22096-- REDIR: 0xB96CD0 (memchr) redirected to 0x4006460 (memchr)
--22096-- REDIR: 0xB92F20 (free) redirected to 0x4004F95 (free)
found sybase.FreeTDS for testuser in "../../../PWD"
Start
--22096-- REDIR: 0xB90F60 (calloc) redirected to 0x40046A8 (calloc)
--22096-- REDIR: 0xB96180 (strncmp) redirected to 0x40062D0 (strncmp)
About to logon
--22096-- REDIR: 0xB971D0 (memset) redirected to 0x4006580 (memset)
About to open
--22096-- REDIR: 0xB98040 (strchrnul) redirected to 0x4006610 (strchrnul)
--22096-- REDIR: 0xB973C0 (stpcpy) redirected to 0x4006910 (stpcpy)
--22096-- Reading syms from /lib/libnss_files-2.5.so (0x40C8000)
--22096-- REDIR: 0xB958C0 (index) redirected to 0x4006090 (index)
--22096-- Reading syms from /lib/libnss_winbind.so.2 (0x41ED000)
--22096--    object doesn't have a symbol table
--22096-- REDIR: 0xB96280 (strncpy) redirected to 0x4006DE0 (strncpy)
--22096-- REDIR: 0xB97F70 (rawmemchr) redirected to 0x4006640 (rawmemchr)
--22096-- Reading syms from /usr/lib/gconv/ISO8859-1.so (0x40D3000)
--22096--    object doesn't have a symbol table
--22096-- REDIR: 0xAF9AA0 (stpcpy) redirected to 0x4006830 (stpcpy)
--22096-- REDIR: 0xB93110 (realloc) redirected to 0x400542A (realloc)
creating table
insert
first select
col 1 is i
col 2 is s
Read a row of data -> 1 row 0001  
Read a row of data -> 2 row 0002  
Read a row of data -> 3 row 0003  
Read a row of data -> 4 row 0004  
Read a row of data -> 5 row 0005  
Read a row of data -> 6 row 0006  
Read a row of data -> 7 row 0007  
Read a row of data -> 8 row 0008  
Read a row of data -> 9 row 0009  
Read a row of data -> 10 row 0010  
Read a row of data -> 11 row 0011  
Read a row of data -> 12 row 0012  
Read a row of data -> 13 row 0013  
Read a row of data -> 14 row 0014  
Read a row of data -> 15 row 0015  
Read a row of data -> 16 row 0016  
Read a row of data -> 17 row 0017  
Read a row of data -> 18 row 0018  
Read a row of data -> 19 row 0019  
Read a row of data -> 20 row 0020  
Read a row of data -> 21 row 0021  
Read a row of data -> 22 row 0022  
Read a row of data -> 23 row 0023  
Read a row of data -> 24 row 0024  
Read a row of data -> 25 row 0025  
Read a row of data -> 26 row 0026  
Read a row of data -> 27 row 0027  
Read a row of data -> 28 row 0028  
Read a row of data -> 29 row 0029  
Read a row of data -> 30 row 0030  
Read a row of data -> 31 row 0031  
Read a row of data -> 32 row 0032  
Read a row of data -> 33 row 0033  
Read a row of data -> 34 row 0034  
Read a row of data -> 35 row 0035  
Read a row of data -> 36 row 0036  
Read a row of data -> 37 row 0037  
Read a row of data -> 38 row 0038  
Read a row of data -> 39 row 0039  
Read a row of data -> 40 row 0040  
Read a row of data -> 41 row 0041  
Read a row of data -> 42 row 0042  
Read a row of data -> 43 row 0043  
Read a row of data -> 44 row 0044  
Read a row of data -> 45 row 0045  
Read a row of data -> 46 row 0046  
Read a row of data -> 47 row 0047  
Read a row of data -> 48 row 0048  
Read a row of data -> 49 row 0049  
second select
Read a row of data -> 25 row 0025  
Read a row of data -> 26 row 0026  
Read a row of data -> 27 row 0027  
Read a row of data -> 28 row 0028  
Read a row of data -> 29 row 0029  
Read a row of data -> 30 row 0030  
Read a row of data -> 31 row 0031  
Read a row of data -> 32 row 0032  
Read a row of data -> 33 row 0033  
Read a row of data -> 34 row 0034  
Read a row of data -> 35 row 0035  
Read a row of data -> 36 row 0036  
Read a row of data -> 37 row 0037  
Read a row of data -> 38 row 0038  
Read a row of data -> 39 row 0039  
Read a row of data -> 40 row 0040  
Read a row of data -> 41 row 0041  
Read a row of data -> 42 row 0042  
Read a row of data -> 43 row 0043  
Read a row of data -> 44 row 0044  
Read a row of data -> 45 row 0045  
Read a row of data -> 46 row 0046  
Read a row of data -> 47 row 0047  
Read a row of data -> 48 row 0048  
Read a row of data -> 49 row 0049  
dblib okay on t0006.c
--22096-- Discarding syms at 0x40D3000-0x40D6000 in /usr/lib/gconv/ISO8859-1.so due to munmap()
--22096-- Discarding syms at 0x40C8000-0x40D3000 in /lib/libnss_files-2.5.so due to munmap()
--22096-- Discarding syms at 0x41ED000-0x41F8000 in /lib/libnss_winbind.so.2 due to munmap()
==22096== 
==22096== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 25 from 1)
--22096-- 
--22096-- supp:   25 Fedora-Core-6-hack3-ld25
==22096== malloc/free: in use at exit: 4 bytes in 1 blocks.
==22096== malloc/free: 515 allocs, 514 frees, 373,814 bytes allocated.
==22096== 
==22096== searching for pointers to 1 not-freed blocks.
==22096== checked 222,572 bytes.
==22096== 
==22096== LEAK SUMMARY:
==22096==    definitely lost: 0 bytes in 0 blocks.
==22096==      possibly lost: 0 bytes in 0 blocks.
==22096==    still reachable: 0 bytes in 0 blocks.
==22096==         suppressed: 4 bytes in 1 blocks.
--22096--  memcheck: sanity checks: 9 cheap, 1 expensive
--22096--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--22096--  memcheck: auxmaps: 0 searches, 0 comparisons
--22096--  memcheck: SMs: n_issued      = 27 (432k, 0M)
--22096--  memcheck: SMs: n_deissued    = 0 (0k, 0M)
--22096--  memcheck: SMs: max_noaccess  = 65535 (1048560k, 1023M)
--22096--  memcheck: SMs: max_undefined = 0 (0k, 0M)
--22096--  memcheck: SMs: max_defined   = 43 (688k, 0M)
--22096--  memcheck: SMs: max_non_DSM   = 27 (432k, 0M)
--22096--  memcheck: max sec V bit nodes:    4 (0k, 0M)
--22096--  memcheck: set_sec_vbits8 calls: 4 (new: 4, updates: 0)
--22096--  memcheck: max shadow mem size:   736k, 0M
--22096-- translate:            fast SP updates identified: 8,985 ( 89.5%)
--22096-- translate:   generic_known SP updates identified: 797 (  7.9%)
--22096-- translate: generic_unknown SP updates identified: 255 (  2.5%)
--22096--     tt/tc: 16,171 tt lookups requiring 17,047 probes
--22096--     tt/tc: 16,171 fast-cache updates, 6 flushes
--22096--  transtab: new        7,185 (195,881 -> 3,193,790; ratio 163:10) [0 scs]
--22096--  transtab: dumped     0 (0 -> ??)
--22096--  transtab: discarded  353 (7,025 -> ??)
--22096-- scheduler: 960,416 jumps (bb entries).
--22096-- scheduler: 9/11,641 major/minor sched events.
--22096--    sanity: 10 cheap, 1 expensive checks.
--22096--    exectx: 30,011 lists, 305 contexts (avg 0 per list)
--22096--    exectx: 1,041 searches, 737 full compares (707 per 1000)
--22096--    exectx: 0 cmp2, 73 cmp4, 0 cmpAll

Main