Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a memory leak in dnsconfd #563

Open
evverx opened this issue Feb 10, 2024 · 0 comments
Open

There is a memory leak in dnsconfd #563

evverx opened this issue Feb 10, 2024 · 0 comments

Comments

@evverx
Copy link
Member

evverx commented Feb 10, 2024

==45974== HEAP SUMMARY:
==45974==     in use at exit: 240 bytes in 3 blocks
==45974==   total heap usage: 2,283 allocs, 2,280 frees, 1,014,457 bytes allocated
==45974==
==45974== 80 bytes in 1 blocks are definitely lost in loss record 1 of 3
==45974==    at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==45974==    by 0x486CDC0: xmalloc (malloc.c:68)
==45974==    by 0x486CEB5: avahi_malloc (malloc.c:107)
==45974==    by 0x486D28C: avahi_strdup_vprintf (malloc.c:206)
==45974==    by 0x486D41C: avahi_strdup_printf (malloc.c:242)
==45974==    by 0x10AFEC: set_env (main.c:247)
==45974==    by 0x10B0DC: run_script (main.c:266)
==45974==    by 0x10B606: free_dns_server_info_list (main.c:368)
==45974==    by 0x10BD08: run_daemon (main.c:548)
==45974==    by 0x10BF55: main (main.c:629)
==45974==
==45974== 80 bytes in 1 blocks are definitely lost in loss record 2 of 3
==45974==    at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==45974==    by 0x486CDC0: xmalloc (malloc.c:68)
==45974==    by 0x486CEB5: avahi_malloc (malloc.c:107)
==45974==    by 0x486D28C: avahi_strdup_vprintf (malloc.c:206)
==45974==    by 0x486D41C: avahi_strdup_printf (malloc.c:242)
==45974==    by 0x10AFEC: set_env (main.c:247)
==45974==    by 0x10B11C: run_script (main.c:270)
==45974==    by 0x10B606: free_dns_server_info_list (main.c:368)
==45974==    by 0x10BD08: run_daemon (main.c:548)
==45974==    by 0x10BF55: main (main.c:629)
==45974==
==45974== 80 bytes in 1 blocks are definitely lost in loss record 3 of 3
==45974==    at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==45974==    by 0x486CDC0: xmalloc (malloc.c:68)
==45974==    by 0x486CEB5: avahi_malloc (malloc.c:107)
==45974==    by 0x486D28C: avahi_strdup_vprintf (malloc.c:206)
==45974==    by 0x486D41C: avahi_strdup_printf (malloc.c:242)
==45974==    by 0x10AFEC: set_env (main.c:247)
==45974==    by 0x10B13E: run_script (main.c:273)
==45974==    by 0x10B606: free_dns_server_info_list (main.c:368)
==45974==    by 0x10BD08: run_daemon (main.c:548)
==45974==    by 0x10BF55: main (main.c:629)
==45974==
==45974== LEAK SUMMARY:
==45974==    definitely lost: 240 bytes in 3 blocks
==45974==    indirectly lost: 0 bytes in 0 blocks
==45974==      possibly lost: 0 bytes in 0 blocks
==45974==    still reachable: 0 bytes in 0 blocks
==45974==         suppressed: 0 bytes in 0 blocks
==45974==
==45974== For lists of detected and suppressed errors, rerun with: -s
==45974== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
2024-02-10T06:57:11.8238934Z Feb 10 06:57:09 fv-az695-403 systemd[1]: avahi-dnsconfd.service: Main process exited, code=exited, status=1/FAILURE
2024-02-10T06:57:11.8239799Z Feb 10 06:57:09 fv-az695-403 systemd[1]: avahi-dnsconfd.service: Failed with result 'exit-code'.
2024-02-10T06:57:11.8240619Z Feb 10 06:57:09 fv-az695-403 systemd[1]: avahi-dnsconfd.service: Consumed 4.880s CPU time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant