src/tds/unittests/numeric

Main

Hostnamekrb5.freetds.io
uname -aLinux krb5.freetds.io 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
date2020-07-22

==22167== Memcheck, a memory error detector
==22167== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22167== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==22167== Command: ./numeric
==22167== 
--22167-- Valgrind options:
--22167--    --tool=memcheck
--22167--    --vgdb=no
--22167--    --num-callers=20
--22167--    --leak-check=yes
--22167--    -v
--22167--    --show-reachable=yes
--22167--    --log-fd=3
--22167--    --suppressions=/home/test/suppressions.supp
--22167--    --track-origins=yes
--22167-- Contents of /proc/version:
--22167--   Linux version 4.15.0-112-generic (buildd@lcy01-amd64-027) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020
--22167-- 
--22167-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--22167-- Page sizes: currently 4096, max supported 4096
--22167-- Valgrind library directory: /usr/lib/valgrind
--22167-- Reading syms from /home/test/ftdstmp/ftds_comp99/test5/src/tds/unittests/numeric
--22167-- Reading syms from /lib/x86_64-linux-gnu/ld-2.27.so
--22167--   Considering /lib/x86_64-linux-gnu/ld-2.27.so ..
--22167--   .. CRC mismatch (computed ac9397f6 wanted d0d82632)
--22167--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.27.so ..
--22167--   .. CRC is valid
--22167-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux
--22167--   Considering /usr/lib/valgrind/memcheck-amd64-linux ..
--22167--   .. CRC mismatch (computed 41ddb025 wanted 9972f546)
--22167--    object doesn't have a symbol table
--22167--    object doesn't have a dynamic symbol table
--22167-- Scheduler: using generic scheduler lock implementation.
--22167-- Reading suppressions file: /home/test/suppressions.supp
--22167-- Reading suppressions file: /usr/lib/valgrind/default.supp
--22167-- REDIR: 0x401f320 (ld-linux-x86-64.so.2:strlen) redirected to 0x580608c1 (???)
--22167-- REDIR: 0x401f100 (ld-linux-x86-64.so.2:index) redirected to 0x580608db (???)
--22167-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
--22167--   Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--22167--   .. CRC mismatch (computed 50df1b30 wanted 4800a4cf)
--22167--    object doesn't have a symbol table
--22167-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
--22167--   Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
--22167--   .. CRC mismatch (computed f893b962 wanted 95ee359e)
--22167--    object doesn't have a symbol table
==22167== WARNING: new redirection conflicts with existing -- ignoring it
--22167--     old: 0x0401f320 (strlen              ) R-> (0000.0) 0x580608c1 ???
--22167--     new: 0x0401f320 (strlen              ) R-> (2007.0) 0x04c32db0 strlen
--22167-- REDIR: 0x401d390 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c33ee0 (strcmp)
--22167-- REDIR: 0x401f860 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c374f0 (mempcpy)
--22167-- Reading syms from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
--22167--    object doesn't have a symbol table
--22167-- Reading syms from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
--22167--    object doesn't have a symbol table
--22167-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.27.so
--22167--   Considering /usr/lib/debug/.build-id/bc/3c06107774266c5f7db3f1f380a3da68af90fa.debug ..
--22167--   .. build-id is valid
--22167-- Reading syms from /lib/x86_64-linux-gnu/libc-2.27.so
--22167--   Considering /lib/x86_64-linux-gnu/libc-2.27.so ..
--22167--   .. CRC mismatch (computed c2c067b2 wanted d73adc7f)
--22167--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.27.so ..
--22167--   .. CRC is valid
--22167-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.27.so
--22167--   Considering /lib/x86_64-linux-gnu/libdl-2.27.so ..
--22167--   .. CRC mismatch (computed 415bd007 wanted 4d6f4a12)
--22167--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.27.so ..
--22167--   .. CRC is valid
--22167-- REDIR: 0x5851ce0 (libc.so.6:memmove) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5850db0 (libc.so.6:strncpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5851fc0 (libc.so.6:strcasecmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5850800 (libc.so.6:strcat) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5850de0 (libc.so.6:rindex) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5853830 (libc.so.6:rawmemchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5851e50 (libc.so.6:mempcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5851c80 (libc.so.6:bcmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5850d70 (libc.so.6:strncmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5850870 (libc.so.6:strcmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5851db0 (libc.so.6:memset) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x586f160 (libc.so.6:wcschr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5850d10 (libc.so.6:strnlen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x58508e0 (libc.so.6:strcspn) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5852010 (libc.so.6:strncasecmp) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x58508b0 (libc.so.6:strcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5852150 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5850e10 (libc.so.6:strpbrk) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5850830 (libc.so.6:index) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5850ce0 (libc.so.6:strlen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x585b730 (libc.so.6:memrchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5852060 (libc.so.6:strcasecmp_l) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5851c50 (libc.so.6:memchr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x586ff20 (libc.so.6:wcslen) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x58510c0 (libc.so.6:strspn) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5851f90 (libc.so.6:stpncpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5851f60 (libc.so.6:stpcpy) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5853860 (libc.so.6:strchrnul) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x58520b0 (libc.so.6:strncasecmp_l) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x58e4a50 (libc.so.6:__memcpy_chk) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5851b90 (libc.so.6:strstr) redirected to 0x4a2a6e0 (_vgnU_ifunc_wrapper)
--22167-- REDIR: 0x5941630 (libc.so.6:__strrchr_avx2) redirected to 0x4c32730 (rindex)
--22167-- REDIR: 0x5941800 (libc.so.6:__strlen_avx2) redirected to 0x4c32cf0 (strlen)
--22167-- REDIR: 0x5941d40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4c366e0 (memmove)
--22167-- REDIR: 0x59421c0 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4c365d0 (memset)
--22167-- REDIR: 0x5941210 (libc.so.6:__strchr_avx2) redirected to 0x4c32950 (index)
--22167-- REDIR: 0x591cfd0 (libc.so.6:__strcmp_ssse3) redirected to 0x4c33da0 (strcmp)
--22167-- REDIR: 0x5941440 (libc.so.6:__strchrnul_avx2) redirected to 0x4c37020 (strchrnul)
--22167-- REDIR: 0x584a0e0 (libc.so.6:malloc) redirected to 0x4c2faa0 (malloc)
--22167-- REDIR: 0x5941d20 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4c37130 (mempcpy)
--22167-- REDIR: 0x5938780 (libc.so.6:__strncmp_sse42) redirected to 0x4c33570 (__strncmp_sse42)
--22167-- REDIR: 0x592ebc0 (libc.so.6:__strcpy_ssse3) redirected to 0x4c32dd0 (strcpy)
--22167-- REDIR: 0x584a9c0 (libc.so.6:free) redirected to 0x4c30cd0 (free)
1234 -> 1234.00 ok!
1234.1234 -> 1234.123 ok!
1234.1234 -> 1234.123400000000 ok!
1234 -> 1234.000 ok!
1234.1234 -> 1234.1234 ok!
1234.1234 -> 1234.1234000000000 ok!
1234 -> 1234.0000 ok!
1234.1234 -> 1234.12340 ok!
1234.1234 -> 1234.12340000000000 ok!
1234 -> 1234.00000 ok!
1234.1234 -> 1234.123400 ok!
1234.1234 -> 1234.123400000000000 ok!
1234 -> 1234.000000 ok!
1234.1234 -> 1234.1234000 ok!
1234.1234 -> 1234.1234000000000000 ok!
1234 -> 1234.0000000 ok!
1234.1234 -> 1234.12340000 ok!
1234.1234 -> 1234.12340000000000000 ok!
1234 -> 1234.00000000 ok!
1234.1234 -> 1234.123400000 ok!
1234.1234 -> 1234.123400000000000000 ok!
1234 -> 1234.000000000 ok!
1234.1234 -> 1234.1234000000 ok!
1234.1234 -> 1234.1234000000000000000 ok!
1234 -> 1234.0000000000 ok!
1234.1234 -> 1234.12340000000 ok!
1234.1234 -> 1234.12340000000000000000 ok!
1234 -> 1234.00000000000 ok!
1234.1234 -> 1234.123400000000 ok!
1234.1234 -> 1234.123400000000000000000 ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> 1234 ok!
1234.765 -> 1234.76 ok!
765432.2 -> 765432.20 ok!
765432.2 -> 765432.20 ok!
765432.2 -> error ok!
10000000000000000000000000 -> error ok!
1000000000000000000 -> error ok!
10000000000000000 -> 10000000000000000 ok!
10000000000000000 -> error ok!
All passed!
==22167== 
==22167== HEAP SUMMARY:
==22167==     in use at exit: 0 bytes in 0 blocks
==22167==   total heap usage: 24 allocs, 24 frees, 16,358 bytes allocated
==22167== 
==22167== All heap blocks were freed -- no leaks are possible
==22167== 
==22167== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==22167== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Main