src/ctlib/unittests/t0002
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-03 |
==11725== Memcheck, a memory error detector.
==11725== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==11725== Using LibVEX rev 1658, a library for dynamic binary translation.
==11725== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==11725== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==11725== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==11725==
--11725-- Command line
--11725-- ./t0002
--11725-- Startup, with flags:
--11725-- --tool=memcheck
--11725-- --num-callers=20
--11725-- --leak-check=yes
--11725-- -v
--11725-- --show-reachable=yes
--11725-- --log-fd=3
--11725-- --suppressions=/home/winnt/fziglio/suppressions.supp
--11725-- Contents of /proc/version:
--11725-- 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
--11725-- Arch and hwcaps: X86, x86-sse1-sse2
--11725-- Valgrind library directory: /usr/lib/valgrind
--11725-- Reading syms from /lib/ld-2.5.so (0xAE4000)
--11725-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp/src/ctlib/unittests/t0002 (0x8048000)
--11725-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--11725-- object doesn't have a dynamic symbol table
--11725-- Reading suppressions file: /home/winnt/fziglio/suppressions.supp
--11725-- Reading suppressions file: /usr/lib/valgrind/default.supp
--11725-- REDIR: 0xAF9540 (index) redirected to 0x38027D0F (vgPlain_x86_linux_REDIR_FOR_index)
--11725-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--11725-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
==11725== WARNING: new redirection conflicts with existing -- ignoring it
--11725-- new: 0x00AF9540 (index ) R-> 0x040060C0 index
--11725-- REDIR: 0xAF96E0 (strlen) redirected to 0x4006290 (strlen)
--11725-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp/src/ctlib/.libs/libct.so.4.0.0 (0x4009000)
--11725-- Reading syms from /lib/librt-2.5.so (0x349000)
--11725-- Reading syms from /usr/lib/libgnutls.so.13.0.6 (0x6A2D000)
--11725-- object doesn't have a symbol table
--11725-- Reading syms from /lib/libpthread-2.5.so (0xD98000)
--11725-- Reading syms from /lib/libc-2.5.so (0xB29000)
--11725-- Reading syms from /usr/lib/libz.so.1.2.3 (0xB14000)
--11725-- object doesn't have a symbol table
--11725-- Reading syms from /usr/lib/libgcrypt.so.11.2.2 (0x65F1000)
--11725-- object doesn't have a symbol table
--11725-- Reading syms from /usr/lib/libgpg-error.so.0.3.0 (0xADB000)
--11725-- object doesn't have a symbol table
--11725-- Reading syms from /lib/libnsl-2.5.so (0x330000)
--11725-- REDIR: 0xB971D0 (memset) redirected to 0x4006580 (memset)
--11725-- REDIR: 0xB976C0 (memcpy) redirected to 0x4006C60 (memcpy)
--11725-- REDIR: 0xB96330 (rindex) redirected to 0x4005FA0 (rindex)
--11725-- REDIR: 0xB95F90 (strlen) redirected to 0x4006270 (strlen)
--11725-- REDIR: 0xB91260 (malloc) redirected to 0x400537B (malloc)
--11725-- REDIR: 0xB95A30 (strcmp) redirected to 0x4006340 (strcmp)
t0002.c: Testing bind & select
--11725-- REDIR: 0xB96CD0 (memchr) redirected to 0x4006460 (memchr)
--11725-- REDIR: 0xB95AA0 (strcpy) redirected to 0x40069F0 (strcpy)
--11725-- REDIR: 0xB92F20 (free) redirected to 0x4004F95 (free)
--11725-- REDIR: 0xB90F60 (calloc) redirected to 0x40046A8 (calloc)
--11725-- REDIR: 0xB958C0 (index) redirected to 0x4006090 (index)
--11725-- REDIR: 0xB96180 (strncmp) redirected to 0x40062D0 (strncmp)
--11725-- REDIR: 0xB98040 (strchrnul) redirected to 0x4006610 (strchrnul)
--11725-- REDIR: 0xB973C0 (stpcpy) redirected to 0x4006910 (stpcpy)
--11725-- Reading syms from /lib/libnss_files-2.5.so (0x40BD000)
--11725-- Reading syms from /lib/libnss_winbind.so.2 (0x41E3000)
--11725-- object doesn't have a symbol table
--11725-- REDIR: 0xB96280 (strncpy) redirected to 0x4006DE0 (strncpy)
--11725-- REDIR: 0xB97F70 (rawmemchr) redirected to 0x4006640 (rawmemchr)
--11725-- Reading syms from /usr/lib/gconv/ISO8859-1.so (0x40C8000)
--11725-- object doesn't have a symbol table
--11725-- REDIR: 0xAF9AA0 (stpcpy) redirected to 0x4006830 (stpcpy)
--11725-- REDIR: 0xB93110 (realloc) redirected to 0x400542A (realloc)
--11725-- REDIR: 0xB960D0 (strncat) redirected to 0x4006120 (strncat)
--11725-- REDIR: 0xB96040 (strnlen) redirected to 0x4006240 (strnlen)
fid spid status loginame origname hostname blk_spid dbname cmd block_xloid
0 2 sleeping 0 master DEADLOCK TUNE 0
0 3 sleeping 0 master ASTC HANDLER 0
0 4 sleeping 0 master CHECKPOINT SLEEP 0
0 5 sleeping 0 master HK WASH 0
0 6 sleeping 0 master HK GC 0
0 7 sleeping 0 master HK CHORES 0
0 8 sleeping 0 master PORT MANAGER 0
0 9 sleeping 0 master NETWORK HANDLER 0
0 26 running testuser testuser obon110 0 FreeTDS SELECT 0
ct_results fetched 9 rows.
ct_results: CS_STATUS_RESULT detected for sp_who
unnamed1
0
ct_results fetched 1 rows.
--11725-- Discarding syms at 0x40C8000-0x40CB000 in /usr/lib/gconv/ISO8859-1.so due to munmap()
--11725-- Discarding syms at 0x40BD000-0x40C8000 in /lib/libnss_files-2.5.so due to munmap()
--11725-- Discarding syms at 0x41E3000-0x41EE000 in /lib/libnss_winbind.so.2 due to munmap()
==11725==
==11725== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 27 from 1)
--11725--
--11725-- supp: 27 Fedora-Core-6-hack3-ld25
==11725== malloc/free: in use at exit: 4 bytes in 1 blocks.
==11725== malloc/free: 278 allocs, 277 frees, 201,247 bytes allocated.
==11725==
==11725== searching for pointers to 1 not-freed blocks.
==11725== checked 230,700 bytes.
==11725==
==11725== LEAK SUMMARY:
==11725== definitely lost: 0 bytes in 0 blocks.
==11725== possibly lost: 0 bytes in 0 blocks.
==11725== still reachable: 0 bytes in 0 blocks.
==11725== suppressed: 4 bytes in 1 blocks.
--11725-- memcheck: sanity checks: 8 cheap, 1 expensive
--11725-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--11725-- memcheck: auxmaps: 0 searches, 0 comparisons
--11725-- memcheck: SMs: n_issued = 28 (448k, 0M)
--11725-- memcheck: SMs: n_deissued = 0 (0k, 0M)
--11725-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M)
--11725-- memcheck: SMs: max_undefined = 0 (0k, 0M)
--11725-- memcheck: SMs: max_defined = 41 (656k, 0M)
--11725-- memcheck: SMs: max_non_DSM = 28 (448k, 0M)
--11725-- memcheck: max sec V bit nodes: 4 (0k, 0M)
--11725-- memcheck: set_sec_vbits8 calls: 4 (new: 4, updates: 0)
--11725-- memcheck: max shadow mem size: 752k, 0M
--11725-- translate: fast SP updates identified: 9,200 ( 89.6%)
--11725-- translate: generic_known SP updates identified: 788 ( 7.6%)
--11725-- translate: generic_unknown SP updates identified: 271 ( 2.6%)
--11725-- tt/tc: 16,825 tt lookups requiring 18,045 probes
--11725-- tt/tc: 16,825 fast-cache updates, 6 flushes
--11725-- transtab: new 7,558 (204,342 -> 3,322,070; ratio 162:10) [0 scs]
--11725-- transtab: dumped 0 (0 -> ??)
--11725-- transtab: discarded 359 (7,149 -> ??)
--11725-- scheduler: 866,714 jumps (bb entries).
--11725-- scheduler: 8/10,724 major/minor sched events.
--11725-- sanity: 9 cheap, 1 expensive checks.
--11725-- exectx: 30,011 lists, 269 contexts (avg 0 per list)
--11725-- exectx: 553 searches, 285 full compares (515 per 1000)
--11725-- exectx: 0 cmp2, 75 cmp4, 0 cmpAll
Main