src/ctlib/unittests/cancel

Main

Hostnamekrb5.freetds.io
uname -aLinux krb5.freetds.io 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
date2025-12-14

==16664== Memcheck, a memory error detector
==16664== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==16664== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==16664== Command: ./cancel
==16664== 
--16664-- Valgrind options:
--16664--    --tool=memcheck
--16664--    --vgdb=no
--16664--    --num-callers=20
--16664--    --leak-check=yes
--16664--    -v
--16664--    --show-reachable=yes
--16664--    --log-fd=3
--16664--    --suppressions=/home/test/suppressions.supp
--16664--    --track-origins=yes
--16664-- Contents of /proc/version:
--16664--   Linux version 4.15.0-213-generic (buildd@lcy02-amd64-079) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023
--16664-- 
--16664-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--16664-- Page sizes: currently 4096, max supported 4096
--16664-- Valgrind library directory: /usr/lib/valgrind
--16664-- Reading syms from /home/test/ftdstmp/ftds_comp99m/test5/src/ctlib/unittests/cancel
--16664-- Reading syms from /lib/x86_64-linux-gnu/ld-2.27.so
--16664--   Considering /lib/x86_64-linux-gnu/ld-2.27.so ..
--16664--   .. CRC mismatch (computed 2977d8b2 wanted c64f09ed)
--16664--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.27.so ..
--16664--   .. CRC is valid
--16664-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux
--16664--   Considering /usr/lib/valgrind/memcheck-amd64-linux ..
--16664--   .. CRC mismatch (computed 41ddb025 wanted 9972f546)
--16664--    object doesn't have a symbol table
--16664--    object doesn't have a dynamic symbol table
--16664-- Scheduler: using generic scheduler lock implementation.
--16664-- Reading suppressions file: /home/test/suppressions.supp
--16664-- Reading suppressions file: /usr/lib/valgrind/default.supp
--16664-- REDIR: 0x4020d20 (ld-linux-x86-64.so.2:strlen) redirected to 0x580608c1 (???)
--16664-- REDIR: 0x4020b00 (ld-linux-x86-64.so.2:index) redirected to 0x580608db (???)
--16664-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
--16664--   Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--16664--   .. CRC mismatch (computed 50df1b30 wanted 4800a4cf)
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
--16664--   Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
--16664--   .. CRC mismatch (computed f893b962 wanted 95ee359e)
--16664--    object doesn't have a symbol table
==16664== WARNING: new redirection conflicts with existing -- ignoring it
--16664--     old: 0x04020d20 (strlen              ) R-> (0000.0) 0x580608c1 ???
--16664--     new: 0x04020d20 (strlen              ) R-> (2007.0) 0x04c34db0 strlen
--16664-- REDIR: 0x401d540 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c35ee0 (strcmp)
--16664-- REDIR: 0x4021260 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c394f0 (mempcpy)
--16664-- Reading syms from /home/test/ftdstmp/ftds_comp99m/src/ctlib/.libs/libct.so.4.0.0
--16664-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.27.so
--16664--   Considering /usr/lib/debug/.build-id/1f/06001733b9be9478b105faf0dac6bdf36c85de.debug ..
--16664--   .. build-id is valid
--16664-- Reading syms from /lib/x86_64-linux-gnu/libc-2.27.so
--16664--   Considering /lib/x86_64-linux-gnu/libc-2.27.so ..
--16664--   .. CRC mismatch (computed f250d419 wanted 4aacab51)
--16664--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.27.so ..
--16664--   .. CRC is valid
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libhogweed.so.4.5
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libnettle.so.6.5
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.2
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /lib/x86_64-linux-gnu/libcom_err.so.2.1
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /lib/x86_64-linux-gnu/libz.so.1.2.11
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.3.0
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libidn2.so.0.3.3
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libunistring.so.2.1.0
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.5
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /lib/x86_64-linux-gnu/libkeyutils.so.1.5
--16664--    object doesn't have a symbol table
--16664-- Reading syms from /lib/x86_64-linux-gnu/libresolv-2.27.so
--16664--   Considering /lib/x86_64-linux-gnu/libresolv-2.27.so ..
--16664--   .. CRC mismatch (computed 0da9c5d1 wanted b111a73d)
--16664--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libresolv-2.27.so ..
--16664--   .. CRC is valid
--16664-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.27.so
--16664--   Considering /lib/x86_64-linux-gnu/libdl-2.27.so ..
--16664--   .. CRC mismatch (computed 56b0b30d wanted 7867693f)
--16664--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.27.so ..
--16664--   .. CRC is valid
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
--16664--    object doesn't have a symbol table
--16664-- REDIR: 0x53bda50 (libc.so.6:memmove) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bcd60 (libc.so.6:strncpy) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bdd30 (libc.so.6:strcasecmp) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bc7b0 (libc.so.6:strcat) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bcd90 (libc.so.6:rindex) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bf480 (libc.so.6:rawmemchr) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bdbc0 (libc.so.6:mempcpy) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bd9f0 (libc.so.6:bcmp) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bcd20 (libc.so.6:strncmp) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bc820 (libc.so.6:strcmp) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bdb20 (libc.so.6:memset) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53dadb0 (libc.so.6:wcschr) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bccc0 (libc.so.6:strnlen) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bc890 (libc.so.6:strcspn) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bdd80 (libc.so.6:strncasecmp) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bc860 (libc.so.6:strcpy) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bdec0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bcdc0 (libc.so.6:strpbrk) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bc7e0 (libc.so.6:index) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bcc90 (libc.so.6:strlen) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53c7380 (libc.so.6:memrchr) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bddd0 (libc.so.6:strcasecmp_l) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bd9c0 (libc.so.6:memchr) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53dbb70 (libc.so.6:wcslen) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bd070 (libc.so.6:strspn) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bdd00 (libc.so.6:stpncpy) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bdcd0 (libc.so.6:stpcpy) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bf4b0 (libc.so.6:strchrnul) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bde20 (libc.so.6:strncasecmp_l) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x53bccf0 (libc.so.6:strncat) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x5450700 (libc.so.6:__memcpy_chk) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x54507d0 (libc.so.6:__memmove_chk) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
==16664== WARNING: new redirection conflicts with existing -- ignoring it
--16664--     old: 0x054ad980 (__memcpy_chk_avx_una) R-> (2030.0) 0x04c395e0 __memcpy_chk
--16664--     new: 0x054ad980 (__memcpy_chk_avx_una) R-> (2024.0) 0x04c38fa0 __memmove_chk
--16664-- REDIR: 0x53bd900 (libc.so.6:strstr) redirected to 0x4a2c6e0 (_vgnU_ifunc_wrapper)
--16664-- REDIR: 0x54ad280 (libc.so.6:__strrchr_avx2) redirected to 0x4c34730 (rindex)
--16664-- REDIR: 0x54ad450 (libc.so.6:__strlen_avx2) redirected to 0x4c34cf0 (strlen)
--16664-- REDIR: 0x53b6020 (libc.so.6:malloc) redirected to 0x4c31aa0 (malloc)
--16664-- REDIR: 0x54ad990 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4c386e0 (memmove)
--16664-- REDIR: 0x53c8b30 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c35da0 (strcmp)
--16664-- REDIR: 0x53b9050 (libc.so.6:calloc) redirected to 0x4c33a70 (calloc)
--16664-- REDIR: 0x54ace60 (libc.so.6:__strchr_avx2) redirected to 0x4c34950 (index)
--16664-- REDIR: 0x54ad980 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x4c395e0 (__memcpy_chk)
--16664-- REDIR: 0x53b6910 (libc.so.6:free) redirected to 0x4c32cd0 (free)
--16664-- REDIR: 0x54ad090 (libc.so.6:__strchrnul_avx2) redirected to 0x4c39020 (strchrnul)
--16664-- REDIR: 0x54ad970 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4c39130 (mempcpy)
--16664-- REDIR: 0x5361ca0 (libc.so.6:unsetenv) redirected to 0x4c39d40 (unsetenv)
--16664-- REDIR: 0x54a43d0 (libc.so.6:__strncmp_sse42) redirected to 0x4c35570 (__strncmp_sse42)
--16664-- REDIR: 0x53bd5a0 (libc.so.6:__GI_strstr) redirected to 0x4c39760 (__strstr_sse2)
--16664-- REDIR: 0x54a92e0 (libc.so.6:__memchr_avx2) redirected to 0x4c35f80 (memchr)
--16664-- REDIR: 0x54a91c0 (libc.so.6:__strspn_sse42) redirected to 0x4c39990 (strspn)
--16664-- REDIR: 0x54a8f30 (libc.so.6:__strcspn_sse42) redirected to 0x4c398d0 (strcspn)
--16664-- REDIR: 0x53d5200 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c34dd0 (strcpy)
--16664-- REDIR: 0x54a9e40 (libc.so.6:__strcasecmp_avx) redirected to 0x4c355f0 (strcasecmp)
--16664-- REDIR: 0x54ade10 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4c385d0 (memset)
--16664-- REDIR: 0x53d6810 (libc.so.6:__stpcpy_sse2_unaligned) redirected to 0x4c38200 (__stpcpy_sse2_unaligned)
--16664-- Reading syms from /lib/x86_64-linux-gnu/libnss_compat-2.27.so
--16664--   Considering /lib/x86_64-linux-gnu/libnss_compat-2.27.so ..
--16664--   .. CRC mismatch (computed dc0305b8 wanted 460e4052)
--16664--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libnss_compat-2.27.so ..
--16664--   .. CRC is valid
--16664-- Reading syms from /lib/x86_64-linux-gnu/libnss_nis-2.27.so
--16664--   Considering /lib/x86_64-linux-gnu/libnss_nis-2.27.so ..
--16664--   .. CRC mismatch (computed 38cb38d0 wanted 96404ac2)
--16664--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libnss_nis-2.27.so ..
--16664--   .. CRC is valid
--16664-- Reading syms from /lib/x86_64-linux-gnu/libnsl-2.27.so
--16664--   Considering /lib/x86_64-linux-gnu/libnsl-2.27.so ..
--16664--   .. CRC mismatch (computed 12772991 wanted 58367bd1)
--16664--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libnsl-2.27.so ..
--16664--   .. CRC is valid
--16664-- Reading syms from /lib/x86_64-linux-gnu/libnss_files-2.27.so
--16664--   Considering /lib/x86_64-linux-gnu/libnss_files-2.27.so ..
--16664--   .. CRC mismatch (computed 2270a715 wanted a5763524)
--16664--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libnss_files-2.27.so ..
--16664--   .. CRC is valid
--16664-- REDIR: 0x53d81f0 (libc.so.6:__strcat_sse2_unaligned) redirected to 0x4c34990 (strcat)
--16664-- REDIR: 0x53b7c50 (libc.so.6:realloc) redirected to 0x4c33cb0 (realloc)
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so
--16664--   Considering /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so ..
--16664--   .. CRC mismatch (computed 83103428 wanted d26a1d18)
--16664--   Considering /usr/lib/debug/usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so ..
--16664--   .. CRC is valid
--16664-- REDIR: 0x54a9a60 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4c37e00 (bcmp)
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so
--16664--   Considering /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so ..
--16664--   .. CRC mismatch (computed da5394b1 wanted a59039cd)
--16664--   Considering /usr/lib/debug/usr/lib/x86_64-linux-gnu/gconv/UTF-16.so ..
--16664--   .. CRC is valid
--16664-- REDIR: 0x54ab4b0 (libc.so.6:__strncasecmp_avx) redirected to 0x4c356d0 (strncasecmp)
Changed database context to 'master'.
--16664-- Reading syms from /usr/lib/x86_64-linux-gnu/gconv/CP1252.so
--16664--   Considering /usr/lib/x86_64-linux-gnu/gconv/CP1252.so ..
--16664--   .. CRC mismatch (computed ba33c29d wanted cdb3aa71)
--16664--   Considering /usr/lib/debug/usr/lib/x86_64-linux-gnu/gconv/CP1252.so ..
--16664--   .. CRC is valid
Changed language setting to us_english.
Changed database context to 'tempdb'.
cancel.c: Check asynchronous called ct_cancel()
connecting as sa to sql2022.tempdb
More results?...
- SIGALRM
cancel: tds_checks.c:113: tds_check_tds_extra: Assertion `tds->out_buf == tds->send_packet->buf + tds_packet_get_data_start(tds->send_packet)' failed.
==16664== 
==16664== Process terminating with default action of signal 6 (SIGABRT): dumping core
==16664==    at 0x535DE87: raise (raise.c:51)
==16664==    by 0x535F7F0: abort (abort.c:79)
==16664==    by 0x534F3F9: __assert_fail_base (assert.c:92)
==16664==    by 0x534F471: __assert_fail (assert.c:101)
==16664==    by 0x4EA38FF: tds_check_tds_extra (tds_checks.c:113)
==16664==    by 0x4E9A921: tds_generic_get (data.c:710)
==16664==    by 0x4E70A77: tds_process_row (token.c:1960)
==16664==    by 0x4E769E0: tds_process_tokens (token.c:683)
==16664==    by 0x4E5A133: ct_fetch (ct.c:1795)
==16664==    by 0x10A2CD: do_fetch (cancel.c:174)
==16664==    by 0x10A6EF: test_main (cancel.c:105)
==16664==    by 0x10A131: main (test_base.c:71)
--16664-- Discarding syms at 0x9232600-0x9233508 in /usr/lib/x86_64-linux-gnu/gconv/CP1252.so due to munmap()
--16664-- Discarding syms at 0x902e710-0x903025b in /usr/lib/x86_64-linux-gnu/gconv/UTF-16.so due to munmap()
--16664-- Discarding syms at 0x8e2b600-0x8e2c292 in /usr/lib/x86_64-linux-gnu/gconv/ISO8859-1.so due to munmap()
--16664-- Discarding syms at 0x85ea2a0-0x85f01ac in /lib/x86_64-linux-gnu/libnss_compat-2.27.so due to munmap()
--16664-- Discarding syms at 0x87f5070-0x87fc0d9 in /lib/x86_64-linux-gnu/libnss_nis-2.27.so due to munmap()
--16664-- Discarding syms at 0x8a03090-0x8a108a7 in /lib/x86_64-linux-gnu/libnsl-2.27.so due to munmap()
--16664-- Discarding syms at 0x8c1b350-0x8c21d8f in /lib/x86_64-linux-gnu/libnss_files-2.27.so due to munmap()
==16664== 
==16664== HEAP SUMMARY:
==16664==     in use at exit: 262,094 bytes in 784 blocks
==16664==   total heap usage: 5,019 allocs, 4,235 frees, 13,402,798 bytes allocated
==16664== 
==16664== Searching for pointers to 784 not-freed blocks
==16664== Checked 572,056 bytes
==16664== 
==16664== 4 bytes in 1 blocks are still reachable in loss record 1 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BD5112: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDC37B: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDCF6D: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDD139: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC521C: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC7D28: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 4 bytes in 1 blocks are still reachable in loss record 2 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BD5112: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDC3F5: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDCF6D: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDD139: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC521C: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC7D28: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 7 bytes in 1 blocks are still reachable in loss record 3 of 88
==16664==    at 0x4C33D2F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E70820: tds_alloc_get_string (token.c:2544)
==16664==    by 0x4E73AF0: tds_process_env_chg (token.c:2276)
==16664==    by 0x4E73AF0: tds_process_default_tokens (token.c:142)
==16664==    by 0x4E768F5: tds_process_tokens (token.c:835)
==16664==    by 0x4E58700: ct_results (ct.c:1375)
==16664==    by 0x10B04C: run_command (common.c:256)
==16664==    by 0x10B7C3: continue_logging_in (common.c:205)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 8 bytes in 1 blocks are still reachable in loss record 4 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x53BC9D9: strdup (strdup.c:42)
==16664==    by 0x4E663B2: _cs_set_locale_convfmt (cs.c:1301)
==16664==    by 0x4E663B2: cs_dt_info (cs.c:1343)
==16664==    by 0x10B2BC: continue_logging_in (common.c:123)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 8 bytes in 1 blocks are still reachable in loss record 5 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x902E837: ???
==16664==    by 0x534B2C6: find_module (gconv_cache.c:213)
==16664==    by 0x534B2C6: __gconv_lookup_cache (gconv_cache.c:420)
==16664==    by 0x53426F1: __gconv_find_transform (gconv_db.c:737)
==16664==    by 0x5341363: __gconv_open (gconv_open.c:70)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9742B: tds_iconv_info_init (iconv.c:491)
==16664==    by 0x4E98CFE: tds_iconv_open (iconv.c:397)
==16664==    by 0x4E7B796: tds_connect (login.c:584)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 8 bytes in 1 blocks are still reachable in loss record 6 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x902E86E: ???
==16664==    by 0x534B170: find_module (gconv_cache.c:213)
==16664==    by 0x534B170: __gconv_lookup_cache (gconv_cache.c:386)
==16664==    by 0x53426F1: __gconv_find_transform (gconv_db.c:737)
==16664==    by 0x5341363: __gconv_open (gconv_open.c:70)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9744F: tds_iconv_info_init (iconv.c:496)
==16664==    by 0x4E98CFE: tds_iconv_open (iconv.c:397)
==16664==    by 0x4E7B796: tds_connect (login.c:584)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 9 bytes in 1 blocks are still reachable in loss record 7 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4EB1E19: tds_strndup (strndup.c:64)
==16664==    by 0x4E6639A: _cs_set_locale_convfmt (cs.c:1300)
==16664==    by 0x4E6639A: cs_dt_info (cs.c:1343)
==16664==    by 0x10B2BC: continue_logging_in (common.c:123)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 11 bytes in 1 blocks are still reachable in loss record 8 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4EB2071: tds_dstr_copyn (tdsstring.c:85)
==16664==    by 0x4EB216A: tds_dstr_copy (tdsstring.c:124)
==16664==    by 0x4E7D228: tds_set_user (login.c:99)
==16664==    by 0x4E56F8F: ct_con_props (ct.c:484)
==16664==    by 0x10B4C6: continue_logging_in (common.c:154)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 11 bytes in 1 blocks are still reachable in loss record 9 of 88
==16664==    at 0x4C33D2F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E70820: tds_alloc_get_string (token.c:2544)
==16664==    by 0x4E73AF0: tds_process_env_chg (token.c:2276)
==16664==    by 0x4E73AF0: tds_process_default_tokens (token.c:142)
==16664==    by 0x4E783B0: tds_process_login_tokens (token.c:432)
==16664==    by 0x4E7BC2D: tds_connect (login.c:694)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 13 bytes in 1 blocks are still reachable in loss record 10 of 88
==16664==    at 0x4C33D2F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E70820: tds_alloc_get_string (token.c:2544)
==16664==    by 0x4E7498A: tds_process_info (token.c:2420)
==16664==    by 0x4E73593: tds_process_default_tokens (token.c:164)
==16664==    by 0x4E783B0: tds_process_login_tokens (token.c:432)
==16664==    by 0x4E7BC2D: tds_connect (login.c:694)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 16 bytes in 1 blocks are still reachable in loss record 11 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4EB2071: tds_dstr_copyn (tdsstring.c:85)
==16664==    by 0x4EB216A: tds_dstr_copy (tdsstring.c:124)
==16664==    by 0x4E7D2BF: tds_set_server (login.c:148)
==16664==    by 0x4E57A1B: ct_connect (ct.c:788)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 16 bytes in 1 blocks are still reachable in loss record 12 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5C5FB91: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C60802: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BCD3B9: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC8167: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 16 bytes in 1 blocks are still reachable in loss record 13 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BD5112: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDC51E: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDCF6D: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDD139: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC521C: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC7D28: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 16 bytes in 1 blocks are still reachable in loss record 14 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BD5112: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDC55E: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDCF6D: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDD139: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC521C: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC7D28: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 17 bytes in 1 blocks are still reachable in loss record 15 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x53BC9D9: strdup (strdup.c:42)
==16664==    by 0x4E6638B: _cs_set_locale_convfmt (cs.c:1299)
==16664==    by 0x4E6638B: cs_dt_info (cs.c:1343)
==16664==    by 0x10B2BC: continue_logging_in (common.c:123)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 19 bytes in 1 blocks are still reachable in loss record 16 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4EB2071: tds_dstr_copyn (tdsstring.c:85)
==16664==    by 0x4EB216A: tds_dstr_copy (tdsstring.c:124)
==16664==    by 0x4E7D2F8: tds_set_library (login.c:155)
==16664==    by 0x4E561DA: ct_con_alloc (ct.c:329)
==16664==    by 0x10B448: continue_logging_in (common.c:147)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 21 bytes in 1 blocks are still reachable in loss record 17 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4EB2071: tds_dstr_copyn (tdsstring.c:85)
==16664==    by 0x4EB216A: tds_dstr_copy (tdsstring.c:124)
==16664==    by 0x4E7D1B2: tds_set_passwd (login.c:86)
==16664==    by 0x4E572AB: ct_con_props (ct.c:487)
==16664==    by 0x10B53F: continue_logging_in (common.c:161)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 23 bytes in 1 blocks are still reachable in loss record 18 of 88
==16664==    at 0x4C33D2F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E70820: tds_alloc_get_string (token.c:2544)
==16664==    by 0x4E78649: tds_process_loginack (token.c:360)
==16664==    by 0x4E78649: tds_process_login_tokens (token.c:429)
==16664==    by 0x4E7BC2D: tds_connect (login.c:694)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 24 bytes in 1 blocks are still reachable in loss record 19 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BD450B: gnutls_credentials_set (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1BC5: tds_ssl_init (tls.c:600)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 20 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C805F1: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 21 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C80611: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 22 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C80631: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 23 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C80651: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 24 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C80671: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 25 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C80691: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 26 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C806B1: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 27 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C806D1: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 28 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C806F1: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 29 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C80711: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 30 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C80731: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 31 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C807D2: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 32 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C807F2: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 33 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C80812: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32 bytes in 1 blocks are still reachable in loss record 34 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BF0C5A: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C80832: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBF58: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 40 bytes in 1 blocks are still reachable in loss record 35 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BE0220: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBEB6: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 40 bytes in 1 blocks are still reachable in loss record 36 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BE0220: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDBECB: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 40 bytes in 1 blocks are still reachable in loss record 37 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6AEAB: tds_alloc_locale (mem.c:755)
==16664==    by 0x4E9994F: tds_get_locale (locale.c:57)
==16664==    by 0x4E6AF56: tds_alloc_context (mem.c:726)
==16664==    by 0x4E636F9: cs_ctx_alloc (cs.c:345)
==16664==    by 0x10B213: continue_logging_in (common.c:115)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 40 bytes in 1 blocks are still reachable in loss record 38 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BE0220: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C9DCF1: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BE8EC3: gnutls_rnd (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC2ED4: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC36BA: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC47CB: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC7C37: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 40 bytes in 1 blocks are still reachable in loss record 39 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BE0220: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C9DD04: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BE8EC3: gnutls_rnd (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC2ED4: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC36BA: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC47CB: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC7C37: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 48 bytes in 1 blocks are still reachable in loss record 40 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6AF76: tds_alloc_context (mem.c:729)
==16664==    by 0x4E636F9: cs_ctx_alloc (cs.c:345)
==16664==    by 0x10B213: continue_logging_in (common.c:115)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 56 bytes in 1 blocks are still reachable in loss record 41 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5C5D141: gnutls_ocsp_status_request_enable_client (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BE4323: gnutls_init (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1987: tds_ssl_init (tls.c:528)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 56 bytes in 1 blocks are still reachable in loss record 42 of 88
==16664==    at 0x4C33D2F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E98572: tds_iconv_get_info (iconv.c:781)
==16664==    by 0x4E98672: tds_srv_charset_changed_num (iconv.c:837)
==16664==    by 0x4E98728: tds7_srv_charset_changed (iconv.c:860)
==16664==    by 0x4E74353: tds_process_env_chg (token.c:2241)
==16664==    by 0x4E74353: tds_process_default_tokens (token.c:142)
==16664==    by 0x4E783B0: tds_process_login_tokens (token.c:432)
==16664==    by 0x4E7BC2D: tds_connect (login.c:694)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 57 bytes in 1 blocks are still reachable in loss record 43 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4EB1E19: tds_strndup (strndup.c:64)
==16664==    by 0x4E58423: ct_command (ct.c:927)
==16664==    by 0x10A62E: test_main (cancel.c:90)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 62 bytes in 3 blocks are still reachable in loss record 44 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x77B6A50: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.5)
==16664==    by 0x77B7CB1: asn1_array2tree (in /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.5)
==16664==    by 0x5BDBDFC: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 64 bytes in 1 blocks are still reachable in loss record 45 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6E299: tds_alloc_results (mem.c:466)
==16664==    by 0x4E72E11: tds7_process_result (token.c:1597)
==16664==    by 0x4E7618C: tds_process_tokens (token.c:586)
==16664==    by 0x4E58700: ct_results (ct.c:1375)
==16664==    by 0x10A6AD: test_main (cancel.c:98)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 64 bytes in 1 blocks are still reachable in loss record 46 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6E2EE: tds_alloc_results (mem.c:469)
==16664==    by 0x4E72E11: tds7_process_result (token.c:1597)
==16664==    by 0x4E7618C: tds_process_tokens (token.c:586)
==16664==    by 0x4E58700: ct_results (ct.c:1375)
==16664==    by 0x10A6AD: test_main (cancel.c:98)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 72 bytes in 1 blocks are still reachable in loss record 47 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5C45714: gnutls_x509_trust_list_init (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDA9C9: gnutls_certificate_allocate_credentials (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1711: tds_ssl_init (tls.c:522)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 80 bytes in 1 blocks are still reachable in loss record 48 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BD487C: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C5FF64: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BCD3B9: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC8167: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 88 bytes in 1 blocks are still reachable in loss record 49 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5C5A4BB: gnutls_session_ticket_enable_client (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BE4364: gnutls_init (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1987: tds_ssl_init (tls.c:528)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 104 bytes in 1 blocks are still reachable in loss record 50 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E561ED: ct_con_alloc (ct.c:334)
==16664==    by 0x10B448: continue_logging_in (common.c:147)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 112 bytes in 1 blocks are still reachable in loss record 51 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E97779: tds_iconv_alloc (iconv.c:319)
==16664==    by 0x4E6EF38: tds_init_connection (mem.c:1158)
==16664==    by 0x4E6EF38: tds_alloc_connection (mem.c:1236)
==16664==    by 0x4E6EF38: tds_alloc_socket (mem.c:1263)
==16664==    by 0x4E57A59: ct_connect (ct.c:794)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 112 bytes in 1 blocks are still reachable in loss record 52 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x53413B7: __gconv_open (gconv_open.c:74)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9742B: tds_iconv_info_init (iconv.c:491)
==16664==    by 0x4E98CFE: tds_iconv_open (iconv.c:397)
==16664==    by 0x4E7B796: tds_connect (login.c:584)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 112 bytes in 1 blocks are still reachable in loss record 53 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x53413B7: __gconv_open (gconv_open.c:74)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9744F: tds_iconv_info_init (iconv.c:496)
==16664==    by 0x4E98CFE: tds_iconv_open (iconv.c:397)
==16664==    by 0x4E7B796: tds_connect (login.c:584)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 112 bytes in 1 blocks are still reachable in loss record 54 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x53413B7: __gconv_open (gconv_open.c:74)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9742B: tds_iconv_info_init (iconv.c:491)
==16664==    by 0x4E98508: tds_iconv_get_info (iconv.c:796)
==16664==    by 0x4E98672: tds_srv_charset_changed_num (iconv.c:837)
==16664==    by 0x4E98728: tds7_srv_charset_changed (iconv.c:860)
==16664==    by 0x4E74353: tds_process_env_chg (token.c:2241)
==16664==    by 0x4E74353: tds_process_default_tokens (token.c:142)
==16664==    by 0x4E783B0: tds_process_login_tokens (token.c:432)
==16664==    by 0x4E7BC2D: tds_connect (login.c:694)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 112 bytes in 1 blocks are still reachable in loss record 55 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x53413B7: __gconv_open (gconv_open.c:74)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9744F: tds_iconv_info_init (iconv.c:496)
==16664==    by 0x4E98508: tds_iconv_get_info (iconv.c:796)
==16664==    by 0x4E98672: tds_srv_charset_changed_num (iconv.c:837)
==16664==    by 0x4E98728: tds7_srv_charset_changed (iconv.c:860)
==16664==    by 0x4E74353: tds_process_env_chg (token.c:2241)
==16664==    by 0x4E74353: tds_process_default_tokens (token.c:142)
==16664==    by 0x4E783B0: tds_process_login_tokens (token.c:432)
==16664==    by 0x4E7BC2D: tds_connect (login.c:694)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 120 bytes in 1 blocks are still reachable in loss record 56 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E636CD: cs_ctx_alloc (cs.c:341)
==16664==    by 0x10B213: continue_logging_in (common.c:115)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 152 bytes in 1 blocks are still reachable in loss record 57 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E57F50: ct_cmd_alloc (ct.c:873)
==16664==    by 0x10B6FA: continue_logging_in (common.c:190)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 160 bytes in 1 blocks are still reachable in loss record 58 of 88
==16664==    at 0x4C31A3F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4C33D84: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BDD9B5: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C5AE6F: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC7F27: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 168 bytes in 1 blocks are still reachable in loss record 59 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BDA9B6: gnutls_certificate_allocate_credentials (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1711: tds_ssl_init (tls.c:522)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 168 bytes in 8 blocks are still reachable in loss record 60 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4EB222B: tds_dstr_alloc (tdsstring.c:167)
==16664==    by 0x4E7D98A: tds_dstr_get (read.c:302)
==16664==    by 0x4E72C7E: tds7_get_data_info (token.c:1548)
==16664==    by 0x4E72EC5: tds7_process_result (token.c:1617)
==16664==    by 0x4E7618C: tds_process_tokens (token.c:586)
==16664==    by 0x4E58700: ct_results (ct.c:1375)
==16664==    by 0x10A6AD: test_main (cancel.c:98)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 184 bytes in 1 blocks are still reachable in loss record 61 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5C58EB1: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BD3447: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BD3662: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC4EAA: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC7C37: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 208 bytes in 1 blocks are still reachable in loss record 62 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x534B036: __gconv_lookup_cache (gconv_cache.c:366)
==16664==    by 0x53426F1: __gconv_find_transform (gconv_db.c:737)
==16664==    by 0x5341363: __gconv_open (gconv_open.c:70)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9742B: tds_iconv_info_init (iconv.c:491)
==16664==    by 0x4E98CFE: tds_iconv_open (iconv.c:397)
==16664==    by 0x4E7B796: tds_connect (login.c:584)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 208 bytes in 1 blocks are still reachable in loss record 63 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x534B036: __gconv_lookup_cache (gconv_cache.c:366)
==16664==    by 0x53426F1: __gconv_find_transform (gconv_db.c:737)
==16664==    by 0x5341363: __gconv_open (gconv_open.c:70)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9744F: tds_iconv_info_init (iconv.c:496)
==16664==    by 0x4E98CFE: tds_iconv_open (iconv.c:397)
==16664==    by 0x4E7B796: tds_connect (login.c:584)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 208 bytes in 1 blocks are still reachable in loss record 64 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x534B036: __gconv_lookup_cache (gconv_cache.c:366)
==16664==    by 0x53426F1: __gconv_find_transform (gconv_db.c:737)
==16664==    by 0x5341363: __gconv_open (gconv_open.c:70)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9742B: tds_iconv_info_init (iconv.c:491)
==16664==    by 0x4E98508: tds_iconv_get_info (iconv.c:796)
==16664==    by 0x4E98672: tds_srv_charset_changed_num (iconv.c:837)
==16664==    by 0x4E98728: tds7_srv_charset_changed (iconv.c:860)
==16664==    by 0x4E74353: tds_process_env_chg (token.c:2241)
==16664==    by 0x4E74353: tds_process_default_tokens (token.c:142)
==16664==    by 0x4E783B0: tds_process_login_tokens (token.c:432)
==16664==    by 0x4E7BC2D: tds_connect (login.c:694)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 208 bytes in 1 blocks are still reachable in loss record 65 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x534B036: __gconv_lookup_cache (gconv_cache.c:366)
==16664==    by 0x53426F1: __gconv_find_transform (gconv_db.c:737)
==16664==    by 0x5341363: __gconv_open (gconv_open.c:70)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9744F: tds_iconv_info_init (iconv.c:496)
==16664==    by 0x4E98508: tds_iconv_get_info (iconv.c:796)
==16664==    by 0x4E98672: tds_srv_charset_changed_num (iconv.c:837)
==16664==    by 0x4E98728: tds7_srv_charset_changed (iconv.c:860)
==16664==    by 0x4E74353: tds_process_env_chg (token.c:2241)
==16664==    by 0x4E74353: tds_process_default_tokens (token.c:142)
==16664==    by 0x4E783B0: tds_process_login_tokens (token.c:432)
==16664==    by 0x4E7BC2D: tds_connect (login.c:694)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 224 bytes in 1 blocks are still reachable in loss record 66 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E98552: tds_iconv_get_info (iconv.c:778)
==16664==    by 0x4E98672: tds_srv_charset_changed_num (iconv.c:837)
==16664==    by 0x4E98728: tds7_srv_charset_changed (iconv.c:860)
==16664==    by 0x4E74353: tds_process_env_chg (token.c:2241)
==16664==    by 0x4E74353: tds_process_default_tokens (token.c:142)
==16664==    by 0x4E783B0: tds_process_login_tokens (token.c:432)
==16664==    by 0x4E7BC2D: tds_connect (login.c:694)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 272 bytes in 1 blocks are still reachable in loss record 67 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6A7A6: tds_alloc_login (mem.c:986)
==16664==    by 0x4E561AF: ct_con_alloc (ct.c:324)
==16664==    by 0x10B448: continue_logging_in (common.c:147)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 320 bytes in 1 blocks are still reachable in loss record 68 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6ECF6: tds_alloc_socket_base (mem.c:1250)
==16664==    by 0x4E6EFBD: tds_alloc_socket (mem.c:1269)
==16664==    by 0x4E57A59: ct_connect (ct.c:794)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 328 bytes in 1 blocks are still reachable in loss record 69 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6EED4: tds_alloc_connection (mem.c:1235)
==16664==    by 0x4E6EED4: tds_alloc_socket (mem.c:1263)
==16664==    by 0x4E57A59: ct_connect (ct.c:794)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 512 bytes in 1 blocks are still reachable in loss record 70 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6EF78: tds_init_connection (mem.c:1165)
==16664==    by 0x4E6EF78: tds_alloc_connection (mem.c:1236)
==16664==    by 0x4E6EF78: tds_alloc_socket (mem.c:1263)
==16664==    by 0x4E57A59: ct_connect (ct.c:794)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 520 bytes in 1 blocks are still reachable in loss record 71 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BDD2E8: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC80E5: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 616 bytes in 1 blocks are still reachable in loss record 72 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5C707DE: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BD0310: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BD0710: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDC180: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDCFB0: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDD139: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC521C: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC7D28: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 616 bytes in 1 blocks are still reachable in loss record 73 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5C707DE: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BD0310: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BD0710: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDC180: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDCFE1: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDD139: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC521C: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC7D28: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 979 bytes in 1 blocks are still reachable in loss record 74 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BD5112: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C5FBDD: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5C60802: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BCD3B9: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC8167: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 1,056 bytes in 1 blocks are still reachable in loss record 75 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6A431: tds_alloc_row (mem.c:553)
==16664==    by 0x4E72FFC: tds7_process_result (token.c:1636)
==16664==    by 0x4E7618C: tds_process_tokens (token.c:586)
==16664==    by 0x4E58700: ct_results (ct.c:1375)
==16664==    by 0x10A6AD: test_main (cancel.c:98)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 1,453 bytes in 67 blocks are still reachable in loss record 76 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x77B6A50: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.5)
==16664==    by 0x77B7CB1: asn1_array2tree (in /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.5)
==16664==    by 0x5BDBD14: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 1,472 bytes in 8 blocks are still reachable in loss record 77 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E69E82: tds_alloc_column (mem.c:130)
==16664==    by 0x4E6E333: tds_alloc_results (mem.c:471)
==16664==    by 0x4E72E11: tds7_process_result (token.c:1597)
==16664==    by 0x4E7618C: tds_process_tokens (token.c:586)
==16664==    by 0x4E58700: ct_results (ct.c:1375)
==16664==    by 0x10A6AD: test_main (cancel.c:98)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 4,132 bytes in 1 blocks are still reachable in loss record 78 of 88
==16664==    at 0x4C33D2F: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6ADE7: tds_realloc_packet (mem.c:1100)
==16664==    by 0x4E6ADE7: tds_realloc_socket (mem.c:1373)
==16664==    by 0x4E7C089: tds71_do_login (login.c:1406)
==16664==    by 0x4E7C089: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 4,132 bytes in 1 blocks are still reachable in loss record 79 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6ABF2: tds_alloc_packet (mem.c:1081)
==16664==    by 0x4EA95BE: tds_get_packet (packet.c:90)
==16664==    by 0x4EAB74E: tds_write_packet (packet.c:746)
==16664==    by 0x4E7DFB7: tds_flush_packet (write.c:220)
==16664==    by 0x4E7B9A7: tds71_do_login (login.c:1433)
==16664==    by 0x4E7B9A7: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 4,132 bytes in 1 blocks are still reachable in loss record 80 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x4E6ABF2: tds_alloc_packet (mem.c:1081)
==16664==    by 0x4EA95BE: tds_get_packet (packet.c:90)
==16664==    by 0x4EAB74E: tds_write_packet (packet.c:746)
==16664==    by 0x4E7DFB7: tds_flush_packet (write.c:220)
==16664==    by 0x4EA1650: tds_pull_func_login (tls.c:136)
==16664==    by 0x5BC1847: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBB969: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC2D02: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC591B: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BC7C65: gnutls_handshake (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1C02: tds_ssl_init (tls.c:617)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 6,096 bytes in 1 blocks are still reachable in loss record 81 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5C45735: gnutls_x509_trust_list_init (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BDA9C9: gnutls_certificate_allocate_credentials (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1711: tds_ssl_init (tls.c:522)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 7,016 bytes in 1 blocks are still reachable in loss record 82 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5BE4059: gnutls_init (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x4EA1987: tds_ssl_init (tls.c:528)
==16664==    by 0x4E7CB5D: tds71_do_login (login.c:1497)
==16664==    by 0x4E7CB5D: tds_connect (login.c:680)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 12,312 bytes in 81 blocks are still reachable in loss record 83 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x77B6736: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.5)
==16664==    by 0x77B7C79: asn1_array2tree (in /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.5)
==16664==    by 0x5BDBDFC: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== 32,640 bytes in 1 blocks are still reachable in loss record 84 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5341422: __gconv_open (gconv_open.c:124)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9742B: tds_iconv_info_init (iconv.c:491)
==16664==    by 0x4E98CFE: tds_iconv_open (iconv.c:397)
==16664==    by 0x4E7B796: tds_connect (login.c:584)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 32,640 bytes in 1 blocks are still reachable in loss record 85 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5341422: __gconv_open (gconv_open.c:124)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9744F: tds_iconv_info_init (iconv.c:496)
==16664==    by 0x4E98CFE: tds_iconv_open (iconv.c:397)
==16664==    by 0x4E7B796: tds_connect (login.c:584)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 32,640 bytes in 1 blocks are still reachable in loss record 86 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5341422: __gconv_open (gconv_open.c:124)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9742B: tds_iconv_info_init (iconv.c:491)
==16664==    by 0x4E98508: tds_iconv_get_info (iconv.c:796)
==16664==    by 0x4E98672: tds_srv_charset_changed_num (iconv.c:837)
==16664==    by 0x4E98728: tds7_srv_charset_changed (iconv.c:860)
==16664==    by 0x4E74353: tds_process_env_chg (token.c:2241)
==16664==    by 0x4E74353: tds_process_default_tokens (token.c:142)
==16664==    by 0x4E783B0: tds_process_login_tokens (token.c:432)
==16664==    by 0x4E7BC2D: tds_connect (login.c:694)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 32,640 bytes in 1 blocks are still reachable in loss record 87 of 88
==16664==    at 0x4C31B0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x5341422: __gconv_open (gconv_open.c:124)
==16664==    by 0x5341070: iconv_open (iconv_open.c:40)
==16664==    by 0x4E9744F: tds_iconv_info_init (iconv.c:496)
==16664==    by 0x4E98508: tds_iconv_get_info (iconv.c:796)
==16664==    by 0x4E98672: tds_srv_charset_changed_num (iconv.c:837)
==16664==    by 0x4E98728: tds7_srv_charset_changed (iconv.c:860)
==16664==    by 0x4E74353: tds_process_env_chg (token.c:2241)
==16664==    by 0x4E74353: tds_process_default_tokens (token.c:142)
==16664==    by 0x4E783B0: tds_process_login_tokens (token.c:432)
==16664==    by 0x4E7BC2D: tds_connect (login.c:694)
==16664==    by 0x4E7D3CA: tds_connect_and_login (login.c:782)
==16664==    by 0x4E57D15: ct_connect (ct.c:847)
==16664==    by 0x10B64D: continue_logging_in (common.c:178)
==16664==    by 0x10B83C: try_ctlogin (common.c:104)
==16664==    by 0x10A4DF: test_main (cancel.c:63)
==16664==    by 0x10A131: main (test_base.c:71)
==16664== 
==16664== 81,320 bytes in 535 blocks are still reachable in loss record 88 of 88
==16664==    at 0x4C33B25: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==16664==    by 0x77B6736: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.5)
==16664==    by 0x77B7C79: asn1_array2tree (in /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.5)
==16664==    by 0x5BDBD14: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x5BBA650: ??? (in /usr/lib/x86_64-linux-gnu/libgnutls.so.30.14.10)
==16664==    by 0x40108D2: call_init (dl-init.c:72)
==16664==    by 0x40108D2: _dl_init (dl-init.c:119)
==16664==    by 0x40010C9: ??? (in /lib/x86_64-linux-gnu/ld-2.27.so)
==16664== 
==16664== LEAK SUMMARY:
==16664==    definitely lost: 0 bytes in 0 blocks
==16664==    indirectly lost: 0 bytes in 0 blocks
==16664==      possibly lost: 0 bytes in 0 blocks
==16664==    still reachable: 262,094 bytes in 784 blocks
==16664==         suppressed: 0 bytes in 0 blocks
==16664== 
==16664== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==16664== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Main