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