[Webkit-unassigned] [Bug 9141] New: REGRESSION: loading PDF within a frame leads to ASSERT: !_haveAdditionalClip

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat May 27 22:59:41 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9141

           Summary: REGRESSION: loading PDF within a frame leads to ASSERT:
                    !_haveAdditionalClip
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://bugzilla.opendarwin.org/attachment.cgi?id=3092
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Frames
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: trey at usa.net


Open the URL above.  Crashola:

   ASSERTION FAILED: !_haveAdditionalClip
(/Volumes/Whopper/WebKit/WebKit/WebView/WebClipView.m:78 -[WebClipView
setAdditionalClip:])

This is with rev 14619 on 10.4.6.  Works fine in stock 10.4.6 Safari.

>From the backtrace (below) it appears to be the PDF content within the frame. 
The PDF file loads fine with no frames.  A basic set of HTML frames (like some
JavaDoc) works fine.

Note that PDFView is calling a scroll method (and thus display:) from within
its drawRect:, which is a really bad idea (and has been the root of trouble in
the past).


0   com.apple.WebKit            0x00341f88 -[WebClipView setAdditionalClip:] +
116 (WebClipView.m:78)
1   com.apple.WebKit            0x0036cf00 -[WebHTMLView drawSingleRect:] + 348
(WebHTMLView.m:2587)
2   com.apple.WebKit            0x0036d348 -[WebHTMLView drawRect:] + 536
(WebHTMLView.m:2643)
3   com.apple.AppKit            0x93765bf8 -[NSView _drawRect:clip:] + 2128
4   com.apple.AppKit            0x9376499c -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 736
5   com.apple.WebKit            0x00361b74 -[WebHTMLView(WebPrivate)
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 456 (WebHTMLView.m:823)
6   com.apple.AppKit            0x9375e3f4 -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 384
7   com.apple.AppKit            0x937536e8 -[NSView displayIfNeeded] + 248
8   com.apple.AppKit            0x9385a7d8 -[NSClipView
_immediateScrollToPoint:] + 1384
9   com.apple.PDFKit            0x9611edf0 -[PDFView constrainedScrollToPoint:]
+ 184
10  com.apple.PDFKit            0x9611b134 -[PDFView reflectNewPageOn] + 780
11  com.apple.PDFKit            0x96123fb4 -[PDFView drawRect:] + 116
12  com.apple.AppKit            0x93765bf8 -[NSView _drawRect:clip:] + 2128
13  com.apple.AppKit            0x937651b8 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] + 404
14  com.apple.AppKit            0x93767f00 _recursiveDisplayInRect2 + 84
15  com.apple.CoreFoundation    0x907f33c4 CFArrayApplyFunction + 416
16  com.apple.AppKit            0x937652cc -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] + 680
17  com.apple.AppKit            0x93767f00 _recursiveDisplayInRect2 + 84
18  com.apple.CoreFoundation    0x907f33c4 CFArrayApplyFunction + 416
19  com.apple.AppKit            0x937652cc -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] + 680
20  com.apple.AppKit            0x93767f00 _recursiveDisplayInRect2 + 84
21  com.apple.CoreFoundation    0x907f33c4 CFArrayApplyFunction + 416
22  com.apple.AppKit            0x937652cc -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] + 680
23  com.apple.AppKit            0x93764780 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 196
24  com.apple.AppKit            0x93764d48 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 1676
25  com.apple.AppKit            0x9375e3f4 -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 384
26  com.apple.AppKit            0x9383e2d0 -[NSView
displayIfNeededInRectIgnoringOpacity:] + 264
27  com.apple.AppKit            0x9383e1b4 -[NSView
displayRectIgnoringOpacity:] + 104
28  com.apple.WebCore           0x019a404c
WebCore::Widget::paint(WebCore::GraphicsContext*, WebCore::IntRect const&) +
516 (WidgetMac.mm:369)
29  com.apple.WebCore           0x01a64fbc
WebCore::RenderWidget::paint(WebCore::RenderObject::PaintInfo&, int, int) + 664
(RenderWidget.cpp:194)
30  com.apple.WebCore           0x018d0ca8
WebCore::RenderBox::paint(WebCore::RenderObject::PaintInfo&, int, int) + 168
(RenderBox.cpp:268)
31  com.apple.WebCore           0x018bf400
WebCore::RenderBlock::paintChildren(WebCore::RenderObject::PaintInfo&, int,
int) + 820 (RenderBlock.cpp:1279)
32  com.apple.WebCore           0x018c95a4
WebCore::RenderBlock::paintObject(WebCore::RenderObject::PaintInfo&, int, int)
+ 480 (RenderBlock.cpp:1335)
33  com.apple.WebCore           0x018bef64
WebCore::RenderBlock::paint(WebCore::RenderObject::PaintInfo&, int, int) + 616
(RenderBlock.cpp:1254)
34  com.apple.WebCore           0x018fbf80
WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*,
WebCore::GraphicsContext*, WebCore::IntRect const&, bool, bool,
WebCore::RenderObject*) + 1376 (RenderLayer.cpp:1162)
35  com.apple.WebCore           0x018fc168
WebCore::RenderLayer::paintLayer(WebCore::RenderLayer*,
WebCore::GraphicsContext*, WebCore::IntRect const&, bool, bool,
WebCore::RenderObject*) + 1864 (RenderLayer.cpp:1185)
36  com.apple.WebCore           0x018fc278
WebCore::RenderLayer::paint(WebCore::GraphicsContext*, WebCore::IntRect const&,
bool, WebCore::RenderObject*) + 72 (RenderLayer.cpp:1068)
37  com.apple.WebCore           0x017ef788
WebCore::Frame::paint(WebCore::GraphicsContext*, WebCore::IntRect const&) + 724
(Frame.cpp:2815)
38  com.apple.WebCore           0x018357b8 -[WebCoreFrameBridge drawRect:] +
648 (DeprecatedPtrList.h:908)
39  com.apple.WebKit            0x0036cff0 -[WebHTMLView drawSingleRect:] + 588
(WebHTMLView.m:2595)
40  com.apple.WebKit            0x0036d348 -[WebHTMLView drawRect:] + 536
(WebHTMLView.m:2643)
41  com.apple.AppKit            0x93765bf8 -[NSView _drawRect:clip:] + 2128
42  com.apple.AppKit            0x9376499c -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 736
43  com.apple.WebKit            0x00361b74 -[WebHTMLView(WebPrivate)
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 456 (WebHTMLView.m:823)
44  com.apple.AppKit            0x93764d48 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 1676
45  com.apple.AppKit            0x93764d48 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 1676
46  com.apple.AppKit            0x93764d48 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 1676
47  com.apple.AppKit            0x93764d48 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 1676
48  com.apple.AppKit            0x93764d48 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 1676
49  com.apple.AppKit            0x93764d48 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 1676
50  com.apple.AppKit            0x93764d48 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 1676
51  com.apple.AppKit            0x937853e4 -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 192
52  com.apple.AppKit            0x9375e3f4 -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 384
53  com.apple.AppKit            0x937536e8 -[NSView displayIfNeeded] + 248
54  com.apple.AppKit            0x93753558 -[NSWindow displayIfNeeded] + 180
55  com.apple.Safari            0x0001ac30 0x1000 + 105520
56  com.apple.AppKit            0x93753404 _handleWindowNeedsDisplay + 200
57  com.apple.CoreFoundation    0x907e373c __CFRunLoopDoObservers + 352
58  com.apple.CoreFoundation    0x907e39dc __CFRunLoopRun + 420
59  com.apple.CoreFoundation    0x907e347c CFRunLoopRunSpecific + 268
60  com.apple.HIToolbox         0x9321d980 RunCurrentEventLoopInMode + 264
61  com.apple.HIToolbox         0x9321d014 ReceiveNextEventCommon + 380
62  com.apple.HIToolbox         0x9321ce80
BlockUntilNextEventMatchingListInMode + 96
63  com.apple.AppKit            0x9371fe84 _DPSNextEvent + 384
64  com.apple.AppKit            0x9371fb48 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
65  com.apple.Safari            0x00006df4 0x1000 + 24052
66  com.apple.AppKit            0x9371c08c -[NSApplication run] + 472
67  com.apple.AppKit            0x9380cbfc NSApplicationMain + 452


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list