janvidar / uhub

A high performance ADC peer to peer message hub.
http://www.uhub.org
GNU General Public License v3.0
70 stars 28 forks source link

valgrind #37

Open pavel-pimenov opened 7 years ago

pavel-pimenov commented 7 years ago

==4470== ==4470== HEAP SUMMARY: ==4470== in use at exit: 8,316 bytes in 416 blocks ==4470== total heap usage: 528,264 allocs, 527,848 frees, 64,064,295 bytes allocated ==4470== ==4470== 16 bytes in 1 blocks are still reachable in loss record 1 of 3 ==4470== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==4470== by 0x40F594B: ??? (in /lib/i386-linux-gnu/libcrypto.so.1.0.0) ==4470== by 0x40F5F21: CRYPTO_malloc (in /lib/i386-linux-gnu/libcrypto.so.1.0.0) ==4470== by 0x416DE5F: sk_new (in /lib/i386-linux-gnu/libcrypto.so.1.0.0) ==4470== by 0x409D5DD: ??? (in /lib/i386-linux-gnu/libssl.so.1.0.0) ==4470== by 0x409F6E3: SSL_COMP_get_compression_methods (in /lib/i386-linux-gnu/libssl.so.1.0.0) ==4470== by 0x40A4FAD: SSL_library_init (in /lib/i386-linux-gnu/libssl.so.1.0.0) ==4470== by 0x80627AD: net_ssl_library_init (in /home/dc/src/uhub/uhub) ==4470== by 0x8063A28: net_initialize (in /home/dc/src/uhub/uhub) ==4470== by 0x804F4E6: main_loop (in /home/dc/src/uhub/uhub) ==4470== by 0x804FCEF: main (in /home/dc/src/uhub/uhub) ==4470== ==4470== 20 bytes in 1 blocks are still reachable in loss record 2 of 3 ==4470== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==4470== by 0x40F594B: ??? (in /lib/i386-linux-gnu/libcrypto.so.1.0.0) ==4470== by 0x40F5F21: CRYPTO_malloc (in /lib/i386-linux-gnu/libcrypto.so.1.0.0) ==4470== by 0x416DE41: sk_new (in /lib/i386-linux-gnu/libcrypto.so.1.0.0) ==4470== by 0x409D5DD: ??? (in /lib/i386-linux-gnu/libssl.so.1.0.0) ==4470== by 0x409F6E3: SSL_COMP_get_compression_methods (in /lib/i386-linux-gnu/libssl.so.1.0.0) ==4470== by 0x40A4FAD: SSL_library_init (in /lib/i386-linux-gnu/libssl.so.1.0.0) ==4470== by 0x80627AD: net_ssl_library_init (in /home/dc/src/uhub/uhub) ==4470== by 0x8063A28: net_initialize (in /home/dc/src/uhub/uhub) ==4470== by 0x804F4E6: main_loop (in /home/dc/src/uhub/uhub) ==4470== by 0x804FCEF: main (in /home/dc/src/uhub/uhub) valgrind --leak-check=full --show-leak-kinds=all ./uhub -vvvv

==4470== ==4470== 8,280 bytes in 414 blocks are definitely lost in loss record 3 of 3 ==4470== at 0x402A17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==4470== by 0x8068C87: hub_malloc_zero (in /home/dc/src/uhub/uhub) ==4470== by 0x8066200: net_con_set_timeout (in /home/dc/src/uhub/uhub) ==4470== by 0x8059443: probe_create (in /home/dc/src/uhub/uhub) ==4470== by 0x80528E1: net_on_accept (in /home/dc/src/uhub/uhub) ==4470== by 0x806599A: net_con_callback (in /home/dc/src/uhub/uhub) ==4470== by 0x8064CFB: net_backend_process_epoll (in /home/dc/src/uhub/uhub) ==4470== by 0x806375B: net_backend_process (in /home/dc/src/uhub/uhub) ==4470== by 0x80583CA: hub_event_loop (in /home/dc/src/uhub/uhub) ==4470== by 0x804F623: main_loop (in /home/dc/src/uhub/uhub) ==4470== by 0x804FCEF: main (in /home/dc/src/uhub/uhub) ==4470== ==4470== LEAK SUMMARY: ==4470== definitely lost: 8,280 bytes in 414 blocks ==4470== indirectly lost: 0 bytes in 0 blocks ==4470== possibly lost: 0 bytes in 0 blocks ==4470== still reachable: 36 bytes in 2 blocks ==4470== suppressed: 0 bytes in 0 blocks ==4470== ==4470== For counts of detected and suppressed errors, rerun with: -v ==4470== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

janvidar commented 7 years ago

How did you shut down the hub?

pavel-pimenov commented 7 years ago

Ctrl+c