valgrind gst-launch-1.0 videotestsrc ! rtpvrawpay ! identity  drop-probability=0.7 ! rtpjitterbuffer do-retransmission=true ! rtpvrawdepay ! fakesink
==6656== Memcheck, a memory error detector
==6656== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==6656== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==6656== Command: gst-launch-1.0 videotestsrc ! rtpvrawpay ! identity drop-probability=0.7 ! rtpjitterbuffer do-retransmission=true ! rtpvrawdepay ! fakesink
==6656==
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
==6656== Thread 2:
==6656== Invalid read of size 8
==6656==    at 0x97F92B8: wait_next_timeout (gstrtpjitterbuffer.c:2461)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7db6358 is 120 bytes inside a block of size 4,096 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
==6656== Invalid write of size 8
==6656==    at 0x97F92C0: wait_next_timeout (gstrtpjitterbuffer.c:2461)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7db6358 is 120 bytes inside a block of size 4,096 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
==6656== Invalid read of size 8
==6656==    at 0x97F9AAD: wait_next_timeout (gstrtpjitterbuffer.c:2467)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7db6350 is 112 bytes inside a block of size 4,096 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
==6656== Invalid read of size 8
==6656==    at 0x97F9B45: wait_next_timeout (gstrtpjitterbuffer.c:2476)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7db6348 is 104 bytes inside a block of size 4,096 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
==6656== Invalid read of size 2
==6656==    at 0x97F9B49: wait_next_timeout (gstrtpjitterbuffer.c:2476)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7db632c is 76 bytes inside a block of size 4,096 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
==6656== Invalid read of size 2
==6656==    at 0x97F700B: reschedule_timer (gstrtpjitterbuffer.c:1627)
==6656==    by 0x97F9B68: wait_next_timeout (gstrtpjitterbuffer.c:2476)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7db632c is 76 bytes inside a block of size 4,096 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
==6656== Invalid read of size 8
==6656==    at 0x97F702D: reschedule_timer (gstrtpjitterbuffer.c:1628)
==6656==    by 0x97F9B68: wait_next_timeout (gstrtpjitterbuffer.c:2476)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7db6338 is 88 bytes inside a block of size 4,096 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
==6656== Invalid write of size 2
==6656==    at 0x97F7141: reschedule_timer (gstrtpjitterbuffer.c:1640)
==6656==    by 0x97F9B68: wait_next_timeout (gstrtpjitterbuffer.c:2476)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7db632c is 76 bytes inside a block of size 4,096 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
==6656== Invalid write of size 8
==6656==    at 0x97F7148: reschedule_timer (gstrtpjitterbuffer.c:1639)
==6656==    by 0x97F9B68: wait_next_timeout (gstrtpjitterbuffer.c:2476)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7db6338 is 88 bytes inside a block of size 4,096 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
==6656== Invalid write of size 4
==6656==    at 0x97F9B28: wait_next_timeout (gstrtpjitterbuffer.c:2472)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7dcf2dc is 5,916 bytes inside a block of size 8,192 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
==6656== Invalid write of size 8
==6656==    at 0x97F9B30: wait_next_timeout (gstrtpjitterbuffer.c:2473)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7dcf2f8 is 5,944 bytes inside a block of size 8,192 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
==6656== Invalid write of size 8
==6656==    at 0x97F9B3A: wait_next_timeout (gstrtpjitterbuffer.c:2474)
==6656==    by 0x55F2F44: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x5C90B4F: start_thread (pthread_create.c:304)
==6656==  Address 0x7dcf300 is 5,952 bytes inside a block of size 8,192 free'd
==6656==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==6656==    by 0x55D5FCE: g_realloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A59B2: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x55A6273: g_array_set_size (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.4)
==6656==    by 0x97F6EC5: add_timer (gstrtpjitterbuffer.c:1599)
==6656==    by 0x97FB4D3: gst_rtp_jitter_buffer_chain (gstrtpjitterbuffer.c:1898)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83BDAE9: gst_base_transform_chain (gstbasetransform.c:2237)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x88A9486: gst_rtp_vraw_pay_handle_buffer (gstrtpvrawpay.c:498)
==6656==    by 0x4E9661F: gst_pad_push_data (gstpad.c:3717)
==6656==    by 0x83B5674: gst_base_src_loop (gstbasesrc.c:2779)
==6656==
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:03.399530440
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
==6656==
==6656== HEAP SUMMARY:
==6656==     in use at exit: 2,405,428 bytes in 5,021 blocks
==6656==   total heap usage: 89,555 allocs, 84,534 frees, 19,598,224 bytes allocated
==6656==
==6656== LEAK SUMMARY:
==6656==    definitely lost: 16,504 bytes in 8 blocks
==6656==    indirectly lost: 0 bytes in 0 blocks
==6656==      possibly lost: 1,853,494 bytes in 3,145 blocks
==6656==    still reachable: 535,430 bytes in 1,868 blocks
==6656==         suppressed: 0 bytes in 0 blocks
==6656== Rerun with --leak-check=full to see details of leaked memory
==6656==
==6656== For counts of detected and suppressed errors, rerun with: -v
==6656== ERROR SUMMARY: 21 errors from 12 contexts (suppressed: 37 from 8)
