src/tds/unittests/t0007

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

==4332== Memcheck, a memory error detector
==4332== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==4332== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==4332== Command: ./t0007
==4332== 
--4332-- Valgrind options:
--4332--    --tool=memcheck
--4332--    --vgdb=no
--4332--    --num-callers=20
--4332--    --leak-check=yes
--4332--    -v
--4332--    --show-reachable=yes
--4332--    --log-fd=3
--4332--    --suppressions=/home/freddy/suppressions.supp
--4332--    --track-origins=yes
--4332-- Contents of /proc/version:
--4332--   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
--4332-- 
--4332-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--4332-- Page sizes: currently 4096, max supported 4096
--4332-- Valgrind library directory: /home/freddy/install/lib/valgrind
--4332-- Reading syms from /home/freddy/ftdstmp/ftds_comp99m/test3/src/tds/unittests/t0007
--4332-- Reading syms from /lib/x86_64-linux-gnu/ld-2.24.so
--4332--   Considering /lib/x86_64-linux-gnu/ld-2.24.so ..
--4332--   .. CRC mismatch (computed 4b0c5a7e wanted 89f5325d)
--4332--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.24.so ..
--4332--   .. CRC is valid
--4332-- Reading syms from /home/freddy/install/lib/valgrind/memcheck-amd64-linux
--4332--    object doesn't have a dynamic symbol table
--4332-- Scheduler: using generic scheduler lock implementation.
--4332-- Reading suppressions file: /home/freddy/suppressions.supp
--4332-- Reading suppressions file: /home/freddy/install/lib/valgrind/default.supp
--4332-- REDIR: 0x401d280 (ld-linux-x86-64.so.2:strlen) redirected to 0x380a60c1 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--4332-- REDIR: 0x401bbd0 (ld-linux-x86-64.so.2:index) redirected to 0x380a60db (vgPlain_amd64_linux_REDIR_FOR_index)
--4332-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_core-amd64-linux.so
--4332-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_memcheck-amd64-linux.so
==4332== WARNING: new redirection conflicts with existing -- ignoring it
--4332--     old: 0x0401d280 (strlen              ) R-> (0000.0) 0x380a60c1 vgPlain_amd64_linux_REDIR_FOR_strlen
--4332--     new: 0x0401d280 (strlen              ) R-> (2007.0) 0x04c30c60 strlen
--4332-- REDIR: 0x401bdf0 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c31d60 (strcmp)
--4332-- REDIR: 0x401dd90 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c35130 (mempcpy)
--4332-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.24.so
--4332--   Considering /usr/lib/debug/.build-id/23/6fbbfd91b7dc1ede76916401a1435a1da42114.debug ..
--4332--   .. build-id is valid
--4332-- Reading syms from /usr/lib/x86_64-linux-gnu/libhogweed.so.4.3
--4332--   Considering /usr/lib/x86_64-linux-gnu/libhogweed.so.4.3 ..
--4332--   .. CRC mismatch (computed 1c1c4eea wanted e638266c)
--4332--   Considering /usr/lib/debug/usr/lib/x86_64-linux-gnu/libhogweed.so.4.3 ..
--4332--   .. CRC is valid
--4332-- Reading syms from /usr/lib/x86_64-linux-gnu/libgnutls.so.30.12.0
--4332--    object doesn't have a symbol table
--4332-- Reading syms from /usr/lib/x86_64-linux-gnu/libnettle.so.6.3
--4332--   Considering /usr/lib/x86_64-linux-gnu/libnettle.so.6.3 ..
--4332--   .. CRC mismatch (computed f637150f wanted 8461f423)
--4332--   Considering /usr/lib/debug/usr/lib/x86_64-linux-gnu/libnettle.so.6.3 ..
--4332--   .. CRC is valid
--4332-- Reading syms from /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
--4332--    object doesn't have a symbol table
--4332-- Reading syms from /lib/x86_64-linux-gnu/libc-2.24.so
--4332--   Considering /lib/x86_64-linux-gnu/libc-2.24.so ..
--4332--   .. CRC mismatch (computed 1f08dfe0 wanted 2cd0873a)
--4332--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.24.so ..
--4332--   .. CRC is valid
--4332-- Reading syms from /lib/x86_64-linux-gnu/libz.so.1.2.11
--4332--    object doesn't have a symbol table
--4332-- Reading syms from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.2.0
--4332--    object doesn't have a symbol table
--4332-- Reading syms from /lib/x86_64-linux-gnu/libidn.so.11.6.16
--4332--    object doesn't have a symbol table
--4332-- Reading syms from /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.3
--4332--    object doesn't have a symbol table
--4332-- Reading syms from /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
--4332--    object doesn't have a symbol table
--4332-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.24.so
--4332--   Considering /lib/x86_64-linux-gnu/libdl-2.24.so ..
--4332--   .. CRC mismatch (computed 3bce5754 wanted e3d30ea1)
--4332--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.24.so ..
--4332--   .. CRC is valid
--4332-- REDIR: 0x5b32020 (libc.so.6:strcasecmp) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b2d990 (libc.so.6:strcspn) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b34310 (libc.so.6:strncasecmp) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b2fe00 (libc.so.6:strpbrk) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b30190 (libc.so.6:strspn) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b316a0 (libc.so.6:memmove) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b2d870 (libc.so.6:strcpy) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b31e70 (libc.so.6:stpcpy) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b2c190 (libc.so.6:index) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b31b50 (libc.so.6:memset) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b2e1f0 (libc.so.6:strncat) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b2c3e0 (libc.so.6:strcmp) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5bb82a0 (libc.so.6:__memcpy_chk) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b36a10 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b2bf90 (libc.so.6:strcat) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b2fad0 (libc.so.6:strncpy) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b2e230 (libc.so.6:strncmp) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b31260 (libc.so.6:bcmp) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b30ce0 (libc.so.6:strstr) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--4332-- REDIR: 0x5b2fb10 (libc.so.6:rindex) redirected to 0x4c305f0 (rindex)
--4332-- REDIR: 0x5b2de30 (libc.so.6:strlen) redirected to 0x4c30ba0 (strlen)
--4332-- REDIR: 0x5b2e280 (libc.so.6:__GI_strncmp) redirected to 0x4c31350 (__GI_strncmp)
--4332-- REDIR: 0x5b26d30 (libc.so.6:malloc) redirected to 0x4c2db1f (malloc)
--4332-- REDIR: 0x5b317b0 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4c31ec0 (memcpy@GLIBC_2.2.5)
--4332-- REDIR: 0x5b2c420 (libc.so.6:__GI_strcmp) redirected to 0x4c31c70 (__GI_strcmp)
--4332-- REDIR: 0x5b27950 (libc.so.6:calloc) redirected to 0x4c2f9ba (calloc)
--4332-- REDIR: 0x5bf0b70 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4c343c0 (memmove)
--4332-- REDIR: 0x5b2c1c0 (libc.so.6:__GI_strchr) redirected to 0x4c30750 (__GI_strchr)
--4332-- REDIR: 0x5bf0b60 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x4c35220 (__memcpy_chk)
--4332-- REDIR: 0x5b414c0 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c31c20 (strcmp)
--4332-- REDIR: 0x5b270e0 (libc.so.6:free) redirected to 0x4c2eccc (free)
--4332-- REDIR: 0x5c0bac0 (libc.so.6:__memcmp_sse4_1) redirected to 0x4c33aa0 (__memcmp_sse4_1)
--4332-- REDIR: 0x5b30740 (libc.so.6:__GI_strstr) redirected to 0x4c35390 (__strstr_sse2)
--4332-- REDIR: 0x5b30f10 (libc.so.6:memchr) redirected to 0x4c31e00 (memchr)
--4332-- REDIR: 0x5bedac0 (libc.so.6:__strcasecmp_avx) redirected to 0x4c314a0 (strcasecmp)
some checks...
--4332-- REDIR: 0x5b383c0 (libc.so.6:strchrnul) redirected to 0x4c34c60 (strchrnul)
--4332-- REDIR: 0x5b31790 (libc.so.6:__GI_mempcpy) redirected to 0x4c34e60 (__GI_mempcpy)
1234
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...
--4332-- REDIR: 0x5b381b0 (libc.so.6:rawmemchr) redirected to 0x4c34c90 (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
38717 0
38717 0
38717 0
38717 0
38717 0
38717
13588901
38717
13588901
38717
13588901
0x0000000a8bdf41a9
0x00e0e7c784d661a9
0x00e0e621122b81a9
--4332-- REDIR: 0x5b4a7b0 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4c35320 (strstr)
--4332-- REDIR: 0x5b46110 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c30c80 (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
--4332-- REDIR: 0x5bf0fb0 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4c342c0 (memset)
==4332== 
==4332== HEAP SUMMARY:
==4332==     in use at exit: 0 bytes in 0 blocks
==4332==   total heap usage: 1,538 allocs, 1,538 frees, 127,710 bytes allocated
==4332== 
==4332== All heap blocks were freed -- no leaks are possible
==4332== 
==4332== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==4332== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Main