[wpe-webkit] Tests crashing - debug build: responsiveness & web process caching

Krzysztof Konopko kris at youview.com
Tue Dec 7 09:44:36 PST 2021


On Fri, Dec 03, 2021 at 05:33:15PM +0100, Krzysztof Konopko wrote:
>
> Hi,
>
> When upgrading WPE from 2.30.x to 2.34.1 in our integration, we
> encountered some of our tests crashing.  I also checked WebKit WPE tests
> (pulled from the main branch today) and some of them crash in the same
> manner:  http://ix.io/3GTh
>
> Quite importantly, this is for *debug* builds where assertions are active.
>
> Crashes seem to be related to the responsiveness feature and web
> process caching (upon termination).  Looks like object lifecycle is not
> quite right upon destruction in this case (switching between weak and
> strong references).  We didn't see this problem with 2.30.x.
>
> BTW, would be nice if there was a settings API to disable process
> caching.  Some embedded integrations do not intend to reuse web
> processes if they launch each web process instance in a separate
> sandbox and do not use multiple tabs (only the main full-screen page).
>
> Basically, if we patch WebKit to not cache web process in the pool, then
> all these problems go away (although still lurking in the code).
>
> Is this a known problem?  It's clearly present on WebKit main branch.
>

After discussing it on #wpe IRC channel, submitted a bug:
https://bugs.webkit.org/show_bug.cgi?id=233933

Thanks,
Kris


This transmission contains information that may be confidential and contain personal views which are not necessarily those of YouView TV Ltd. YouView TV Ltd (Co No:7308805) is a limited liability company registered in England and Wales with its registered address at YouView TV Ltd, 3rd Floor, 10 Lower Thames Street, London, EC3R 6YT. For details see our web site at http://www.youview.com


More information about the webkit-wpe mailing list