[Webkit-unassigned] [Bug 26983] tst_qwebpage segfaults

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 14 08:58:31 PDT 2009


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





--- Comment #9 from Adam Treat <treat at kde.org>  2009-07-14 08:58:31 PDT ---
Ok, I know the problem.

setFixedLayoutSize is called with a different value than the default because
WebCore::IntSize's default constructed value is valid: 0x0.  Qt's QSize default
constructed value is invalid: -1x-1.  Thus, a mismatch occurs and it
setFixedLayoutSize tries to do a layout.

This only happens with Qt port because other ports use IntSize(0x0) which is
the same default constructed.

However, it is important to note that if Frame::createView(...) was called with
different values than the default ScrollView constructed values for
scrollbarModes for instance, this same crash would happen.

I'm producing a patch for the QSize/IntSize problem, but the larger issue
should still be fixed.

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