src/ctlib/unittests/cs_config
Main
| Hostname | obon110 |
| gcc version | gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13) |
| uname -a | Linux obon110 2.6.23.1-1smp #3 SMP Mon Nov 5 20:51:48 CET 2007 i686 i686 i386 GNU/Linux |
| date | 2008-07-18 |
==28594== Memcheck, a memory error detector.
==28594== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==28594== Using LibVEX rev 1658, a library for dynamic binary translation.
==28594== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==28594== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==28594== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==28594==
--28594-- Command line
--28594-- ./cs_config
--28594-- Startup, with flags:
--28594-- --tool=memcheck
--28594-- --num-callers=20
--28594-- --leak-check=yes
--28594-- -v
--28594-- --show-reachable=yes
--28594-- --log-fd=3
--28594-- --suppressions=/home/winnt/fziglio/suppressions.supp
--28594-- Contents of /proc/version:
--28594-- 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
--28594-- Arch and hwcaps: X86, x86-sse1-sse2
--28594-- Valgrind library directory: /usr/lib/valgrind
--28594-- Reading syms from /lib/ld-2.5.so (0xAE4000)
--28594-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/ctlib/unittests/cs_config (0x8048000)
--28594-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--28594-- object doesn't have a dynamic symbol table
--28594-- Reading suppressions file: /home/winnt/fziglio/suppressions.supp
--28594-- Reading suppressions file: /usr/lib/valgrind/default.supp
--28594-- REDIR: 0xAF9540 (index) redirected to 0x38027D0F (vgPlain_x86_linux_REDIR_FOR_index)
--28594-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--28594-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
==28594== WARNING: new redirection conflicts with existing -- ignoring it
--28594-- new: 0x00AF9540 (index ) R-> 0x040060C0 index
--28594-- REDIR: 0xAF96E0 (strlen) redirected to 0x4006290 (strlen)
--28594-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/ctlib/.libs/libct.so.4.0.0 (0x4009000)
--28594-- Reading syms from /usr/lib/libgnutls.so.13.0.6 (0x6A2D000)
--28594-- object doesn't have a symbol table
--28594-- Reading syms from /lib/libc-2.5.so (0xB29000)
--28594-- Reading syms from /usr/lib/libz.so.1.2.3 (0xB14000)
--28594-- object doesn't have a symbol table
--28594-- Reading syms from /usr/lib/libgcrypt.so.11.2.2 (0x65F1000)
--28594-- object doesn't have a symbol table
--28594-- Reading syms from /usr/lib/libgpg-error.so.0.3.0 (0xADB000)
--28594-- object doesn't have a symbol table
--28594-- Reading syms from /lib/libnsl-2.5.so (0x330000)
--28594-- REDIR: 0xB96330 (rindex) redirected to 0x4005FA0 (rindex)
--28594-- REDIR: 0xB95F90 (strlen) redirected to 0x4006270 (strlen)
--28594-- REDIR: 0xB91260 (malloc) redirected to 0x400537B (malloc)
--28594-- REDIR: 0xB976C0 (memcpy) redirected to 0x4006C60 (memcpy)
--28594-- REDIR: 0xB95A30 (strcmp) redirected to 0x4006340 (strcmp)
Trying cs_config with CS_USERDATA
--28594-- REDIR: 0xB96CD0 (memchr) redirected to 0x4006460 (memchr)
--28594-- REDIR: 0xB96180 (strncmp) redirected to 0x40062D0 (strncmp)
--28594-- REDIR: 0xB92F20 (free) redirected to 0x4004F95 (free)
Testing CS_SET/GET USERDATA with char array
Testing CS_SET/GET USERDATA with char array
Testing CS_SET/GET USERDATA with int
--28594-- REDIR: 0xB95AA0 (strcpy) redirected to 0x40069F0 (strcpy)
--28594-- REDIR: 0xB971D0 (memset) redirected to 0x4006580 (memset)
==28594==
==28594== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 1)
--28594--
--28594-- supp: 19 Fedora-Core-6-hack3-ld25
==28594== malloc/free: in use at exit: 0 bytes in 0 blocks.
==28594== malloc/free: 41 allocs, 41 frees, 11,780 bytes allocated.
==28594==
==28594== All heap blocks were freed -- no leaks are possible.
--28594-- memcheck: sanity checks: 4 cheap, 1 expensive
--28594-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--28594-- memcheck: auxmaps: 0 searches, 0 comparisons
--28594-- memcheck: SMs: n_issued = 19 (304k, 0M)
--28594-- memcheck: SMs: n_deissued = 0 (0k, 0M)
--28594-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M)
--28594-- memcheck: SMs: max_undefined = 0 (0k, 0M)
--28594-- memcheck: SMs: max_defined = 41 (656k, 0M)
--28594-- memcheck: SMs: max_non_DSM = 19 (304k, 0M)
--28594-- memcheck: max sec V bit nodes: 0 (0k, 0M)
--28594-- memcheck: set_sec_vbits8 calls: 0 (new: 0, updates: 0)
--28594-- memcheck: max shadow mem size: 608k, 0M
--28594-- translate: fast SP updates identified: 3,989 ( 90.3%)
--28594-- translate: generic_known SP updates identified: 260 ( 5.8%)
--28594-- translate: generic_unknown SP updates identified: 168 ( 3.8%)
--28594-- tt/tc: 7,075 tt lookups requiring 7,194 probes
--28594-- tt/tc: 7,075 fast-cache updates, 3 flushes
--28594-- transtab: new 3,238 (73,223 -> 1,220,141; ratio 166:10) [0 scs]
--28594-- transtab: dumped 0 (0 -> ??)
--28594-- transtab: discarded 9 (209 -> ??)
--28594-- scheduler: 410,504 jumps (bb entries).
--28594-- scheduler: 4/4,580 major/minor sched events.
--28594-- sanity: 5 cheap, 1 expensive checks.
--28594-- exectx: 30,011 lists, 30 contexts (avg 0 per list)
--28594-- exectx: 101 searches, 71 full compares (702 per 1000)
--28594-- exectx: 0 cmp2, 48 cmp4, 0 cmpAll
Main