compositor: `test_new_pad_after_eos` frequently fails under Valgrind
Example: https://gitlab.freedesktop.org/nirbheek/gstreamer/-/jobs/45806299
Reproduce locally with: DEBUGINFOD_URLS= ./gst-env.py --builddir builddir/ gst-validate-launcher check.gst-plugins-base.elements_compositor.test_new_pad_after_eos --meson-no-rebuild --dump-on-failure --valgrind --n-runs 100
Output:
## elements_compositor output
(gst-plugin-scanner:18204): GStreamer-WARNING **: 17:37:14.028: Failed to load plugin '/builds/nirbheek/gstreamer/build/subprojects/gst-plugins-bad/sys/qsv/libgstqsv.so': /builds/nirbheek/gstreamer/build/subprojects/gst-plugins-bad/sys/qsv/../../gst-libs/gst/va/libgstva-1.0.so.0: undefined symbol: vaCopy
(gst-plugin-scanner:18204): GStreamer-WARNING **: 17:37:14.152: Failed to load plugin '/builds/nirbheek/gstreamer/build/subprojects/gst-plugins-bad/sys/msdk/libgstmsdk.so': /builds/nirbheek/gstreamer/build/subprojects/gst-plugins-bad/sys/msdk/../../gst-libs/gst/va/libgstva-1.0.so.0: undefined symbol: vaCopy
(gst-plugin-scanner:18204): GStreamer-WARNING **: 17:37:18.502: Failed to load plugin '/builds/nirbheek/gstreamer/build/subprojects/gst-plugins-bad/sys/va/libgstva.so': /builds/nirbheek/gstreamer/build/subprojects/gst-plugins-bad/sys/va/../../gst-libs/gst/va/libgstva-1.0.so.0: undefined symbol: vaCopy
Running suite(s): compositor
Unexpected critical/warning: write map requested on non-writable buffer
Stack trace:
gst_debug_get_stack_trace (gstinfo.c:3466)
gst_check_log_critical_func (gstcheck.c:281)
g_logv (gmessages.c:1350)
g_log (gmessages.c:1415)
gst_buffer_map_range (gstbuffer.c:1889)
gst_video_frame_map_id (video-frame.c:117)
gst_compositor_aggregate_frames (compositor.c:1647)
gst_video_aggregator_aggregate (gstvideoaggregator.c:2147)
gst_aggregator_aggregate_func (gstaggregator.c:1461)
gst_task_func (gsttask.c:399)
g_thread_pool_thread_proxy (gthreadpool.c:308)
g_thread_proxy (gthread.c:805)
start_thread (pthread_create.c:479)
__clone (clone.S:93)
0%: Checks: 1, Failures: 1, Errors: 0
../subprojects/gstreamer/libs/gst/check/gstcheck.c:286:F:general:test_new_pad_after_eos:0: Unexpected critical/warning: write map requested on non-writable buffer
Check suite compositor ran in 2.207s (tests failed: 1)
**Duration**: 28.234612941741943
## test_new_pad_after_eos.valgrind:
==18204== Memcheck, a memory error detector
==18204== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==18204== Using Valgrind-3.16.0 and LibVEX; rerun with -h for copyright info
==18204== Command: /builds/nirbheek/gstreamer/build/subprojects/gstreamer/libs/gst/helpers/gst-plugin-scanner -l /builds/nirbheek/gstreamer/build/subpro==18618== Thread 2 compositor0:src:
==18618== Invalid write of size 8
==18618== at 0x489CD92: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1300)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654b010 is 64 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:gst_buffer_pool_acquire_buffer
fun:gst_video_aggregator_create_output_buffer
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Invalid write of size 8
==18618== at 0x4A811CA: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2121)
==18618== by 0x4A811CA: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654b018 is 72 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Invalid write of size 8
==18618== at 0x4A811D9: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2127)
==18618== by 0x4A811D9: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654b028 is 88 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Invalid read of size 8
==18618== at 0x4A81222: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2138)
==18618== by 0x4A81222: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654b028 is 88 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Invalid read of size 8
==18618== at 0x4A81226: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2138)
==18618== by 0x4A81226: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654b020 is 80 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Invalid read of size 8
==18618== at 0x4A8122A: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2138)
==18618== by 0x4A8122A: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654b018 is 72 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Invalid read of size 8
==18618== at 0x4AC81F6: gst_video_frame_map_id (video-frame.c:79)
==18618== by 0x74345D5: gst_compositor_aggregate_frames (compositor.c:1647)
==18618== by 0x4A81266: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2147)
==18618== by 0x4A81266: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654afd0 is 0 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:gst_video_frame_map_id
fun:gst_compositor_aggregate_frames
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Invalid read of size 8
==18618== at 0x48987E0: gst_buffer_iterate_meta (gstbuffer.c:2429)
==18618== by 0x4A9A9BA: gst_buffer_get_video_meta (gstvideometa.c:174)
==18618== by 0x4AC8300: gst_video_frame_map_id (video-frame.c:82)
==18618== by 0x74345D5: gst_compositor_aggregate_frames (compositor.c:1647)
==18618== by 0x4A81266: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2147)
==18618== by 0x4A81266: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654b0d0 is 256 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:gst_buffer_iterate_meta
fun:gst_buffer_get_video_meta
fun:gst_video_frame_map_id
fun:gst_compositor_aggregate_frames
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Invalid read of size 8
==18618== at 0x4897730: gst_buffer_map_range (gstbuffer.c:1841)
==18618== by 0x4AC83A2: gst_video_frame_map_id (video-frame.c:117)
==18618== by 0x74345D5: gst_compositor_aggregate_frames (compositor.c:1647)
==18618== by 0x4A81266: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2147)
==18618== by 0x4A81266: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654afd0 is 0 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:gst_buffer_map_range
fun:gst_video_frame_map_id
fun:gst_compositor_aggregate_frames
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Invalid read of size 4
==18618== at 0x4897774: gst_buffer_map_range (gstbuffer.c:1843)
==18618== by 0x4AC83A2: gst_video_frame_map_id (video-frame.c:117)
==18618== by 0x74345D5: gst_compositor_aggregate_frames (compositor.c:1647)
==18618== by 0x4A81266: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2147)
==18618== by 0x4A81266: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654b040 is 112 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:gst_buffer_map_range
fun:gst_video_frame_map_id
fun:gst_compositor_aggregate_frames
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Invalid read of size 1
==18618== at 0x48CF422: gst_mini_object_is_writable (gstminiobject.c:368)
==18618== by 0x4897816: gst_buffer_map_range (gstbuffer.c:1852)
==18618== by 0x4AC83A2: gst_video_frame_map_id (video-frame.c:117)
==18618== by 0x74345D5: gst_compositor_aggregate_frames (compositor.c:1647)
==18618== by 0x4A81266: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2147)
==18618== by 0x4A81266: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654afe0 is 16 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr1
fun:gst_mini_object_is_writable
fun:gst_buffer_map_range
fun:gst_video_frame_map_id
fun:gst_compositor_aggregate_frames
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Invalid read of size 4
==18618== at 0x48CF428: gst_mini_object_is_writable (gstminiobject.c:371)
==18618== by 0x4897816: gst_buffer_map_range (gstbuffer.c:1852)
==18618== by 0x4AC83A2: gst_video_frame_map_id (video-frame.c:117)
==18618== by 0x74345D5: gst_compositor_aggregate_frames (compositor.c:1647)
==18618== by 0x4A81266: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2147)
==18618== by 0x4A81266: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618== Address 0x654afd8 is 8 bytes inside a block of size 272 free'd
==18618== at 0x483CA0C: free (vg_replace_malloc.c:538)
==18618== by 0x4B9449C: g_free (gmem.c:192)
==18618== by 0x48CF6CF: gst_mini_object_replace (gstminiobject.c:754)
==18618== by 0x403EA0: gst_buffer_replace (gstbuffer.h:579)
==18618== by 0x403EA0: after_eos_handoff_buffer_cb (compositor.c:2547)
==18618== by 0x51D5AA7: ffi_call_unix64 (unix64.S:76)
==18618== by 0x51D52A3: ffi_call (ffi64.c:525)
==18618== by 0x4C79745: g_cclosure_marshal_generic_va (gclosure.c:1614)
==18618== by 0x4C78995: _g_closure_invoke_va (gclosure.c:873)
==18618== by 0x4C95227: g_signal_emit_valist (gsignal.c:3306)
==18618== by 0x4C959D2: g_signal_emit (gsignal.c:3453)
==18618== by 0x7459CC3: gst_fake_sink_render (gstfakesink.c:502)
==18618== by 0x49DC501: gst_base_sink_chain_unlocked.isra.0 (gstbasesink.c:3955)
==18618== by 0x49DDB8F: gst_base_sink_chain_main (gstbasesink.c:4089)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== by 0x49E8862: gst_base_transform_chain (gstbasetransform.c:2391)
==18618== by 0x48D2B47: gst_pad_chain_data_unchecked (gstpad.c:4463)
==18618== by 0x48D4EF0: gst_pad_push_data (gstpad.c:4739)
==18618== by 0x48DBDD2: gst_pad_push (gstpad.c:4858)
==18618== Block was alloc'd at
==18618== at 0x483B80B: malloc (vg_replace_malloc.c:307)
==18618== by 0x4B943A8: g_malloc (gmem.c:99)
==18618== by 0x4895A9B: gst_buffer_new (gstbuffer.c:864)
==18618== by 0x4896D62: gst_buffer_new_allocate (gstbuffer.c:909)
==18618== by 0x4A9C3A6: video_buffer_pool_alloc (gstvideopool.c:251)
==18618== by 0x489B356: do_alloc_buffer (gstbufferpool.c:286)
==18618== by 0x489B69B: default_acquire_buffer (gstbufferpool.c:1140)
==18618== by 0x489CD7B: gst_buffer_pool_acquire_buffer (gstbufferpool.c:1293)
==18618== by 0x4A7BD32: gst_video_aggregator_create_output_buffer (gstvideoaggregator.c:2850)
==18618== by 0x4A81168: gst_video_aggregator_do_aggregate (gstvideoaggregator.c:2109)
==18618== by 0x4A81168: gst_video_aggregator_aggregate (gstvideoaggregator.c:2347)
==18618== by 0x49BBDEA: gst_aggregator_loop (gstaggregator.c:1461)
==18618== by 0x49BBDEA: gst_aggregator_aggregate_func (gstaggregator.c:1524)
==18618== by 0x4908D1E: gst_task_func (gsttask.c:399)
==18618== by 0x4BB8753: g_thread_pool_thread_proxy (gthreadpool.c:308)
==18618== by 0x4BB8011: g_thread_proxy (gthread.c:805)
==18618== by 0x50A14E1: start_thread (pthread_create.c:479)
==18618== by 0x4DC26C2: clone (clone.S:95)
==18618==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:gst_mini_object_is_writable
fun:gst_buffer_map_range
fun:gst_video_frame_map_id
fun:gst_compositor_aggregate_frames
fun:gst_video_aggregator_do_aggregate
fun:gst_video_aggregator_aggregate
fun:gst_aggregator_loop
fun:gst_aggregator_aggregate_func
fun:gst_task_func
fun:g_thread_pool_thread_proxy
fun:g_thread_proxy
fun:start_thread
fun:clone
}
==18618== Warning: invalid file descriptor -1 in syscall close()
==18618== Warning: invalid file descriptor -1 in syscall close()
==18618==
==18618== HEAP SUMMARY:
==18618== in use at exit: 7,884,425 bytes in 17,028 blocks
==18618== total heap usage: 64,309 allocs, 47,281 frees, 37,979,966 bytes allocated
==18618==
==18618== LEAK SUMMARY:
==18618== definitely lost: 0 bytes in 0 blocks
==18618== indirectly lost: 0 bytes in 0 blocks
==18618== possibly lost: 20,976 bytes in 873 blocks
==18618== still reachable: 6,942,804 bytes in 5,476 blocks
==18618== of which reachable via heuristic:
==18618== length64 : 320 bytes in 8 blocks
==18618== newarray : 1,568 bytes in 18 blocks
==18618== suppressed: 784,477 bytes in 10,255 blocks
==18618== Reachable blocks (those to which a pointer was found) are not shown.
==18618== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==18618==
==18618== For lists of detected and suppressed errors, rerun with: -s
==18618== ERROR SUMMARY: 12 errors from 12 contexts (suppressed: 0 from 0)
==18116==
==18116== HEAP SUMMARY:
==18116== in use at exit: 245,650 bytes in 1,499 blocks
==18116== total heap usage: 40,478 allocs, 38,979 frees, 28,868,709 bytes allocated
==18116==
==18116== LEAK SUMMARY:
==18116== definitely lost: 0 bytes in 0 blocks
==18116== indirectly lost: 0 bytes in 0 blocks
==18116== possibly lost: 0 bytes in 0 blocks
==18116== still reachable: 96 bytes in 2 blocks
==18116== of which reachable via heuristic:
==18116== length64 : 80 bytes in 2 blocks
==18116== newarray : 1,552 bytes in 17 blocks
==18116== suppressed: 241,714 bytes in 1,463 blocks
==18116== Reachable blocks (those to which a pointer was found) are not shown.
==18116== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==18116==
==18116== For lists of detected and suppressed errors, rerun with: -s
==18116== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==> check.gst-plugins-base.elements_compositor.test_new_pad_after_eos: Failed 'Application returned 1'