Bug 25991
Summary: | ERROR: called Frame::paint with nil renderer | ||
---|---|---|---|
Product: | WebKit | Reporter: | Robert Hogan <robert> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | hausmann, kling |
Priority: | P2 | Keywords: | Qt |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux |
Robert Hogan
[Thu May 21 2009] [20:29:53] <mwenge> here's a strange one. i'm calling frame->load(url) from my app, this ultimately results in the error:
[Thu May 21 2009] [20:30:04] <mwenge> ERROR: called Frame::paint with nil renderer
[Thu May 21 2009] [20:30:14] <mwenge> in
[Thu May 21 2009] [20:30:14] <mwenge> (../../../WebCore/page/FrameView.cpp:1368 virtual void WebCore::FrameView::paintContents(WebCore::GraphicsContext*, const WebCore::IntRect&))
[Thu May 21 2009] [20:31:05] <mwenge> i think the problem may be with this in qwebframe.cpp:
[Thu May 21 2009] [20:31:11] <mwenge> if (!contents)
[Thu May 21 2009] [20:31:11] <mwenge> view->paint(&context, vector.first());
[Thu May 21 2009] [20:31:11] <mwenge> else
[Thu May 21 2009] [20:31:11] <mwenge> view->paintContents(&context, vector.first());
[Thu May 21 2009] [20:31:19] <mwenge> in renderPrivate()
[Thu May 21 2009] [20:31:52] <mwenge> because paintContents() gets called by view->paint() in ScrollView::paint
[Thu May 21 2009] [20:32:04] <mwenge> and it looks like we should be avoiding it
[Thu May 21 2009] [20:38:29] <kenneth> can you add to bugzilla... i cannot test it now... configuring new machine
[Thu May 21 2009] [20:46:18] <mwenge> ok
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Hausmann
Do you have any details on how to reproduce this? A standalone testcase maybe we can compile?