[Webkit-unassigned] [Bug 206162] [GTK][GStreamer] segfault in webKitWebSrcMakeRequest (libwebkit2gtk-4.0.so.37.39.3)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 13 02:42:03 PST 2020


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

--- Comment #2 from Charlie Turner <cturner at igalia.com> ---
It looks like this is happening when sending MainThreadSourceNotification::Start from the create() request. I can only imagine that between the time we perform a context check for priv->player at the start of webKitWebSrcMakeRequest, and the time our Start request runs on the main thread, that the player has been destroyed and the segfault occurs creating a resource loader in the !priv->loader condition (priv->player potentially being NULL). Speculative fix would be to guard on the existence of the player too in this condition.

I'm going to guess this was happening whilst watching adaptive streams. There's some history to that.

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

Perhaps these fixes don't fully protect us in the cases triggered here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200113/9bbf7008/attachment.htm>


More information about the webkit-unassigned mailing list