src/dblib/unittests/t0021
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 |
==12117== Memcheck, a memory error detector.
==12117== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==12117== Using LibVEX rev 1658, a library for dynamic binary translation.
==12117== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==12117== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==12117== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==12117==
--12117-- Command line
--12117-- ./t0021
--12117-- Startup, with flags:
--12117-- --tool=memcheck
--12117-- --num-callers=20
--12117-- --leak-check=yes
--12117-- -v
--12117-- --show-reachable=yes
--12117-- --log-fd=3
--12117-- --suppressions=/home/winnt/fziglio/suppressions.supp
--12117-- Contents of /proc/version:
--12117-- 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
--12117-- Arch and hwcaps: X86, x86-sse1-sse2
--12117-- Valgrind library directory: /usr/lib/valgrind
--12117-- Reading syms from /lib/ld-2.5.so (0xAE4000)
--12117-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp/src/dblib/unittests/t0021 (0x8048000)
--12117-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--12117-- object doesn't have a dynamic symbol table
--12117-- Reading suppressions file: /home/winnt/fziglio/suppressions.supp
--12117-- Reading suppressions file: /usr/lib/valgrind/default.supp
--12117-- REDIR: 0xAF9540 (index) redirected to 0x38027D0F (vgPlain_x86_linux_REDIR_FOR_index)
--12117-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--12117-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
==12117== WARNING: new redirection conflicts with existing -- ignoring it
--12117-- new: 0x00AF9540 (index ) R-> 0x040060C0 index
--12117-- REDIR: 0xAF96E0 (strlen) redirected to 0x4006290 (strlen)
--12117-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp/src/dblib/.libs/libsybdb.so.5.0.0 (0x4009000)
--12117-- Reading syms from /lib/librt-2.5.so (0x349000)
--12117-- Reading syms from /usr/lib/libgnutls.so.13.0.6 (0x6A2D000)
--12117-- object doesn't have a symbol table
--12117-- Reading syms from /lib/libpthread-2.5.so (0xD98000)
--12117-- Reading syms from /lib/libc-2.5.so (0xB29000)
--12117-- Reading syms from /usr/lib/libz.so.1.2.3 (0xB14000)
--12117-- object doesn't have a symbol table
--12117-- Reading syms from /usr/lib/libgcrypt.so.11.2.2 (0x65F1000)
--12117-- object doesn't have a symbol table
--12117-- Reading syms from /usr/lib/libgpg-error.so.0.3.0 (0xADB000)
--12117-- object doesn't have a symbol table
--12117-- Reading syms from /lib/libnsl-2.5.so (0x330000)
--12117-- REDIR: 0xB971D0 (memset) redirected to 0x4006580 (memset)
--12117-- REDIR: 0xB976C0 (memcpy) redirected to 0x4006C60 (memcpy)
--12117-- REDIR: 0xB96330 (rindex) redirected to 0x4005FA0 (rindex)
--12117-- REDIR: 0xB95F90 (strlen) redirected to 0x4006270 (strlen)
--12117-- REDIR: 0xB91260 (malloc) redirected to 0x400537B (malloc)
--12117-- REDIR: 0xB95A30 (strcmp) redirected to 0x4006340 (strcmp)
Start
--12117-- REDIR: 0xB90F60 (calloc) redirected to 0x40046A8 (calloc)
--12117-- REDIR: 0xB96CD0 (memchr) redirected to 0x4006460 (memchr)
--12117-- REDIR: 0xB958C0 (index) redirected to 0x4006090 (index)
--12117-- REDIR: 0xB92F20 (free) redirected to 0x4004F95 (free)
--12117-- REDIR: 0xB96180 (strncmp) redirected to 0x40062D0 (strncmp)
short buffer, single
This is a string with '' and " in it
single quote
This is a string with '' and " in it.
double quote
This is a string with ' and "" in it.
both quotes
This is a string with '' and "" in it.
dblib okay on t0021.c
--12117-- REDIR: 0xB95AA0 (strcpy) redirected to 0x40069F0 (strcpy)
==12117==
==12117== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 21 from 1)
--12117--
--12117-- supp: 21 Fedora-Core-6-hack3-ld25
==12117== malloc/free: in use at exit: 0 bytes in 0 blocks.
==12117== malloc/free: 41 allocs, 41 frees, 29,140 bytes allocated.
==12117==
==12117== All heap blocks were freed -- no leaks are possible.
--12117-- memcheck: sanity checks: 5 cheap, 1 expensive
--12117-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--12117-- memcheck: auxmaps: 0 searches, 0 comparisons
--12117-- memcheck: SMs: n_issued = 22 (352k, 0M)
--12117-- memcheck: SMs: n_deissued = 0 (0k, 0M)
--12117-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M)
--12117-- memcheck: SMs: max_undefined = 0 (0k, 0M)
--12117-- memcheck: SMs: max_defined = 45 (720k, 0M)
--12117-- memcheck: SMs: max_non_DSM = 22 (352k, 0M)
--12117-- memcheck: max sec V bit nodes: 0 (0k, 0M)
--12117-- memcheck: set_sec_vbits8 calls: 0 (new: 0, updates: 0)
--12117-- memcheck: max shadow mem size: 656k, 0M
--12117-- translate: fast SP updates identified: 4,339 ( 90.3%)
--12117-- translate: generic_known SP updates identified: 285 ( 5.9%)
--12117-- translate: generic_unknown SP updates identified: 179 ( 3.7%)
--12117-- tt/tc: 7,629 tt lookups requiring 7,854 probes
--12117-- tt/tc: 7,629 fast-cache updates, 3 flushes
--12117-- transtab: new 3,496 (79,098 -> 1,312,199; ratio 165:10) [0 scs]
--12117-- transtab: dumped 0 (0 -> ??)
--12117-- transtab: discarded 9 (209 -> ??)
--12117-- scheduler: 539,689 jumps (bb entries).
--12117-- scheduler: 5/4,969 major/minor sched events.
--12117-- sanity: 6 cheap, 1 expensive checks.
--12117-- exectx: 30,011 lists, 24 contexts (avg 0 per list)
--12117-- exectx: 103 searches, 79 full compares (766 per 1000)
--12117-- exectx: 0 cmp2, 50 cmp4, 0 cmpAll
Main