[Webkit-unassigned] [Bug 116672] WebKit2.WebContext register_uri_scheme does segfault

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 18 17:33:19 PDT 2015


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

Philip Chimento <philip.chimento at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philip.chimento at gmail.com

--- Comment #2 from Philip Chimento <philip.chimento at gmail.com> ---
What's going wrong here is that the default WebContext object is destroyed in an atexit() handler. When that happens, the GDestroyNotify function passed to register_uri_scheme() is called, but at that point the Python or JS runtime has already been shut down, so it segfaults.

A library should definitely not register any atexit() handlers. Probably it should be OK to not destroy the default WebContext, since the memory will be reclaimed at the end of the process anyhow.

-- 
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/20150519/c49a2707/attachment.html>


More information about the webkit-unassigned mailing list