<?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>15153</bug_id>
          
          <creation_ts>2007-09-06 13:35:12 -0700</creation_ts>
          <short_desc>REGRESSION (r25395): Assertion failure in FrameView::scheduleRelayout() (m_frame-&gt;view() == this)</short_desc>
          <delta_ts>2007-09-06 14:06:43 -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>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>darin</cc>
    
    <cc>hyatt</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>876</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-09-06 13:35:12 -0700</bug_when>
    <thetext>I just hit this assertion (while Safari was in the background. I do not know how to reproduce):

ASSERTION FAILED: m_frame-&gt;view() == this
(WebCore/page/FrameView.cpp:650 void WebCore::FrameView::scheduleRelayout())

I very much suspect it is a result of &lt;http://trac.webkit.org/projects/webkit/changeset/25395&gt;.

Backtrace:

0   com.apple.WebCore             	0x01a53960 WebCore::FrameView::scheduleRelayout() + 144
1   com.apple.WebCore             	0x01b56f90 WebCore::RenderObject::setNeedsLayout(bool, bool) + 116
2   com.apple.WebCore             	0x01b58004 WebCore::RenderObject::setStyle(WebCore::RenderStyle*) + 4084
3   com.apple.WebCore             	0x01b08b48 WebCore::RenderBox::setStyle(WebCore::RenderStyle*) + 88
4   com.apple.WebCore             	0x01ae948c WebCore::RenderBlock::setStyle(WebCore::RenderStyle*) + 68
5   com.apple.WebCore             	0x01b8f9f8 WebCore::RenderTextControl::setStyle(WebCore::RenderStyle*) + 40
6   com.apple.WebCore             	0x01c9c684 WebCore::Node::setRenderStyle(WebCore::RenderStyle*) + 88
7   com.apple.WebCore             	0x01ca99f4 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 864
8   com.apple.WebCore             	0x01a1c51c WebCore::HTMLGenericFormElement::recalcStyle(WebCore::Node::StyleChange) + 40
9   com.apple.WebCore             	0x01ca9c60 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1484
10  com.apple.WebCore             	0x01ca9c60 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1484
11  com.apple.WebCore             	0x01ca9c60 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1484
12  com.apple.WebCore             	0x01ca9c60 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1484
13  com.apple.WebCore             	0x01ca9c60 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1484
14  com.apple.WebCore             	0x01ca9c60 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1484
15  com.apple.WebCore             	0x01ca9c60 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1484
16  com.apple.WebCore             	0x01ca9c60 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1484
17  com.apple.WebCore             	0x01ca9c60 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1484
18  com.apple.WebCore             	0x01ca9c60 WebCore::Element::recalcStyle(WebCore::Node::StyleChange) + 1484
19  com.apple.WebCore             	0x01a68cd0 WebCore::Document::recalcStyle(WebCore::Node::StyleChange) + 1448
20  com.apple.WebCore             	0x01a5bfd8 WebCore::Document::updateRendering() + 80
21  com.apple.WebCore             	0x01a5f3c0 WebCore::Document::updateDocumentsRendering() + 92
22  com.apple.WebCore             	0x01c63e64 WebCore::EventTargetNode::dispatchGenericEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;, int&amp;, bool) + 3044
23  com.apple.WebCore             	0x01c64c34 WebCore::EventTargetNode::dispatchEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;, int&amp;, bool, WebCore::EventTarget*) + 392
24  com.apple.WebCore             	0x01c64cc8 WebCore::EventTargetNode::dispatchEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;, int&amp;, bool) + 76
25  com.apple.WebCore             	0x01a54fb0 WebCore::FrameView::scheduleEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;, WTF::PassRefPtr&lt;WebCore::EventTargetNode&gt;, bool) + 140
26  com.apple.WebCore             	0x01b3feac WebCore::RenderLayer::scrollToOffset(int, int, bool, bool) + 964
27  com.apple.WebCore             	0x01b8c47c WebCore::RenderTextControl::forwardEvent(WebCore::Event*) + 280
28  com.apple.WebCore             	0x01a1a508 WebCore::HTMLInputElement::defaultEventHandler(WebCore::Event*) + 4516
29  com.apple.WebCore             	0x01c63e00 WebCore::EventTargetNode::dispatchGenericEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;, int&amp;, bool) + 2944
30  com.apple.WebCore             	0x01c64c34 WebCore::EventTargetNode::dispatchEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;, int&amp;, bool, WebCore::EventTarget*) + 392
31  com.apple.WebCore             	0x01c64cc8 WebCore::EventTargetNode::dispatchEvent(WTF::PassRefPtr&lt;WebCore::Event&gt;, int&amp;, bool) + 76
32  com.apple.WebCore             	0x01c64044 WebCore::EventTargetNode::dispatchHTMLEvent(WebCore::AtomicString const&amp;, bool, bool) + 224
33  com.apple.WebCore             	0x01c640ac WebCore::EventTargetNode::dispatchBlurEvent() + 52
34  com.apple.WebCore             	0x01a147c4 WebCore::HTMLInputElement::dispatchBlurEvent() + 228
35  com.apple.WebCore             	0x01a63354 WebCore::Document::setFocusedNode(WTF::PassRefPtr&lt;WebCore::Node&gt;) + 940
36  com.apple.WebCore             	0x01a639a0 WebCore::Document::focusedNodeRemoved(WebCore::Node*) + 48
37  com.apple.WebCore             	0x01c9b590 WebCore::Node::willRemove() + 140
38  com.apple.WebCore             	0x01a88494 WebCore::ContainerNode::willRemove() + 108
39  com.apple.WebCore             	0x01a8846c WebCore::ContainerNode::willRemove() + 68
40  com.apple.WebCore             	0x01a8846c WebCore::ContainerNode::willRemove() + 68
41  com.apple.WebCore             	0x01a8846c WebCore::ContainerNode::willRemove() + 68
42  com.apple.WebCore             	0x01a8846c WebCore::ContainerNode::willRemove() + 68
43  com.apple.WebCore             	0x01a8846c WebCore::ContainerNode::willRemove() + 68
44  com.apple.WebCore             	0x01a8846c WebCore::ContainerNode::willRemove() + 68
45  com.apple.WebCore             	0x01a8846c WebCore::ContainerNode::willRemove() + 68
46  com.apple.WebCore             	0x01a8846c WebCore::ContainerNode::willRemove() + 68
47  com.apple.WebCore             	0x01a8846c WebCore::ContainerNode::willRemove() + 68
48  com.apple.WebCore             	0x01a8846c WebCore::ContainerNode::willRemove() + 68
49  com.apple.WebCore             	0x01a8846c WebCore::ContainerNode::willRemove() + 68
50  com.apple.WebCore             	0x01a62bb0 WebCore::Document::detach() + 204
51  com.apple.WebCore             	0x01fbca78 WebCore::CachedPage::clear() + 428
52  com.apple.WebCore             	0x01fbdb04 WebCore::CachedPage::close() + 180
53  com.apple.WebCore             	0x0201d028 WebCore::PageCache::releaseAutoreleasedPagesNow() + 156
54  com.apple.WebCore             	0x0201d288 WebCore::PageCache::releaseAutoreleasedPagesNowOrReschedule(WebCore::Timer&lt;WebCore::PageCache&gt;*) + 472
55  com.apple.WebCore             	0x0201eb0c WebCore::Timer&lt;WebCore::PageCache&gt;::fired() + 148
56  com.apple.WebCore             	0x01c2cfdc WebCore::TimerBase::fireTimers(double, WTF::Vector&lt;WebCore::TimerBase*, 0ul&gt; const&amp;) + 240
57  com.apple.WebCore             	0x01c2d0bc WebCore::TimerBase::sharedTimerFired() + 128
58  com.apple.WebCore             	0x01c2c284 WebCore::timerFired(__CFRunLoopTimer*, void*) + 136
59  com.apple.CoreFoundation      	0x96289930 CFRunLoopRunSpecific + 2992
60  com.apple.HIToolbox           	0x9420a0d8 RunCurrentEventLoopInMode + 264
61  com.apple.HIToolbox           	0x94209efc ReceiveNextEventCommon + 412
62  com.apple.HIToolbox           	0x94209d3c BlockUntilNextEventMatchingListInMode + 84
63  com.apple.AppKit              	0x959b8330 _DPSNextEvent + 580
64  com.apple.AppKit              	0x959b7d80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 112
65  com.apple.Safari              	0x00006cec 0x1000 + 23788
66  com.apple.AppKit              	0x959b1b58 -[NSApplication run] + 736
67  com.apple.AppKit              	0x95982754 NSApplicationMain + 548
68  com.apple.Safari              	0x0004ce20 0x1000 + 310816
69  ???                           	0x00000ffc 0 + 4092</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>861</commentid>
    <comment_count>1</comment_count>
      <attachid>16211</attachid>
    <who name="">mitz</who>
    <bug_when>2007-09-06 13:52:36 -0700</bug_when>
    <thetext>Created attachment 16211
