[Webkit-unassigned] [Bug 111074] REGRESSION(r141450): failed ASSERT in FrameView::scheduleRelayout()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 1 03:15:13 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=111074
--- Comment #2 from Alberto Garcia <agarcia at igalia.com> 2013-03-01 03:17:37 PST ---
(In reply to comment #1)
> Looks like the problem is the FrameView has not yet been attached to
> the Frame. Does it fix the problem if in Frame::createView, you
> move the three fixedLayout...() calls after setView(frameView)?
> That would be my proposed fix.
Hmmm... that doesn't seem to solve the problem.
Now the new FrameView is attached to the frame, but during
FrameView::setNeedsLayout() the renderView's setNeedsLayout() is also
called.
That ends up in RenderObject::scheduleRelayout(), the pointer to the
FrameView there is different from the one we just created, so the
assertion also fails.
#0 0x7c826352 in WebCore::FrameView::scheduleRelayout (this=0x80a2c20)
at /home/berto/devel/code/webkit/Source/WebCore/page/FrameView.cpp:2313
#1 0x7caec582 in WebCore::RenderObject::scheduleRelayout (this=0x8247360)
at /home/berto/devel/code/webkit/Source/WebCore/rendering/RenderObject.cpp:2650
#2 0x7cae46f6 in WebCore::RenderObject::markContainingBlocksForLayout (
this=0x8247360, scheduleRelayout=true, newRoot=0x0)
at /home/berto/devel/code/webkit/Source/WebCore/rendering/RenderObject.cpp:709
#3 0x7952b104 in WebCore::RenderObject::setNeedsLayout (this=0x8247360,
needsLayout=true, markParents=WebCore::MarkContainingBlockChain)
at /home/berto/devel/code/webkit/Source/WebCore/rendering/RenderObject.h:1191
#4 0x7c826a42 in WebCore::FrameView::setNeedsLayout (this=0x8468210)
at /home/berto/devel/code/webkit/Source/WebCore/page/FrameView.cpp:2438
#5 0x7c825bae in WebCore::FrameView::contentsResized (this=0x8468210)
at /home/berto/devel/code/webkit/Source/WebCore/page/FrameView.cpp:2124
#6 0x7c8b0314 in WebCore::ScrollView::setUseFixedLayout (this=0x8468210,
enable=true)
at /home/berto/devel/code/webkit/Source/WebCore/platform/ScrollView.cpp:324
#7 0x7c8187b4 in WebCore::Frame::createView (this=0x80a6cf0,
viewportSize=..., backgroundColor=..., transparent=false,
fixedReportedSize=..., fixedLayoutSize=..., fixedVisibleContentRect=...,
useFixedLayout=true, horizontalScrollbarMode=WebCore::ScrollbarAlwaysOff,
horizontalLock=true, verticalScrollbarMode=WebCore::ScrollbarAlwaysOff,
verticalLock=true)
at /home/berto/devel/code/webkit/Source/WebCore/page/Frame.cpp:808
#8 0x7955706c in WebCore::FrameLoaderClientBlackBerry::transitionToCommittedForNewPage (this=0x8091518)
at /home/berto/devel/code/webkit/Source/WebKit/blackberry/WebCoreSupport/FrameLoaderClientBlackBerry.cpp:470
#9 0x7c74064c in WebCore::FrameLoader::transitionToCommitted (this=0x80a6d40,
cachedPage=...)
at /home/berto/devel/code/webkit/Source/WebCore/loader/FrameLoader.cpp:1893
> By the way, what port is this?
BlackBerry
--
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