[Bug 737999] New: systemclock: multi-thread entry status issue
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Oct 6 05:26:22 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=737999
GStreamer | gstreamer (core) | 1.4.3
Summary: systemclock: multi-thread entry status issue
Classification: Platform
Product: GStreamer
Version: 1.4.3
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: nicolas.huet at parrot.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=287844)
--> (https://bugzilla.gnome.org/attachment.cgi?id=287844)
test file to reproduce the issue
Running two threads, one executing the timer and one unscheduling it, the
unscheduled status set by the second thread is sometimes overwritten by the
first one.
I have attached a C test file to reproduce the issue
Here is the log I have with the small test application:
** Message: set timer
** Message: task GST_CLOCK_EARLY
** Message: unschedule current timer
** Message: task GST_CLOCK_UNSCHEDULED
** Message: set timer
** Message: task GST_CLOCK_EARLY
** Message: unschedule current timer
** Message: task GST_CLOCK_OK
** Message: task GST_CLOCK_OK
** Message: task GST_CLOCK_OK
Once the status is overwritten, I do not receive anymore the
GST_CLOCK_UNSCHEDULED.
I have attached the patch that fix this issue.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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