Test case (will assert)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>862</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-09-06 14:01:58 -0700</bug_when>
    <thetext>The test case does not crash release builds, although I think with more complicated layout it might. This is still a P1 regression in my opinion because of the change of behavior (blur event dispatched where it previously hadn&apos;t been, and with arbitrary timing). See also bug 12768.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>863</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2007-09-06 14:05:03 -0700</bug_when>
    <thetext>r25397</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>16211</attachid>
            <date>2007-09-06 13:52:36 -0700</date>
            <delta_ts>2007-09-06 13:52:36 -0700</delta_ts>
            <desc>Test case (will assert)</desc>
            <filename>15153 test case.html</filename>
            <type>text/html</type>
            <size>315</size>
            <attacher>mitz</attacher>
            
              <data encoding="base64">PHNjcmlwdD4KICAgIGZ1bmN0aW9uIHRlc3QoKQogICAgewogICAgICAgIGRvY3VtZW50LmdldEVs
ZW1lbnRCeUlkKCJ0IikuZm9jdXMoKTsKICAgICAgICBkb2N1bWVudC5sb2NhdGlvbj0iZGF0YTp0
ZXh0L2h0bWwsTm93IGNsb3NlIHRoaXMgd2luZG93IGFuZCB3YWl0IGEgbW9tZW50IG9yIHR3byI7
CiAgICB9Cjwvc2NyaXB0Pgo8YnV0dG9uIG9uY2xpY2s9InRlc3QoKSI+Q2xpY2sgaGVyZTwvYnV0
dG9uPgo8aW5wdXQgaWQ9InQiIG9uYmx1cj0iZG9jdW1lbnQuYm9keS5hcHBlbmRDaGlsZChkb2N1
bWVudC5jcmVhdGVUZXh0Tm9kZSgnZm9vJykpIj4K
</data>

          </attachment>
      

    </bug>

</bugzilla>