[~/dev/nb/nxweb]% valgrind --leak-check=full --show-reachable=yes dist/Debug/GNU-Linux-x86/nxweb ==28704== Memcheck, a memory error detector ==28704== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==28704== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info ==28704== Command: dist/Debug/GNU-Linux-x86/nxweb ==28704== ==28704== Invalid read of size 4 ==28704== at 0x58D9E3A: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==28704== by 0x508CF84: _gnutls_x509_export_int_named (common.c:762) ==28704== by 0x507B228: gnutls_pcert_import_x509 (gnutls_pcert.c:59) ==28704== by 0x507B421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==28704== by 0x5077391: read_cert_mem (gnutls_x509.c:405) ==28704== by 0x50781E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==28704== by 0x40864F: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:77) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== Address 0x641af94 is 20 bytes inside a block of size 22 alloc'd ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x58D9E1B: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==28704== by 0x508CF84: _gnutls_x509_export_int_named (common.c:762) ==28704== by 0x507B228: gnutls_pcert_import_x509 (gnutls_pcert.c:59) ==28704== by 0x507B421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==28704== by 0x5077391: read_cert_mem (gnutls_x509.c:405) ==28704== by 0x50781E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==28704== by 0x40864F: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:77) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== ==28704== Invalid read of size 4 ==28704== at 0x58D9E4F: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==28704== by 0x508CF84: _gnutls_x509_export_int_named (common.c:762) ==28704== by 0x507B228: gnutls_pcert_import_x509 (gnutls_pcert.c:59) ==28704== by 0x507B421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==28704== by 0x5077391: read_cert_mem (gnutls_x509.c:405) ==28704== by 0x50781E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==28704== by 0x40864F: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:77) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== Address 0x641b038 is 8 bytes inside a block of size 10 alloc'd ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x58D9E1B: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==28704== by 0x508CF84: _gnutls_x509_export_int_named (common.c:762) ==28704== by 0x507B228: gnutls_pcert_import_x509 (gnutls_pcert.c:59) ==28704== by 0x507B421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==28704== by 0x5077391: read_cert_mem (gnutls_x509.c:405) ==28704== by 0x50781E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==28704== by 0x40864F: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:77) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== ==28704== Invalid read of size 4 ==28704== at 0x58D9E3A: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==28704== by 0x508CF84: _gnutls_x509_export_int_named (common.c:762) ==28704== by 0x507B298: gnutls_pcert_import_x509 (gnutls_pcert.c:73) ==28704== by 0x507B421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==28704== by 0x5077391: read_cert_mem (gnutls_x509.c:405) ==28704== by 0x50781E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==28704== by 0x40864F: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:77) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== Address 0x64258a4 is 20 bytes inside a block of size 22 alloc'd ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x58D9E1B: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==28704== by 0x508CF84: _gnutls_x509_export_int_named (common.c:762) ==28704== by 0x507B298: gnutls_pcert_import_x509 (gnutls_pcert.c:73) ==28704== by 0x507B421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==28704== by 0x5077391: read_cert_mem (gnutls_x509.c:405) ==28704== by 0x50781E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==28704== by 0x40864F: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:77) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== ==28704== Invalid read of size 4 ==28704== at 0x58D9E4F: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==28704== by 0x508CF84: _gnutls_x509_export_int_named (common.c:762) ==28704== by 0x507B298: gnutls_pcert_import_x509 (gnutls_pcert.c:73) ==28704== by 0x507B421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==28704== by 0x5077391: read_cert_mem (gnutls_x509.c:405) ==28704== by 0x50781E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==28704== by 0x40864F: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:77) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== Address 0x6425948 is 8 bytes inside a block of size 10 alloc'd ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x58D9E1B: asn1_der_coding (in /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.11) ==28704== by 0x508CF84: _gnutls_x509_export_int_named (common.c:762) ==28704== by 0x507B298: gnutls_pcert_import_x509 (gnutls_pcert.c:73) ==28704== by 0x507B421: gnutls_pcert_import_x509_raw (gnutls_pcert.c:206) ==28704== by 0x5077391: read_cert_mem (gnutls_x509.c:405) ==28704== by 0x50781E5: gnutls_certificate_set_x509_key_file (gnutls_x509.c:804) ==28704== by 0x40864F: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:77) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== 2012-01-10 13:44:32 [28704:0x404d620]: *** NXWEB startup: pid=28704 port=8055 ssl_port=8056 N_NET_THREADS=1 N_WORKER_THREADS=1 pg=4096 short=2 int=4 long=8 size_t=8 evt=56 conn=1456 req=176 td=968 2012-01-10 13:46:49 [28704:0x71b9700]: gnutls handshake error -24 fatal=1 2012-01-10 13:46:49 [28704:0x71b9700]: gnutls handshake error -24 fatal=1 2012-01-10 13:46:51 [28704:0x71b9700]: gnutls handshake error -24 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:25 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:26 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:26 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:26 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:26 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:26 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:26 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:26 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:26 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:27 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:27 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:27 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:27 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:27 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:27 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:27 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:27 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:27 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:28 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:28 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:28 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:28 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:28 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:28 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:28 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:28 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:28 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:29 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:29 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:29 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:29 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:29 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:29 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:29 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:29 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:29 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:30 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:30 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:30 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:30 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:30 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:30 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:30 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:30 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:30 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:31 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:31 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:31 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:31 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:31 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:31 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:31 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:31 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:31 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:32 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:32 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:32 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:32 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:32 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:32 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:32 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:32 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:32 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:33 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:33 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:33 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:33 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:33 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:33 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:33 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:33 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:33 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:34 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:34 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:34 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:34 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:34 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:34 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:34 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:34 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:34 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:35 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:35 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:35 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:35 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:35 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:35 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:35 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:35 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:35 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -110 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 2012-01-10 13:47:36 [28704:0x71b9700]: gnutls handshake error -10 fatal=1 ^C2012-01-10 13:47:59 [28704:0x404d620]: SIGTERM/SIGINT(2) received 2012-01-10 13:47:59 [28704:0x71b9700]: network thread clean exit 2012-01-10 13:47:59 [28704:0x404d620]: end of _nxweb_main() ==28704== ==28704== HEAP SUMMARY: ==28704== in use at exit: 133,784 bytes in 3,004 blocks ==28704== total heap usage: 3,614,853 allocs, 3,611,849 frees, 487,361,507 bytes allocated ==28704== ==28704== 8 bytes in 1 blocks are definitely lost in loss record 1 of 11 ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x5F28908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F39DA7: __gmpz_init (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x50E8EBF: wrap_nettle_generate_group (mpi.c:424) ==28704== by 0x50721A0: gnutls_dh_params_generate2 (gnutls_dh_primes.c:191) ==28704== by 0x4086C7: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:94) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== ==28704== 8 bytes in 1 blocks are definitely lost in loss record 2 of 11 ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x5F28908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F39DA7: __gmpz_init (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x50E8EC8: wrap_nettle_generate_group (mpi.c:425) ==28704== by 0x50721A0: gnutls_dh_params_generate2 (gnutls_dh_primes.c:191) ==28704== by 0x4086C7: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:94) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== ==28704== 48 bytes in 1 blocks are definitely lost in loss record 3 of 11 ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x5F28908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F3CF39: __gmpz_mul (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x50ED444: ecc_projective_check_point (ecc_projective_check_point.c:60) ==28704== by 0x50E692A: _wrap_nettle_pk_derive (pk.c:144) ==28704== by 0x50CD4A2: calc_ecdh_key (ecdh_common.c:64) ==28704== by 0x50CD569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==28704== by 0x50615E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==28704== by 0x505ED25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==28704== by 0x505F622: gnutls_handshake (gnutls_handshake.c:2368) ==28704== by 0x4088FD: do_handshake (nxd_ssl_socket.c:158) ==28704== by 0x408B06: sock_data_recv_read (nxd_ssl_socket.c:206) ==28704== ==28704== 48 bytes in 1 blocks are definitely lost in loss record 4 of 11 ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x5F28908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F3CF39: __gmpz_mul (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x50ED426: ecc_projective_check_point (ecc_projective_check_point.c:57) ==28704== by 0x50E692A: _wrap_nettle_pk_derive (pk.c:144) ==28704== by 0x50CD4A2: calc_ecdh_key (ecdh_common.c:64) ==28704== by 0x50CD569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==28704== by 0x50615E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==28704== by 0x505ED25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==28704== by 0x505F622: gnutls_handshake (gnutls_handshake.c:2368) ==28704== by 0x4088FD: do_handshake (nxd_ssl_socket.c:158) ==28704== by 0x408B06: sock_data_recv_read (nxd_ssl_socket.c:206) ==28704== ==28704== 160 bytes in 1 blocks are definitely lost in loss record 5 of 11 ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x5F28908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F39E00: __gmpz_init2 (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x50E8CA0: wrap_nettle_mpi_new (mpi.c:97) ==28704== by 0x50E8E8B: wrap_nettle_generate_group (mpi.c:587) ==28704== by 0x50721A0: gnutls_dh_params_generate2 (gnutls_dh_primes.c:191) ==28704== by 0x4086C7: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:94) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== ==28704== 160 bytes in 1 blocks are definitely lost in loss record 6 of 11 ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x5F28908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F39E00: __gmpz_init2 (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x50E8CA0: wrap_nettle_mpi_new (mpi.c:97) ==28704== by 0x50E8EA0: wrap_nettle_generate_group (mpi.c:597) ==28704== by 0x50721A0: gnutls_dh_params_generate2 (gnutls_dh_primes.c:191) ==28704== by 0x4086C7: nxd_ssl_socket_init_server_parameters (nxd_ssl_socket.c:94) ==28704== by 0x4036BF: nxweb_listen (http_server.c:369) ==28704== by 0x4113AF: main (main.c:36) ==28704== ==28704== 6,640 bytes in 166 blocks are definitely lost in loss record 7 of 11 ==28704== at 0x4C29097: realloc (vg_replace_malloc.c:525) ==28704== by 0x5F288BB: __gmp_default_reallocate (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F40209: __gmpz_realloc (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F41E51: __gmpz_sub (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x50ED4D6: ecc_projective_check_point (ecc_projective_check_point.c:75) ==28704== by 0x50E692A: _wrap_nettle_pk_derive (pk.c:144) ==28704== by 0x50CD4A2: calc_ecdh_key (ecdh_common.c:64) ==28704== by 0x50CD569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==28704== by 0x50615E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==28704== by 0x505ED25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==28704== by 0x505F622: gnutls_handshake (gnutls_handshake.c:2368) ==28704== by 0x4088FD: do_handshake (nxd_ssl_socket.c:158) ==28704== ==28704== 10,208 bytes in 319 blocks are definitely lost in loss record 8 of 11 ==28704== at 0x4C29097: realloc (vg_replace_malloc.c:525) ==28704== by 0x5F288BB: __gmp_default_reallocate (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F40209: __gmpz_realloc (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F31BF1: __gmpz_add (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x50ED484: ecc_projective_check_point (ecc_projective_check_point.c:66) ==28704== by 0x50E692A: _wrap_nettle_pk_derive (pk.c:144) ==28704== by 0x50CD4A2: calc_ecdh_key (ecdh_common.c:64) ==28704== by 0x50CD569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==28704== by 0x50615E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==28704== by 0x505ED25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==28704== by 0x505F622: gnutls_handshake (gnutls_handshake.c:2368) ==28704== by 0x4088FD: do_handshake (nxd_ssl_socket.c:158) ==28704== ==28704== 20,600 bytes in 515 blocks are definitely lost in loss record 9 of 11 ==28704== at 0x4C29097: realloc (vg_replace_malloc.c:525) ==28704== by 0x5F288BB: __gmp_default_reallocate (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F40209: __gmpz_realloc (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F41E51: __gmpz_sub (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x50ED4A5: ecc_projective_check_point (ecc_projective_check_point.c:69) ==28704== by 0x50E692A: _wrap_nettle_pk_derive (pk.c:144) ==28704== by 0x50CD4A2: calc_ecdh_key (ecdh_common.c:64) ==28704== by 0x50CD569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==28704== by 0x50615E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==28704== by 0x505ED25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==28704== by 0x505F622: gnutls_handshake (gnutls_handshake.c:2368) ==28704== by 0x4088FD: do_handshake (nxd_ssl_socket.c:158) ==28704== ==28704== 47,952 bytes in 999 blocks are definitely lost in loss record 10 of 11 ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x5F28908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F3CF39: __gmpz_mul (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x50ED426: ecc_projective_check_point (ecc_projective_check_point.c:57) ==28704== by 0x50E692A: _wrap_nettle_pk_derive (pk.c:144) ==28704== by 0x50CD4A2: calc_ecdh_key (ecdh_common.c:64) ==28704== by 0x50CD569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==28704== by 0x50615E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==28704== by 0x505ED25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==28704== by 0x505F622: gnutls_handshake (gnutls_handshake.c:2368) ==28704== by 0x4088FD: do_handshake (nxd_ssl_socket.c:158) ==28704== by 0x408A62: handshake_stub_is_do_write (nxd_ssl_socket.c:188) ==28704== ==28704== 47,952 bytes in 999 blocks are definitely lost in loss record 11 of 11 ==28704== at 0x4C28F9F: malloc (vg_replace_malloc.c:236) ==28704== by 0x5F28908: __gmp_default_allocate (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x5F3CF39: __gmpz_mul (in /usr/lib/libgmp.so.10.0.1) ==28704== by 0x50ED444: ecc_projective_check_point (ecc_projective_check_point.c:60) ==28704== by 0x50E692A: _wrap_nettle_pk_derive (pk.c:144) ==28704== by 0x50CD4A2: calc_ecdh_key (ecdh_common.c:64) ==28704== by 0x50CD569: _gnutls_proc_ecdh_common_client_kx (ecdh_common.c:124) ==28704== by 0x50615E6: _gnutls_recv_client_kx_message (gnutls_kx.c:549) ==28704== by 0x505ED25: _gnutls_handshake_server (gnutls_handshake.c:2801) ==28704== by 0x505F622: gnutls_handshake (gnutls_handshake.c:2368) ==28704== by 0x4088FD: do_handshake (nxd_ssl_socket.c:158) ==28704== by 0x408A62: handshake_stub_is_do_write (nxd_ssl_socket.c:188) ==28704== ==28704== LEAK SUMMARY: ==28704== definitely lost: 133,784 bytes in 3,004 blocks ==28704== indirectly lost: 0 bytes in 0 blocks ==28704== possibly lost: 0 bytes in 0 blocks ==28704== still reachable: 0 bytes in 0 blocks ==28704== suppressed: 0 bytes in 0 blocks ==28704== ==28704== For counts of detected and suppressed errors, rerun with: -v ==28704== ERROR SUMMARY: 45 errors from 15 contexts (suppressed: 4 from 4)