[Webkit-unassigned] [Bug 54142] New: Crash in DrawingAreaProxyImpl::paint when WKView paints after being resized while hidden

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 9 14:07:23 PST 2011


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

           Summary: Crash in DrawingAreaProxyImpl::paint when WKView
                    paints after being resized while hidden
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Keywords: NeedsRadar, PlatformOnly
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aroben at apple.com
                CC: andersca at apple.com
        Depends on: 54141
            Blocks: 53805


If WKView is resized while hidden (and you don't run into bug 54141, because it's been fixed), and is then shown and asked to paint, you'll crash inside DrawingAreaProxyImpl::paint due to a null BackingStore. The crashing line is this:

    m_backingStore->paint(context, rect);

m_backingStore is null. Here's the backtrace:

>	WebKit.dll!WTF::OwnPtr<WebKit::BackingStore>::operator->()  Line 66 + 0x35 bytes	C++
     WebKit.dll!WebKit::DrawingAreaProxyImpl::paint(HDC__ * context=0xaa011176, const WebCore::IntRect & rect={...}, WebKit::Region & unpaintedRegion={...})  Line 83 + 0x13 bytes    C++
     WebKit.dll!WebKit::WebView::onPaintEvent(HWND__ * hWnd=0x00120418, unsigned int message=15, unsigned int __formal=0, unsigned int __formal=0, bool & handled=true)  Line 427    C++
     WebKit.dll!WebKit::WebView::wndProc(HWND__ * hWnd=0x00120418, unsigned int message=15, unsigned int wParam=0, long lParam=0)  Line 127 + 0x1c bytes    C++
     WebKit.dll!WebKit::WebView::WebViewWndProc(HWND__ * hWnd=0x00120418, unsigned int message=15, unsigned int wParam=0, long lParam=0)  Line 97 + 0x18 bytes    C++
     user32.dll!_InternalCallWinProc at 20()  + 0x28 bytes

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