[Webkit-unassigned] [Bug 243401] [GTK] webkit_web_context_get_default() crashes in Eclipse since webkit-gtk v2.36.5, v2.36.4 was fine

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 1 07:14:38 PDT 2022


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

--- Comment #2 from Michael Catanzaro <mcatanzaro at gnome.org> ---
Somebody else noticed this changed in bug #242690. Before, isMainThread() only checked to ensure the current thread is the same as the thread that first called initializeMainThread(); i.e. it was possible for WebKit's main thread to not be the actual main thread. Now, isMainThread() checks to ensure it is actually the main thread.

In theory, using a secondary thread as the "main" thread *might* have previously been safe to do as long as you restrict all use of WebKitGTK and GTK and <who knows how many other libraries> to only that thread. In practice, probably not a good idea. I'd say Eclipse should not do this.

Maybe we should have not backported this change to the stable branch, though. It's nicer when things break in major version updates instead of minor updates.

-- 
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/20220801/295dfda5/attachment.htm>


More information about the webkit-unassigned mailing list