% ab -c 100 -n 400 'https://test.domain.ru:8057/' This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking test.domain.ru (be patient) Completed 100 requests SSL handshake failed (5). SSL handshake failed (5). SSL handshake failed (5). SSL handshake failed (5). SSL handshake failed (5). SSL handshake failed (5). SSL handshake failed (5). SSL handshake failed (5). SSL handshake failed (1). 140233273734880:error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 alert bad record mac:s3_pkt.c:1195:SSL alert number 20 Completed 200 requests SSL handshake failed (5). SSL handshake failed (5). SSL handshake failed (5). SSL handshake failed (5). SSL handshake failed (5). Completed 300 requests Completed 400 requests Finished 400 requests Server Software: Server Hostname: test.domain.ru Server Port: 8057 SSL/TLS Protocol: TLSv1/SSLv3,ECDHE-RSA-AES256-SHA,2048,256 Document Path: / Document Length: 833 bytes Concurrency Level: 100 Time taken for tests: 128.960 seconds Complete requests: 400 Failed requests: 14 (Connect: 0, Receive: 0, Length: 14, Exceptions: 0) Write errors: 0 Total transferred: 338522 bytes HTML transferred: 321538 bytes Requests per second: 3.10 [#/sec] (mean) Time per request: 32239.950 [ms] (mean) Time per request: 322.400 [ms] (mean, across all concurrent requests) Transfer rate: 2.56 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 7513 9393.2 4710 87725 Processing: 116 2378 10508.3 552 80992 Waiting: 0 240 105.8 225 655 Total: 1647 9891 13077.9 5276 88275 Percentage of the requests served within a certain time (ms) 50% 5276 66% 5875 75% 7882 80% 8643 90% 22086 95% 34256 98% 68459 99% 80992 100% 88275 (longest request) % valgrind --leak-check=full --show-reachable=yes --track-origins=yes /opt/gnutls-3.0.11/bin/gnutls-serv --http --port 8057 --x509keyfile ~/dev/nb/nxweb/server.key --x509certfile ~/dev/nb/nxweb/server.crt --disable-client-cert --priority 'NORMAL:+VERS-TLS-ALL:+COMP-ALL' ==29724== Memcheck, a memory error detector ==29724== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==29724== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info ==29724== Command: /opt/gnutls-3.0.11/bin/gnutls-serv --http --port 8057 --x509keyfile /home/ys/dev/nb/nxweb/server.key --x509certfile /home/ys/dev/nb/nxweb/server.crt --disable-client-cert --priority NORMAL:+VERS-TLS-ALL:+COMP-ALL ==29724== Set static Diffie-Hellman parameters, consider --dhparams. ==29724== Invalid read of size 4 ==29724== at 0x54B4E3A: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E84F84: _gnutls_x509_export_int_named (common.c:762) ==29724== by 0x4E73228: gnutls_pcert_import_x509 (gnutls_pcert.c:59) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== Address 0x643cde4 is 20 bytes inside a block of size 22 alloc'd ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x54B4E1B: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E84F84: _gnutls_x509_export_int_named (common.c:762) ==29724== by 0x4E73228: gnutls_pcert_import_x509 (gnutls_pcert.c:59) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== Invalid read of size 4 ==29724== at 0x54B4E4F: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E84F84: _gnutls_x509_export_int_named (common.c:762) ==29724== by 0x4E73228: gnutls_pcert_import_x509 (gnutls_pcert.c:59) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== Address 0x643ce88 is 8 bytes inside a block of size 10 alloc'd ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x54B4E1B: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E84F84: _gnutls_x509_export_int_named (common.c:762) ==29724== by 0x4E73228: gnutls_pcert_import_x509 (gnutls_pcert.c:59) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== Invalid read of size 4 ==29724== at 0x54B4E3A: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E84F84: _gnutls_x509_export_int_named (common.c:762) ==29724== by 0x4E73298: gnutls_pcert_import_x509 (gnutls_pcert.c:73) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== Address 0x64476f4 is 20 bytes inside a block of size 22 alloc'd ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x54B4E1B: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E84F84: _gnutls_x509_export_int_named (common.c:762) ==29724== by 0x4E73298: gnutls_pcert_import_x509 (gnutls_pcert.c:73) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== Invalid read of size 4 ==29724== at 0x54B4E4F: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E84F84: _gnutls_x509_export_int_named (common.c:762) ==29724== by 0x4E73298: gnutls_pcert_import_x509 (gnutls_pcert.c:73) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== Address 0x6447798 is 8 bytes inside a block of size 10 alloc'd ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x54B4E1B: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E84F84: _gnutls_x509_export_int_named (common.c:762) ==29724== by 0x4E73298: gnutls_pcert_import_x509 (gnutls_pcert.c:73) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== HTTP Server listening on IPv4 0.0.0.0 port 8057...done [...] * Accepted connection from IPv4 127.0.0.1 port 56465 on Tue Jan 10 16:47:24 2012 * Successful handshake from IPv4 127.0.0.1 port 56465 - Session ID: 31:C7:81:9C:E6:D0:F6:65:D3:C4:8B:9D:71:AE:72:B3:B3:85:58:29:80:CB:E3:90:C9:1D:62:1F:31:85:BB:98 - Certificate type: X.509 No certificates found! - Could not verify certificate (err: No certificate was found.) - Ephemeral EC Diffie-Hellman parameters - Using curve: SECP192R1 - Curve size: 192 bits - Version: TLS1.0 - Key Exchange: ECDHE-RSA - Cipher: AES-256-CBC - MAC: SHA1 - Compression: NULL Error while receiving data Error: The TLS connection was non-properly terminated. Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56466 on Tue Jan 10 16:47:24 2012 * Successful handshake from IPv4 127.0.0.1 port 56466 - Session ID: 63:1C:08:ED:EA:A7:5D:FC:3C:D4:F0:94:F8:FC:86:C2:63:B0:7A:5B:19:99:25:76:1E:10:30:7A:0D:E5:5A:A9 - Certificate type: X.509 No certificates found! - Could not verify certificate (err: No certificate was found.) - Ephemeral EC Diffie-Hellman parameters - Using curve: SECP192R1 - Curve size: 192 bits - Version: TLS1.0 - Key Exchange: ECDHE-RSA - Cipher: AES-256-CBC - MAC: SHA1 - Compression: NULL Error while receiving data Error: The TLS connection was non-properly terminated. Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56467 on Tue Jan 10 16:47:24 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56468 on Tue Jan 10 16:47:24 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56469 on Tue Jan 10 16:47:25 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56470 on Tue Jan 10 16:47:25 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56471 on Tue Jan 10 16:47:25 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56472 on Tue Jan 10 16:47:25 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56473 on Tue Jan 10 16:47:25 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56474 on Tue Jan 10 16:47:26 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56475 on Tue Jan 10 16:47:26 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56476 on Tue Jan 10 16:47:26 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56419 on Tue Jan 10 16:47:26 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56366 on Tue Jan 10 16:47:26 2012 Error in handshake Error: The TLS connection was non-properly terminated. Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56456 on Tue Jan 10 16:47:27 2012 * Accepted connection from IPv4 127.0.0.1 port 56416 on Tue Jan 10 16:47:28 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56435 on Tue Jan 10 16:47:29 2012 Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56450 on Tue Jan 10 16:47:29 2012 Error in handshake Error: The TLS connection was non-properly terminated. Error in handshake Error: The TLS connection was non-properly terminated. * Accepted connection from IPv4 127.0.0.1 port 56010 on Tue Jan 10 16:47:35 2012 * Accepted connection from IPv4 127.0.0.1 port 56363 on Tue Jan 10 16:47:36 2012 * Accepted connection from IPv4 127.0.0.1 port 56370 on Tue Jan 10 16:47:39 2012 Error in handshake Error: The TLS connection was non-properly terminated. Error in handshake Error: The TLS connection was non-properly terminated. [... some output lost ...] ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 16 bytes in 1 blocks are still reachable in loss record 18 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x4EE0C8D: wrap_nettle_mpi_new (mpi.c:91) ==29724== by 0x4EE0D17: wrap_nettle_mpi_scan (mpi.c:106) ==29724== by 0x4E62CD8: _gnutls_mpi_scan (gnutls_mpi.c:133) ==29724== by 0x4E6349F: _gnutls_x509_read_int (gnutls_mpi.c:315) ==29724== by 0x4E87C43: _gnutls_x509_read_pubkey (key_decode.c:72) ==29724== by 0x4E9303D: _gnutls_get_asn_mpis (mpi.c:109) ==29724== by 0x4E73F1A: gnutls_pubkey_import_x509 (gnutls_pubkey.c:192) ==29724== by 0x4E732C1: gnutls_pcert_import_x509 (gnutls_pcert.c:88) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== ==29724== 16 bytes in 1 blocks are still reachable in loss record 19 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x4EE0C8D: wrap_nettle_mpi_new (mpi.c:91) ==29724== by 0x4EE0D17: wrap_nettle_mpi_scan (mpi.c:106) ==29724== by 0x4E62CD8: _gnutls_mpi_scan (gnutls_mpi.c:133) ==29724== by 0x4E6349F: _gnutls_x509_read_int (gnutls_mpi.c:315) ==29724== by 0x4E87C5C: _gnutls_x509_read_pubkey (key_decode.c:79) ==29724== by 0x4E9303D: _gnutls_get_asn_mpis (mpi.c:109) ==29724== by 0x4E73F1A: gnutls_pubkey_import_x509 (gnutls_pubkey.c:192) ==29724== by 0x4E732C1: gnutls_pcert_import_x509 (gnutls_pcert.c:88) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== ==29724== 16 bytes in 1 blocks are still reachable in loss record 20 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x4E66E56: gnutls_anon_allocate_server_credentials (gnutls_anon_cred.c:63) ==29724== by 0x405125: main (serv.c:1128) ==29724== ==29724== 16 bytes in 2 blocks are still reachable in loss record 21 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5194441: strdup (strdup.c:43) ==29724== by 0x54BB18F: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC48F: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC661: asn1_create_element (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E9E44E: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:132) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 24 bytes in 1 blocks are still reachable in loss record 22 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x4E6A066: gnutls_dh_params_init (gnutls_dh_primes.c:109) ==29724== by 0x405355: main (serv.c:256) ==29724== ==29724== 24 bytes in 1 blocks are still reachable in loss record 23 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x4C29019: realloc (vg_replace_malloc.c:525) ==29724== by 0x4E66FD8: gnutls_realloc_fast (gnutls_mem.c:70) ==29724== by 0x4E6F08F: certificate_credential_append_crt_list (gnutls_x509.c:968) ==29724== by 0x4E6F3C6: read_cert_mem (gnutls_x509.c:438) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 24 bytes in 1 blocks are still reachable in loss record 24 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x4E5F8C5: gnutls_credentials_set (gnutls_auth.c:106) ==29724== by 0x406656: initialize_session (serv.c:362) ==29724== by 0x405918: main (serv.c:1219) ==29724== ==29724== 24 bytes in 1 blocks are still reachable in loss record 25 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x4E5F86E: gnutls_credentials_set (gnutls_auth.c:134) ==29724== by 0x4066A4: initialize_session (serv.c:371) ==29724== by 0x405918: main (serv.c:1219) ==29724== ==29724== 32 bytes in 1 blocks are still reachable in loss record 26 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x4C29019: realloc (vg_replace_malloc.c:525) ==29724== by 0x4E66FD8: gnutls_realloc_fast (gnutls_mem.c:70) ==29724== by 0x4E6F2E1: read_cert_mem (gnutls_x509.c:383) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 34 bytes in 1 blocks are still reachable in loss record 27 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x4E6E7EF: get_x509_name (gnutls_str_array.h:101) ==29724== by 0x4E6F35D: read_cert_mem (gnutls_x509.c:271) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 39 bytes in 1 blocks are still reachable in loss record 28 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x4E6E997: get_x509_name (gnutls_str_array.h:85) ==29724== by 0x4E6F35D: read_cert_mem (gnutls_x509.c:271) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 39 bytes in 1 blocks are still reachable in loss record 29 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x4E6E8A0: get_x509_name (gnutls_str_array.h:101) ==29724== by 0x4E6F35D: read_cert_mem (gnutls_x509.c:271) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 40 bytes in 1 blocks are still reachable in loss record 30 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x4E6B05A: gnutls_system_mutex_init (system.c:195) ==29724== by 0x4EE34E0: wrap_nettle_rnd_init (rnd.c:414) ==29724== by 0x4E71CDA: _gnutls_rnd_init (random.c:37) ==29724== by 0x4E65196: gnutls_global_init (gnutls_global.c:252) ==29724== by 0x404E27: main (serv.c:943) ==29724== ==29724== 40 bytes in 1 blocks are still reachable in loss record 31 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x4E729A6: gnutls_privkey_init (gnutls_privkey.c:269) ==29724== by 0x4E6F8CD: read_key_mem (gnutls_x509.c:502) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 62 bytes in 3 blocks are still reachable in loss record 32 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x54BAEF7: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC12F: asn1_array2tree (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E65153: gnutls_global_init (gnutls_global.c:243) ==29724== by 0x404E27: main (serv.c:943) ==29724== ==29724== 72 bytes in 1 blocks are still reachable in loss record 33 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x54BBE31: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC46D: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC5AC: asn1_create_element (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E9E44E: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:132) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 72 bytes in 1 blocks are still reachable in loss record 34 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x54BBE31: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC46D: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC661: asn1_create_element (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E9E44E: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:132) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 72 bytes in 1 blocks are still reachable in loss record 35 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x54BBE31: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC4BE: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC661: asn1_create_element (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E9E44E: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:132) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 72 bytes in 1 blocks are still reachable in loss record 36 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x54BBE31: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC529: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC661: asn1_create_element (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E9E44E: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:132) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 72 bytes in 1 blocks are still reachable in loss record 37 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x406B27: listen_socket (serv.c:772) ==29724== by 0x4054F5: main (serv.c:1153) ==29724== ==29724== 72 bytes in 1 blocks are still reachable in loss record 38 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x405964: main (serv.c:1236) ==29724== ==29724== 85 bytes in 8 blocks are still reachable in loss record 39 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5194441: strdup (strdup.c:43) ==29724== by 0x54BB18F: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC48F: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC5AC: asn1_create_element (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E9E44E: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:132) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 128 bytes in 1 blocks are still reachable in loss record 40 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5B03908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B14E00: __gmpz_init2 (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE0CA0: wrap_nettle_mpi_new (mpi.c:97) ==29724== by 0x4EE0D17: wrap_nettle_mpi_scan (mpi.c:106) ==29724== by 0x4E62CD8: _gnutls_mpi_scan (gnutls_mpi.c:133) ==29724== by 0x4E6349F: _gnutls_x509_read_int (gnutls_mpi.c:315) ==29724== by 0x4E6A359: gnutls_dh_params_import_pkcs3 (gnutls_dh_primes.c:301) ==29724== by 0x405376: main (serv.c:262) ==29724== ==29724== 128 bytes in 1 blocks are still reachable in loss record 41 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5B03908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B14E00: __gmpz_init2 (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE0CA0: wrap_nettle_mpi_new (mpi.c:97) ==29724== by 0x4EE0D17: wrap_nettle_mpi_scan (mpi.c:106) ==29724== by 0x4E62CD8: _gnutls_mpi_scan (gnutls_mpi.c:133) ==29724== by 0x4E6349F: _gnutls_x509_read_int (gnutls_mpi.c:315) ==29724== by 0x4E9E552: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:190) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 128 bytes in 1 blocks are still reachable in loss record 42 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5B03908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B14E00: __gmpz_init2 (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE0CA0: wrap_nettle_mpi_new (mpi.c:97) ==29724== by 0x4EE1907: wrap_nettle_mpi_mod (mpi.c:217) ==29724== by 0x4EDFC6A: wrap_nettle_pk_fixup (pk.c:1030) ==29724== by 0x4E9E5C5: _gnutls_privkey_decode_pkcs1_rsa_key (gnutls_pk.h:42) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 128 bytes in 1 blocks are still reachable in loss record 43 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5B03908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B14E00: __gmpz_init2 (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE0CA0: wrap_nettle_mpi_new (mpi.c:97) ==29724== by 0x4EE1907: wrap_nettle_mpi_mod (mpi.c:217) ==29724== by 0x4EDFC8E: wrap_nettle_pk_fixup (pk.c:1033) ==29724== by 0x4E9E5C5: _gnutls_privkey_decode_pkcs1_rsa_key (gnutls_pk.h:42) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 136 bytes in 1 blocks are still reachable in loss record 44 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x4E64896: gnutls_certificate_allocate_credentials (gnutls_cert.c:221) ==29724== by 0x404EFD: main (serv.c:971) ==29724== ==29724== 136 bytes in 1 blocks are still reachable in loss record 45 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5B03908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B14E00: __gmpz_init2 (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE0CA0: wrap_nettle_mpi_new (mpi.c:97) ==29724== by 0x4EE0D17: wrap_nettle_mpi_scan (mpi.c:106) ==29724== by 0x4E62CD8: _gnutls_mpi_scan (gnutls_mpi.c:133) ==29724== by 0x4E6349F: _gnutls_x509_read_int (gnutls_mpi.c:315) ==29724== by 0x4E9E50A: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:174) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 136 bytes in 1 blocks are still reachable in loss record 46 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5B03908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B14E00: __gmpz_init2 (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE0CA0: wrap_nettle_mpi_new (mpi.c:97) ==29724== by 0x4EE0D17: wrap_nettle_mpi_scan (mpi.c:106) ==29724== by 0x4E62CD8: _gnutls_mpi_scan (gnutls_mpi.c:133) ==29724== by 0x4E6349F: _gnutls_x509_read_int (gnutls_mpi.c:315) ==29724== by 0x4E9E52E: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:182) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 152 bytes in 1 blocks are still reachable in loss record 47 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x4E9E296: gnutls_x509_privkey_init (privkey.c:50) ==29724== by 0x4E6F8A3: read_key_mem (gnutls_x509.c:487) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 160 bytes in 1 blocks are still reachable in loss record 48 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x4E73E56: gnutls_pubkey_init (gnutls_pubkey.c:139) ==29724== by 0x4E732AE: gnutls_pcert_import_x509 (gnutls_pcert.c:81) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 256 bytes in 1 blocks are still reachable in loss record 49 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5B03908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B14E00: __gmpz_init2 (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE0CA0: wrap_nettle_mpi_new (mpi.c:97) ==29724== by 0x4EE0D17: wrap_nettle_mpi_scan (mpi.c:106) ==29724== by 0x4E62CD8: _gnutls_mpi_scan (gnutls_mpi.c:133) ==29724== by 0x4E6349F: _gnutls_x509_read_int (gnutls_mpi.c:315) ==29724== by 0x4E9E4E6: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:165) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 264 bytes in 1 blocks are still reachable in loss record 50 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5B03908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B14E00: __gmpz_init2 (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE0CA0: wrap_nettle_mpi_new (mpi.c:97) ==29724== by 0x4EE0D17: wrap_nettle_mpi_scan (mpi.c:106) ==29724== by 0x4E62CD8: _gnutls_mpi_scan (gnutls_mpi.c:133) ==29724== by 0x4E6349F: _gnutls_x509_read_int (gnutls_mpi.c:315) ==29724== by 0x4E9E49E: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:148) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 264 bytes in 1 blocks are still reachable in loss record 51 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5B03908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B14E00: __gmpz_init2 (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE0CA0: wrap_nettle_mpi_new (mpi.c:97) ==29724== by 0x4EE0D17: wrap_nettle_mpi_scan (mpi.c:106) ==29724== by 0x4E62CD8: _gnutls_mpi_scan (gnutls_mpi.c:133) ==29724== by 0x4E6349F: _gnutls_x509_read_int (gnutls_mpi.c:315) ==29724== by 0x4E87C43: _gnutls_x509_read_pubkey (key_decode.c:72) ==29724== by 0x4E9303D: _gnutls_get_asn_mpis (mpi.c:109) ==29724== by 0x4E73F1A: gnutls_pubkey_import_x509 (gnutls_pubkey.c:192) ==29724== by 0x4E732C1: gnutls_pcert_import_x509 (gnutls_pcert.c:88) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== ==29724== 312 bytes in 1 blocks are still reachable in loss record 52 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x4E6CEC8: gnutls_init (gnutls_state.c:335) ==29724== by 0x4066EC: initialize_session (serv.c:338) ==29724== by 0x405918: main (serv.c:1219) ==29724== ==29724== 464 bytes in 1 blocks are still reachable in loss record 53 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x4E66AE2: _gnutls_epoch_alloc (gnutls_constate.c:740) ==29724== by 0x4E6CDA2: gnutls_init (gnutls_state.c:308) ==29724== by 0x4066EC: initialize_session (serv.c:338) ==29724== by 0x405918: main (serv.c:1219) ==29724== ==29724== 504 bytes in 1 blocks are still reachable in loss record 54 of 70 ==29724== at 0x4C29097: realloc (vg_replace_malloc.c:525) ==29724== by 0x4E5ED9D: _gnutls_ext_register (gnutls_extensions.c:365) ==29724== by 0x4E651A1: gnutls_global_init (gnutls_global.c:260) ==29724== by 0x404E27: main (serv.c:943) ==29724== ==29724== 576 bytes in 8 blocks are still reachable in loss record 55 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x54BBE31: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC529: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC5AC: asn1_create_element (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E9E44E: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:132) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 587 bytes in 60 blocks are still reachable in loss record 56 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5194441: strdup (strdup.c:43) ==29724== by 0x54BB18F: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC109: asn1_array2tree (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E65153: gnutls_global_init (gnutls_global.c:243) ==29724== by 0x404E27: main (serv.c:943) ==29724== ==29724== 1,171 bytes in 7 blocks are still reachable in loss record 57 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x54BAEF7: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54B6F0A: asn1_der_decoding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E9E482: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:141) ==29724== by 0x4E9EB8E: gnutls_x509_privkey_import (privkey.c:497) ==29724== by 0x4E6F8B9: read_key_mem (gnutls_x509.c:494) ==29724== by 0x4E701B0: gnutls_certificate_set_x509_key_file (gnutls_x509.c:839) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 1,474 bytes in 67 blocks are still reachable in loss record 58 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x54BAEF7: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC12F: asn1_array2tree (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E65125: gnutls_global_init (gnutls_global.c:236) ==29724== by 0x404E27: main (serv.c:943) ==29724== ==29724== 1,730 bytes in 1 blocks are still reachable in loss record 59 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x4E7327D: gnutls_pcert_import_x509 (gnutls_pcert.c:66) ==29724== by 0x4E73421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==29724== by 0x4E6F391: read_cert_mem (gnutls_x509.c:405) ==29724== by 0x4E701E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==29724== by 0x405006: main (serv.c:1042) ==29724== ==29724== 2,560 bytes in 64 blocks are definitely lost in loss record 60 of 70 ==29724== at 0x4C29097: realloc (vg_replace_malloc.c:525) ==29724== by 0x5B038BB: __gmp_default_reallocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B1B209: __gmpz_realloc (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B1CE51: __gmpz_sub (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE54D6: ecc_projective_check_point (ecc_projective_check_point.c:75) ==29724== by 0x4EDE92A: _wrap_nettle_pk_derive (pk.c:144) ==29724== by 0x4EC54A2: calc_ecdh_key (ecdh_common.c:64) ==29724== by 0x4EC5569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==29724== by 0x4E595E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==29724== by 0x4E56D25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==29724== by 0x4E57622: gnutls_handshake (gnutls_handshake.c:2368) ==29724== by 0x405A99: main (serv.c:1270) ==29724== ==29724== 3,776 bytes in 118 blocks are definitely lost in loss record 61 of 70 ==29724== at 0x4C29097: realloc (vg_replace_malloc.c:525) ==29724== by 0x5B038BB: __gmp_default_reallocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B1B209: __gmpz_realloc (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B0CBF1: __gmpz_add (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE5484: ecc_projective_check_point (ecc_projective_check_point.c:66) ==29724== by 0x4EDE92A: _wrap_nettle_pk_derive (pk.c:144) ==29724== by 0x4EC54A2: calc_ecdh_key (ecdh_common.c:64) ==29724== by 0x4EC5569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==29724== by 0x4E595E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==29724== by 0x4E56D25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==29724== by 0x4E57622: gnutls_handshake (gnutls_handshake.c:2368) ==29724== by 0x405A99: main (serv.c:1270) ==29724== ==29724== 4,237 bytes in 325 blocks are still reachable in loss record 62 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5194441: strdup (strdup.c:43) ==29724== by 0x54BB18F: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC109: asn1_array2tree (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E65125: gnutls_global_init (gnutls_global.c:236) ==29724== by 0x404E27: main (serv.c:943) ==29724== ==29724== 4,608 bytes in 64 blocks are still reachable in loss record 63 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x54BAC2E: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC0F5: asn1_array2tree (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E65153: gnutls_global_init (gnutls_global.c:243) ==29724== by 0x404E27: main (serv.c:943) ==29724== ==29724== 4,816 bytes in 1 blocks are still reachable in loss record 64 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x4E6CD87: gnutls_init (gnutls_state.c:304) ==29724== by 0x4066EC: initialize_session (serv.c:338) ==29724== by 0x405918: main (serv.c:1219) ==29724== ==29724== 8,320 bytes in 208 blocks are definitely lost in loss record 65 of 70 ==29724== at 0x4C29097: realloc (vg_replace_malloc.c:525) ==29724== by 0x5B038BB: __gmp_default_reallocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B1B209: __gmpz_realloc (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B1CE51: __gmpz_sub (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE54A5: ecc_projective_check_point (ecc_projective_check_point.c:69) ==29724== by 0x4EDE92A: _wrap_nettle_pk_derive (pk.c:144) ==29724== by 0x4EC54A2: calc_ecdh_key (ecdh_common.c:64) ==29724== by 0x4EC5569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==29724== by 0x4E595E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==29724== by 0x4E56D25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==29724== by 0x4E57622: gnutls_handshake (gnutls_handshake.c:2368) ==29724== by 0x405A99: main (serv.c:1270) ==29724== ==29724== 18,720 bytes in 390 blocks are definitely lost in loss record 66 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5B03908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B17F39: __gmpz_mul (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE5426: ecc_projective_check_point (ecc_projective_check_point.c:57) ==29724== by 0x4EDE92A: _wrap_nettle_pk_derive (pk.c:144) ==29724== by 0x4EC54A2: calc_ecdh_key (ecdh_common.c:64) ==29724== by 0x4EC5569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==29724== by 0x4E595E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==29724== by 0x4E56D25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==29724== by 0x4E57622: gnutls_handshake (gnutls_handshake.c:2368) ==29724== by 0x405A99: main (serv.c:1270) ==29724== ==29724== 18,720 bytes in 390 blocks are definitely lost in loss record 67 of 70 ==29724== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==29724== by 0x5B03908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x5B17F39: __gmpz_mul (in /usr/lib/libgmp.so.10.0.1) ==29724== by 0x4EE5444: ecc_projective_check_point (ecc_projective_check_point.c:60) ==29724== by 0x4EDE92A: _wrap_nettle_pk_derive (pk.c:144) ==29724== by 0x4EC54A2: calc_ecdh_key (ecdh_common.c:64) ==29724== by 0x4EC5569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==29724== by 0x4E595E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==29724== by 0x4E56D25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==29724== by 0x4E57622: gnutls_handshake (gnutls_handshake.c:2368) ==29724== by 0x405A99: main (serv.c:1270) ==29724== ==29724== 24,144 bytes in 1 blocks are still reachable in loss record 68 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x4EAD912: gnutls_x509_trust_list_init (verify-high.c:89) ==29724== by 0x4E648A9: gnutls_certificate_allocate_credentials (gnutls_cert.c:226) ==29724== by 0x404EFD: main (serv.c:971) ==29724== ==29724== 29,160 bytes in 405 blocks are still reachable in loss record 69 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x54BAC2E: ??? (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x54BC0F5: asn1_array2tree (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==29724== by 0x4E65125: gnutls_global_init (gnutls_global.c:236) ==29724== by 0x404E27: main (serv.c:943) ==29724== ==29724== 136,192 bytes in 1 blocks are still reachable in loss record 70 of 70 ==29724== at 0x4C279F2: calloc (vg_replace_malloc.c:467) ==29724== by 0x4051A8: main (serv.c:1620) ==29724== ==29724== LEAK SUMMARY: ==29724== definitely lost: 52,096 bytes in 1,170 blocks ==29724== indirectly lost: 0 bytes in 0 blocks ==29724== possibly lost: 0 bytes in 0 blocks ==29724== still reachable: 213,171 bytes in 1,004 blocks ==29724== suppressed: 0 bytes in 0 blocks ==29724== ==29724== For counts of detected and suppressed errors, rerun with: -v ==29724== ERROR SUMMARY: 28942 errors from 12 contexts (suppressed: 4 from 4)