Bug 249931 - Crash in RenderLayerCompositor::updateScrollingNodeForViewportConstrainedRole when entering text into a bootstrap css input field with a preview entry
Summary: Crash in RenderLayerCompositor::updateScrollingNodeForViewportConstrainedRole...
Status: RESOLVED DUPLICATE of bug 245389
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-28 19:17 PST by otherbms
Modified: 2022-12-29 07:04 PST (History)
4 users (show)

See Also:


Attachments
Small web page that demonstrates the crash reported (167.18 KB, application/gzip)
2022-12-28 19:17 PST, otherbms
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description otherbms 2022-12-28 19:17:50 PST
Created attachment 464238 [details]
Small web page that demonstrates the crash reported

I'm hitting a crash when entering text into an input field of a webpage using bootstrap css and providing a placeholder field.

Software and versions:
OS: Ubuntu 22.04
WPE Webkit: 2.38.2
LIB WPE: 1.14.0
FDO: 1.14.0

Crash text reported:

Cog-Core-Message: 04:04:22.523: <http://localhost:8000/configure.html> Load started.
Cog-Core-Message: 04:04:22.531: <http://localhost:8000/configure.html> Loading...
Cog-Core-Message: 04:04:23.068: <http://localhost:8000/configure.html> Loaded successfully.
ASSERTION FAILED: layer.backing()->viewportAnchorLayer()
/home/user/compositor2/compositor2/thirdparty/webkit/wpewebkit-2.38.2/Source/WebCore/rendering/RenderLayerCompositor.cpp(4794) : WebCore::ScrollingNodeID WebCore::RenderLayerCompositor::updateScrollingNodeForViewportConstrainedRole(WebCore::RenderLayer&, WebCore::ScrollingTreeState&, WTF::OptionSet<WebCore::RenderLayerCompositor::ScrollingNodeChangeFlags>)

(cog:754190): Cog-Core-WARNING **: 04:04:28.174: <http://localhost:8000/configure.html> Crash!: The renderer process crashed. Reloading the page may fix intermittent failures.

Note: Removing the "placeholder" field seems to prevent the crash from happening.


How to reproduce:

To demonstrate the crash unpack the attached tarball, go into the localhost directory and serve the pages using python:
$ python -m http.server

Start weston:
$ weston &

Run cog:
$ cog -P fdo http://localhost:8000/configure.html

When the web-page loads, select "static ip".  Enter any text into the ip address box and hit tab to goto the next field.  Cog should crash at this point in time.
Comment 1 Michael Catanzaro 2022-12-29 07:04:13 PST
This is bug #245389.

*** This bug has been marked as a duplicate of bug 245389 ***