You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.
==155613== Memcheck, a memory error detector
==155613== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==155613== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
==155613== Command: ./httplib_demo
==155613==
WorkCallback
AfterWorkCallback
==155613==
==155613== HEAP SUMMARY:
==155613== in use at exit: 4,164 bytes in 20 blocks
==155613== total heap usage: 4,626 allocs, 4,606 frees, 173,387 bytes allocated
==155613==
==155613== 12 bytes in 1 blocks are definitely lost in loss record 1 of 20
==155613== at 0x4C2B067: malloc (vg_replace_malloc.c:380)
==155613== by 0x4EFDAF: CRYPTO_malloc (mem.c:222)
==155613== by 0x4EFDE2: CRYPTO_zalloc (mem.c:230)
==155613== by 0x4EC09F: ossl_init_get_thread_local (init.c:66)
==155613== by 0x4EC4E7: ossl_init_thread_start (init.c:465)
==155613== by 0x4CB96F: ERR_get_state (err.c:739)
==155613== by 0x4CABA9: ERR_clear_error (err.c:445)
==155613== by 0x606606: engine_load_rdrand_int (eng_rdrand.c:90)
==155613== by 0x4EC3A4: ossl_init_engine_rdrand (init.c:353)
==155613== by 0x4EC393: ossl_init_engine_rdrand_ossl_ (init.c:347)
==155613== by 0x4E4120A: __pthread_once_slow (in /usr/lib64/libpthread-2.17.so)
==155613== by 0x54B042: CRYPTO_THREAD_run_once (threads_pthread.c:118)
==155613==
==155613== 584 bytes in 1 blocks are definitely lost in loss record 18 of 20
==155613== at 0x4C2B067: malloc (vg_replace_malloc.c:380)
==155613== by 0x4EFDAF: CRYPTO_malloc (mem.c:222)
==155613== by 0x4EFDE2: CRYPTO_zalloc (mem.c:230)
==155613== by 0x4CB942: ERR_get_state (err.c:734)
==155613== by 0x4CABA9: ERR_clear_error (err.c:445)
==155613== by 0x606606: engine_load_rdrand_int (eng_rdrand.c:90)
==155613== by 0x4EC3A4: ossl_init_engine_rdrand (init.c:353)
==155613== by 0x4EC393: ossl_init_engine_rdrand_ossl_ (init.c:347)
==155613== by 0x4E4120A: __pthread_once_slow (in /usr/lib64/libpthread-2.17.so)
==155613== by 0x54B042: CRYPTO_THREAD_run_once (threads_pthread.c:118)
==155613== by 0x4ECA57: OPENSSL_init_crypto (init.c:723)
==155613== by 0x603BBA: ENGINE_load_builtin_engines (eng_all.c:18)
==155613==
==155613== 1,784 (376 direct, 1,408 indirect) bytes in 1 blocks are definitely lost in loss record 19 of 20
==155613== at 0x4C2B067: malloc (vg_replace_malloc.c:380)
==155613== by 0x4EFDAF: CRYPTO_malloc (mem.c:222)
==155613== by 0x4EFDE2: CRYPTO_zalloc (mem.c:230)
==155613== by 0x4F021B: CRYPTO_secure_zalloc (mem_sec.c:147)
==155613== by 0x50DD4C: rand_drbg_new (drbg_lib.c:191)
==155613== by 0x50DF73: RAND_DRBG_secure_new (drbg_lib.c:257)
==155613== by 0x50F0FC: drbg_setup (drbg_lib.c:873)
==155613== by 0x50F60D: RAND_DRBG_get0_public (drbg_lib.c:1119)
==155613== by 0x50F2D7: drbg_bytes (drbg_lib.c:962)
==155613== by 0x510BC5: RAND_bytes (rand_lib.c:941)
==155613== by 0x43CAF1: SSL_CTX_new (ssl_lib.c:3106)
==155613== by 0x40615A: WorkCallback(uv_work_s*) (main.cpp:5)
==155613==
==155613== 1,784 (376 direct, 1,408 indirect) bytes in 1 blocks are definitely lost in loss record 20 of 20
==155613== at 0x4C2B067: malloc (vg_replace_malloc.c:380)
==155613== by 0x4EFDAF: CRYPTO_malloc (mem.c:222)
==155613== by 0x4EFDE2: CRYPTO_zalloc (mem.c:230)
==155613== by 0x4F021B: CRYPTO_secure_zalloc (mem_sec.c:147)
==155613== by 0x50DD4C: rand_drbg_new (drbg_lib.c:191)
==155613== by 0x50DF73: RAND_DRBG_secure_new (drbg_lib.c:257)
==155613== by 0x50F0FC: drbg_setup (drbg_lib.c:873)
==155613== by 0x50F695: RAND_DRBG_get0_private (drbg_lib.c:1140)
==155613== by 0x510B56: RAND_priv_bytes (rand_lib.c:929)
==155613== by 0x43CB0D: SSL_CTX_new (ssl_lib.c:3108)
==155613== by 0x40615A: WorkCallback(uv_work_s*) (main.cpp:5)
==155613== by 0x406304: worker (in /root/httplib_demo/build/httplib_demo)
==155613==
==155613== LEAK SUMMARY:
==155613== definitely lost: 1,348 bytes in 4 blocks
==155613== indirectly lost: 2,816 bytes in 16 blocks
==155613== possibly lost: 0 bytes in 0 blocks
==155613== still reachable: 0 bytes in 0 blocks
==155613== suppressed: 0 bytes in 0 blocks
==155613==
==155613== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
The text was updated successfully, but these errors were encountered:
Code
CMakeLists.txt
valgrind log
The text was updated successfully, but these errors were encountered: