==1319== Memcheck, a memory error detector
==1319== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==1319== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==1319== Command: gst-launch-1.0 v4l2src device=/dev/video0 ! image/jpeg ! rtpjpegpay ! fakesink
==1319== 
--1319-- Valgrind options:
--1319--    -v
--1319-- Contents of /proc/version:
--1319--   Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24)
--1319-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--1319-- Page sizes: currently 4096, max supported 4096
--1319-- Valgrind library directory: /usr/lib/valgrind
--1319-- Reading syms from /usr/bin/gst-launch-1.0
--1319--   Considering /usr/lib/debug/.build-id/0a/ffedfecefebaa947c5a98bff94053c54b9e256.debug ..
--1319--   .. build-id is valid
--1319-- Reading syms from /lib/x86_64-linux-gnu/ld-2.19.so
--1319--   Considering /lib/x86_64-linux-gnu/ld-2.19.so ..
--1319--   .. CRC mismatch (computed a7f35eb3 wanted c33a8314)
--1319--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.19.so ..
--1319--   .. CRC is valid
--1319-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux
--1319--   Considering /usr/lib/valgrind/memcheck-amd64-linux ..
--1319--   .. CRC mismatch (computed 731bf187 wanted 9a215fac)
--1319--   Considering /usr/lib/debug/usr/lib/valgrind/memcheck-amd64-linux ..
--1319--   .. CRC is valid
--1319--    object doesn't have a dynamic symbol table
--1319-- Scheduler: using generic scheduler lock implementation.
--1319-- Reading suppressions file: /usr/lib/valgrind/default.supp
==1319== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-1319-by-alastair-on-???
==1319== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-1319-by-alastair-on-???
==1319== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-1319-by-alastair-on-???
==1319== 
==1319== TO CONTROL THIS PROCESS USING vgdb (which you probably
==1319== don't want to do, unless you know exactly what you're doing,
==1319== or are doing some strange experiment):
==1319==   /usr/lib/valgrind/../../bin/vgdb --pid=1319 ...command...
==1319== 
==1319== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==1319==   /path/to/gdb gst-launch-1.0
==1319== and then give GDB the following command
==1319==   target remote | /usr/lib/valgrind/../../bin/vgdb --pid=1319
==1319== --pid is optional if only one valgrind process is running
==1319== 
--1319-- REDIR: 0x4017950 (ld-linux-x86-64.so.2:strlen) redirected to 0x380c21d1 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--1319-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
--1319--   Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--1319--   .. CRC mismatch (computed 8de94024 wanted dee60e34)
--1319--   Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
--1319--   .. CRC is valid
--1319-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
--1319--   Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
--1319--   .. CRC mismatch (computed 0df12582 wanted d7d4b689)
--1319--   Considering /usr/lib/debug/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
--1319--   .. CRC is valid
==1319== WARNING: new redirection conflicts with existing -- ignoring it
--1319--     old: 0x04017950 (strlen              ) R-> (0000.0) 0x380c21d1 vgPlain_amd64_linux_REDIR_FOR_strlen
--1319--     new: 0x04017950 (strlen              ) R-> (2007.0) 0x04c2c260 strlen
--1319-- REDIR: 0x4017700 (ld-linux-x86-64.so.2:index) redirected to 0x4c2be10 (index)
--1319-- REDIR: 0x4017920 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c2d310 (strcmp)
--1319-- REDIR: 0x4018650 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c2fe60 (mempcpy)
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0
--1319--   Considering /usr/lib/debug/.build-id/64/1c1987a2001831824583268913457644b80238.debug ..
--1319--   .. build-id is valid
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4400.1
--1319--   Considering /usr/lib/debug/.build-id/98/d762ee916a5b061604b388860a9c5269ea41c1.debug ..
--1319--   .. build-id is valid
--1319-- Reading syms from /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1
--1319--   Considering /usr/lib/debug/.build-id/2d/f557c272d5ef28f50e2502c8804ea69d0633b3.debug ..
--1319--   .. build-id is valid
--1319-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.19.so
--1319--   Considering /lib/x86_64-linux-gnu/libpthread-2.19.so ..
--1319--   .. CRC mismatch (computed 85ae53b8 wanted 1d1e49d0)
--1319--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.19.so ..
--1319--   .. CRC is valid
--1319-- Reading syms from /lib/x86_64-linux-gnu/libc-2.19.so
--1319--   Considering /lib/x86_64-linux-gnu/libc-2.19.so ..
--1319--   .. CRC mismatch (computed c7b6f1bf wanted 8c956c0d)
--1319--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.19.so ..
--1319--   .. CRC is valid
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.4400.1
--1319--   Considering /usr/lib/debug/.build-id/34/fed98fe7472381df5702a3c91c683c5b2786b4.debug ..
--1319--   .. build-id is valid
--1319-- Reading syms from /lib/x86_64-linux-gnu/libm-2.19.so
--1319--   Considering /lib/x86_64-linux-gnu/libm-2.19.so ..
--1319--   .. CRC mismatch (computed 99371e4a wanted 9a41b649)
--1319--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.19.so ..
--1319--   .. CRC is valid
--1319-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.19.so
--1319--   Considering /lib/x86_64-linux-gnu/libdl-2.19.so ..
--1319--   .. CRC mismatch (computed 3266e406 wanted 3cd73555)
--1319--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.19.so ..
--1319--   .. CRC is valid
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libffi.so.6.0.2
--1319--   Considering /usr/lib/x86_64-linux-gnu/libffi.so.6.0.2 ..
--1319--   .. CRC mismatch (computed 564337c0 wanted d22115ac)
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /lib/x86_64-linux-gnu/libpcre.so.3.13.1
--1319--   Considering /lib/x86_64-linux-gnu/libpcre.so.3.13.1 ..
--1319--   .. CRC mismatch (computed d6bbf166 wanted d4a19465)
--1319--    object doesn't have a symbol table
--1319-- REDIR: 0x594ae10 (libc.so.6:strcasecmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x594d100 (libc.so.6:strncasecmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x594a5e0 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x5947080 (libc.so.6:strncmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x5944fc0 (libc.so.6:index) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x594a000 (libc.so.6:bcmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x5945210 (libc.so.6:strcmp) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x59b85e0 (libc.so.6:__memcpy_chk) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x594f7e0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x5948960 (libc.so.6:rindex) redirected to 0x4c2baf0 (rindex)
--1319-- REDIR: 0x5946c60 (libc.so.6:strlen) redirected to 0x4c2c1a0 (strlen)
--1319-- REDIR: 0x5941010 (libc.so.6:malloc) redirected to 0x4c28bb0 (malloc)
--1319-- REDIR: 0x594a670 (libc.so.6:memset) redirected to 0x4c2f3f0 (memset)
--1319-- REDIR: 0xffffffffff600000 (???:???) redirected to 0x380c21b3 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday)
--1319-- REDIR: 0x5941980 (libc.so.6:calloc) redirected to 0x4c2ac90 (calloc)
--1319-- REDIR: 0x5955700 (libc.so.6:__memcpy_sse2_unaligned) redirected to 0x4c2d6f0 (memcpy@@GLIBC_2.14)
--1319-- REDIR: 0x5955450 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x4c2d1d0 (strcmp)
--1319-- REDIR: 0x59416e0 (libc.so.6:realloc) redirected to 0x4c2aeb0 (realloc)
--1319-- REDIR: 0x59fa1b0 (libc.so.6:__memmove_ssse3_back) redirected to 0x4c2d470 (memcpy@GLIBC_2.2.5)
--1319-- REDIR: 0x5944ff0 (libc.so.6:__GI_strchr) redirected to 0x4c2bc50 (__GI_strchr)
--1319-- REDIR: 0x5944dc0 (libc.so.6:strcat) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x595d0e0 (libc.so.6:__strcat_sse2_unaligned) redirected to 0x4c2be50 (strcat)
--1319-- REDIR: 0x5941650 (libc.so.6:free) redirected to 0x4c29e20 (free)
--1319-- REDIR: 0x5945250 (libc.so.6:__GI_strcmp) redirected to 0x4c2d220 (__GI_strcmp)
--1319-- REDIR: 0x59470d0 (libc.so.6:__GI_strncmp) redirected to 0x4c2c950 (__GI_strncmp)
--1319-- REDIR: 0x5949cb0 (libc.so.6:memchr) redirected to 0x4c2d3b0 (memchr)
--1319-- REDIR: 0x59517a0 (libc.so.6:strchrnul) redirected to 0x4c2fa80 (strchrnul)
--1319-- REDIR: 0x594f830 (libc.so.6:__GI_memcpy) redirected to 0x4c2dd10 (__GI_memcpy)
--1319-- REDIR: 0x594aca0 (libc.so.6:__GI_stpcpy) redirected to 0x4c2eeb0 (__GI_stpcpy)
--1319-- REDIR: 0x5946e20 (libc.so.6:strnlen) redirected to 0x4c2c120 (strnlen)
--1319-- REDIR: 0x59466e0 (libc.so.6:__GI_strcpy) redirected to 0x4c2c350 (__GI_strcpy)
--1319-- REDIR: 0x59495b0 (libc.so.6:__GI_strstr) redirected to 0x4c300e0 (__strstr_sse2)
--1319-- REDIR: 0x594ae80 (libc.so.6:__GI___strcasecmp_l) redirected to 0x4c2ce40 (__GI___strcasecmp_l)
--1319-- REDIR: 0x5951590 (libc.so.6:rawmemchr) redirected to 0x4c2fab0 (rawmemchr)
--1319-- REDIR: 0x5a0a180 (libc.so.6:__memcmp_sse4_1) redirected to 0x4c2ed20 (__memcmp_sse4_1)
--1319-- REDIR: 0x59e2420 (libc.so.6:__strncmp_sse42) redirected to 0x4c2ca30 (__strncmp_sse42)
--1319-- memcheck GC: 1000 nodes, 997 survivors ( 99.7%)
--1319-- memcheck GC: 1414 new table size (stepup)
--1319-- REDIR: 0x5949a70 (libc.so.6:strstr) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x595e960 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4c30050 (strstr)
--1319-- REDIR: 0x5948920 (libc.so.6:strncpy) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x595a8f0 (libc.so.6:__strncpy_sse2_unaligned) redirected to 0x4c2c7b0 (__strncpy_sse2_unaligned)
--1319-- REDIR: 0x594a440 (libc.so.6:__GI_memmove) redirected to 0x4c2f720 (__GI_memmove)
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so
--1319--   Considering /usr/lib/debug/.build-id/45/5a01c2393d4888643e4e8a3d3b39e13ea04283.debug ..
--1319--   .. build-id is valid
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgstallocators-1.0.so.0.405.0
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0.405.0
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.405.0
--1319--   Considering /usr/lib/debug/.build-id/92/3bb5bf8e4a2b2fa02e1454b43f9749b61b1529.debug ..
--1319--   .. build-id is valid
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libv4l2.so.0.0.0
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgudev-1.0.so.0.2.0
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.23.0
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libv4lconvert.so.0.0.0
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /lib/x86_64-linux-gnu/libudev.so.1.6.3
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.4400.1
--1319--   Considering /usr/lib/debug/.build-id/be/6179faf5afb8649b2ba6478d71b255fcda1b9b.debug ..
--1319--   .. build-id is valid
--1319-- Reading syms from /lib/x86_64-linux-gnu/librt-2.19.so
--1319--   Considering /lib/x86_64-linux-gnu/librt-2.19.so ..
--1319--   .. CRC mismatch (computed a701162d wanted 8a1b6449)
--1319--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/librt-2.19.so ..
--1319--   .. CRC is valid
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libjpeg.so.62.1.0
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /lib/x86_64-linux-gnu/libcap.so.2.24
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /lib/x86_64-linux-gnu/libz.so.1.2.8
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /lib/x86_64-linux-gnu/libselinux.so.1
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /lib/x86_64-linux-gnu/libresolv-2.19.so
--1319--   Considering /lib/x86_64-linux-gnu/libresolv-2.19.so ..
--1319--   .. CRC mismatch (computed 990f411a wanted 62de2002)
--1319--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libresolv-2.19.so ..
--1319--   .. CRC is valid
--1319-- Reading syms from /lib/x86_64-linux-gnu/libattr.so.1.1.0
--1319--    object doesn't have a symbol table
--1319-- REDIR: 0x59466a0 (libc.so.6:strcpy) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x59467c0 (libc.so.6:strcspn) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x594ac60 (libc.so.6:stpcpy) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x594a770 (libc.so.6:mempcpy) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x5948c50 (libc.so.6:strpbrk) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x5948fd0 (libc.so.6:strspn) redirected to 0x4a23730 (_vgnU_ifunc_wrapper)
--1319-- REDIR: 0x40187a0 (ld-linux-x86-64.so.2:stpcpy) redirected to 0x4c2f1f0 (stpcpy)
--1319-- REDIR: 0x595b8d0 (libc.so.6:__stpcpy_sse2_unaligned) redirected to 0x4c2f050 (__stpcpy_sse2_unaligned)
--1319-- REDIR: 0x5941970 (libc.so.6:memalign) redirected to 0x4c2b110 (memalign)
--1319-- REDIR: 0x59f76e0 (libc.so.6:__mempcpy_ssse3_back) redirected to 0x4c2fb90 (mempcpy)
--1319-- memcheck GC: 1414 nodes, 1410 survivors ( 99.7%)
--1319-- memcheck GC: 1999 new table size (stepup)
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtp.so
--1319--   Considering /usr/lib/debug/.build-id/e1/66a0b7ceceef3a221dead95ba0eb64962f2c41.debug ..
--1319--   .. build-id is valid
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0.405.0
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgsttag-1.0.so.0.405.0
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgstrtp-1.0.so.0.405.0
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0.405.0
--1319--    object doesn't have a symbol table
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so
--1319--   Considering /usr/lib/debug/.build-id/be/361256491bf11b25531d1a6bcbf93a8dfaf556.debug ..
--1319--   .. build-id is valid
Setting pipeline to PAUSED ...
--1319-- Reading syms from /usr/lib/x86_64-linux-gnu/libv4l/plugins/libv4l-mplane.so
--1319--    object doesn't have a symbol table
--1319-- Discarding syms at 0xa2768a0-0xa277312 in /usr/lib/x86_64-linux-gnu/libv4l/plugins/libv4l-mplane.so due to munmap()
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
--1319-- memcheck GC: 1999 nodes, 1737 survivors ( 86.8%)
--1319-- memcheck GC: 2827 new table size (stepup)
==1319== Thread 2 v4l2src0:src:
==1319== Invalid read of size 1
==1319==    at 0x951BB33: gst_rtp_jpeg_pay_handle_buffer (in /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtp.so)
==1319==    by 0x4E9BE1E: gst_pad_push_data (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x776CC13: gst_base_transform_chain (in /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.405.0)
==1319==    by 0x4E9BE1E: gst_pad_push_data (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x7764814: gst_base_src_loop (in /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.405.0)
==1319==    by 0x4EC9B60: gst_task_func (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x540A2E7: g_thread_pool_thread_proxy (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
==1319==    by 0x5409954: g_thread_proxy (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
==1319==    by 0x56B00A3: start_thread (pthread_create.c:309)
==1319==  Address 0xb278000 is not stack'd, malloc'd or (recently) free'd
==1319== 
Caught SIGSEGV
==1338== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-1338-by-alastair-on-???
==1338== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-1338-by-alastair-on-???
==1338== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-1338-by-alastair-on-???
==1338== 
==1338== TO CONTROL THIS PROCESS USING vgdb (which you probably
==1338== don't want to do, unless you know exactly what you're doing,
==1338== or are doing some strange experiment):
==1338==   /usr/lib/valgrind/../../bin/vgdb --pid=1338 ...command...
==1338== 
==1338== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==1338==   /path/to/gdb gst-launch-1.0
==1338== and then give GDB the following command
==1338==   target remote | /usr/lib/valgrind/../../bin/vgdb --pid=1338
==1338== --pid is optional if only one valgrind process is running
==1338== 
#0  0x0000000038157e40 in  ()
#1  0x0000000000000008 in  ()
#2  0x0000000802d95d90 in  ()
#3  0x0000000802d95d50 in  ()
#4  0x0000000039c54170 in  ()
#5  0x0000000000000007 in  ()
#6  0x000000003a03dd48 in  ()
#7  0x0000000000000007 in  ()
#8  0x0000000000000001 in  ()
#9  0x0000000000000001 in  ()
#10 0x0000000039c54160 in  ()
#11 0x000000003a03dcb8 in  ()
#12 0x00000000380fcdb5 in  ()
#13 0x0000000802d95d70 in  ()
#14 0x00000000000000b8 in  ()
#15 0x00000000000000b8 in  ()
#16 0x000000003a03dcf8 in  ()
#17 0x0000000000000148 in  ()
#18 0x000000003a03dd00 in  ()
#19 0x0000000000000000 in  ()
==1338== 
==1338== HEAP SUMMARY:
==1338==     in use at exit: 1,867,247 bytes in 22,868 blocks
==1338==   total heap usage: 42,958 allocs, 20,090 frees, 5,535,178 bytes allocated
==1338== 
==1338== Searching for pointers to 22,561 not-freed blocks
==1338== Checked 11,517,720 bytes
==1338== 
==1338== LEAK SUMMARY:
==1338==    definitely lost: 18,488 bytes in 3 blocks
==1338==    indirectly lost: 0 bytes in 0 blocks
==1338==      possibly lost: 10,570 bytes in 173 blocks
==1338==    still reachable: 1,744,677 bytes in 22,385 blocks
==1338==         suppressed: 0 bytes in 0 blocks
==1338== Rerun with --leak-check=full to see details of leaked memory
==1338== 
==1338== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
==1338== 
==1338== 1 errors in context 1 of 1:
==1338== Invalid read of size 1
==1338==    at 0x951BB33: gst_rtp_jpeg_pay_handle_buffer (in /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtp.so)
==1338==    by 0x4E9BE1E: gst_pad_push_data (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1338==    by 0x776CC13: gst_base_transform_chain (in /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.405.0)
==1338==    by 0x4E9BE1E: gst_pad_push_data (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1338==    by 0x7764814: gst_base_src_loop (in /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.405.0)
==1338==    by 0x4EC9B60: gst_task_func (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1338==    by 0x540A2E7: g_thread_pool_thread_proxy (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
==1338==    by 0x5409954: g_thread_proxy (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
==1338==    by 0x56B00A3: start_thread (pthread_create.c:309)
==1338==  Address 0xb278000 is not stack'd, malloc'd or (recently) free'd
==1338== 
==1338== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Spinning.  Please run 'gdb gst-launch-1.0 1319' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:05.942338753
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
==1319== 
==1319== Process terminating with default action of signal 2 (SIGINT)
==1319==    at 0x56B67FC: __lll_lock_wait (lowlevellock.S:135)
==1319==    by 0x56B24D3: _L_lock_952 (pthread_mutex_lock.c:151)
==1319==    by 0x56B2334: pthread_mutex_lock (pthread_mutex_lock.c:114)
==1319==    by 0x4E9FD28: gst_pad_activate_mode (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x4EA0329: gst_pad_set_active (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x4E82D6A: activate_pads (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x4E92EAB: gst_iterator_fold (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x4E83129: iterator_activate_fold_with_resync.constprop.5 (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x4E84E55: gst_element_pads_activate (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x4E850D9: gst_element_change_state_func (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x9BF225C: ??? (in /usr/lib/x86_64-linux-gnu/libgstrtp-1.0.so.0.405.0)
==1319==    by 0x4E86BC1: gst_element_change_state (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319== 
==1319== HEAP SUMMARY:
==1319==     in use at exit: 1,868,086 bytes in 22,866 blocks
==1319==   total heap usage: 43,052 allocs, 20,186 frees, 5,541,586 bytes allocated
==1319== 
==1319== Searching for pointers to 22,559 not-freed blocks
==1319== Checked 28,285,896 bytes
==1319== 
==1319== LEAK SUMMARY:
==1319==    definitely lost: 16,384 bytes in 1 blocks
==1319==    indirectly lost: 0 bytes in 0 blocks
==1319==      possibly lost: 11,090 bytes in 173 blocks
==1319==    still reachable: 1,747,100 bytes in 22,385 blocks
==1319==         suppressed: 0 bytes in 0 blocks
==1319== Rerun with --leak-check=full to see details of leaked memory
==1319== 
==1319== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
==1319== 
==1319== 1 errors in context 1 of 1:
==1319== Invalid read of size 1
==1319==    at 0x951BB33: gst_rtp_jpeg_pay_handle_buffer (in /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtp.so)
==1319==    by 0x4E9BE1E: gst_pad_push_data (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x776CC13: gst_base_transform_chain (in /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.405.0)
==1319==    by 0x4E9BE1E: gst_pad_push_data (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x7764814: gst_base_src_loop (in /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0.405.0)
==1319==    by 0x4EC9B60: gst_task_func (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.405.0)
==1319==    by 0x540A2E7: g_thread_pool_thread_proxy (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
==1319==    by 0x5409954: g_thread_proxy (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4400.1)
==1319==    by 0x56B00A3: start_thread (pthread_create.c:309)
==1319==  Address 0xb278000 is not stack'd, malloc'd or (recently) free'd
==1319== 
==1319== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
