<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>18000</bug_id>
          
          <creation_ts>2008-03-21 20:18:53 -0700</creation_ts>
          <short_desc>ASSERTs in FrameView::scheduleRelayout()</short_desc>
          <delta_ts>2024-04-24 16:09:08 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://davis.remmel.googlepages.com/drawingbarcodesbyhand</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NeedsReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matt Lilek">dev+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>frances_c</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>74729</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2008-03-21 20:18:53 -0700</bug_when>
    <thetext>Clicking on the &quot;CueCat&quot; link on &lt;http://davis.remmel.googlepages.com/drawingbarcodesbyhand&gt;, I hit the following ASSERT:
ASSERTION FAILED: !m_frame-&gt;document() || !m_frame-&gt;document()-&gt;inPageCache()
(/Users/matt/Code/WebKit/WebCore/page/FrameView.cpp:727 void WebCore::FrameView::scheduleRelayout())

Going back and trying again, I consistently hit a different ASSERT:
ASSERTION FAILED: m_frame-&gt;view() == this
(/Users/matt/Code/WebKit/WebCore/page/FrameView.cpp:728 void WebCore::FrameView::scheduleRelayout())

Thread 0 Crashed:
0   com.apple.WebCore             	0x01c82537 WebCore::FrameView::scheduleRelayout() + 141 (FrameView.cpp:727)
1   com.apple.WebCore             	0x01ee15c5 WebCore::RenderObject::scheduleRelayout() + 61 (RenderObject.cpp:2665)
2   com.apple.WebCore             	0x01ee3a39 WebCore::RenderObject::markContainingBlocksForLayout(bool, WebCore::RenderObject*) + 455 (RenderObject.cpp:765)
3   com.apple.WebCore             	0x01ee3b1f WebCore::RenderObject::setNeedsLayout(bool, bool) + 103 (RenderObject.cpp:693)
4   com.apple.WebCore             	0x01af200d WebCore::RenderObject::setNeedsLayoutAndPrefWidthsRecalc() + 33 (RenderObject.h:401)
5   com.apple.WebCore             	0x01ee548c WebCore::RenderObject::setStyle(WebCore::RenderStyle*) + 3140 (RenderObject.cpp:2247)
6   com.apple.WebCore             	0x01ea729d WebCore::RenderBox::setStyle(WebCore::RenderStyle*) + 91 (RenderBox.cpp:86)
7   com.apple.WebCore             	0x01ec0773 WebCore::RenderInline::setStyle(WebCore::RenderStyle*) + 25 (RenderInline.cpp:47)
8   com.apple.WebCore             	0x01ee1f60 WebCore::RenderObject::setAnimatableStyle(WebCore::RenderStyle*) + 126 (RenderObject.cpp:2088)
9   com.apple.WebCore             	0x01e5ba3d WebCore::Node::setRenderStyle(WebCore::RenderStyle*) + 37 (Node.cpp:1058)
10  com.apple.WebCore             	0x01c2635e WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 922 (Element.cpp:758)
11  com.apple.WebCore             	0x01c26574 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1456 (Element.cpp:790)
12  com.apple.WebCore             	0x01c26574 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1456 (Element.cpp:790)
13  com.apple.WebCore             	0x01c26574 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1456 (Element.cpp:790)
14  com.apple.WebCore             	0x01c26574 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1456 (Element.cpp:790)
15  com.apple.WebCore             	0x01c26574 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1456 (Element.cpp:790)
16  com.apple.WebCore             	0x01c26574 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1456 (Element.cpp:790)
17  com.apple.WebCore             	0x01c26574 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1456 (Element.cpp:790)
18  com.apple.WebCore             	0x01c26574 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1456 (Element.cpp:790)
19  com.apple.WebCore             	0x01c26574 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1456 (Element.cpp:790)
20  com.apple.WebCore             	0x01bf79a5 WebCore::Document::recalcStyle(WebCore::Node::StyleChange) + 1353 (Document.cpp:1122)
21  com.apple.WebCore             	0x01bed019 WebCore::Document::updateRendering() + 49 (Document.cpp:1148)
22  com.apple.WebCore             	0x01ca251e WebCore::HTMLElement::isContentEditable() const + 120 (HTMLElement.cpp:538)
23  com.apple.WebCore             	0x01e5a0b2 WebCore::Node::isContentEditable() const + 48 (Node.cpp:359)
24  com.apple.WebCore             	0x020a31dc WebCore::isEditablePosition(WebCore::Position const&amp;) + 136 (htmlediting.cpp:166)
25  com.apple.WebCore             	0x0202d207 WebCore::Selection::isContentEditable() const + 39 (Selection.cpp:507)
26  com.apple.WebCore             	0x01c61764 WebCore::Frame::respondToChangedSelection(WebCore::Selection const&amp;, bool) + 610 (Frame.cpp:1825)
27  com.apple.WebCore             	0x020337ac WebCore::SelectionController::setSelection(WebCore::Selection const&amp;, bool, bool, bool) + 720 (SelectionController.cpp:147)
28  com.apple.WebCore             	0x02033ebb WebCore::SelectionController::clear() + 59 (SelectionController.cpp:644)
29  com.apple.WebCore             	0x01c71bb8 WebCore::FrameLoader::clear(bool, bool) + 346 (FrameLoader.cpp:817)
30  com.apple.WebCore             	0x01c71db8 WebCore::FrameLoader::begin(WebCore::KURL const&amp;, bool, WebCore::SecurityOrigin*) + 170 (FrameLoader.cpp:899)
31  com.apple.WebCore             	0x01c74178 WebCore::FrameLoader::receivedFirstData() + 56 (FrameLoader.cpp:850)
32  com.apple.WebCore             	0x01c743ea WebCore::FrameLoader::setEncoding(WebCore::String const&amp;, bool) + 46 (FrameLoader.cpp:1750)
33  com.apple.WebKit              	0x001b2d2b -[WebFrame(WebInternal) _receivedData:textEncodingName:] + 183 (WebFrame.mm:1098)
34  com.apple.WebKit              	0x001c6385 -[WebHTMLRepresentation receivedData:withDataSource:] + 197 (WebHTMLRepresentation.mm:173)
35  com.apple.WebKit              	0x001a1060 -[WebDataSource(WebInternal) _receivedData:] + 90 (WebDataSource.mm:196)
36  com.apple.WebKit              	0x001b8284 WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, char const*, int) + 128 (WebFrameLoaderClient.mm:714)
37  com.apple.WebCore             	0x01c6950d WebCore::FrameLoader::committedLoad(WebCore::DocumentLoader*, char const*, int) + 53 (FrameLoader.cpp:3239)
38  com.apple.WebCore             	0x01c0ac6f WebCore::DocumentLoader::commitLoad(char const*, int) + 87 (DocumentLoader.cpp:325)
39  com.apple.WebCore             	0x01c0ae8e WebCore::DocumentLoader::receivedData(char const*, int) + 76 (DocumentLoader.cpp:338)
40  com.apple.WebCore             	0x01c68d19 WebCore::FrameLoader::receivedData(char const*, int) + 41 (FrameLoader.cpp:2207)
41  com.apple.WebCore             	0x01e485de WebCore::MainResourceLoader::addData(char const*, int, bool) + 80 (MainResourceLoader.cpp:139)
42  com.apple.WebCore             	0x01f478e1 WebCore::ResourceLoader::didReceiveData(char const*, int, long long, bool) + 83 (ResourceLoader.cpp:238)
43  com.apple.WebCore             	0x01e4895c WebCore::MainResourceLoader::didReceiveData(char const*, int, long long, bool) + 282 (MainResourceLoader.cpp:296)
44  com.apple.WebCore             	0x01f474ba WebCore::ResourceLoader::didReceiveData(WebCore::ResourceHandle*, char const*, int, int) + 62 (ResourceLoader.cpp:366)
45  com.apple.WebCore             	0x01f44b55 -[WebCoreResourceHandleAsDelegate connection:didReceiveData:lengthReceived:] + 201 (ResourceHandleMac.mm:502)
46  com.apple.Foundation          	0x92b653b7 -[NSURLConnection(NSURLConnectionReallyInternal) sendDidReceiveData:originalLength:] + 119
47  com.apple.Foundation          	0x92b6531e _NSURLConnectionDidReceiveData + 94
48  com.apple.CFNetwork           	0x9095d0af sendDidReceiveDataCallback + 518
49  com.apple.CFNetwork           	0x9095a76d _CFURLConnectionSendCallbacks + 1559
50  com.apple.CFNetwork           	0x9095a0d9 muxerSourcePerform + 283
51  com.apple.CoreFoundation      	0x96cf962e CFRunLoopRunSpecific + 3166
52  com.apple.CoreFoundation      	0x96cf9d18 CFRunLoopRunInMode + 88
53  com.apple.HIToolbox           	0x903b66a0 RunCurrentEventLoopInMode + 283
54  com.apple.HIToolbox           	0x903b64b9 ReceiveNextEventCommon + 374
55  com.apple.HIToolbox           	0x903b632d BlockUntilNextEventMatchingListInMode + 106
56  com.apple.AppKit              	0x9329f7d9 _DPSNextEvent + 657
57  com.apple.AppKit              	0x9329f08e -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
58  com.apple.Safari              	0x0000806e 0x1000 + 28782
59  com.apple.AppKit              	0x932980c5 -[NSApplication run] + 795
60  com.apple.AppKit              	0x9326530a NSApplicationMain + 574
61  com.apple.Safari              	0x000b9a76 0x1000 + 756342</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77472</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-04-13 22:33:04 -0700</bug_when>
    <thetext>Getting this frequently when I click the Next link at the bottom of &lt;http://www.youtube.com/profile_videos?p=r&amp;user=pangeaday&amp;page=1&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031013</commentid>
    <comment_count>2</comment_count>
    <who name="Frances Cornwall">frances_c</who>
    <bug_when>2024-04-24 16:07:29 -0700</bug_when>
    <thetext>Neither of the links are active.

The assert does not exist anymore in FrameView.cpp at line 727: https://github.com/WebKit/WebKit/blob/main/Source/WebCore/page/FrameView.cpp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2031014</commentid>
    <comment_count>3</comment_count>
    <who name="Frances Cornwall">frances_c</who>
    <bug_when>2024-04-24 16:09:08 -0700</bug_when>
    <thetext>To clarify: http://www.youtube.com/profile_videos?p=r&amp;user=pangeaday&amp;page=1 redirects to this link: https://www.youtube.com/profile_videos.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>