No memory leaks anymore

This commit is contained in:
Ano-sys
2025-02-02 16:51:59 +01:00
parent 7f6d6c1479
commit 02c31d009e
60 changed files with 474261 additions and 57129 deletions
+445
View File
@@ -0,0 +1,445 @@
<?xml version="1.0"?>
<valgrindoutput>
<protocolversion>4</protocolversion>
<protocoltool>memcheck</protocoltool>
<preamble>
<line>Memcheck, a memory error detector</line>
<line>Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.</line>
<line>Using Valgrind-3.24.0 and LibVEX; rerun with -h for copyright info</line>
<line>Command: build/zmq_worker 6004</line>
</preamble>
<pid>58361</pid>
<ppid>58359</ppid>
<tool>memcheck</tool>
<args>
<vargv>
<exe>/usr/bin/valgrind</exe>
<arg>--tool=memcheck</arg>
<arg>--xml=yes</arg>
<arg>--xml-file=valgrind_output_worker_3.xml</arg>
<arg>--gen-suppressions=all</arg>
<arg>--leak-check=full</arg>
<arg>--leak-resolution=med</arg>
<arg>--track-origins=yes</arg>
<arg>--trace-children=yes</arg>
<arg>--vgdb=no</arg>
<arg>--fair-sched=yes</arg>
</vargv>
<argv>
<exe>build/zmq_worker</exe>
<arg>6004</arg>
</argv>
</args>
<status>
<state>RUNNING</state>
<time>00:00:00:00.071 </time>
</status>
<fatal_signal>
<tid>1</tid>
<signo>2</signo>
<signame>SIGINT</signame>
<sicode>128</sicode>
<siaddr>0x0</siaddr>
<stack>
<frame>
<ip>0x4A18909</ip>
<obj>/usr/lib/libc.so.6</obj>
<fn>__futex_abstimed_wait_common64</fn>
<dir>/usr/src/debug/glibc/glibc/nptl</dir>
<file>futex-internal.c</file>
<line>57</line>
</frame>
<frame>
<ip>0x4A18909</ip>
<obj>/usr/lib/libc.so.6</obj>
<fn>__futex_abstimed_wait_common</fn>
<dir>/usr/src/debug/glibc/glibc/nptl</dir>
<file>futex-internal.c</file>
<line>87</line>
</frame>
<frame>
<ip>0x4A1E0E2</ip>
<obj>/usr/lib/libc.so.6</obj>
<fn>__pthread_clockjoin_ex</fn>
<dir>/usr/src/debug/glibc/glibc/nptl</dir>
<file>pthread_join_common.c</file>
<line>102</line>
</frame>
<frame>
<ip>0x10949D</ip>
<obj>/home/timo/gitl/RN-Praxis3/praxis3/build/zmq_worker</obj>
<fn>main</fn>
<dir>/home/timo/gitl/RN-Praxis3/praxis3</dir>
<file>zmq_worker.c</file>
<line>46</line>
</frame>
</stack>
</fatal_signal>
<status>
<state>FINISHED</state>
<time>00:00:00:01.772 </time>
</status>
<error>
<unique>0x3a</unique>
<tid>1</tid>
<kind>Leak_PossiblyLost</kind>
<xwhat>
<text>1,056 bytes in 3 blocks are possibly lost in loss record 59 of 75</text>
<leakedbytes>1056</leakedbytes>
<leakedblocks>3</leakedblocks>
</xwhat>
<stack>
<frame>
<ip>0x484BC13</ip>
<obj>/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
<fn>calloc</fn>
<dir>/usr/src/debug/valgrind/valgrind-3.24.0/coregrind/m_replacemalloc</dir>
<file>vg_replace_malloc.c</file>
<line>1675</line>
</frame>
<frame>
<ip>0x4010F83</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>calloc</fn>
<dir>/usr/src/debug/glibc/glibc/elf/../include</dir>
<file>rtld-malloc.h</file>
<line>44</line>
</frame>
<frame>
<ip>0x4010F83</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>allocate_dtv</fn>
<dir>/usr/src/debug/glibc/glibc/elf/../elf</dir>
<file>dl-tls.c</file>
<line>395</line>
</frame>
<frame>
<ip>0x4011A81</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>_dl_allocate_tls</fn>
<dir>/usr/src/debug/glibc/glibc/elf/../elf</dir>
<file>dl-tls.c</file>
<line>673</line>
</frame>
<frame>
<ip>0x4A1CE54</ip>
<obj>/usr/lib/libc.so.6</obj>
<fn>allocate_stack</fn>
<dir>/usr/src/debug/glibc/glibc/nptl</dir>
<file>allocatestack.c</file>
<line>429</line>
</frame>
<frame>
<ip>0x4A1CE54</ip>
<obj>/usr/lib/libc.so.6</obj>
<fn>pthread_create@@GLIBC_2.34</fn>
<dir>/usr/src/debug/glibc/glibc/nptl</dir>
<file>pthread_create.c</file>
<line>655</line>
</frame>
<frame>
<ip>0x1093E3</ip>
<obj>/home/timo/gitl/RN-Praxis3/praxis3/build/zmq_worker</obj>
<fn>main</fn>
<dir>/home/timo/gitl/RN-Praxis3/praxis3</dir>
<file>zmq_worker.c</file>
<line>31</line>
</frame>
</stack>
<suppression>
<sname>insert_a_suppression_name_here</sname>
<skind>Memcheck:Leak</skind>
<skaux>match-leak-kinds: possible</skaux>
<sframe> <fun>calloc</fun> </sframe>
<sframe> <fun>calloc</fun> </sframe>
<sframe> <fun>allocate_dtv</fun> </sframe>
<sframe> <fun>_dl_allocate_tls</fun> </sframe>
<sframe> <fun>allocate_stack</fun> </sframe>
<sframe> <fun>pthread_create@@GLIBC_2.34</fun> </sframe>
<sframe> <fun>main</fun> </sframe>
<rawtext>
<![CDATA[
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:calloc
fun:allocate_dtv
fun:_dl_allocate_tls
fun:allocate_stack
fun:pthread_create@@GLIBC_2.34
fun:main
}
]]>
</rawtext>
</suppression>
</error>
<suppression>
<sname>insert_a_suppression_name_here</sname>
<skind>Memcheck:Leak</skind>
<skaux>match-leak-kinds: possible</skaux>
<sframe> <fun>calloc</fun> </sframe>
<sframe> <fun>calloc</fun> </sframe>
<sframe> <fun>allocate_dtv</fun> </sframe>
<sframe> <fun>_dl_allocate_tls</fun> </sframe>
<sframe> <fun>allocate_stack</fun> </sframe>
<sframe> <fun>pthread_create@@GLIBC_2.34</fun> </sframe>
<sframe> <fun>main</fun> </sframe>
<rawtext>
<![CDATA[
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:calloc
fun:allocate_dtv
fun:_dl_allocate_tls
fun:allocate_stack
fun:pthread_create@@GLIBC_2.34
fun:main
}
]]>
</rawtext>
</suppression>
<error>
<unique>0x45</unique>
<tid>1</tid>
<kind>Leak_PossiblyLost</kind>
<xwhat>
<text>4,608 bytes in 2 blocks are possibly lost in loss record 70 of 75</text>
<leakedbytes>4608</leakedbytes>
<leakedblocks>2</leakedblocks>
</xwhat>
<stack>
<frame>
<ip>0x48447A8</ip>
<obj>/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so</obj>
<fn>malloc</fn>
<dir>/usr/src/debug/valgrind/valgrind-3.24.0/coregrind/m_replacemalloc</dir>
<file>vg_replace_malloc.c</file>
<line>446</line>
</frame>
<frame>
<ip>0x4023825</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>malloc</fn>
<dir>/usr/src/debug/glibc/glibc/elf/../include</dir>
<file>rtld-malloc.h</file>
<line>56</line>
</frame>
<frame>
<ip>0x4023825</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>_dlfo_mappings_segment_allocate</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-find_object.c</file>
<line>217</line>
</frame>
<frame>
<ip>0x4023825</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>_dl_find_object_update_1</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-find_object.c</file>
<line>680</line>
</frame>
<frame>
<ip>0x4023825</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>_dl_find_object_update</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-find_object.c</file>
<line>814</line>
</frame>
<frame>
<ip>0x400C15F</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>dl_open_worker_begin</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-open.c</file>
<line>731</line>
</frame>
<frame>
<ip>0x4001522</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>_dl_catch_exception</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-catch.c</file>
<line>241</line>
</frame>
<frame>
<ip>0x400B49F</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>dl_open_worker</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-open.c</file>
<line>778</line>
</frame>
<frame>
<ip>0x4001522</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>_dl_catch_exception</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-catch.c</file>
<line>241</line>
</frame>
<frame>
<ip>0x400B903</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>_dl_open</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-open.c</file>
<line>880</line>
</frame>
<frame>
<ip>0x4AF0894</ip>
<obj>/usr/lib/libc.so.6</obj>
<fn>do_dlopen</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-libc.c</file>
<line>95</line>
</frame>
<frame>
<ip>0x4001522</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>_dl_catch_exception</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-catch.c</file>
<line>241</line>
</frame>
<frame>
<ip>0x4001678</ip>
<obj>/usr/lib/ld-linux-x86-64.so.2</obj>
<fn>_dl_catch_error</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-catch.c</file>
<line>260</line>
</frame>
<frame>
<ip>0x4AF0800</ip>
<obj>/usr/lib/libc.so.6</obj>
<fn>dlerror_run</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-libc.c</file>
<line>45</line>
</frame>
<frame>
<ip>0x4AF0A4F</ip>
<obj>/usr/lib/libc.so.6</obj>
<fn>__libc_dlopen_mode</fn>
<dir>/usr/src/debug/glibc/glibc/elf</dir>
<file>dl-libc.c</file>
<line>162</line>
</frame>
</stack>
<suppression>
<sname>insert_a_suppression_name_here</sname>
<skind>Memcheck:Leak</skind>
<skaux>match-leak-kinds: possible</skaux>
<sframe> <fun>malloc</fun> </sframe>
<sframe> <fun>malloc</fun> </sframe>
<sframe> <fun>_dlfo_mappings_segment_allocate</fun> </sframe>
<sframe> <fun>_dl_find_object_update_1</fun> </sframe>
<sframe> <fun>_dl_find_object_update</fun> </sframe>
<sframe> <fun>dl_open_worker_begin</fun> </sframe>
<sframe> <fun>_dl_catch_exception</fun> </sframe>
<sframe> <fun>dl_open_worker</fun> </sframe>
<sframe> <fun>_dl_catch_exception</fun> </sframe>
<sframe> <fun>_dl_open</fun> </sframe>
<sframe> <fun>do_dlopen</fun> </sframe>
<sframe> <fun>_dl_catch_exception</fun> </sframe>
<sframe> <fun>_dl_catch_error</fun> </sframe>
<sframe> <fun>dlerror_run</fun> </sframe>
<sframe> <fun>__libc_dlopen_mode</fun> </sframe>
<rawtext>
<![CDATA[
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc
fun:malloc
fun:_dlfo_mappings_segment_allocate
fun:_dl_find_object_update_1
fun:_dl_find_object_update
fun:dl_open_worker_begin
fun:_dl_catch_exception
fun:dl_open_worker
fun:_dl_catch_exception
fun:_dl_open
fun:do_dlopen
fun:_dl_catch_exception
fun:_dl_catch_error
fun:dlerror_run
fun:__libc_dlopen_mode
}
]]>
</rawtext>
</suppression>
</error>
<suppression>
<sname>insert_a_suppression_name_here</sname>
<skind>Memcheck:Leak</skind>
<skaux>match-leak-kinds: possible</skaux>
<sframe> <fun>malloc</fun> </sframe>
<sframe> <fun>malloc</fun> </sframe>
<sframe> <fun>_dlfo_mappings_segment_allocate</fun> </sframe>
<sframe> <fun>_dl_find_object_update_1</fun> </sframe>
<sframe> <fun>_dl_find_object_update</fun> </sframe>
<sframe> <fun>dl_open_worker_begin</fun> </sframe>
<sframe> <fun>_dl_catch_exception</fun> </sframe>
<sframe> <fun>dl_open_worker</fun> </sframe>
<sframe> <fun>_dl_catch_exception</fun> </sframe>
<sframe> <fun>_dl_open</fun> </sframe>
<sframe> <fun>do_dlopen</fun> </sframe>
<sframe> <fun>_dl_catch_exception</fun> </sframe>
<sframe> <fun>_dl_catch_error</fun> </sframe>
<sframe> <fun>dlerror_run</fun> </sframe>
<sframe> <fun>__libc_dlopen_mode</fun> </sframe>
<rawtext>
<![CDATA[
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc
fun:malloc
fun:_dlfo_mappings_segment_allocate
fun:_dl_find_object_update_1
fun:_dl_find_object_update
fun:dl_open_worker_begin
fun:_dl_catch_exception
fun:dl_open_worker
fun:_dl_catch_exception
fun:_dl_open
fun:do_dlopen
fun:_dl_catch_exception
fun:_dl_catch_error
fun:dlerror_run
fun:__libc_dlopen_mode
}
]]>
</rawtext>
</suppression>
<errorcounts>
</errorcounts>
<suppcounts>
</suppcounts>
</valgrindoutput>