[Bug 759430] New: queue: Illegal memory access of sink event

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Dec 13 17:32:51 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759430

            Bug ID: 759430
           Summary: queue: Illegal memory access of sink event
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: vineeth.tm at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Once event is pushed to pad, then queue should not access the event. This is
leading to invalid read valgrind errors

==27899== Invalid read of size 4
==27899==    at 0x499B92D: gst_queue_handle_sink_event (gstqueue.c:990)
==27899==    by 0x40C219C: gst_pad_send_event_unchecked (gstpad.c:5551)
==27899==    by 0x40C27E6: gst_pad_push_event_unchecked (gstpad.c:5210)
==27899==    by 0x40CDD1F: gst_pad_push_event (gstpad.c:5347)
==27899==    by 0x804CD03: test_queries_while_flushing (queue.c:895)
==27899==    by 0x404FBAA: srunner_run (check_run.c:450)
==27899==    by 0x404FC62: srunner_run_all (check_run.c:674)
==27899==    by 0x4042A97: gst_check_run_suite (gstcheck.c:825)
==27899==    by 0x80498BF: main (queue.c:1175)
==27899==  Address 0x4601d2c is 36 bytes inside a block of size 64 free'd
==27899==    at 0x402D3D8: free (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==27899==    by 0x423CD2F: g_free (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==27899==    by 0x425387A: g_slice_free1 (in
/lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==27899==    by 0x40AFAA6: _gst_event_free (gstevent.c:228)
==27899==    by 0x40BF550: gst_mini_object_unref (gstminiobject.c:467)
==27899==    by 0x40C1C91: gst_pad_send_event_unchecked (gstevent.h:430)
==27899==    by 0x40C27E6: gst_pad_push_event_unchecked (gstpad.c:5210)
==27899==    by 0x40CDD1F: gst_pad_push_event (gstpad.c:5347)
==27899==    by 0x499BD96: gst_queue_handle_sink_event (gstqueue.c:912)
==27899==    by 0x40C219C: gst_pad_send_event_unchecked (gstpad.c:5551)
==27899==    by 0x40C27E6: gst_pad_push_event_unchecked (gstpad.c:5210)
==27899==    by 0x40CDD1F: gst_pad_push_event (gstpad.c:5347)
==27899==    by 0x804CD03: test_queries_while_flushing (queue.c:895)
==27899==    by 0x404FBAA: srunner_run (check_run.c:450)
==27899==    by 0x404FC62: srunner_run_all (check_run.c:674)
==27899==    by 0x4042A97: gst_check_run_suite (gstcheck.c:825)
==27899==    by 0x80498BF: main (queue.c:1175)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list