Vertical-Beach / ai-edge-contest-5

1 stars 0 forks source link

Memory Leak in Bytetrack-cpp #21

Closed lp6m closed 2 years ago

lp6m commented 2 years ago
root@df251e81d343:/usr/src/app/app/generate_submit_file/build# valgrind --leak-check=full ./generate_submit_file ./testjson/ ./testvideo/
==28303== Memcheck, a memory error detector
==28303== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==28303== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==28303== Command: ./generate_submit_file ./testjson/ ./testvideo/
==28303== 
"test_00.avi"
==28303== 
==28303== HEAP SUMMARY:
==28303==     in use at exit: 143,498 bytes in 957 blocks
==28303==   total heap usage: 135,019 allocs, 134,062 frees, 1,103,901,365 bytes allocated
==28303== 
==28303== 16 bytes in 1 blocks are possibly lost in loss record 95 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88FDDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA86EEDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303==    by 0x1FFF000399: ???
==28303== 
==28303== 16 bytes in 1 blocks are possibly lost in loss record 96 of 281
==28303==    at 0x483B723: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0x483E017: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910F3F: g_realloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88FD57: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA86EEDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303== 
==28303== 16 bytes in 1 blocks are possibly lost in loss record 97 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88FDDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA86EF41: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303==    by 0x1FFF000399: ???
==28303== 
==28303== 16 bytes in 1 blocks are possibly lost in loss record 98 of 281
==28303==    at 0x483B723: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0x483E017: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910F3F: g_realloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88FD57: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA86EF41: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303== 
==28303== 16 bytes in 1 blocks are possibly lost in loss record 99 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88FDDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA878FFF: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680C1: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303==    by 0x1FFF000399: ???
==28303== 
==28303== 16 bytes in 1 blocks are possibly lost in loss record 100 of 281
==28303==    at 0x483B723: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0x483E017: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910F3F: g_realloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88FD57: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA878FFF: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680C1: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303== 
==28303== 16 bytes in 1 blocks are possibly lost in loss record 101 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88FDDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA873CC3: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680C6: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303==    by 0x1FFF000399: ???
==28303== 
==28303== 16 bytes in 1 blocks are possibly lost in loss record 102 of 281
==28303==    at 0x483B723: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0x483E017: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910F3F: g_realloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88FD57: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA873CC3: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680C6: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303== 
==28303== 96 bytes in 1 blocks are possibly lost in loss record 247 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88F0E7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA88F28A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA867FDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303==    by 0x1FFF000399: ???
==28303==    by 0x1FFF0003A5: ???
==28303== 
==28303== 96 bytes in 1 blocks are possibly lost in loss record 248 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88F0E7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA88F28A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930C8: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA86EEDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303== 
==28303== 96 bytes in 1 blocks are possibly lost in loss record 249 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88F0E7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA88F28A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930C8: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA86EF41: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303== 
==28303== 96 bytes in 1 blocks are possibly lost in loss record 250 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88F0E7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA88F28A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930C8: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA878FFF: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680C1: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303== 
==28303== 96 bytes in 1 blocks are possibly lost in loss record 251 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88F0E7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA88F28A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8930C8: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA873CC3: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680C6: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303== 
==28303== 132 bytes in 1 blocks are possibly lost in loss record 253 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA8900F4: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA893159: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA86EEDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303==    by 0x1FFF000399: ???
==28303== 
==28303== 132 bytes in 1 blocks are possibly lost in loss record 254 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA8900F4: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA893159: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA86EF41: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303==    by 0x1FFF000399: ???
==28303== 
==28303== 148 bytes in 1 blocks are possibly lost in loss record 256 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88FF08: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA893159: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA878FFF: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680C1: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303==    by 0x1FFF000399: ???
==28303== 
==28303== 148 bytes in 1 blocks are possibly lost in loss record 257 of 281
==28303==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88FF08: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA893159: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA873CC3: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680C6: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303==    by 0x1FFF000399: ???
==28303== 
==28303== 184 bytes in 1 blocks are possibly lost in loss record 259 of 281
==28303==    at 0x483DFAF: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==28303==    by 0xA910F3F: g_realloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==28303==    by 0xA88F063: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA893324: g_type_register_static (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA87AD12: g_param_type_register_static (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA87D7EA: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0xA8680CB: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==28303==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==28303==    by 0x4011C90: call_init (dl-init.c:30)
==28303==    by 0x4011C90: _dl_init (dl-init.c:119)
==28303==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==28303==    by 0x2: ???
==28303==    by 0x1FFF000382: ???
==28303== 
==28303== LEAK SUMMARY:
==28303==    definitely lost: 0 bytes in 0 blocks
==28303==    indirectly lost: 0 bytes in 0 blocks
==28303==      possibly lost: 1,352 bytes in 18 blocks
==28303==    still reachable: 142,146 bytes in 939 blocks
==28303==                       of which reachable via heuristic:
==28303==                         newarray           : 1,536 bytes in 16 blocks
==28303==         suppressed: 0 bytes in 0 blocks
==28303== Reachable blocks (those to which a pointer was found) are not shown.
==28303== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==28303== 
==28303== For lists of detected and suppressed errors, rerun with: -s
==28303== ERROR SUMMARY: 18 errors from 18 contexts (suppressed: 0 from 0)
root@df251e81d343:/usr/src/app/app/generate_submit_file/build# 
lp6m commented 2 years ago

OpenCVのVideoCaptureに問題があるのでどうしようもない。1動画ずつ処理することでとりあえず対応。