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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 31 14:21:02 PDT 2011


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





--- Comment #9 from Alexis Menard <alexis.menard at openbossa.org>  2011-08-31 14:21:02 PST ---
(From update of attachment 105827)
View in context: https://bugs.webkit.org/attachment.cgi?id=105827&action=review

> Source/WebKit2/ChangeLog:9
> +        load a url it fails with segmentation fault. During first round

it crashes (or assert in debug).

> Source/WebKit2/ChangeLog:15
> +        QTouchWebViewPrivate::updateViewportConstraints before calling computeViewportAttributes.

Could you just say. setWidth and setHeight are called sequentially therefore it can happen that computeViewportAttributes was called with a size like (width, 0) breaking the assumption of the function that the size is valid. The patch make sure we compute the viewport when both height and width are valid. Something like that.

-- 
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