Skip to content

Instantly share code, notes, and snippets.

@jogu
Created October 15, 2016 09:21
Show Gist options
  • Save jogu/b378ee9fb303aeb4b633951b4d6d4ced to your computer and use it in GitHub Desktop.
Save jogu/b378ee9fb303aeb4b633951b4d6d4ced to your computer and use it in GitHub Desktop.
==5794== Thread 10 nc4:patio:
==5794== Invalid read of size 4
==5794== at 0x425660: netcam_interrupt_rtsp (netcam_rtsp.c:223)
==5794== by 0x62ACAD6: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A5CFF: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A1073: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A3717: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CC472: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CD2BD: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CF2FC: avformat_find_stream_info (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x42587D: netcam_rtsp_open_context (netcam_rtsp.c:451)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== Address 0x15083ee8 is 72 bytes inside a block of size 104 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x426214: netcam_shutdown_rtsp (netcam_rtsp.c:767)
==5794== by 0x4145E7: netcam_cleanup (netcam.c:2482)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 8
==5794== at 0x425691: netcam_interrupt_rtsp (netcam_rtsp.c:246)
==5794== by 0x62ACAD6: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A5CFF: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A1073: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A3717: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CC472: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CD2BD: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CF2FC: avformat_find_stream_info (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x42587D: netcam_rtsp_open_context (netcam_rtsp.c:451)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== Address 0x15083ef0 is 80 bytes inside a block of size 104 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x426214: netcam_shutdown_rtsp (netcam_rtsp.c:767)
==5794== by 0x4145E7: netcam_cleanup (netcam.c:2482)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 4
==5794== at 0x425660: netcam_interrupt_rtsp (netcam_rtsp.c:223)
==5794== by 0x636673E: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63BD8E9: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x62ACAEE: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A5CFF: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A1073: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A3717: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CC472: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CD2BD: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CF2FC: avformat_find_stream_info (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x42587D: netcam_rtsp_open_context (netcam_rtsp.c:451)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== Address 0x15083ee8 is 72 bytes inside a block of size 104 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x426214: netcam_shutdown_rtsp (netcam_rtsp.c:767)
==5794== by 0x4145E7: netcam_cleanup (netcam.c:2482)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 8
==5794== at 0x425691: netcam_interrupt_rtsp (netcam_rtsp.c:246)
==5794== by 0x636673E: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63BD8E9: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x62ACAEE: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A5CFF: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A1073: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A3717: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CC472: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CD2BD: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CF2FC: avformat_find_stream_info (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x42587D: netcam_rtsp_open_context (netcam_rtsp.c:451)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== Address 0x15083ef0 is 80 bytes inside a block of size 104 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x426214: netcam_shutdown_rtsp (netcam_rtsp.c:767)
==5794== by 0x4145E7: netcam_cleanup (netcam.c:2482)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 4
==5794== at 0x425660: netcam_interrupt_rtsp (netcam_rtsp.c:223)
==5794== by 0x62ACAD6: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A0453: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A5C8E: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A1073: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A3717: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CC472: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CD2BD: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CF2FC: avformat_find_stream_info (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x42587D: netcam_rtsp_open_context (netcam_rtsp.c:451)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== Address 0x15083ee8 is 72 bytes inside a block of size 104 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x426214: netcam_shutdown_rtsp (netcam_rtsp.c:767)
==5794== by 0x4145E7: netcam_cleanup (netcam.c:2482)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 8
==5794== at 0x425691: netcam_interrupt_rtsp (netcam_rtsp.c:246)
==5794== by 0x62ACAD6: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A0453: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A5C8E: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A1073: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A3717: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CC472: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CD2BD: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CF2FC: avformat_find_stream_info (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x42587D: netcam_rtsp_open_context (netcam_rtsp.c:451)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== Address 0x15083ef0 is 80 bytes inside a block of size 104 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x426214: netcam_shutdown_rtsp (netcam_rtsp.c:767)
==5794== by 0x4145E7: netcam_cleanup (netcam.c:2482)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 4
==5794== at 0x425660: netcam_interrupt_rtsp (netcam_rtsp.c:223)
==5794== by 0x62ACAD6: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A5CAC: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A1073: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A3717: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CC472: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CD2BD: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CF2FC: avformat_find_stream_info (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x42587D: netcam_rtsp_open_context (netcam_rtsp.c:451)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== Address 0x15083ee8 is 72 bytes inside a block of size 104 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x426214: netcam_shutdown_rtsp (netcam_rtsp.c:767)
==5794== by 0x4145E7: netcam_cleanup (netcam.c:2482)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 8
==5794== at 0x425691: netcam_interrupt_rtsp (netcam_rtsp.c:246)
==5794== by 0x62ACAD6: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A5CAC: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A1073: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63A3717: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CC472: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CD2BD: ??? (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x63CF2FC: avformat_find_stream_info (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x42587D: netcam_rtsp_open_context (netcam_rtsp.c:451)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== Address 0x15083ef0 is 80 bytes inside a block of size 104 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x426214: netcam_shutdown_rtsp (netcam_rtsp.c:767)
==5794== by 0x4145E7: netcam_cleanup (netcam.c:2482)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 4
==5794== at 0x425660: netcam_interrupt_rtsp (netcam_rtsp.c:223)
==5794== by 0x63CF26F: avformat_find_stream_info (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x42587D: netcam_rtsp_open_context (netcam_rtsp.c:451)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794== Address 0x15083ee8 is 72 bytes inside a block of size 104 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x426214: netcam_shutdown_rtsp (netcam_rtsp.c:767)
==5794== by 0x4145E7: netcam_cleanup (netcam.c:2482)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 8
==5794== at 0x425691: netcam_interrupt_rtsp (netcam_rtsp.c:246)
==5794== by 0x63CF26F: avformat_find_stream_info (in /usr/lib/x86_64-linux-gnu/libavformat.so.57.41.100)
==5794== by 0x42587D: netcam_rtsp_open_context (netcam_rtsp.c:451)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794== Address 0x15083ef0 is 80 bytes inside a block of size 104 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x426214: netcam_shutdown_rtsp (netcam_rtsp.c:767)
==5794== by 0x4145E7: netcam_cleanup (netcam.c:2482)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 8
==5794== at 0x4258A0: netcam_rtsp_open_context (netcam_rtsp.c:472)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794== Address 0x15066790 is 0 bytes inside a block of size 800 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 8
==5794== at 0x4258ED: netcam_rtsp_open_context (netcam_rtsp.c:476)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794== Address 0x150668c0 is 304 bytes inside a block of size 800 free'd
==5794== at 0x4C29E90: free (vg_replace_malloc.c:473)
==5794== by 0x411324: vid_close (video_common.c:564)
==5794== by 0x4062E8: motion_cleanup (motion.c:991)
==5794== by 0x40A4A2: motion_loop (motion.c:2245)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794==
==5794== Invalid read of size 8
==5794== at 0x4258F8: netcam_rtsp_open_context (netcam_rtsp.c:476)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==5794==
==5794==
==5794== Process terminating with default action of signal 11 (SIGSEGV)
==5794== Access not within mapped region at address 0x0
==5794== at 0x4258F8: netcam_rtsp_open_context (netcam_rtsp.c:476)
==5794== by 0x425E28: netcam_connect_rtsp (netcam_rtsp.c:720)
==5794== by 0x41303D: netcam_handler_loop (netcam.c:1889)
==5794== by 0x513E0A3: start_thread (pthread_create.c:309)
==5794== by 0x7F4762C: clone (clone.S:111)
==5794== If you believe this happened as a result of a stack
==5794== overflow in your program's main thread (unlikely but
==5794== possible), you can try to increase the size of the
==5794== main thread stack using the --main-stacksize= flag.
==5794== The main thread stack size used in this run was 8388608.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment