src/tds/unittests/iconv_fread

Main

Hostnamefreddy
uname -aLinux freddy 4.10.0-22-generic #24-Ubuntu SMP Mon May 22 17:43:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
date2017-06-16

==5717== Memcheck, a memory error detector
==5717== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==5717== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==5717== Command: ./iconv_fread
==5717== 
--5717-- Valgrind options:
--5717--    --tool=memcheck
--5717--    --vgdb=no
--5717--    --num-callers=20
--5717--    --leak-check=yes
--5717--    -v
--5717--    --show-reachable=yes
--5717--    --log-fd=3
--5717--    --suppressions=/home/freddy/suppressions.supp
--5717--    --track-origins=yes
--5717-- Contents of /proc/version:
--5717--   Linux version 4.10.0-22-generic (buildd@lcy01-08) (gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) ) #24-Ubuntu SMP Mon May 22 17:43:20 UTC 2017
--5717-- 
--5717-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--5717-- Page sizes: currently 4096, max supported 4096
--5717-- Valgrind library directory: /home/freddy/install/lib/valgrind
--5717-- Reading syms from /home/freddy/ftdstmp/ftds_comp99/test3/src/tds/unittests/iconv_fread
--5717-- Reading syms from /lib/x86_64-linux-gnu/ld-2.24.so
--5717--   Considering /lib/x86_64-linux-gnu/ld-2.24.so ..
--5717--   .. CRC mismatch (computed 4b0c5a7e wanted 89f5325d)
--5717--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.24.so ..
--5717--   .. CRC is valid
--5717-- Reading syms from /home/freddy/install/lib/valgrind/memcheck-amd64-linux
--5717--    object doesn't have a dynamic symbol table
--5717-- Scheduler: using generic scheduler lock implementation.
--5717-- Reading suppressions file: /home/freddy/suppressions.supp
--5717-- Reading suppressions file: /home/freddy/install/lib/valgrind/default.supp
--5717-- REDIR: 0x401d280 (ld-linux-x86-64.so.2:strlen) redirected to 0x380a60c1 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--5717-- REDIR: 0x401bbd0 (ld-linux-x86-64.so.2:index) redirected to 0x380a60db (vgPlain_amd64_linux_REDIR_FOR_index)
--5717-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_core-amd64-linux.so
--5717-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_memcheck-amd64-linux.so
==5717== WARNING: new redirection conflicts with existing -- ignoring it
--5717--     old: 0x0401d280 (strlen              ) R-> (0000.0) 0x380a60c1 vgPlain_amd64_linux_REDIR_FOR_strlen
--5717--     new: 0x0401d280 (strlen              ) R-> (2007.0) 0x04c30c60 strlen
--5717-- REDIR: 0x401bdf0 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c31d60 (strcmp)
--5717-- REDIR: 0x401dd90 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c35130 (mempcpy)
--5717-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.24.so
--5717--   Considering /usr/lib/debug/.build-id/23/6fbbfd91b7dc1ede76916401a1435a1da42114.debug ..
--5717--   .. build-id is valid
--5717-- Reading syms from /lib/x86_64-linux-gnu/libssl.so.1.0.0
--5717--    object doesn't have a symbol table
--5717-- Reading syms from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
--5717--    object doesn't have a symbol table
--5717-- Reading syms from /lib/x86_64-linux-gnu/libc-2.24.so
--5717--   Considering /lib/x86_64-linux-gnu/libc-2.24.so ..
--5717--   .. CRC mismatch (computed 1f08dfe0 wanted 2cd0873a)
--5717--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.24.so ..
--5717--   .. CRC is valid
--5717-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.24.so
--5717--   Considering /lib/x86_64-linux-gnu/libdl-2.24.so ..
--5717--   .. CRC mismatch (computed 3bce5754 wanted e3d30ea1)
--5717--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.24.so ..
--5717--   .. CRC is valid
--5717-- REDIR: 0x5796020 (libc.so.6:strcasecmp) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x5791990 (libc.so.6:strcspn) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x5798310 (libc.so.6:strncasecmp) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x5793e00 (libc.so.6:strpbrk) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x5794190 (libc.so.6:strspn) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x57956a0 (libc.so.6:memmove) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x57903e0 (libc.so.6:strcmp) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x5795b50 (libc.so.6:memset) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x5794ce0 (libc.so.6:strstr) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x578ff90 (libc.so.6:strcat) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x5790190 (libc.so.6:index) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x5791870 (libc.so.6:strcpy) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x5795260 (libc.so.6:bcmp) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x579aa10 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--5717-- REDIR: 0x5793b10 (libc.so.6:rindex) redirected to 0x4c305f0 (rindex)
--5717-- REDIR: 0x5791e30 (libc.so.6:strlen) redirected to 0x4c30ba0 (strlen)
--5717-- REDIR: 0x578b950 (libc.so.6:calloc) redirected to 0x4c2f9ba (calloc)
--5717-- REDIR: 0x578ad30 (libc.so.6:malloc) redirected to 0x4c2db1f (malloc)
--5717-- REDIR: 0x5794740 (libc.so.6:__GI_strstr) redirected to 0x4c35390 (__strstr_sse2)
--5717-- REDIR: 0x5794f10 (libc.so.6:memchr) redirected to 0x4c31e00 (memchr)
--5717-- REDIR: 0x57957b0 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4c31ec0 (memcpy@GLIBC_2.2.5)
--5717-- REDIR: 0x57901c0 (libc.so.6:__GI_strchr) redirected to 0x4c30750 (__GI_strchr)
--5717-- REDIR: 0x5851ac0 (libc.so.6:__strcasecmp_avx) redirected to 0x4c314a0 (strcasecmp)
--5717-- REDIR: 0x578b0e0 (libc.so.6:free) redirected to 0x4c2eccc (free)
--5717-- REDIR: 0x5854b70 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4c343c0 (memmove)
--5717-- REDIR: 0x5792280 (libc.so.6:__GI_strncmp) redirected to 0x4c31350 (__GI_strncmp)
--5717-- REDIR: 0x57a54c0 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c31c20 (strcmp)
--5717-- REDIR: 0x5790420 (libc.so.6:__GI_strcmp) redirected to 0x4c31c70 (__GI_strcmp)
--5717-- REDIR: 0x5795790 (libc.so.6:__GI_mempcpy) redirected to 0x4c34e60 (__GI_mempcpy)
--5717-- Reading syms from /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so
--5717--   Considering /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so ..
--5717--   .. CRC mismatch (computed 42bfc197 wanted a6d47097)
--5717--   Considering /usr/lib/debug/usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so ..
--5717--   .. CRC is valid
--5717-- REDIR: 0x401e060 (ld-linux-x86-64.so.2:stpcpy) redirected to 0x4c340c0 (stpcpy)
--5717-- REDIR: 0x578b300 (libc.so.6:realloc) redirected to 0x4c2fbb3 (realloc)
--5717-- REDIR: 0x5854fb0 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4c342c0 (memset)
--5717-- REDIR: 0x586fac0 (libc.so.6:__memcmp_sse4_1) redirected to 0x4c33aa0 (__memcmp_sse4_1)
--5717-- REDIR: 0x579c3c0 (libc.so.6:strchrnul) redirected to 0x4c34c60 (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
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
--5717-- REDIR: 0x57aa110 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c30c80 (strcpy)
--5717-- Discarding syms at 0x60d05e0-0x60d10ba in /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so due to munmap()
==5717== 
==5717== HEAP SUMMARY:
==5717==     in use at exit: 0 bytes in 0 blocks
==5717==   total heap usage: 445 allocs, 445 frees, 1,190,150 bytes allocated
==5717== 
==5717== All heap blocks were freed -- no leaks are possible
==5717== 
==5717== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==5717== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Main