[Webkit-unassigned] [Bug 145347] [GTK] Crashes when SoupSession is destroyed in exit handler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 28 16:49:32 PDT 2015


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

--- Comment #2 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to comment #0) 
> I spent some time checking libsoup, WebKit, Epiphany, and even GLib for all
> uses of atexit and on_exit, but didn't find anything suspicious. So my
> suspicion falls on SoupNetworkSession::defaultSession(). I guess that will
> be destroyed in an exit handler because it is static? Maybe we should leak
> it using NeverDestroyed<SoupNetworkSession> instead? This is kind of wild
> speculation, but it seems reasonable....

Yes, static variables are destroyed in exit handlers. So that must be where this crash is coming from.

-- 
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/20150728/e15caad8/attachment.html>


More information about the webkit-unassigned mailing list