[Webkit-unassigned] [Bug 257798] [GTK] Slow to create WebKitWebView (30 seconds delay) with sandbox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 15 21:46:19 PDT 2023


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

--- Comment #23 from Milan Crha <mcrha at redhat.com> ---
> Is this where the hang occurs?

This is not the problem. The code just waits to have the JavaScript call finished (it sometimes needs to do the call synchronously, which is tricky). It can be waiting on the WebKitWebProcess there. And yes, creating a new main context doesn't work, because D-Bus calls receive replies in the main main context, which would block the delivery here.

Either the corresponding WebKitWebProcess (beware, there are many running) is stuck on something, which means to get a backtrace of it, or the blocking thing happens in a different thread.

Try to use:

   gdb --batch --ex "t a a bt" --pid=PID &>bt.txt

to get backtrace of all the threads for the process with ID `PID`. At least for Evolution itself, please check the bt.txt for any private information, like passwords, email addresses, server addresses,... I usually search for "pass" at least (quotes for clarity only), before sharing it anywhere. There might be nothing shown with zero debuginfo installed though.

-- 
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/20230616/04330364/attachment.htm>


More information about the webkit-unassigned mailing list