src/ctlib/unittests/rpc_ct_param

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

==19626== Memcheck, a memory error detector.
==19626== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==19626== Using LibVEX rev 1658, a library for dynamic binary translation.
==19626== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==19626== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==19626== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==19626== 
--19626-- Command line
--19626--    ./rpc_ct_param
--19626-- Startup, with flags:
--19626--    --tool=memcheck
--19626--    --num-callers=20
--19626--    --leak-check=yes
--19626--    -v
--19626--    --show-reachable=yes
--19626--    --log-fd=3
--19626--    --suppressions=/home/winnt/fziglio/suppressions.supp
--19626-- Contents of /proc/version:
--19626--   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
--19626-- Arch and hwcaps: X86, x86-sse1-sse2
--19626-- Valgrind library directory: /usr/lib/valgrind
--19626-- Reading syms from /lib/ld-2.5.so (0xAE4000)
--19626-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/ctlib/unittests/rpc_ct_param (0x8048000)
--19626-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--19626--    object doesn't have a dynamic symbol table
--19626-- Reading suppressions file: /home/winnt/fziglio/suppressions.supp
--19626-- Reading suppressions file: /usr/lib/valgrind/default.supp
--19626-- REDIR: 0xAF9540 (index) redirected to 0x38027D0F (vgPlain_x86_linux_REDIR_FOR_index)
--19626-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--19626-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
==19626== WARNING: new redirection conflicts with existing -- ignoring it
--19626--     new: 0x00AF9540 (index     ) R-> 0x040060C0 index
--19626-- REDIR: 0xAF96E0 (strlen) redirected to 0x4006290 (strlen)
--19626-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/ctlib/.libs/libct.so.4.0.0 (0x4009000)
--19626-- Reading syms from /usr/lib/libgnutls.so.13.0.6 (0x6A2D000)
--19626--    object doesn't have a symbol table
--19626-- Reading syms from /lib/libc-2.5.so (0xB29000)
--19626-- Reading syms from /usr/lib/libz.so.1.2.3 (0xB14000)
--19626--    object doesn't have a symbol table
--19626-- Reading syms from /usr/lib/libgcrypt.so.11.2.2 (0x65F1000)
--19626--    object doesn't have a symbol table
--19626-- Reading syms from /usr/lib/libgpg-error.so.0.3.0 (0xADB000)
--19626--    object doesn't have a symbol table
--19626-- Reading syms from /lib/libnsl-2.5.so (0x330000)
--19626-- REDIR: 0xB96330 (rindex) redirected to 0x4005FA0 (rindex)
--19626-- REDIR: 0xB95F90 (strlen) redirected to 0x4006270 (strlen)
--19626-- REDIR: 0xB91260 (malloc) redirected to 0x400537B (malloc)
--19626-- REDIR: 0xB976C0 (memcpy) redirected to 0x4006C60 (memcpy)
--19626-- REDIR: 0xB95A30 (strcmp) redirected to 0x4006340 (strcmp)
rpc_ct_param.c: submit a stored procedure using ct_param 
--19626-- REDIR: 0xB96CD0 (memchr) redirected to 0x4006460 (memchr)
--19626-- REDIR: 0xB95AA0 (strcpy) redirected to 0x40069F0 (strcpy)
--19626-- REDIR: 0xB92F20 (free) redirected to 0x4004F95 (free)
--19626-- REDIR: 0xB96180 (strncmp) redirected to 0x40062D0 (strncmp)
--19626-- REDIR: 0xB971D0 (memset) redirected to 0x4006580 (memset)
--19626-- REDIR: 0xB90F60 (calloc) redirected to 0x40046A8 (calloc)
--19626-- REDIR: 0xB98040 (strchrnul) redirected to 0x4006610 (strchrnul)
--19626-- REDIR: 0xB973C0 (stpcpy) redirected to 0x4006910 (stpcpy)
--19626-- Reading syms from /lib/libnss_files-2.5.so (0x40B6000)
--19626-- REDIR: 0xB958C0 (index) redirected to 0x4006090 (index)
--19626-- Reading syms from /lib/libnss_winbind.so.2 (0x41DB000)
--19626--    object doesn't have a symbol table
--19626-- REDIR: 0xB96280 (strncpy) redirected to 0x4006DE0 (strncpy)
--19626-- REDIR: 0xB97F70 (rawmemchr) redirected to 0x4006640 (rawmemchr)
--19626-- Reading syms from /lib/libnss_dns-2.5.so (0x41E6000)
--19626-- Reading syms from /lib/libresolv-2.5.so (0x592000)
--19626-- Reading syms from /usr/lib/gconv/ISO8859-1.so (0x40C1000)
--19626--    object doesn't have a symbol table
--19626-- REDIR: 0xAF9AA0 (stpcpy) redirected to 0x4006830 (stpcpy)
--19626-- REDIR: 0xB95710 (strcat) redirected to 0x4006660 (strcat)
--19626-- REDIR: 0xB93110 (realloc) redirected to 0x400542A (realloc)
--19626-- REDIR: 0xB97160 (memmove) redirected to 0x40065B0 (memmove)
--19626-- Reading syms from /usr/lib/gconv/CP1252.so (0x41D0000)
--19626--    object doesn't have a symbol table
--19626-- REDIR: 0xB960D0 (strncat) redirected to 0x4006120 (strncat)

