[Bug 770953] New: gstclock: segmentation fault when unschedule

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 6 14:39:36 UTC 2016


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

            Bug ID: 770953
           Summary: gstclock: segmentation fault when unschedule
    Classification: Platform
           Product: GStreamer
           Version: 1.8.3
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: mparisdiaz at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Hello,
I have found a segmentation fault when gst_clock_id_unschedule is called.

Debugging with GDB I found that it is caused in the line [1].
>From this info and analysing the code, it seems that gst_clock_entry_new [2]
does not increase the ref of the clock used, it just keeps the pointer.
So I suppose that the problem is that the clock has been released when
gst_clock_id_unschedule is called.

What do you think about that?

Refs
[1]
https://github.com/Kurento/gstreamer/blob/0fb3a083ce04551fbdba7a94f0ac5612515bda67/gst/gstclock.c#L667
[2]
https://github.com/Kurento/gstreamer/blob/0fb3a083ce04551fbdba7a94f0ac5612515bda67/gst/gstclock.c#L243

-- 
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