src/tds/unittests/iconv_fread

Main

Hostnamefreddy
uname -aLinux freddy 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
date2016-05-31

==6430== Memcheck, a memory error detector
==6430== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==6430== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info
==6430== Command: ./iconv_fread
==6430== 
--6430-- Valgrind options:
--6430--    --tool=memcheck
--6430--    --vgdb=no
--6430--    --num-callers=20
--6430--    --leak-check=yes
--6430--    -v
--6430--    --show-reachable=yes
--6430--    --log-fd=3
--6430--    --suppressions=/home/freddy/suppressions.supp
--6430--    --track-origins=yes
--6430-- Contents of /proc/version:
--6430--   Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016
--6430-- 
--6430-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--6430-- Page sizes: currently 4096, max supported 4096
--6430-- Valgrind library directory: /home/freddy/install/lib/valgrind
--6430-- Reading syms from /home/freddy/ftdstmp/ftds_comp100/test2/src/tds/unittests/iconv_fread
--6430-- Reading syms from /lib/x86_64-linux-gnu/ld-2.23.so
--6430--   Considering /lib/x86_64-linux-gnu/ld-2.23.so ..
--6430--   .. CRC mismatch (computed d3da0723 wanted a1c29704)
--6430--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.23.so ..
--6430--   .. CRC is valid
--6430-- Reading syms from /home/freddy/install/lib/valgrind/memcheck-amd64-linux
--6430--    object doesn't have a dynamic symbol table
--6430-- Scheduler: using generic scheduler lock implementation.
--6430-- Reading suppressions file: /home/freddy/suppressions.supp
--6430-- Reading suppressions file: /home/freddy/install/lib/valgrind/default.supp
--6430-- REDIR: 0x401cdc0 (ld-linux-x86-64.so.2:strlen) redirected to 0x3809ecf1 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--6430-- REDIR: 0x401b710 (ld-linux-x86-64.so.2:index) redirected to 0x3809ed0b (vgPlain_amd64_linux_REDIR_FOR_index)
--6430-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_core-amd64-linux.so
--6430-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_memcheck-amd64-linux.so
==6430== WARNING: new redirection conflicts with existing -- ignoring it
--6430--     old: 0x0401cdc0 (strlen              ) R-> (0000.0) 0x3809ecf1 vgPlain_amd64_linux_REDIR_FOR_strlen
--6430--     new: 0x0401cdc0 (strlen              ) R-> (2007.0) 0x04c30a90 strlen
--6430-- REDIR: 0x401b930 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c31b40 (strcmp)
--6430-- REDIR: 0x401db20 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c34d20 (mempcpy)
--6430-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.23.so
--6430--   Considering /usr/lib/debug/.build-id/b7/7847cc9cacbca3b5753d0d25a32e5795afe75b.debug ..
--6430--   .. build-id is valid
--6430-- Reading syms from /lib/x86_64-linux-gnu/libssl.so.1.0.0
--6430--    object doesn't have a symbol table
--6430-- Reading syms from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
--6430--    object doesn't have a symbol table
--6430-- Reading syms from /lib/x86_64-linux-gnu/libc-2.23.so
--6430--   Considering /lib/x86_64-linux-gnu/libc-2.23.so ..
--6430--   .. CRC mismatch (computed 2adb2e50 wanted 9b73f606)
--6430--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.23.so ..
--6430--   .. CRC is valid
--6430-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.23.so
--6430--   Considering /lib/x86_64-linux-gnu/libdl-2.23.so ..
--6430--   .. CRC mismatch (computed b7ff3c20 wanted 623a46c3)
--6430--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.23.so ..
--6430--   .. CRC is valid
--6430-- REDIR: 0x57a8fd0 (libc.so.6:strcasecmp) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x57a4850 (libc.so.6:strcspn) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x57ab2c0 (libc.so.6:strncasecmp) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x57a6cc0 (libc.so.6:strpbrk) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x57a7050 (libc.so.6:strspn) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x57a871b (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x57a32a0 (libc.so.6:strcmp) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x57a69d0 (libc.so.6:rindex) redirected to 0x4c30410 (rindex)
--6430-- REDIR: 0x57a4cf0 (libc.so.6:strlen) redirected to 0x4c309d0 (strlen)
--6430-- REDIR: 0x579d550 (libc.so.6:malloc) redirected to 0x4c2db2f (malloc)
--6430-- REDIR: 0x57ad9c0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x58676d0 (libc.so.6:__memcpy_avx_unaligned) redirected to 0x4c31f10 (memcpy@@GLIBC_2.14)
--6430-- REDIR: 0x57a8780 (libc.so.6:memset) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x588c1a0 (libc.so.6:__memset_avx2) redirected to 0x4c33f30 (memset)
--6430-- REDIR: 0x57a8180 (libc.so.6:bcmp) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x5887c60 (libc.so.6:__memcmp_sse4_1) redirected to 0x4c33740 (__memcmp_sse4_1)
--6430-- REDIR: 0x579da70 (libc.so.6:free) redirected to 0x4c2ec29 (free)
--6430-- REDIR: 0x579e290 (libc.so.6:calloc) redirected to 0x4c2f8b2 (calloc)
--6430-- REDIR: 0x57a6990 (libc.so.6:strncpy) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x57bf5d0 (libc.so.6:__strncpy_sse2_unaligned) redirected to 0x4c30fe0 (__strncpy_sse2_unaligned)
--6430-- REDIR: 0x57a8e20 (libc.so.6:stpcpy) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x57c05b0 (libc.so.6:__stpcpy_sse2_unaligned) redirected to 0x4c33b90 (__stpcpy_sse2_unaligned)
--6430-- REDIR: 0x57a7630 (libc.so.6:__GI_strstr) redirected to 0x4c34f80 (__strstr_sse2)
--6430-- REDIR: 0x57a7e30 (libc.so.6:memchr) redirected to 0x4c31be0 (memchr)
--6430-- REDIR: 0x57ada40 (libc.so.6:__GI_memcpy) redirected to 0x4c32570 (__GI_memcpy)
--6430-- REDIR: 0x57a3050 (libc.so.6:index) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x57a3080 (libc.so.6:__GI_strchr) redirected to 0x4c30570 (__GI_strchr)
--6430-- REDIR: 0x58641b0 (libc.so.6:__strcasecmp_avx) redirected to 0x4c312d0 (strcasecmp)
--6430-- REDIR: 0x57a5140 (libc.so.6:__GI_strncmp) redirected to 0x4c31180 (__GI_strncmp)
--6430-- REDIR: 0x57b8b40 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c31a00 (strcmp)
--6430-- REDIR: 0x57a32e0 (libc.so.6:__GI_strcmp) redirected to 0x4c31a50 (__GI_strcmp)
--6430-- REDIR: 0x57a8980 (libc.so.6:__GI_mempcpy) redirected to 0x4c34a50 (__GI_mempcpy)
--6430-- Reading syms from /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so
--6430--   Considering /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so ..
--6430--   .. CRC mismatch (computed d872b97c wanted 2237059d)
--6430--   Considering /usr/lib/debug/usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so ..
--6430--   .. CRC is valid
--6430-- REDIR: 0x401dc70 (ld-linux-x86-64.so.2:stpcpy) redirected to 0x4c33d30 (stpcpy)
--6430-- REDIR: 0x579dc40 (libc.so.6:realloc) redirected to 0x4c2fa81 (realloc)
--6430-- REDIR: 0x57afd30 (libc.so.6:strchrnul) redirected to 0x4c34850 (strchrnul)
res 0 out_len 1
res 0 out_len 2
res 0 out_len 3
res 0 out_len 4
res 0 out_len 5
res 0 out_len 6
res 0 out_len 7
res 0 out_len 8
res 0 out_len 9
res 0 out_len 10
res 0 out_len 11
res 0 out_len 12
res 0 out_len 13
res 0 out_len 14
res 0 out_len 15
res 0 out_len 16
res 0 out_len 17
res 0 out_len 18
res 0 out_len 19
res 0 out_len 20
res 0 out_len 21
res 0 out_len 22
res 0 out_len 23
res 0 out_len 24
res 0 out_len 25
res 0 out_len 26
res 0 out_len 27
res 0 out_len 28
res 0 out_len 29
res 0 out_len 30
res 0 out_len 31
res 0 out_len 32
res 0 out_len 4077
res 0 out_len 4078
res 0 out_len 4079
res 0 out_len 4080
res 0 out_len 4081
res 0 out_len 4082
res 0 out_len 4083
res 0 out_len 4084
res 0 out_len 4085
res 0 out_len 4086
res 0 out_len 4087
res 0 out_len 4088
res 0 out_len 4089
res 0 out_len 4090
res 0 out_len 4091
res 0 out_len 4092
res 0 out_len 4093
res 0 out_len 4094
res 0 out_len 4095
--6430-- REDIR: 0x582f9e0 (libc.so.6:__memmove_chk) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x58671d0 (libc.so.6:__memmove_chk_avx_unaligned) redirected to 0x4c347d0 (__memmove_chk)
res 0 out_len 4096
res 0 out_len 4097
res 0 out_len 4098
res 0 out_len 4099
res 0 out_len 4100
res 0 out_len 4101
res 0 out_len 4102
res 0 out_len 4103
res 0 out_len 4104
res 0 out_len 4105
res 0 out_len 4106
res 0 out_len 4107
res 0 out_len 4108
res 0 out_len 4109
res 0 out_len 4110
res 0 out_len 4111
res 0 out_len 4112
res 0 out_len 4113
res 0 out_len 4114
res 0 out_len 4115
res 0 out_len 4116
--6430-- REDIR: 0x57a4730 (libc.so.6:strcpy) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--6430-- REDIR: 0x57befa0 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c30ab0 (strcpy)
--6430-- Discarding syms at 0x60e7600-0x60e808d in /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so due to munmap()
==6430== 
==6430== HEAP SUMMARY:
==6430==     in use at exit: 1,824 bytes in 27 blocks
==6430==   total heap usage: 2,056 allocs, 2,029 frees, 1,410,954 bytes allocated
==6430== 
==6430== Searching for pointers to 27 not-freed blocks
==6430== Checked 306,464 bytes
==6430== 
==6430== LEAK SUMMARY:
==6430==    definitely lost: 0 bytes in 0 blocks
==6430==    indirectly lost: 0 bytes in 0 blocks
==6430==      possibly lost: 0 bytes in 0 blocks
==6430==    still reachable: 0 bytes in 0 blocks
==6430==         suppressed: 1,824 bytes in 27 blocks
==6430== 
==6430== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
--6430-- 
--6430-- used_suppression:     26 openssl leak 4 /home/freddy/suppressions.supp:27 suppressed: 1,792 bytes in 26 blocks
--6430-- used_suppression:      1 openssl leak 5 /home/freddy/suppressions.supp:38 suppressed: 32 bytes in 1 blocks
==6430== 
==6430== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Main