[Webkit-unassigned] [Bug 67308] [Qt] TouchWebView crashes with segmentation fault

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 31 12:12:09 PDT 2011


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





--- Comment #2 from Gopal Raghavan <gopal.1.raghavan at nokia.com>  2011-08-31 12:12:09 PST ---
If you instantiate TouchWebView element with height and width in a qml file and load a url it fails with segmentation fault. The ASSERTION in ViewportArguments.cpp under computeViewportAttributes seems to be wrong. During first round updateViewportConstraints has non-zero width and 0 as height. As a result availableSize is set to (width,0). Height gets set by subsequent call to setHeight. However, the ASSERT in computeViewportAttributes expects non-zero values for both height and width. Due to sequential nature of setWidth and setHeight call, this ASSERT is not satisfied. This patch fixes the problem by removing the assert.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list