[Webkit-unassigned] [Bug 33149] WebCore::RenderObject crash when showing QWebView
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 16 07:59:50 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=33149
--- Comment #3 from pete.usergroups at googlemail.com 2010-03-16 07:59:50 PST ---
Sorry, we haven't had time to produce a simple test app. However, we did find a
patch for webkit shipped with QT 4.5.2.
The patch seems pretty fair given that containingBlock() may return NULL.
I think a similar crash is occurring with QT 4.6 but haven't even got a good
stack for that one as it only happens in the release build.
C:\Qt\4.5.2\src\3rdparty\webkit\WebCore\rendering>diff RenderObject.cpp.orig
RenderObject.cpp
852,853c852,861
< // FIXME ?
< return containingBlock()->availableWidth();
---
> // FIXME ? PO - I've tried :)
> RenderBlock* block = containingBlock();
> if ( block )
> {
> return block->availableWidth();
> }
> else
> {
> return 0;
> }
858,859c866,875
< // FIXME ?
< return containingBlock()->contentHeight();
---
> // FIXME ? PO - I've tried :)
> RenderBlock* block = containingBlock();
> if ( block )
> {
> return block->contentHeight();
> }
> else
> {
> return 0;
> }
(In reply to comment #2)
> Is it possible to get a test case that you can get to reproduce the crash?
>
> Something like a minimal cpp file that loads an html file with the embedded
> widget in a QWebView?
--
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