rsyslog/librelp

gnutls memory leak

madyang opened this issue · 8 comments

==67121== HEAP SUMMARY:
==67121== in use at exit: 160,709,206 bytes in 1,009,775 blocks
==67121== total heap usage: 137,566,647 allocs, 136,556,872 frees, 249,355,791,036 bytes allocated
==67121==
==67121== 8 bytes in 1 blocks are possibly lost in loss record 14 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63AB078: __gmp_default_allocate (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638B430: __gmpz_realloc (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x6388CB4: __gmpz_import (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x637F68C: nettle_mpz_set_str_256_u (bignum.c:146)
==67121== by 0x633D382: wrap_nettle_mpi_scan (mpi.c:145)
==67121== by 0x62BB7CB: _gnutls_mpi_init_scan (mpi.c:122)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFE41: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:163)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121==
==67121== 8 bytes in 1 blocks are definitely lost in loss record 16 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x6291A50: newActInst (omrelp.c:532)
==67121== by 0x48CD03: actionNewInst (action.c:2262)
==67121== by 0x433975: cnfstmtNewAct (rainerscript.c:4428)
==67121== by 0x422DE2: yyparse (grammar.y:191)
==67121== by 0x441165: load (rsconf.c:1334)
==67121== by 0x411A71: initAll (rsyslogd.c:1547)
==67121== by 0x412738: main (rsyslogd.c:2138)
==67121==
==67121== 13 bytes in 1 blocks are definitely lost in loss record 21 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x498031: es_str2cstr (string.c:516)
==67121== by 0x60406F1: newActInst (mmsequence.c:221)
==67121== by 0x48CD03: actionNewInst (action.c:2262)
==67121== by 0x433975: cnfstmtNewAct (rainerscript.c:4428)
==67121== by 0x422DE2: yyparse (grammar.y:191)
==67121== by 0x441165: load (rsconf.c:1334)
==67121== by 0x411A71: initAll (rsyslogd.c:1547)
==67121== by 0x412738: main (rsyslogd.c:2138)
==67121==
==67121== 16 bytes in 1 blocks are possibly lost in loss record 24 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x633D4D6: wrap_nettle_mpi_init (mpi.c:76)
==67121== by 0x62BB7B2: _gnutls_mpi_init_scan (mpi.c:118)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFE1D: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:155)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 16 bytes in 1 blocks are possibly lost in loss record 25 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x633D4D6: wrap_nettle_mpi_init (mpi.c:76)
==67121== by 0x62BB7B2: _gnutls_mpi_init_scan (mpi.c:118)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFE41: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:163)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 16 bytes in 1 blocks are possibly lost in loss record 26 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x633D4D6: wrap_nettle_mpi_init (mpi.c:76)
==67121== by 0x62BB7B2: _gnutls_mpi_init_scan (mpi.c:118)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFE65: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:171)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 16 bytes in 1 blocks are possibly lost in loss record 27 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x633D4D6: wrap_nettle_mpi_init (mpi.c:76)
==67121== by 0x62BB7B2: _gnutls_mpi_init_scan (mpi.c:118)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFE89: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:179)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 16 bytes in 1 blocks are possibly lost in loss record 28 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x633D4D6: wrap_nettle_mpi_init (mpi.c:76)
==67121== by 0x62BB7B2: _gnutls_mpi_init_scan (mpi.c:118)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFEAD: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:187)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 16 bytes in 1 blocks are possibly lost in loss record 29 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x633D4D6: wrap_nettle_mpi_init (mpi.c:76)
==67121== by 0x62BB7B2: _gnutls_mpi_init_scan (mpi.c:118)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFED1: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:195)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 32 bytes in 2 blocks are possibly lost in loss record 51 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x633D4D6: wrap_nettle_mpi_init (mpi.c:76)
==67121== by 0x633D5FE: wrap_nettle_mpi_init_multi (mpi.c:106)
==67121== by 0x633E99D: calc_rsa_exp (pk.c:1865)
==67121== by 0x633E99D: wrap_nettle_pk_fixup (pk.c:1934)
==67121== by 0x62F06A1: _gnutls_pk_fixup (pk.h:46)
==67121== by 0x62F06A1: gnutls_x509_privkey_import (privkey.c:638)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121== by 0x629B609: relpTcpConnectTLSInit_gtls (tcp.c:3314)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121==
==67121== 64 bytes in 1 blocks are possibly lost in loss record 71 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63AB078: __gmp_default_allocate (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638B430: __gmpz_realloc (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x6388CB4: __gmpz_import (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x637F68C: nettle_mpz_set_str_256_u (bignum.c:146)
==67121== by 0x633D382: wrap_nettle_mpi_scan (mpi.c:145)
==67121== by 0x62BB7CB: _gnutls_mpi_init_scan (mpi.c:122)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFED1: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:195)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121==
==67121== 64 bytes in 1 blocks are possibly lost in loss record 72 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63AB078: __gmp_default_allocate (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638B430: __gmpz_realloc (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638C577: __gmpz_tdiv_r (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638919D: __gmpz_mod (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x633D47C: wrap_nettle_mpi_modm (mpi.c:239)
==67121== by 0x633E9CD: calc_rsa_exp (pk.c:1871)
==67121== by 0x633E9CD: wrap_nettle_pk_fixup (pk.c:1934)
==67121== by 0x62F06A1: _gnutls_pk_fixup (pk.h:46)
==67121== by 0x62F06A1: gnutls_x509_privkey_import (privkey.c:638)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 64 bytes in 1 blocks are possibly lost in loss record 73 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63AB078: __gmp_default_allocate (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638B430: __gmpz_realloc (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638C577: __gmpz_tdiv_r (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638919D: __gmpz_mod (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x633D47C: wrap_nettle_mpi_modm (mpi.c:239)
==67121== by 0x633E9FD: calc_rsa_exp (pk.c:1877)
==67121== by 0x633E9FD: wrap_nettle_pk_fixup (pk.c:1934)
==67121== by 0x62F06A1: _gnutls_pk_fixup (pk.h:46)
==67121== by 0x62F06A1: gnutls_x509_privkey_import (privkey.c:638)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 72 bytes in 1 blocks are possibly lost in loss record 75 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63AB078: __gmp_default_allocate (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638B430: __gmpz_realloc (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x6388CB4: __gmpz_import (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x637F68C: nettle_mpz_set_str_256_u (bignum.c:146)
==67121== by 0x633D382: wrap_nettle_mpi_scan (mpi.c:145)
==67121== by 0x62BB7CB: _gnutls_mpi_init_scan (mpi.c:122)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFE89: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:179)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121==
==67121== 72 bytes in 1 blocks are possibly lost in loss record 76 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63AB078: __gmp_default_allocate (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638B430: __gmpz_realloc (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x6388CB4: __gmpz_import (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x637F68C: nettle_mpz_set_str_256_u (bignum.c:146)
==67121== by 0x633D382: wrap_nettle_mpi_scan (mpi.c:145)
==67121== by 0x62BB7CB: _gnutls_mpi_init_scan (mpi.c:122)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFEAD: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:187)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121==
==67121== 83 (64 direct, 19 indirect) bytes in 1 blocks are definitely lost in loss record 77 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x629C4A8: relpSendbufConstruct (sendbuf.c:54)
==67121== by 0x6297651: relpFrameBuildSendbuf (relpframe.c:446)
==67121== by 0x62957CA: relpSessRawSendCommand (relpsess.c:641)
==67121== by 0x62963DB: relpSessCltDoDisconnect (relpsess.c:970)
==67121== by 0x6294AC3: relpSessDestruct (relpsess.c:182)
==67121== by 0x629D2B8: relpCltDestruct (relpclt.c:93)
==67121== by 0x62945C1: relpEngineCltDestruct (relp.c:1125)
==67121== by 0x6290DEF: freeWrkrInstance (omrelp.c:359)
==67121== by 0x471592: wtiWorker (wti.c:454)
==67121== by 0x46EB40: wtpWorker (wtp.c:435)
==67121== by 0x4E3EDC4: start_thread (in /usr/lib64/libpthread-2.17.so)
==67121==
==67121== 96 (8 direct, 88 indirect) bytes in 1 blocks are definitely lost in loss record 78 of 259
==67121== at 0x4C29EBD: malloc (vg_replace_malloc.c:308)
==67121== by 0x4C2C210: realloc (vg_replace_malloc.c:836)
==67121== by 0x629D787: relpCltAddPermittedPeer (relpclt.c:232)
==67121== by 0x62909F1: doCreateRelpClient (omrelp.c:272)
==67121== by 0x6291BAC: newActInst (omrelp.c:549)
==67121== by 0x48CD03: actionNewInst (action.c:2262)
==67121== by 0x433975: cnfstmtNewAct (rainerscript.c:4428)
==67121== by 0x422DE2: yyparse (grammar.y:191)
==67121== by 0x441165: load (rsconf.c:1334)
==67121== by 0x411A71: initAll (rsyslogd.c:1547)
==67121== by 0x412738: main (rsyslogd.c:2138)
==67121==
==67121== 136 bytes in 1 blocks are possibly lost in loss record 88 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63AB078: __gmp_default_allocate (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638B430: __gmpz_realloc (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x6388CB4: __gmpz_import (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x637F68C: nettle_mpz_set_str_256_u (bignum.c:146)
==67121== by 0x633D382: wrap_nettle_mpi_scan (mpi.c:145)
==67121== by 0x62BB7CB: _gnutls_mpi_init_scan (mpi.c:122)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFE1D: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:155)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121==
==67121== 136 bytes in 1 blocks are possibly lost in loss record 89 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63AB078: __gmp_default_allocate (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x638B430: __gmpz_realloc (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x6388CB4: __gmpz_import (in /rsyslog-bin/lib/rsyslog/omrelp.so)
==67121== by 0x637F68C: nettle_mpz_set_str_256_u (bignum.c:146)
==67121== by 0x633D382: wrap_nettle_mpi_scan (mpi.c:145)
==67121== by 0x62BB7CB: _gnutls_mpi_init_scan (mpi.c:122)
==67121== by 0x62BBC37: __gnutls_x509_read_int (mpi.c:306)
==67121== by 0x62EFE65: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:171)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121==
==67121== 150 bytes in 1 blocks are possibly lost in loss record 91 of 259
==67121== at 0x4C29EBD: malloc (vg_replace_malloc.c:308)
==67121== by 0x4C2C210: realloc (vg_replace_malloc.c:836)
==67121== by 0x62C15C8: gnutls_realloc_fast (mem.c:56)
==67121== by 0x62F87CE: add_new_ca_to_rdn_seq (verify-high.c:207)
==67121== by 0x62F87CE: gnutls_x509_trust_list_add_cas (verify-high.c:336)
==67121== by 0x62F9BC7: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:86)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121== by 0x62960EB: relpSessConnect (relpsess.c:896)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121==
==67121== 152 bytes in 1 blocks are possibly lost in loss record 94 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A67A: _asn1_copy_structure3 (structure.c:405)
==67121== by 0x633A7D7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A7D7: asn1_create_element (structure.c:683)
==67121== by 0x62EFDB6: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:139)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 152 bytes in 1 blocks are possibly lost in loss record 95 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A6BB: _asn1_copy_structure3 (structure.c:424)
==67121== by 0x633A7D7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A7D7: asn1_create_element (structure.c:683)
==67121== by 0x62EFDB6: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:139)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 246 (240 direct, 6 indirect) bytes in 30 blocks are definitely lost in loss record 99 of 259
==67121== at 0x4C29EBD: malloc (vg_replace_malloc.c:308)
==67121== by 0x4C2C210: realloc (vg_replace_malloc.c:836)
==67121== by 0x629D787: relpCltAddPermittedPeer (relpclt.c:232)
==67121== by 0x62909F1: doCreateRelpClient (omrelp.c:272)
==67121== by 0x6290C46: createWrkrInstance (omrelp.c:327)
==67121== by 0x489280: actionCheckAndCreateWrkrInstance (action.c:974)
==67121== by 0x4896D1: actionPrepare (action.c:1061)
==67121== by 0x48B0E3: processMsgMain (action.c:1650)
==67121== by 0x48B21E: processBatchMain (action.c:1689)
==67121== by 0x4789D8: ConsumerReg (queue.c:2145)
==67121== by 0x47140F: wtiWorker (wti.c:428)
==67121== by 0x46EB40: wtpWorker (wtp.c:435)
==67121==
==67121== 480 bytes in 1 blocks are possibly lost in loss record 106 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x62EFBFC: gnutls_x509_privkey_init (privkey.c:52)
==67121== by 0x62CA466: gnutls_privkey_import_x509_raw (privkey.c:1316)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121== by 0x629B609: relpTcpConnectTLSInit_gtls (tcp.c:3314)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121== by 0x62960EB: relpSessConnect (relpsess.c:896)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6292085: doAction (omrelp.c:667)
==67121==
==67121== 525 bytes in 25 blocks are possibly lost in loss record 107 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63391FE: _asn1_set_value (parser_aux.c:245)
==67121== by 0x6336BE4: asn1_der_decoding2 (decoding.c:1138)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121==
==67121== 656 bytes in 8 blocks are possibly lost in loss record 110 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63391FE: _asn1_set_value (parser_aux.c:245)
==67121== by 0x633692D: asn1_der_decoding2 (decoding.c:1232)
==67121== by 0x62EFE01: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62EFE01: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:147)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121== by 0x629B609: relpTcpConnectTLSInit_gtls (tcp.c:3314)
==67121==
==67121== 760 bytes in 5 blocks are possibly lost in loss record 111 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A67A: _asn1_copy_structure3 (structure.c:405)
==67121== by 0x633A7D7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A7D7: asn1_create_element (structure.c:683)
==67121== by 0x62FDD13: gnutls_x509_crt_init (x509.c:206)
==67121== by 0x6302D92: gnutls_x509_crt_list_import (x509.c:3533)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121==
==67121== 760 bytes in 5 blocks are possibly lost in loss record 112 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A704: _asn1_copy_structure3 (structure.c:440)
==67121== by 0x633A7D7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A7D7: asn1_create_element (structure.c:683)
==67121== by 0x62FDD13: gnutls_x509_crt_init (x509.c:206)
==67121== by 0x6302D92: gnutls_x509_crt_list_import (x509.c:3533)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121==
==67121== 955 bytes in 75 blocks are possibly lost in loss record 115 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63392B4: _asn1_set_value_lv (parser_aux.c:276)
==67121== by 0x6336B17: asn1_der_decoding2 (decoding.c:1442)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121==
==67121== 985 (768 direct, 217 indirect) bytes in 32 blocks are definitely lost in loss record 116 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x6298440: relpTcpSetPermittedPeers (tcp.c:975)
==67121== by 0x62960B4: relpSessConnect (relpsess.c:894)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6291EBA: tryResume (omrelp.c:627)
==67121== by 0x488A21: actionDoRetry (action.c:857)
==67121== by 0x489578: actionTryResume (action.c:1034)
==67121== by 0x4896F2: actionPrepare (action.c:1062)
==67121== by 0x48B0E3: processMsgMain (action.c:1650)
==67121== by 0x48B21E: processBatchMain (action.c:1689)
==67121== by 0x4789D8: ConsumerReg (queue.c:2145)
==67121==
==67121== 1,216 bytes in 8 blocks are possibly lost in loss record 119 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A704: _asn1_copy_structure3 (structure.c:440)
==67121== by 0x633A7D7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A7D7: asn1_create_element (structure.c:683)
==67121== by 0x62EFDB6: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:139)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 1,605 (1,248 direct, 357 indirect) bytes in 52 blocks are definitely lost in loss record 121 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x6298440: relpTcpSetPermittedPeers (tcp.c:975)
==67121== by 0x62960B4: relpSessConnect (relpsess.c:894)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6291EBA: tryResume (omrelp.c:627)
==67121== by 0x488A21: actionDoRetry (action.c:857)
==67121== by 0x489578: actionTryResume (action.c:1034)
==67121== by 0x4896F2: actionPrepare (action.c:1062)
==67121== by 0x48A08F: actionProcessMessage (action.c:1302)
==67121== by 0x48A26E: doTransaction (action.c:1334)
==67121== by 0x48A399: actionTryCommit (action.c:1368)
==67121==
==67121== 1,610 bytes in 20 blocks are possibly lost in loss record 122 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x63391FE: _asn1_set_value (parser_aux.c:245)
==67121== by 0x633692D: asn1_der_decoding2 (decoding.c:1232)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121==
==67121== 3,272 (2,544 direct, 728 indirect) bytes in 106 blocks are definitely lost in loss record 131 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x6298440: relpTcpSetPermittedPeers (tcp.c:975)
==67121== by 0x62960B4: relpSessConnect (relpsess.c:894)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6291FEF: beginTransaction (omrelp.c:651)
==67121== by 0x4897E6: actionPrepare (action.c:1074)
==67121== by 0x48B0E3: processMsgMain (action.c:1650)
==67121== by 0x48B21E: processBatchMain (action.c:1689)
==67121== by 0x4789D8: ConsumerReg (queue.c:2145)
==67121== by 0x47140F: wtiWorker (wti.c:428)
==67121== by 0x46EB40: wtpWorker (wtp.c:435)
==67121==
==67121== 5,320 bytes in 35 blocks are possibly lost in loss record 138 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A704: _asn1_copy_structure3 (structure.c:440)
==67121== by 0x633A8B7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A8B7: _asn1_expand_identifier (structure.c:574)
==67121== by 0x633A8B7: asn1_create_element (structure.c:690)
==67121== by 0x62FDD13: gnutls_x509_crt_init (x509.c:206)
==67121== by 0x6302D92: gnutls_x509_crt_list_import (x509.c:3533)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121==
==67121== 9,120 bytes in 60 blocks are possibly lost in loss record 144 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A67A: _asn1_copy_structure3 (structure.c:405)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337022: asn1_der_decoding2 (decoding.c:1336)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 10,856 (8,448 direct, 2,408 indirect) bytes in 352 blocks are definitely lost in loss record 146 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x6298440: relpTcpSetPermittedPeers (tcp.c:975)
==67121== by 0x62960B4: relpSessConnect (relpsess.c:894)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6292085: doAction (omrelp.c:667)
==67121== by 0x489F13: actionCallDoAction (action.c:1264)
==67121== by 0x48A120: actionProcessMessage (action.c:1306)
==67121== by 0x48A26E: doTransaction (action.c:1334)
==67121== by 0x48A399: actionTryCommit (action.c:1368)
==67121== by 0x48ABBA: actionCommit (action.c:1540)
==67121== by 0x48B2E6: processBatchMain (action.c:1701)
==67121==
==67121== 11,400 bytes in 75 blocks are possibly lost in loss record 147 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A67A: _asn1_copy_structure3 (structure.c:405)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337315: asn1_der_decoding2 (decoding.c:1396)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 13,680 bytes in 90 blocks are possibly lost in loss record 149 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A6BB: _asn1_copy_structure3 (structure.c:424)
==67121== by 0x633A8B7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A8B7: _asn1_expand_identifier (structure.c:574)
==67121== by 0x633A8B7: asn1_create_element (structure.c:690)
==67121== by 0x62FDD13: gnutls_x509_crt_init (x509.c:206)
==67121== by 0x6302D92: gnutls_x509_crt_list_import (x509.c:3533)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121==
==67121== 13,680 bytes in 90 blocks are possibly lost in loss record 150 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A704: _asn1_copy_structure3 (structure.c:440)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337315: asn1_der_decoding2 (decoding.c:1396)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 17,480 bytes in 115 blocks are possibly lost in loss record 153 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A67A: _asn1_copy_structure3 (structure.c:405)
==67121== by 0x633A8B7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A8B7: _asn1_expand_identifier (structure.c:574)
==67121== by 0x633A8B7: asn1_create_element (structure.c:690)
==67121== by 0x62FDD13: gnutls_x509_crt_init (x509.c:206)
==67121== by 0x6302D92: gnutls_x509_crt_list_import (x509.c:3533)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121==
==67121== 18,240 bytes in 120 blocks are possibly lost in loss record 155 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A704: _asn1_copy_structure3 (structure.c:440)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337022: asn1_der_decoding2 (decoding.c:1336)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 24,320 bytes in 160 blocks are possibly lost in loss record 160 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A6BB: _asn1_copy_structure3 (structure.c:424)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337315: asn1_der_decoding2 (decoding.c:1396)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 25,840 bytes in 170 blocks are possibly lost in loss record 161 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A6BB: _asn1_copy_structure3 (structure.c:424)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337022: asn1_der_decoding2 (decoding.c:1336)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 90,199 (1,592 direct, 88,607 indirect) bytes in 199 blocks are definitely lost in loss record 193 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x6296548: relpSessSetPermittedPeers (relpsess.c:1036)
==67121== by 0x629D5D1: relpCltConnect (relpclt.c:137)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6291EBA: tryResume (omrelp.c:627)
==67121== by 0x488A21: actionDoRetry (action.c:857)
==67121== by 0x489578: actionTryResume (action.c:1034)
==67121== by 0x4896F2: actionPrepare (action.c:1062)
==67121== by 0x48B0E3: processMsgMain (action.c:1650)
==67121== by 0x48B21E: processBatchMain (action.c:1689)
==67121== by 0x4789D8: ConsumerReg (queue.c:2145)
==67121== by 0x47140F: wtiWorker (wti.c:428)
==67121==
==67121== 158,250 (11,400 direct, 146,850 indirect) bytes in 75 blocks are definitely lost in loss record 196 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A6BB: _asn1_copy_structure3 (structure.c:424)
==67121== by 0x633A7D7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A7D7: asn1_create_element (structure.c:683)
==67121== by 0x62EFDB6: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:139)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 193,321 (2,776 direct, 190,545 indirect) bytes in 347 blocks are definitely lost in loss record 202 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x6296548: relpSessSetPermittedPeers (relpsess.c:1036)
==67121== by 0x629D5D1: relpCltConnect (relpclt.c:137)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6291EBA: tryResume (omrelp.c:627)
==67121== by 0x488A21: actionDoRetry (action.c:857)
==67121== by 0x489578: actionTryResume (action.c:1034)
==67121== by 0x4896F2: actionPrepare (action.c:1062)
==67121== by 0x48A08F: actionProcessMessage (action.c:1302)
==67121== by 0x48A26E: doTransaction (action.c:1334)
==67121== by 0x48A399: actionTryCommit (action.c:1368)
==67121== by 0x48ABBA: actionCommit (action.c:1540)
==67121==
==67121== 594,416 (6,200 direct, 588,216 indirect) bytes in 775 blocks are definitely lost in loss record 220 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x6296548: relpSessSetPermittedPeers (relpsess.c:1036)
==67121== by 0x629D5D1: relpCltConnect (relpclt.c:137)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6291FEF: beginTransaction (omrelp.c:651)
==67121== by 0x4897E6: actionPrepare (action.c:1074)
==67121== by 0x48B0E3: processMsgMain (action.c:1650)
==67121== by 0x48B21E: processBatchMain (action.c:1689)
==67121== by 0x4789D8: ConsumerReg (queue.c:2145)
==67121== by 0x47140F: wtiWorker (wti.c:428)
==67121== by 0x46EB40: wtpWorker (wtp.c:435)
==67121== by 0x4E3EDC4: start_thread (in /usr/lib64/libpthread-2.17.so)
==67121==
==67121== 890,420 (64,144 direct, 826,276 indirect) bytes in 422 blocks are definitely lost in loss record 222 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A704: _asn1_copy_structure3 (structure.c:440)
==67121== by 0x633A7D7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A7D7: asn1_create_element (structure.c:683)
==67121== by 0x62EFDB6: _gnutls_privkey_decode_pkcs1_rsa_key (privkey.c:139)
==67121== by 0x62F3CDA: _decode_pkcs8_rsa_key (privkey_pkcs8.c:934)
==67121== by 0x62F3CDA: decode_private_key_info (privkey_pkcs8.c:1119)
==67121== by 0x62F5DAA: gnutls_x509_privkey_import_pkcs8 (privkey_pkcs8.c:1233)
==67121== by 0x62F094D: gnutls_x509_privkey_import (privkey.c:579)
==67121== by 0x62F0E84: gnutls_x509_privkey_import2 (privkey.c:763)
==67121== by 0x62CA49D: gnutls_privkey_import_x509_raw (privkey.c:1325)
==67121== by 0x62C67E1: read_key_mem (x509.c:736)
==67121== by 0x62C7C94: read_key_file (x509.c:972)
==67121== by 0x62C7C94: gnutls_certificate_set_x509_key_file2 (x509.c:1605)
==67121==
==67121== 1,036,933 (18,008 direct, 1,018,925 indirect) bytes in 2,251 blocks are definitely lost in loss record 223 of 259
==67121== at 0x4C29F73: malloc (vg_replace_malloc.c:309)
==67121== by 0x6296548: relpSessSetPermittedPeers (relpsess.c:1036)
==67121== by 0x629D5D1: relpCltConnect (relpclt.c:137)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6292085: doAction (omrelp.c:667)
==67121== by 0x489F13: actionCallDoAction (action.c:1264)
==67121== by 0x48A120: actionProcessMessage (action.c:1306)
==67121== by 0x48A26E: doTransaction (action.c:1334)
==67121== by 0x48A399: actionTryCommit (action.c:1368)
==67121== by 0x48ABBA: actionCommit (action.c:1540)
==67121== by 0x48B2E6: processBatchMain (action.c:1701)
==67121== by 0x4789D8: ConsumerReg (queue.c:2145)
==67121==
==67121== 1,867,505 (23,080 direct, 1,844,425 indirect) bytes in 2,885 blocks are definitely lost in loss record 226 of 259
==67121== at 0x4C29EBD: malloc (vg_replace_malloc.c:308)
==67121== by 0x4C2C210: realloc (vg_replace_malloc.c:836)
==67121== by 0x629D787: relpCltAddPermittedPeer (relpclt.c:232)
==67121== by 0x62909F1: doCreateRelpClient (omrelp.c:272)
==67121== by 0x6291F44: doRebind (omrelp.c:638)
==67121== by 0x629218E: doAction (omrelp.c:690)
==67121== by 0x489F13: actionCallDoAction (action.c:1264)
==67121== by 0x48A120: actionProcessMessage (action.c:1306)
==67121== by 0x48A26E: doTransaction (action.c:1334)
==67121== by 0x48A399: actionTryCommit (action.c:1368)
==67121== by 0x48ABBA: actionCommit (action.c:1540)
==67121== by 0x48B2E6: processBatchMain (action.c:1701)
==67121==
==67121== 2,596,006 (596,360 direct, 1,999,646 indirect) bytes in 85 blocks are definitely lost in loss record 229 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x62C3DB0: gnutls_init (state.c:341)
==67121== by 0x629B3E7: relpTcpConnectTLSInit_gtls (tcp.c:3280)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121== by 0x62960EB: relpSessConnect (relpsess.c:896)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6291EBA: tryResume (omrelp.c:627)
==67121== by 0x488A21: actionDoRetry (action.c:857)
==67121== by 0x489578: actionTryResume (action.c:1034)
==67121== by 0x4896F2: actionPrepare (action.c:1062)
==67121==
==67121== 2,614,958 (13,832 direct, 2,601,126 indirect) bytes in 91 blocks are definitely lost in loss record 230 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A704: _asn1_copy_structure3 (structure.c:440)
==67121== by 0x633A7D7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A7D7: asn1_create_element (structure.c:683)
==67121== by 0x62FDD13: gnutls_x509_crt_init (x509.c:206)
==67121== by 0x6302D92: gnutls_x509_crt_list_import (x509.c:3533)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121==
==67121== 3,789,727 (841,920 direct, 2,947,807 indirect) bytes in 120 blocks are definitely lost in loss record 234 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x62C3DB0: gnutls_init (state.c:341)
==67121== by 0x629B3E7: relpTcpConnectTLSInit_gtls (tcp.c:3280)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121== by 0x62960EB: relpSessConnect (relpsess.c:896)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6291FEF: beginTransaction (omrelp.c:651)
==67121== by 0x4897E6: actionPrepare (action.c:1074)
==67121== by 0x48B0E3: processMsgMain (action.c:1650)
==67121== by 0x48B21E: processBatchMain (action.c:1689)
==67121==
==67121== 4,109,250 (21,736 direct, 4,087,514 indirect) bytes in 143 blocks are definitely lost in loss record 236 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A704: _asn1_copy_structure3 (structure.c:440)
==67121== by 0x633A8B7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A8B7: _asn1_expand_identifier (structure.c:574)
==67121== by 0x633A8B7: asn1_create_element (structure.c:690)
==67121== by 0x62FDD13: gnutls_x509_crt_init (x509.c:206)
==67121== by 0x6302D92: gnutls_x509_crt_list_import (x509.c:3533)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121==
==67121== 4,683,990 (24,776 direct, 4,659,214 indirect) bytes in 163 blocks are definitely lost in loss record 238 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A67A: _asn1_copy_structure3 (structure.c:405)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337022: asn1_der_decoding2 (decoding.c:1336)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 5,833,524 (30,856 direct, 5,802,668 indirect) bytes in 203 blocks are definitely lost in loss record 240 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A67A: _asn1_copy_structure3 (structure.c:405)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337315: asn1_der_decoding2 (decoding.c:1396)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 6,322,032 (33,440 direct, 6,288,592 indirect) bytes in 220 blocks are definitely lost in loss record 241 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A704: _asn1_copy_structure3 (structure.c:440)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337315: asn1_der_decoding2 (decoding.c:1396)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 7,500,331 (39,672 direct, 7,460,659 indirect) bytes in 261 blocks are definitely lost in loss record 243 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A704: _asn1_copy_structure3 (structure.c:440)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337022: asn1_der_decoding2 (decoding.c:1336)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 9,009,489 (81,144 direct, 8,928,345 indirect) bytes in 483 blocks are definitely lost in loss record 245 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x62BE4E6: gnutls_certificate_allocate_credentials (cert.c:230)
==67121== by 0x629B505: relpTcpConnectTLSInit_gtls (tcp.c:3300)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121== by 0x62960EB: relpSessConnect (relpsess.c:896)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6291EBA: tryResume (omrelp.c:627)
==67121== by 0x488A21: actionDoRetry (action.c:857)
==67121== by 0x489578: actionTryResume (action.c:1034)
==67121== by 0x4896F2: actionPrepare (action.c:1062)
==67121==
==67121== 10,575,035 (55,936 direct, 10,519,099 indirect) bytes in 368 blocks are definitely lost in loss record 248 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A6BB: _asn1_copy_structure3 (structure.c:424)
==67121== by 0x633A8B7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A8B7: _asn1_expand_identifier (structure.c:574)
==67121== by 0x633A8B7: asn1_create_element (structure.c:690)
==67121== by 0x62FDD13: gnutls_x509_crt_init (x509.c:206)
==67121== by 0x6302D92: gnutls_x509_crt_list_import (x509.c:3533)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121==
==67121== 10,874,571 (2,553,824 direct, 8,320,747 indirect) bytes in 364 blocks are definitely lost in loss record 249 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x62C3DB0: gnutls_init (state.c:341)
==67121== by 0x629B3E7: relpTcpConnectTLSInit_gtls (tcp.c:3280)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121== by 0x62960EB: relpSessConnect (relpsess.c:896)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6292085: doAction (omrelp.c:667)
==67121== by 0x489F13: actionCallDoAction (action.c:1264)
==67121== by 0x48A120: actionProcessMessage (action.c:1306)
==67121== by 0x48A26E: doTransaction (action.c:1334)
==67121==
==67121== 11,149,710 (58,976 direct, 11,090,734 indirect) bytes in 388 blocks are definitely lost in loss record 250 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A6BB: _asn1_copy_structure3 (structure.c:424)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337022: asn1_der_decoding2 (decoding.c:1336)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 11,867,651 (62,776 direct, 11,804,875 indirect) bytes in 413 blocks are definitely lost in loss record 251 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A6BB: _asn1_copy_structure3 (structure.c:424)
==67121== by 0x6337D58: _asn1_append_sequence_set (element.c:156)
==67121== by 0x6337315: asn1_der_decoding2 (decoding.c:1396)
==67121== by 0x62FE89F: _asn1_strict_der_decode (common.h:264)
==67121== by 0x62FE89F: gnutls_x509_crt_import (x509.c:467)
==67121== by 0x6302DC0: gnutls_x509_crt_list_import (x509.c:3543)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121==
==67121== 13,486,903 (122,808 direct, 13,364,095 indirect) bytes in 731 blocks are definitely lost in loss record 253 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x62BE4E6: gnutls_certificate_allocate_credentials (cert.c:230)
==67121== by 0x629B505: relpTcpConnectTLSInit_gtls (tcp.c:3300)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121== by 0x62960EB: relpSessConnect (relpsess.c:896)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6291FEF: beginTransaction (omrelp.c:651)
==67121== by 0x4897E6: actionPrepare (action.c:1074)
==67121== by 0x48B0E3: processMsgMain (action.c:1650)
==67121== by 0x48B21E: processBatchMain (action.c:1689)
==67121==
==67121== 15,460,413 (81,776 direct, 15,378,637 indirect) bytes in 538 blocks are definitely lost in loss record 256 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x633A041: _asn1_add_single_node (structure.c:52)
==67121== by 0x633A67A: _asn1_copy_structure3 (structure.c:405)
==67121== by 0x633A8B7: _asn1_copy_structure2 (structure.c:463)
==67121== by 0x633A8B7: _asn1_expand_identifier (structure.c:574)
==67121== by 0x633A8B7: asn1_create_element (structure.c:690)
==67121== by 0x62FDD13: gnutls_x509_crt_init (x509.c:206)
==67121== by 0x6302D92: gnutls_x509_crt_list_import (x509.c:3533)
==67121== by 0x6303117: gnutls_x509_crt_list_import2 (x509.c:3422)
==67121== by 0x62F9BA8: gnutls_x509_trust_list_add_trust_mem (verify-high2.c:80)
==67121== by 0x62F9F35: gnutls_x509_trust_list_add_trust_file (verify-high2.c:366)
==67121== by 0x62C7529: gnutls_certificate_set_x509_trust_file (x509.c:1748)
==67121== by 0x629B56F: relpTcpConnectTLSInit_gtls (tcp.c:3305)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121==
==67121== 35,699,996 (332,976 direct, 35,367,020 indirect) bytes in 1,982 blocks are definitely lost in loss record 259 of 259
==67121== at 0x4C2C089: calloc (vg_replace_malloc.c:762)
==67121== by 0x62BE4E6: gnutls_certificate_allocate_credentials (cert.c:230)
==67121== by 0x629B505: relpTcpConnectTLSInit_gtls (tcp.c:3300)
==67121== by 0x629B85B: relpTcpConnectTLSInit (tcp.c:3390)
==67121== by 0x629BDBA: relpTcpConnect (tcp.c:3548)
==67121== by 0x62960EB: relpSessConnect (relpsess.c:896)
==67121== by 0x629D5F7: relpCltConnect (relpclt.c:139)
==67121== by 0x6291D7E: doConnect (omrelp.c:586)
==67121== by 0x6292085: doAction (omrelp.c:667)
==67121== by 0x489F13: actionCallDoAction (action.c:1264)
==67121== by 0x48A120: actionProcessMessage (action.c:1306)
==67121== by 0x48A26E: doTransaction (action.c:1334)
==67121==
==67121== LEAK SUMMARY:
==67121== definitely lost: 5,093,349 bytes in 14,083 blocks
==67121== indirectly lost: 155,328,445 bytes in 993,627 blocks
==67121== possibly lost: 147,240 bytes in 1,081 blocks
==67121== still reachable: 140,172 bytes in 984 blocks
==67121== suppressed: 0 bytes in 0 blocks
==67121== Reachable blocks (those to which a pointer was found) are not shown.
==67121== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==67121==
==67121== For lists of detected and suppressed errors, rerun with: -s
==67121== ERROR SUMMARY: 67 errors from 67 contexts (suppressed: 0 from 0)

any way to reproduce this? librelp version?

any way to reproduce this? librelp version?

rsyslog v8.2004.0 and librelp 1.6.0
it looks like that gnutls_certificate_free_credentials function doesn‘t call when free tls connection

any way to reproduce this?

any way to reproduce this?

imfile -> main queue -> action queue -> omrelp

ruleset(name="rule-export-fwd") {
action(type="omrelp"
template="format_raw"
target="sink.xxx.local"
port="2000"
tls="on"
tls.compression="on"
tls.authMode="name"
tls.caCert="/xxx/cert/ca_public_certificate.pem"
tls.myCert="/xxx/cert/public.pem"
tls.myPrivKey="/xxx/cert/private.key.pem"
tls.permittedpeer=["xxx"]
queue.type="LinkedList"
queue.size="102400"
queue.filename="queue"
queue.maxFileSize="1g"
queue.saveonshutdown="off"
queue.dequeuebatchsize="200"
queue.dequeueslowdown="10000"
queue.timeoutenqueue="15000"
queue.workerthreads="32"
queue.workerthreadminimummessages="500"
queue.samplinginterval="0"
rebindInterval="1000"
)
}

let rebindInterval smaller maybe leak faster,it looks like all tls connections are leak memory when close.
gnutls_certificate_allocate_credentials call when new connection, but gnutls_certificate_free_credentials doesn't call when close,these two is a pair,i think.

@alorbach can you have a look? Might this be the recent fix?

I could be the leak from the recent fix here:
7907c9c

do we know if this was fixed?

this really appears to be a real memory leak. gnutls_certificate_free_credentials is actually never being called.
I will look into this ASAP.