nginx-1.17 + valgrind

Илья Шипицин chipitsine на gmail.com
Пн Май 27 08:03:16 UTC 2019


привет!

изучаем утечки памяти. мешает вот такой шум

==5351== 2,160 bytes in 1 blocks are still reachable in loss record 1 of 2
==5351==    at 0x4C29BC3: malloc (vg_replace_malloc.c:299)
==5351==    by 0x157E01: ngx_strerror_init (in /usr/sbin/nginx-debug)
==5351==    by 0x1307FE: main (in /usr/sbin/nginx-debug)
==5351==
==5351== 3,030 bytes in 135 blocks are still reachable in loss record 2 of 2
==5351==    at 0x4C29BC3: malloc (vg_replace_malloc.c:299)
==5351==    by 0x157E66: ngx_strerror_init (in /usr/sbin/nginx-debug)
==5351==    by 0x1307FE: main (in /usr/sbin/nginx-debug)
==5351==
==5351== LEAK SUMMARY:
==5351==    definitely lost: 0 bytes in 0 blocks
==5351==    indirectly lost: 0 bytes in 0 blocks
==5351==      possibly lost: 0 bytes in 0 blocks
==5351==    still reachable: 5,190 bytes in 136 blocks
==5351==         suppressed: 0 bytes in 0 blocks
==5351==
==5351== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==5351== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
[root на valgrind ~]#
----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <http://mailman.nginx.org/pipermail/nginx-ru/attachments/20190527/df85dd12/attachment.html>


Подробная информация о списке рассылки nginx-ru