[Webkit-unassigned] [Bug 29350] New: Assertion failure from invalidating scrollbars before they are placed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 17 15:35:16 PDT 2009


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

           Summary: Assertion failure from invalidating scrollbars before
                    they are placed
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bweinstein at apple.com
                CC: aroben at apple.com, hyatt at apple.com


When running the layout tests in fast/frames on a Windows debug build, an
assertion is hit trying to paint a rect that isn't in our client rect. This is
caused by us trying to repaint a scrollbar that hasn't been laid out yet.

Backtrace:

     WebKit_debug.dll!WebView::addToDirtyRegion(const WebCore::IntRect &
dirtyRect={...})  Line 729 + 0x3a bytes    C++
     WebKit_debug.dll!WebView::repaint(const WebCore::IntRect &
windowRect={...}, bool contentChanged=true, bool immediate=false, bool
repaintContentOnly=false)  Line 681    C++
     WebKit_debug.dll!WebChromeClient::repaint(const WebCore::IntRect &
windowRect={...}, bool contentChanged=true, bool immediate=false, bool
repaintContentOnly=false)  Line 451    C++
     WebKit_debug.dll!WebCore::Chrome::repaint(const WebCore::IntRect &
windowRect={...}, bool contentChanged=true, bool immediate=false, bool
repaintContentOnly=false)  Line 72 + 0x28 bytes    C++
     WebKit_debug.dll!WebCore::FrameView::invalidateRect(const WebCore::IntRect
& rect={...})  Line 278 + 0x32 bytes    C++
    
WebKit_debug.dll!WebCore::FrameView::invalidateScrollbarRect(WebCore::Scrollbar
* scrollbar=0x038c8110, const WebCore::IntRect & rect={...})  Line 1360 + 0x17
bytes    C++
     WebKit_debug.dll!WebCore::Scrollbar::invalidateRect(const WebCore::IntRect
& rect={...})  Line 449 + 0x1d bytes    C++
     WebKit_debug.dll!WebCore::Widget::invalidate()  Line 140 + 0x3a bytes   
C++
>	WebKit_debug.dll!WebCore::ScrollView::setScrollbarsSuppressed(bool suppressed=false, bool repaintOnUnsuppress=true)  Line 630	C++
     WebKit_debug.dll!WebCore::FrameView::layout(bool allowSubtree=true)  Line
607    C++
    
WebKit_debug.dll!WebCore::FrameView::layoutTimerFired(WebCore::Timer<WebCore::FrameView>
* __formal=0x038b86f8)  Line 970    C++
     WebKit_debug.dll!WebCore::Timer<WebCore::FrameView>::fired()  Line 98 +
0x29 bytes    C++
     WebKit_debug.dll!WebCore::ThreadTimers::sharedTimerFiredInternal()  Line
112 + 0xf bytes    C++
     WebKit_debug.dll!WebCore::ThreadTimers::sharedTimerFired()  Line 91    C++
     WebKit_debug.dll!WebCore::TimerWindowWndProc(HWND__ * hWnd=0x004605f2,
unsigned int message=0x0000c14f, unsigned int wParam=0x00000000, long
lParam=0x00000000)  Line 102 + 0x8 bytes    C++
     user32.dll!_InternalCallWinProc at 20()  + 0x23 bytes    
     user32.dll!_UserCallWinProcCheckWow at 32()  + 0xb7 bytes    
     user32.dll!_DispatchMessageWorker at 8()  + 0xed bytes    
     user32.dll!_DispatchMessageW at 4()  + 0xf bytes    
     DumpRenderTree_debug.exe!runTest(const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
testPathOrURL="C:\cygwin\home\bweinstein\OpenSource\LayoutTests\fast\frames\frame-limit.html")
 Line 871 + 0xf bytes    C++
     DumpRenderTree_debug.exe!main(int argc=0x00000002, char * *
argv=0x00a0c570)  Line 1204 + 0x28 bytes    C++
     DumpRenderTree_debug.exe!__tmainCRTStartup()  Line 597 + 0x19 bytes    C
     DumpRenderTree_debug.exe!mainCRTStartup()  Line 414    C
     kernel32.dll!@BaseThreadInitThunk at 12()  + 0x12 bytes    
     ntdll.dll!___RtlUserThreadStart at 8()  + 0x27 bytes    
     ntdll.dll!__RtlUserThreadStart at 8()  + 0x1b bytes


Dirty and Client Rect:
dirtyRect
{m_location={...} m_size={...} }
    m_location: {m_x=-15 m_y=0 }
    m_size: {m_width=15 m_height=0 }

clientRect
{top=0 bottom=600 left=0 right=800}
    left: 0
    top: 0
    right: 800
    bottom: 600

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