Skip to content

Instantly share code, notes, and snippets.

@tosiara
Created December 10, 2021 10:55
Show Gist options
  • Save tosiara/982f5c9954a522d1beecc70291eebee8 to your computer and use it in GitHub Desktop.
Save tosiara/982f5c9954a522d1beecc70291eebee8 to your computer and use it in GitHub Desktop.
motion valgrind report
==227091== 
==227091== HEAP SUMMARY:
==227091==     in use at exit: 179,801,253 bytes in 116,355 blocks
==227091==   total heap usage: 16,254,781 allocs, 16,138,453 frees, 117,125,828,652 bytes allocated
==227091== 
==227091== Thread 1:
==227091== 12 bytes in 3 blocks are possibly lost in loss record 13 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D2A1: util_parms_add.isra.0 (util.c:747)
==227091==    by 0x126499: netcam_start (netcam.c:674)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x11B076: mlp_retry (motion.c:1821)
==227091==    by 0x11B076: motion_loop (motion.c:2817)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 12 bytes in 3 blocks are possibly lost in loss record 14 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D2A1: util_parms_add.isra.0 (util.c:747)
==227091==    by 0x1264B0: netcam_start (netcam.c:675)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x11B076: mlp_retry (motion.c:1821)
==227091==    by 0x11B076: motion_loop (motion.c:2817)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 15 bytes in 3 blocks are possibly lost in loss record 17 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D2A1: util_parms_add.isra.0 (util.c:747)
==227091==    by 0x126482: netcam_start (netcam.c:673)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x11B076: mlp_retry (motion.c:1821)
==227091==    by 0x11B076: motion_loop (motion.c:2817)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 16 bytes in 1 blocks are possibly lost in loss record 101 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C3DDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A2EDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091==    by 0x1FFF0001E6: ???
==227091== 
==227091== 16 bytes in 1 blocks are possibly lost in loss record 102 of 326
==227091==    at 0x483B723: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x483E017: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546F3F: g_realloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C3D57: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A2EDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091== 
==227091== 16 bytes in 1 blocks are possibly lost in loss record 103 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C3DDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A2F41: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091==    by 0x1FFF0001E6: ???
==227091== 
==227091== 16 bytes in 1 blocks are possibly lost in loss record 104 of 326
==227091==    at 0x483B723: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x483E017: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546F3F: g_realloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C3D57: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A2F41: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091== 
==227091== 16 bytes in 1 blocks are possibly lost in loss record 105 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C3DDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84ACFFF: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0C1: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091==    by 0x1FFF0001E6: ???
==227091== 
==227091== 16 bytes in 1 blocks are possibly lost in loss record 106 of 326
==227091==    at 0x483B723: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x483E017: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546F3F: g_realloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C3D57: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84ACFFF: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0C1: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091== 
==227091== 16 bytes in 1 blocks are possibly lost in loss record 107 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C3DDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A7CC3: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0C6: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091==    by 0x1FFF0001E6: ???
==227091== 
==227091== 16 bytes in 1 blocks are possibly lost in loss record 108 of 326
==227091==    at 0x483B723: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x483E017: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546F3F: g_realloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C3D57: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70D6: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A7CC3: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0C6: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091== 
==227091== 16 bytes in 1 blocks are possibly lost in loss record 109 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x12644A: netcam_start (netcam.c:670)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x11B076: mlp_retry (motion.c:1821)
==227091==    by 0x11B076: motion_loop (motion.c:2817)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 18 bytes in 3 blocks are possibly lost in loss record 111 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D259: util_parms_add.isra.0 (util.c:735)
==227091==    by 0x126482: netcam_start (netcam.c:673)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x11B076: mlp_retry (motion.c:1821)
==227091==    by 0x11B076: motion_loop (motion.c:2817)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 30 bytes in 3 blocks are possibly lost in loss record 113 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D259: util_parms_add.isra.0 (util.c:735)
==227091==    by 0x126499: netcam_start (netcam.c:674)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x11B076: mlp_retry (motion.c:1821)
==227091==    by 0x11B076: motion_loop (motion.c:2817)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 32 bytes in 8 blocks are possibly lost in loss record 117 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D2A1: util_parms_add.isra.0 (util.c:747)
==227091==    by 0x1264B0: netcam_start (netcam.c:675)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x118551: motion_init (motion.c:1119)
==227091==    by 0x118551: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 40 bytes in 10 blocks are possibly lost in loss record 142 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D2A1: util_parms_add.isra.0 (util.c:747)
==227091==    by 0x126499: netcam_start (netcam.c:674)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x118551: motion_init (motion.c:1119)
==227091==    by 0x118551: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 42 bytes in 7 blocks are possibly lost in loss record 143 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D259: util_parms_add.isra.0 (util.c:735)
==227091==    by 0x126482: netcam_start (netcam.c:673)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x118551: motion_init (motion.c:1119)
==227091==    by 0x118551: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 45 bytes in 3 blocks are possibly lost in loss record 144 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D259: util_parms_add.isra.0 (util.c:735)
==227091==    by 0x1264B0: netcam_start (netcam.c:675)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x11B076: mlp_retry (motion.c:1821)
==227091==    by 0x11B076: motion_loop (motion.c:2817)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 45 bytes in 9 blocks are possibly lost in loss record 145 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D2A1: util_parms_add.isra.0 (util.c:747)
==227091==    by 0x126482: netcam_start (netcam.c:673)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x118551: motion_init (motion.c:1119)
==227091==    by 0x118551: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 64 bytes in 4 blocks are possibly lost in loss record 154 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x12644A: netcam_start (netcam.c:670)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x118551: motion_init (motion.c:1119)
==227091==    by 0x118551: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 80 bytes in 8 blocks are possibly lost in loss record 193 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D259: util_parms_add.isra.0 (util.c:735)
==227091==    by 0x126499: netcam_start (netcam.c:674)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x118551: motion_init (motion.c:1119)
==227091==    by 0x118551: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 96 bytes in 1 blocks are possibly lost in loss record 242 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C30E7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C328A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849BFDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091==    by 0x1FFF0001E6: ???
==227091==    by 0x1FFF0001E9: ???
==227091== 
==227091== 96 bytes in 1 blocks are possibly lost in loss record 243 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C30E7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C328A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70C8: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A2EDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091== 
==227091== 96 bytes in 1 blocks are possibly lost in loss record 244 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C30E7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C328A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70C8: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A2F41: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091== 
==227091== 96 bytes in 1 blocks are possibly lost in loss record 245 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C30E7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C328A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70C8: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84ACFFF: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0C1: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091== 
==227091== 96 bytes in 1 blocks are possibly lost in loss record 246 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C30E7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C328A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C70C8: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A7CC3: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0C6: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091== 
==227091== 132 bytes in 1 blocks are possibly lost in loss record 248 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C40F4: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C7159: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A2EDE: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091==    by 0x1FFF0001E6: ???
==227091== 
==227091== 132 bytes in 1 blocks are possibly lost in loss record 249 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C40F4: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C7159: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A2F41: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0B7: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091==    by 0x1FFF0001E6: ???
==227091== 
==227091== 135 bytes in 9 blocks are possibly lost in loss record 250 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x13D259: util_parms_add.isra.0 (util.c:735)
==227091==    by 0x1264B0: netcam_start (netcam.c:675)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x118551: motion_init (motion.c:1119)
==227091==    by 0x118551: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 144 bytes in 3 blocks are possibly lost in loss record 252 of 326
==227091==    at 0x483DFAF: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D332: util_parms_add.isra.0 (util.c:730)
==227091==    by 0x1264B0: netcam_start (netcam.c:675)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x11B076: mlp_retry (motion.c:1821)
==227091==    by 0x11B076: motion_loop (motion.c:2817)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 148 bytes in 1 blocks are possibly lost in loss record 253 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C3F08: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C7159: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84ACFFF: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0C1: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091==    by 0x1FFF0001E6: ???
==227091== 
==227091== 148 bytes in 1 blocks are possibly lost in loss record 254 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546EF0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C3F08: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C7159: g_type_register_fundamental (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84A7CC3: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0C6: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091==    by 0x1FFF0001E6: ???
==227091== 
==227091== 168 bytes in 1 blocks are possibly lost in loss record 255 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489CD1B: jinit_memory_mgr (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4882D9F: jpeg_CreateDecompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AEBC: netcam_init_jpeg (netcam_jpeg.c:346)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11882F: motion_init (motion.c:1226)
==227091==    by 0x11882F: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 184 bytes in 1 blocks are possibly lost in loss record 258 of 326
==227091==    at 0x483DFAF: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x8546F3F: g_realloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6400.6)
==227091==    by 0x84C3063: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84C7324: g_type_register_static (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84AED12: g_param_type_register_static (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x84B17EA: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x849C0CB: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.6400.6)
==227091==    by 0x4011B89: call_init.part.0 (dl-init.c:72)
==227091==    by 0x4011C90: call_init (dl-init.c:30)
==227091==    by 0x4011C90: _dl_init (dl-init.c:119)
==227091==    by 0x4001139: ??? (in /usr/lib/x86_64-linux-gnu/ld-2.31.so)
==227091==    by 0x5: ???
==227091==    by 0x1FFF0001D2: ???
==227091== 
==227091== 336 bytes in 7 blocks are possibly lost in loss record 261 of 326
==227091==    at 0x483DFAF: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D332: util_parms_add.isra.0 (util.c:730)
==227091==    by 0x1264B0: netcam_start (netcam.c:675)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x118551: motion_init (motion.c:1119)
==227091==    by 0x118551: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 343 bytes in 1 blocks are possibly lost in loss record 262 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489BDEC: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x487F114: jpeg_alloc_huff_table (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488859A: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488A840: jinit_huff_decoder (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488EDE3: jinit_master_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48834A4: jpeg_start_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF72: netcam_init_jpeg (netcam_jpeg.c:366)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11882F: motion_init (motion.c:1226)
==227091==    by 0x11882F: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091== 
==227091== 1,029 bytes in 3 blocks are possibly lost in loss record 267 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489BDEC: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x487F114: jpeg_alloc_huff_table (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488859A: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488A85A: jinit_huff_decoder (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488EDE3: jinit_master_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48834A4: jpeg_start_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF72: netcam_init_jpeg (netcam_jpeg.c:366)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11882F: motion_init (motion.c:1226)
==227091==    by 0x11882F: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091== 
==227091== 1,176 bytes in 7 blocks are possibly lost in loss record 269 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489CD1B: jinit_memory_mgr (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4882D9F: jpeg_CreateDecompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AEBC: netcam_init_jpeg (netcam_jpeg.c:346)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11996E: mlp_capture (motion.c:1890)
==227091==    by 0x11996E: motion_loop (motion.c:2820)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 4,116 bytes in 12 blocks are possibly lost in loss record 279 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489BDEC: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x487F114: jpeg_alloc_huff_table (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488859A: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488A840: jinit_huff_decoder (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488EDE3: jinit_master_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48834A4: jpeg_start_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF72: netcam_init_jpeg (netcam_jpeg.c:366)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11996E: mlp_capture (motion.c:1890)
==227091==    by 0x11996E: motion_loop (motion.c:2820)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091== 
==227091== 14,749 bytes in 43 blocks are possibly lost in loss record 281 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489BDEC: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x487F114: jpeg_alloc_huff_table (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488C8F4: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488D0B4: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488AF1E: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4882F2E: jpeg_consume_input (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48831B1: jpeg_read_header (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF5D: netcam_init_jpeg (netcam_jpeg.c:358)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11882F: motion_init (motion.c:1226)
==227091==    by 0x11882F: motion_loop (motion.c:2812)
==227091== 
==227091== 22,981 bytes in 67 blocks are possibly lost in loss record 287 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489BDEC: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x487F114: jpeg_alloc_huff_table (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488859A: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488A85A: jinit_huff_decoder (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488EDE3: jinit_master_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48834A4: jpeg_start_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF72: netcam_init_jpeg (netcam_jpeg.c:366)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11996E: mlp_capture (motion.c:1890)
==227091==    by 0x11996E: motion_loop (motion.c:2820)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091== 
==227091== 91,321 bytes in 47 blocks are possibly lost in loss record 298 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489BDEC: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488DE14: jinit_marker_reader (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4882E46: jpeg_CreateDecompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AEBC: netcam_init_jpeg (netcam_jpeg.c:346)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11882F: motion_init (motion.c:1226)
==227091==    by 0x11882F: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 92,115 bytes in 69 blocks are possibly lost in loss record 299 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489C3AB: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4885BAB: jinit_d_coef_controller (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488EE0D: jinit_master_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48834A4: jpeg_start_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF72: netcam_init_jpeg (netcam_jpeg.c:366)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11882F: motion_init (motion.c:1226)
==227091==    by 0x11882F: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 144,746 bytes in 422 blocks are possibly lost in loss record 301 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489BDEC: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x487F114: jpeg_alloc_huff_table (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488C8F4: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488D0B4: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488AF1E: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4882F2E: jpeg_consume_input (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48831B1: jpeg_read_header (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF5D: netcam_init_jpeg (netcam_jpeg.c:358)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11996E: mlp_capture (motion.c:1890)
==227091==    by 0x11996E: motion_loop (motion.c:2820)
==227091== 
==227091== 223,581 bytes in 139 blocks are possibly lost in loss record 304 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489C3AB: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x489C5ED: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4893507: jinit_upsampler (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488EEF3: jinit_master_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48834A4: jpeg_start_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF72: netcam_init_jpeg (netcam_jpeg.c:366)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11882F: motion_init (motion.c:1226)
==227091==    by 0x11882F: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 438,029 (64,960 direct, 373,069 indirect) bytes in 4,060 blocks are definitely lost in loss record 308 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x12644A: netcam_start (netcam.c:670)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x11B076: mlp_retry (motion.c:1821)
==227091==    by 0x11B076: motion_loop (motion.c:2817)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 633,841 (94,032 direct, 539,809 indirect) bytes in 5,877 blocks are definitely lost in loss record 309 of 326
==227091==    at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x13D021: mymalloc (util.c:180)
==227091==    by 0x12644A: netcam_start (netcam.c:670)
==227091==    by 0x125565: vid_start (video_common.c:639)
==227091==    by 0x118551: motion_init (motion.c:1119)
==227091==    by 0x118551: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 702,749 bytes in 43 blocks are possibly lost in loss record 310 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489BDEC: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488BEED: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488D064: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488AF1E: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4882F2E: jpeg_consume_input (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48831B1: jpeg_read_header (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF5D: netcam_init_jpeg (netcam_jpeg.c:358)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11882F: motion_init (motion.c:1226)
==227091==    by 0x11882F: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091== 
==227091== 954,013 bytes in 491 blocks are possibly lost in loss record 312 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489BDEC: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488DE14: jinit_marker_reader (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4882E46: jpeg_CreateDecompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AEBC: netcam_init_jpeg (netcam_jpeg.c:346)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11996E: mlp_capture (motion.c:1890)
==227091==    by 0x11996E: motion_loop (motion.c:2820)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 1,278,930 bytes in 958 blocks are possibly lost in loss record 313 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489C3AB: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4885BAB: jinit_d_coef_controller (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488EE0D: jinit_master_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48834A4: jpeg_start_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF72: netcam_init_jpeg (netcam_jpeg.c:366)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11996E: mlp_capture (motion.c:1890)
==227091==    by 0x11996E: motion_loop (motion.c:2820)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 1,501,355 bytes in 173 blocks are possibly lost in loss record 314 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489C3AB: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x489C5ED: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488BA8F: jinit_d_main_controller (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488EF49: jinit_master_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48834A4: jpeg_start_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF72: netcam_init_jpeg (netcam_jpeg.c:366)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11882F: motion_init (motion.c:1226)
==227091==    by 0x11882F: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 5,250,864 bytes in 2,000 blocks are possibly lost in loss record 318 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489C3AB: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x489C5ED: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4893507: jinit_upsampler (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488EEF3: jinit_master_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48834A4: jpeg_start_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF72: netcam_init_jpeg (netcam_jpeg.c:366)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11996E: mlp_capture (motion.c:1890)
==227091==    by 0x11996E: motion_loop (motion.c:2820)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 5,386,275 (30,576 direct, 5,355,699 indirect) bytes in 182 blocks are definitely lost in loss record 319 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489CD1B: jinit_memory_mgr (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4882D9F: jpeg_CreateDecompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AEBC: netcam_init_jpeg (netcam_jpeg.c:346)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11882F: motion_init (motion.c:1226)
==227091==    by 0x11882F: motion_loop (motion.c:2812)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 7,272,635 bytes in 445 blocks are possibly lost in loss record 322 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489BDEC: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488BEED: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488D064: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488AF1E: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4882F2E: jpeg_consume_input (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48831B1: jpeg_read_header (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF5D: netcam_init_jpeg (netcam_jpeg.c:358)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11996E: mlp_capture (motion.c:1890)
==227091==    by 0x11996E: motion_loop (motion.c:2820)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091== 
==227091== 34,237,290 bytes in 2,150 blocks are possibly lost in loss record 323 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489C3AB: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x489C5ED: ??? (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488BA8F: jinit_d_main_controller (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x488EF49: jinit_master_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x48834A4: jpeg_start_decompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AF72: netcam_init_jpeg (netcam_jpeg.c:366)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11996E: mlp_capture (motion.c:1890)
==227091==    by 0x11996E: motion_loop (motion.c:2820)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== 121,497,991 (580,272 direct, 120,917,719 indirect) bytes in 3,454 blocks are definitely lost in loss record 326 of 326
==227091==    at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==227091==    by 0x489CD1B: jinit_memory_mgr (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x4882D9F: jpeg_CreateDecompress (in /usr/lib/x86_64-linux-gnu/libjpeg.so.8.2.2)
==227091==    by 0x12AEBC: netcam_init_jpeg (netcam_jpeg.c:346)
==227091==    by 0x12B21C: netcam_proc_jpeg (netcam_jpeg.c:496)
==227091==    by 0x126255: netcam_next (netcam.c:613)
==227091==    by 0x11996E: mlp_capture (motion.c:1890)
==227091==    by 0x11996E: motion_loop (motion.c:2820)
==227091==    by 0x6AF2608: start_thread (pthread_create.c:477)
==227091==    by 0x6C30292: clone (clone.S:95)
==227091== 
==227091== LEAK SUMMARY:
==227091==    definitely lost: 769,840 bytes in 13,573 blocks
==227091==    indirectly lost: 127,186,296 bytes in 95,358 blocks
==227091==      possibly lost: 51,796,579 bytes in 7,173 blocks
==227091==    still reachable: 48,538 bytes in 251 blocks
==227091==                       of which reachable via heuristic:
==227091==                         newarray           : 1,536 bytes in 16 blocks
==227091==         suppressed: 0 bytes in 0 blocks
==227091== Reachable blocks (those to which a pointer was found) are not shown.
==227091== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==227091== 
==227091== For lists of detected and suppressed errors, rerun with: -s
==227091== ERROR SUMMARY: 83 errors from 57 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment