src/ctlib/unittests/cs_diag

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

==13390== Memcheck, a memory error detector.
==13390== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==13390== Using LibVEX rev 1658, a library for dynamic binary translation.
==13390== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==13390== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==13390== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==13390== 
--13390-- Command line
--13390--    ./cs_diag
--13390-- Startup, with flags:
--13390--    --tool=memcheck
--13390--    --num-callers=20
--13390--    --leak-check=yes
--13390--    -v
--13390--    --show-reachable=yes
--13390--    --log-fd=3
--13390--    --suppressions=/home/winnt/fziglio/suppressions.supp
--13390-- Contents of /proc/version:
--13390--   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
--13390-- Arch and hwcaps: X86, x86-sse1-sse2
--13390-- Valgrind library directory: /usr/lib/valgrind
--13390-- Reading syms from /lib/ld-2.5.so (0xAE4000)
--13390-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp/src/ctlib/unittests/cs_diag (0x8048000)
--13390-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--13390--    object doesn't have a dynamic symbol table
--13390-- Reading suppressions file: /home/winnt/fziglio/suppressions.supp
--13390-- Reading suppressions file: /usr/lib/valgrind/default.supp
--13390-- REDIR: 0xAF9540 (index) redirected to 0x38027D0F (vgPlain_x86_linux_REDIR_FOR_index)
--13390-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--13390-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
==13390== WARNING: new redirection conflicts with existing -- ignoring it
--13390--     new: 0x00AF9540 (index     ) R-> 0x040060C0 index
--13390-- REDIR: 0xAF96E0 (strlen) redirected to 0x4006290 (strlen)
--13390-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp/src/ctlib/.libs/libct.so.4.0.0 (0x4009000)
--13390-- Reading syms from /lib/librt-2.5.so (0x349000)
--13390-- Reading syms from /usr/lib/libgnutls.so.13.0.6 (0x6A2D000)
--13390--    object doesn't have a symbol table
--13390-- Reading syms from /lib/libpthread-2.5.so (0xD98000)
--13390-- Reading syms from /lib/libc-2.5.so (0xB29000)
--13390-- Reading syms from /usr/lib/libz.so.1.2.3 (0xB14000)
--13390--    object doesn't have a symbol table
--13390-- Reading syms from /usr/lib/libgcrypt.so.11.2.2 (0x65F1000)
--13390--    object doesn't have a symbol table
--13390-- Reading syms from /usr/lib/libgpg-error.so.0.3.0 (0xADB000)
--13390--    object doesn't have a symbol table
--13390-- Reading syms from /lib/libnsl-2.5.so (0x330000)
--13390-- REDIR: 0xB971D0 (memset) redirected to 0x4006580 (memset)
--13390-- REDIR: 0xB976C0 (memcpy) redirected to 0x4006C60 (memcpy)
--13390-- REDIR: 0xB96330 (rindex) redirected to 0x4005FA0 (rindex)
--13390-- REDIR: 0xB95F90 (strlen) redirected to 0x4006270 (strlen)
--13390-- REDIR: 0xB91260 (malloc) redirected to 0x400537B (malloc)
--13390-- REDIR: 0xB95A30 (strcmp) redirected to 0x4006340 (strcmp)
cs_diag.c: Testing context callbacks
Trying clientmsg_cb with context
--13390-- REDIR: 0xB90F60 (calloc) redirected to 0x40046A8 (calloc)
--13390-- REDIR: 0xB96CD0 (memchr) redirected to 0x4006460 (memchr)
--13390-- REDIR: 0xB958C0 (index) redirected to 0x4006090 (index)
--13390-- REDIR: 0xB92F20 (free) redirected to 0x4004F95 (free)
--13390-- REDIR: 0xB96180 (strncmp) redirected to 0x40062D0 (strncmp)

CS-Library Message:
number 33816852 layer 2 origin 4 severity 1 number 20
msgstring: cs_convert: cslib user api layer: common library error: The conversion/operation resulted in overflow.
osstring: (null)

CS-Library Message:
number 33620240 layer 2 origin 1 severity 1 number 16
msgstring: cs_convert: cslib user api layer: external error: Conversion between 56 and 61 datatypes is not supported.
osstring: (null)
--13390-- REDIR: 0xB95AA0 (strcpy) redirected to 0x40069F0 (strcpy)
==13390== 
==13390== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 21 from 1)
--13390-- 
--13390-- supp:   21 Fedora-Core-6-hack3-ld25
==13390== malloc/free: in use at exit: 0 bytes in 0 blocks.
==13390== malloc/free: 60 allocs, 60 frees, 17,911 bytes allocated.
==13390== 
==13390== All heap blocks were freed -- no leaks are possible.
--13390--  memcheck: sanity checks: 4 cheap, 1 expensive
--13390--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--13390--  memcheck: auxmaps: 0 searches, 0 comparisons
--13390--  memcheck: SMs: n_issued      = 24 (384k, 0M)
--13390--  memcheck: SMs: n_deissued    = 0 (0k, 0M)
--13390--  memcheck: SMs: max_noaccess  = 65535 (1048560k, 1023M)
--13390--  memcheck: SMs: max_undefined = 0 (0k, 0M)
--13390--  memcheck: SMs: max_defined   = 41 (656k, 0M)
--13390--  memcheck: SMs: max_non_DSM   = 24 (384k, 0M)
--13390--  memcheck: max sec V bit nodes:    0 (0k, 0M)
--13390--  memcheck: set_sec_vbits8 calls: 0 (new: 0, updates: 0)
--13390--  memcheck: max shadow mem size:   688k, 0M
--13390-- translate:            fast SP updates identified: 4,709 ( 90.0%)
--13390-- translate:   generic_known SP updates identified: 333 (  6.3%)
--13390-- translate: generic_unknown SP updates identified: 188 (  3.5%)
--13390--     tt/tc: 7,941 tt lookups requiring 8,199 probes
--13390--     tt/tc: 7,941 fast-cache updates, 3 flushes
--13390--  transtab: new        3,814 (89,016 -> 1,469,877; ratio 165:10) [0 scs]
--13390--  transtab: dumped     0 (0 -> ??)
--13390--  transtab: discarded  9 (209 -> ??)
--13390-- scheduler: 480,970 jumps (bb entries).
--13390-- scheduler: 4/4,977 major/minor sched events.
--13390--    sanity: 5 cheap, 1 expensive checks.
--13390--    exectx: 30,011 lists, 60 contexts (avg 0 per list)
--13390--    exectx: 141 searches, 81 full compares (574 per 1000)
--13390--    exectx: 0 cmp2, 50 cmp4, 0 cmpAll

Main