src/tds/unittests/t0007

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

==22250== Memcheck, a memory error detector
==22250== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==22250== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info
==22250== Command: ./t0007
==22250== 
--22250-- Valgrind options:
--22250--    --tool=memcheck
--22250--    --vgdb=no
--22250--    --num-callers=20
--22250--    --leak-check=yes
--22250--    -v
--22250--    --show-reachable=yes
--22250--    --log-fd=3
--22250--    --suppressions=/home/freddy/suppressions.supp
--22250--    --track-origins=yes
--22250-- Contents of /proc/version:
--22250--   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
--22250-- 
--22250-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--22250-- Page sizes: currently 4096, max supported 4096
--22250-- Valgrind library directory: /home/freddy/install/lib/valgrind
--22250-- Reading syms from /home/freddy/ftdstmp/ftds_comp100/test5/src/tds/unittests/t0007
--22250-- Reading syms from /lib/x86_64-linux-gnu/ld-2.23.so
--22250--   Considering /lib/x86_64-linux-gnu/ld-2.23.so ..
--22250--   .. CRC mismatch (computed d3da0723 wanted a1c29704)
--22250--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.23.so ..
--22250--   .. CRC is valid
--22250-- Reading syms from /home/freddy/install/lib/valgrind/memcheck-amd64-linux
--22250--    object doesn't have a dynamic symbol table
--22250-- Scheduler: using generic scheduler lock implementation.
--22250-- Reading suppressions file: /home/freddy/suppressions.supp
--22250-- Reading suppressions file: /home/freddy/install/lib/valgrind/default.supp
--22250-- REDIR: 0x401cdc0 (ld-linux-x86-64.so.2:strlen) redirected to 0x3809ecf1 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--22250-- REDIR: 0x401b710 (ld-linux-x86-64.so.2:index) redirected to 0x3809ed0b (vgPlain_amd64_linux_REDIR_FOR_index)
--22250-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_core-amd64-linux.so
--22250-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_memcheck-amd64-linux.so
==22250== WARNING: new redirection conflicts with existing -- ignoring it
--22250--     old: 0x0401cdc0 (strlen              ) R-> (0000.0) 0x3809ecf1 vgPlain_amd64_linux_REDIR_FOR_strlen
--22250--     new: 0x0401cdc0 (strlen              ) R-> (2007.0) 0x04c30a90 strlen
--22250-- REDIR: 0x401b930 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c31b40 (strcmp)
--22250-- REDIR: 0x401db20 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c34d20 (mempcpy)
--22250-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.23.so
--22250--   Considering /usr/lib/debug/.build-id/b7/7847cc9cacbca3b5753d0d25a32e5795afe75b.debug ..
--22250--   .. build-id is valid
--22250-- Reading syms from /lib/x86_64-linux-gnu/libssl.so.1.0.0
--22250--    object doesn't have a symbol table
--22250-- Reading syms from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
--22250--    object doesn't have a symbol table
--22250-- Reading syms from /lib/x86_64-linux-gnu/libc-2.23.so
--22250--   Considering /lib/x86_64-linux-gnu/libc-2.23.so ..
--22250--   .. CRC mismatch (computed 2adb2e50 wanted 9b73f606)
--22250--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.23.so ..
--22250--   .. CRC is valid
--22250-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.23.so
--22250--   Considering /lib/x86_64-linux-gnu/libdl-2.23.so ..
--22250--   .. CRC mismatch (computed b7ff3c20 wanted 623a46c3)
--22250--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.23.so ..
--22250--   .. CRC is valid
--22250-- REDIR: 0x57a8fd0 (libc.so.6:strcasecmp) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57a4850 (libc.so.6:strcspn) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57ab2c0 (libc.so.6:strncasecmp) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57a6cc0 (libc.so.6:strpbrk) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57a7050 (libc.so.6:strspn) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57a871b (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57a32a0 (libc.so.6:strcmp) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57a69d0 (libc.so.6:rindex) redirected to 0x4c30410 (rindex)
--22250-- REDIR: 0x57a4cf0 (libc.so.6:strlen) redirected to 0x4c309d0 (strlen)
--22250-- REDIR: 0x579d550 (libc.so.6:malloc) redirected to 0x4c2db2f (malloc)
--22250-- REDIR: 0x57ad9c0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x58676d0 (libc.so.6:__memcpy_avx_unaligned) redirected to 0x4c31f10 (memcpy@@GLIBC_2.14)
--22250-- REDIR: 0x57a8780 (libc.so.6:memset) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x588c1a0 (libc.so.6:__memset_avx2) redirected to 0x4c33f30 (memset)
--22250-- REDIR: 0x57a8180 (libc.so.6:bcmp) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x5887c60 (libc.so.6:__memcmp_sse4_1) redirected to 0x4c33740 (__memcmp_sse4_1)
--22250-- REDIR: 0x579da70 (libc.so.6:free) redirected to 0x4c2ec29 (free)
--22250-- REDIR: 0x579e290 (libc.so.6:calloc) redirected to 0x4c2f8b2 (calloc)
--22250-- REDIR: 0x57a6990 (libc.so.6:strncpy) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57bf5d0 (libc.so.6:__strncpy_sse2_unaligned) redirected to 0x4c30fe0 (__strncpy_sse2_unaligned)
--22250-- REDIR: 0x57a8e20 (libc.so.6:stpcpy) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57c05b0 (libc.so.6:__stpcpy_sse2_unaligned) redirected to 0x4c33b90 (__stpcpy_sse2_unaligned)
--22250-- REDIR: 0x57a7630 (libc.so.6:__GI_strstr) redirected to 0x4c34f80 (__strstr_sse2)
--22250-- REDIR: 0x57a7e30 (libc.so.6:memchr) redirected to 0x4c31be0 (memchr)
--22250-- REDIR: 0x57ada40 (libc.so.6:__GI_memcpy) redirected to 0x4c32570 (__GI_memcpy)
--22250-- REDIR: 0x57a3050 (libc.so.6:index) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57a3080 (libc.so.6:__GI_strchr) redirected to 0x4c30570 (__GI_strchr)
--22250-- REDIR: 0x58641b0 (libc.so.6:__strcasecmp_avx) redirected to 0x4c312d0 (strcasecmp)
some checks...
--22250-- REDIR: 0x57afd30 (libc.so.6:strchrnul) redirected to 0x4c34850 (strchrnul)
--22250-- REDIR: 0x57a8980 (libc.so.6:__GI_mempcpy) redirected to 0x4c34a50 (__GI_mempcpy)
1234
--22250-- REDIR: 0x57b8b40 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c31a00 (strcmp)
1234
123
123
-1234
error
0
0
123
123
123
123
0
0
error
error
error
error
error
error
error
error
0xfffffffffffffb2e
error
error
0x0000000000000000
0x0000000000000000
0x000000000000007b
0x000000000000007b
0x000000000000007b
0x000000000000007b
0x000000000000007b
0x000000000000007b
error
error
error
error
error
error
error
error
overflow checks...
0x7fffffffffffffff
0x7fffffffffffffff
error
0x8000000000000000
0x8000000000000000
0xfffffffffffffffa
0xfffffffffffffffb
0xfffffffffffffffc
0xfffffffffffffffd
0xfffffffffffffffe
0xffffffffffffffff
error
error
error
error
error
error
error
error
error
2147483647
error
2147483647
4294967295
error
-2147483648
error
error
32767
32767
65535
error
error
-32768
error
255
error
255
error
0
error
0
error
overflow on big number checks...
error
error
error
error
error
error
error
error
len=7 1234.11
unique type...
12345678-1234-1234-9876543298765432
12345678-1234-1E34-9876AB3298765432
error
error
error
12345678-1234-A234-9876543298765432
error
error
binary test...
--22250-- REDIR: 0x57afb20 (libc.so.6:rawmemchr) redirected to 0x4c34880 (rawmemchr)
len=2 12 34
len=2 AB FD
len=2 AB FD
len=2 00 00
len=1 00
len=2 01 00
len=1 01
38716 0
38716 0
38414 0
37022 0
--22250-- REDIR: 0x582f950 (libc.so.6:__memcpy_chk) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x58676c0 (libc.so.6:__memcpy_chk_avx_unaligned) redirected to 0x4c34e10 (__memcpy_chk)
38717 0
38717 0
38717 0
38717 0
38717 0
38717
13588901
38717
13588901
38717
13588901
0x0000000a8bdf41a9
0x00e0e7c784d661a9
0x00e0e621122b81a9
--22250-- REDIR: 0x57a7c00 (libc.so.6:strstr) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57c3640 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4c34f10 (strstr)
--22250-- REDIR: 0x57a4730 (libc.so.6:strcpy) redirected to 0x4a28770 (_vgnU_ifunc_wrapper)
--22250-- REDIR: 0x57befa0 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c30ab0 (strcpy)
len=26 2006-01-02 12:34:56.337765
0x00e0e621122b8365
38717
13588901
len=27 2006-01-02 12:34:56.3370000
len=23 2006-01-02 00:00:00.000
len=23 1900-01-01 12:34:56.337
len=1 7B
len=2 39 30
len=4 15 CD 5B 07
len=8 15 CD 5B 07 00 00 00 00
len=8 15 CD 5B 07 00 00 00 00
len=8 EB 32 A4 F8 FF FF FF FF
--22250-- REDIR: 0x582fbc0 (libc.so.6:__strcpy_chk) redirected to 0x4c348c0 (__strcpy_chk)
--22250-- REDIR: 0x58671e0 (libc.so.6:__memmove_avx_unaligned) redirected to 0x4c31ca0 (memcpy@GLIBC_2.2.5)
--22250-- REDIR: 0x57a5140 (libc.so.6:__GI_strncmp) redirected to 0x4c31180 (__GI_strncmp)
==22250== 
==22250== HEAP SUMMARY:
==22250==     in use at exit: 1,824 bytes in 27 blocks
==22250==   total heap usage: 1,827 allocs, 1,800 frees, 241,826 bytes allocated
==22250== 
==22250== Searching for pointers to 27 not-freed blocks
==22250== Checked 298,272 bytes
==22250== 
==22250== LEAK SUMMARY:
==22250==    definitely lost: 0 bytes in 0 blocks
==22250==    indirectly lost: 0 bytes in 0 blocks
==22250==      possibly lost: 0 bytes in 0 blocks
==22250==    still reachable: 0 bytes in 0 blocks
==22250==         suppressed: 1,824 bytes in 27 blocks
==22250== 
==22250== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
--22250-- 
--22250-- used_suppression:     26 openssl leak 4 /home/freddy/suppressions.supp:27 suppressed: 1,792 bytes in 26 blocks
--22250-- used_suppression:      1 openssl leak 5 /home/freddy/suppressions.supp:38 suppressed: 32 bytes in 1 blocks
==22250== 
==22250== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Main