[Webkit-unassigned] [Bug 152043] [GStreamer] MainThreadNotifier ASSERTION FAILED: m_boundThread == currentThread() in _WebKitWebSrcPrivate::~_WebKitWebSrcPrivate

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 28 01:51:21 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=152043

--- Comment #19 from Xabier Rodríguez Calvar <calvaris at igalia.com> ---
(In reply to comment #18)
> > The creation of WebKitWebSourceGStreamer isn't under the control of the
> > application. That GstElement is created automatically by GStreamer during
> > the pipeline negotiation, and that can happen on a streaming (ie: non-main)
> > thread depending on the pipeline topology.
> 
> And we detect it now, so It's still the caller that creates the object in a
> secondary the thread the one who should delete it in the same thread.

We are facing here two requirements colluding. First is that GStreamer has the right to create and destroy objects in the threads they see fit, which is what is happening. Second is the requirement of WeakPtrFactory of begin created and destroyed from the same thread.

We'll think about the proper fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170228/654f4760/attachment.html>


More information about the webkit-unassigned mailing list