ROW RESULTS

                                                                                                                                                                
----------- ------ -------------------- ------------------------ ------------------------------ -------------------- ------------------------------------------ 
2           234    0.12                 300.90                                                                         ff00000000000000000000000000000000000000
All done processing rows.

Server message:
Message number: 0, Severity 0, State 1, Line 1
Server 'OBOQ003'
 Procedure 'sample_rpc'
Message String: This is the message printed out by sample_rpc.

STATUS RESULTS

            
----------- 
0
All done processing rows.

PARAMETER RESULTS

@sintparam  @floatparam          @moneyparam              @dateparam                     @charparam                                                   @binaryparam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
----------- -------------------- ------------------------ ------------------------------ ------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
236         2.12                 302.90                   Jul  3 2008 03:09AM            The char parameters                                          ff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
All done processing rows.
--19626-- Discarding syms at 0x41D0000-0x41D4000 in /usr/lib/gconv/CP1252.so due to munmap()
--19626-- Discarding syms at 0x40C1000-0x40C4000 in /usr/lib/gconv/ISO8859-1.so due to munmap()
--19626-- Discarding syms at 0x40B6000-0x40C1000 in /lib/libnss_files-2.5.so due to munmap()
--19626-- Discarding syms at 0x41DB000-0x41E6000 in /lib/libnss_winbind.so.2 due to munmap()
--19626-- Discarding syms at 0x41E6000-0x41EC000 in /lib/libnss_dns-2.5.so due to munmap()
--19626-- Discarding syms at 0x592000-0x5A5000 in /lib/libresolv-2.5.so due to munmap()
==19626== 
==19626== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 30 from 1)
--19626-- 
--19626-- supp:   30 Fedora-Core-6-hack3-ld25
==19626== malloc/free: in use at exit: 2,028 bytes in 32 blocks.
==19626== malloc/free: 6,823 allocs, 6,791 frees, 637,505 bytes allocated.
==19626== 
==19626== searching for pointers to 32 not-freed blocks.
==19626== checked 216,420 bytes.
==19626== 
==19626== LEAK SUMMARY:
==19626==    definitely lost: 0 bytes in 0 blocks.
==19626==      possibly lost: 0 bytes in 0 blocks.
==19626==    still reachable: 0 bytes in 0 blocks.
==19626==         suppressed: 2,028 bytes in 32 blocks.
--19626--  memcheck: sanity checks: 23 cheap, 1 expensive
--19626--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--19626--  memcheck: auxmaps: 0 searches, 0 comparisons
--19626--  memcheck: SMs: n_issued      = 40 (640k, 0M)
--19626--  memcheck: SMs: n_deissued    = 0 (0k, 0M)
--19626--  memcheck: SMs: max_noaccess  = 65535 (1048560k, 1023M)
--19626--  memcheck: SMs: max_undefined = 0 (0k, 0M)
--19626--  memcheck: SMs: max_defined   = 41 (656k, 0M)
--19626--  memcheck: SMs: max_non_DSM   = 40 (640k, 0M)
--19626--  memcheck: max sec V bit nodes:    7 (0k, 0M)
--19626--  memcheck: set_sec_vbits8 calls: 9 (new: 7, updates: 2)
--19626--  memcheck: max shadow mem size:   944k, 0M
--19626-- translate:            fast SP updates identified: 16,810 ( 89.1%)
--19626-- translate:   generic_known SP updates identified: 1,591 (  8.4%)
--19626-- translate: generic_unknown SP updates identified: 462 (  2.4%)
--19626--     tt/tc: 33,897 tt lookups requiring 39,232 probes
--19626--     tt/tc: 33,897 fast-cache updates, 9 flushes
--19626--  transtab: new        14,365 (431,067 -> 6,896,671; ratio 159:10) [0 scs]
--19626--  transtab: dumped     0 (0 -> ??)
--19626--  transtab: discarded  885 (18,277 -> ??)
--19626-- scheduler: 2,341,680 jumps (bb entries).
--19626-- scheduler: 23/35,275 major/minor sched events.
--19626--    sanity: 24 cheap, 1 expensive checks.
--19626--    exectx: 30,011 lists, 1,085 contexts (avg 0 per list)
--19626--    exectx: 13,620 searches, 12,550 full compares (921 per 1000)
--19626--    exectx: 30 cmp2, 82 cmp4, 0 cmpAll

Main