src/odbc/unittests/getdata
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 |
==31383== Memcheck, a memory error detector.
==31383== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==31383== Using LibVEX rev 1658, a library for dynamic binary translation.
==31383== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==31383== Using valgrind-3.2.1, a dynamic binary instrumentation framework.
==31383== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==31383==
--31383-- Command line
--31383-- ./getdata
--31383-- Startup, with flags:
--31383-- --tool=memcheck
--31383-- --num-callers=20
--31383-- --leak-check=yes
--31383-- -v
--31383-- --show-reachable=yes
--31383-- --log-fd=3
--31383-- --suppressions=/home/winnt/fziglio/suppressions.supp
--31383-- Contents of /proc/version:
--31383-- 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
--31383-- Arch and hwcaps: X86, x86-sse1-sse2
--31383-- Valgrind library directory: /usr/lib/valgrind
--31383-- Reading syms from /lib/ld-2.5.so (0xAE4000)
--31383-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/odbc/unittests/getdata (0x8048000)
--31383-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--31383-- object doesn't have a dynamic symbol table
--31383-- Reading suppressions file: /home/winnt/fziglio/suppressions.supp
--31383-- Reading suppressions file: /usr/lib/valgrind/default.supp
--31383-- REDIR: 0xAF9540 (index) redirected to 0x38027D0F (vgPlain_x86_linux_REDIR_FOR_index)
--31383-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--31383-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
==31383== WARNING: new redirection conflicts with existing -- ignoring it
--31383-- new: 0x00AF9540 (index ) R-> 0x040060C0 index
--31383-- REDIR: 0xAF96E0 (strlen) redirected to 0x4006290 (strlen)
--31383-- Reading syms from /home/winnt/fziglio/cpp/freetds/ftds_comp_old/src/odbc/.libs/libtdsodbc.so.0.0.0 (0x4009000)
--31383-- Reading syms from /usr/lib/libgnutls.so.13.0.6 (0x6A2D000)
--31383-- object doesn't have a symbol table
--31383-- Reading syms from /lib/libc-2.5.so (0xB29000)
--31383-- Reading syms from /usr/lib/libz.so.1.2.3 (0xB14000)
--31383-- object doesn't have a symbol table
--31383-- Reading syms from /usr/lib/libgcrypt.so.11.2.2 (0x65F1000)
--31383-- object doesn't have a symbol table
--31383-- Reading syms from /usr/lib/libgpg-error.so.0.3.0 (0xADB000)
--31383-- object doesn't have a symbol table
--31383-- Reading syms from /lib/libnsl-2.5.so (0x330000)
--31383-- REDIR: 0xB96330 (rindex) redirected to 0x4005FA0 (rindex)
--31383-- REDIR: 0xB95F90 (strlen) redirected to 0x4006270 (strlen)
--31383-- REDIR: 0xB91260 (malloc) redirected to 0x400537B (malloc)
--31383-- REDIR: 0xB976C0 (memcpy) redirected to 0x4006C60 (memcpy)
--31383-- REDIR: 0xB95A30 (strcmp) redirected to 0x4006340 (strcmp)
--31383-- REDIR: 0xB96CD0 (memchr) redirected to 0x4006460 (memchr)
--31383-- REDIR: 0xB95AA0 (strcpy) redirected to 0x40069F0 (strcpy)
--31383-- REDIR: 0xB92F20 (free) redirected to 0x4004F95 (free)
--31383-- REDIR: 0xB95710 (strcat) redirected to 0x4006660 (strcat)
--31383-- REDIR: 0xB958C0 (index) redirected to 0x4006090 (index)
--31383-- REDIR: 0xB96180 (strncmp) redirected to 0x40062D0 (strncmp)
--31383-- REDIR: 0xB93110 (realloc) redirected to 0x400542A (realloc)
--31383-- REDIR: 0xB971D0 (memset) redirected to 0x4006580 (memset)
odbctest
--------
connection parameters:
server: 'sybase'
user: 'testuser'
password: '????'
database: 'FreeTDS'
--31383-- REDIR: 0xB98040 (strchrnul) redirected to 0x4006610 (strchrnul)
--31383-- REDIR: 0xB973C0 (stpcpy) redirected to 0x4006910 (stpcpy)
--31383-- REDIR: 0xB90F60 (calloc) redirected to 0x40046A8 (calloc)
--31383-- Reading syms from /lib/libnss_files-2.5.so (0x40CA000)
--31383-- Reading syms from /lib/libnss_winbind.so.2 (0x41EF000)
--31383-- object doesn't have a symbol table
--31383-- REDIR: 0xB96280 (strncpy) redirected to 0x4006DE0 (strncpy)
--31383-- REDIR: 0xB97F70 (rawmemchr) redirected to 0x4006640 (rawmemchr)
--31383-- Reading syms from /usr/lib/gconv/ISO8859-1.so (0x40D5000)
--31383-- object doesn't have a symbol table
--31383-- REDIR: 0xAF9AA0 (stpcpy) redirected to 0x4006830 (stpcpy)
use FreeTDS
SELECT CONVERT(TEXT,'Prova')
--31383-- REDIR: 0xB97160 (memmove) redirected to 0x40065B0 (memmove)
Done.
--31383-- Discarding syms at 0x40D5000-0x40D8000 in /usr/lib/gconv/ISO8859-1.so due to munmap()
--31383-- Discarding syms at 0x40CA000-0x40D5000 in /lib/libnss_files-2.5.so due to munmap()
--31383-- Discarding syms at 0x41EF000-0x41FA000 in /lib/libnss_winbind.so.2 due to munmap()
==31383==
==31383== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 25 from 1)
--31383--
--31383-- supp: 25 Fedora-Core-6-hack3-ld25
==31383== malloc/free: in use at exit: 4 bytes in 1 blocks.
==31383== malloc/free: 261 allocs, 260 frees, 194,084 bytes allocated.
==31383==
==31383== searching for pointers to 1 not-freed blocks.
==31383== checked 222,572 bytes.
==31383==
==31383== LEAK SUMMARY:
==31383== definitely lost: 0 bytes in 0 blocks.
==31383== possibly lost: 0 bytes in 0 blocks.
==31383== still reachable: 0 bytes in 0 blocks.
==31383== suppressed: 4 bytes in 1 blocks.
--31383-- memcheck: sanity checks: 6 cheap, 1 expensive
--31383-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--31383-- memcheck: auxmaps: 0 searches, 0 comparisons
--31383-- memcheck: SMs: n_issued = 25 (400k, 0M)
--31383-- memcheck: SMs: n_deissued = 0 (0k, 0M)
--31383-- memcheck: SMs: max_noaccess = 65535 (1048560k, 1023M)
--31383-- memcheck: SMs: max_undefined = 0 (0k, 0M)
--31383-- memcheck: SMs: max_defined = 42 (672k, 0M)
--31383-- memcheck: SMs: max_non_DSM = 25 (400k, 0M)
--31383-- memcheck: max sec V bit nodes: 6 (0k, 0M)
--31383-- memcheck: set_sec_vbits8 calls: 8 (new: 6, updates: 2)
--31383-- memcheck: max shadow mem size: 704k, 0M
--31383-- translate: fast SP updates identified: 9,095 ( 89.2%)
--31383-- translate: generic_known SP updates identified: 830 ( 8.1%)
--31383-- translate: generic_unknown SP updates identified: 261 ( 2.5%)
--31383-- tt/tc: 16,113 tt lookups requiring 17,085 probes
--31383-- tt/tc: 16,113 fast-cache updates, 6 flushes
--31383-- transtab: new 7,460 (204,241 -> 3,362,200; ratio 164:10) [0 scs]
--31383-- transtab: dumped 0 (0 -> ??)
--31383-- transtab: discarded 353 (7,025 -> ??)
--31383-- scheduler: 687,615 jumps (bb entries).
--31383-- scheduler: 6/10,176 major/minor sched events.
--31383-- sanity: 7 cheap, 1 expensive checks.
--31383-- exectx: 30,011 lists, 321 contexts (avg 0 per list)
--31383-- exectx: 523 searches, 204 full compares (390 per 1000)
--31383-- exectx: 0 cmp2, 73 cmp4, 0 cmpAll
Main