[Bug 765728] adaptivedemux: Segfault since "use realtime_clock for waiting for a condition" commit

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 29 08:54:50 UTC 2016


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

--- Comment #16 from A Ashley <bugzilla at ashley-family.net> ---
(In reply to christophe vr from comment #12)
> I still can't have enough info to really trace the bug. But what I well now
> is that on a stb one may not play around with system clock as this in the
> best case will lead once back to a channel no decoding anymore due to wrong
> time settings. But mostly when it's used some where seg fault almost always
> occurs. I really can see where but gies that the patch with wait function
> somewhere tries to take owner ship off system clock and ...

That commit does not "play around with the system clock" or "take ownership",
it references it to control waiting for a period of time. Internally
g_cond_wait_until() will be using system time, therefore I don't think it is
relevant to this discussion.

I've not yet managed to reproduce the bug, but my suspicion is that the
gst_adaptive_demux_wait_until() function is not thread safe.

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