<?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>105988</bug_id>
          
          <creation_ts>2013-01-02 19:21:32 -0800</creation_ts>
          <short_desc>[Mac] Some inspector tests intermittently assert in InspectorOverlay::paint</short_desc>
          <delta_ts>2013-08-20 13:22:41 -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>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayoutTestFailure</keywords>
          <priority>P1</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Tim Horton">thorton</assigned_to>
          <cc>apavlov</cc>
    
    <cc>jberlin</cc>
    
    <cc>jer.noble</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>timothy</cc>
    
    <cc>vsevik</cc>
    
    <cc>web-inspector-bugs</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>799189</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-01-02 19:21:32 -0800</bug_when>
    <thetext>http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20webkit.org&amp;tests=inspector%2Fdebugger%2Fpause-in-internal-script.html

http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK2%20(Tests)/r138686%20(5395)/inspector/debugger/watch-expressions-panel-switch-crash-log.txt

0   com.apple.WebCore             	0x0000000104fec88e WebCore::InspectorOverlay::paint(WebCore::GraphicsContext&amp;) + 270 (InspectorOverlay.cpp:213)
1   com.apple.WebCore             	0x0000000104f591af WebCore::InspectorController::drawHighlight(WebCore::GraphicsContext&amp;) const + 47 (InspectorController.cpp:310)
2   com.apple.WebKit2             	0x00000001023bf429 WebKit::WebInspectorClient::drawRect(WebKit::PageOverlay*, WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;) + 57 (WebInspectorClient.cpp:128)
3   com.apple.WebKit2             	0x00000001023bf46f non-virtual thunk to WebKit::WebInspectorClient::drawRect(WebKit::PageOverlay*, WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;) + 63
4   com.apple.WebKit2             	0x000000010229fae6 WebKit::PageOverlay::drawRect(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;) + 198 (PageOverlay.cpp:120)
5   com.apple.WebKit2             	0x00000001023f4f3d WebKit::WebPage::drawPageOverlay(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;) + 189 (WebPage.cpp:1126)
6   com.apple.WebKit2             	0x00000001021e7dcf WebKit::DrawingAreaImpl::display(WebKit::UpdateInfo&amp;) + 1695 (DrawingAreaImpl.cpp:722)
7   com.apple.WebKit2             	0x00000001021e6f8e WebKit::DrawingAreaImpl::sendDidUpdateBackingStoreState() + 286 (DrawingAreaImpl.cpp:427)
8   com.apple.WebKit2             	0x00000001021e770b WebKit::DrawingAreaImpl::updateBackingStoreState(unsigned long long, bool, float, WebCore::IntSize const&amp;, WebCore::IntSize const&amp;) + 875 (DrawingAreaImpl.cpp:414)
9   com.apple.WebKit2             	0x00000001021ecf81 void CoreIPC::callMemberFunction&lt;WebKit::DrawingArea, void (WebKit::DrawingArea::*)(unsigned long long, bool, float, WebCore::IntSize const&amp;, WebCore::IntSize const&amp;), unsigned long long, bool, float, WebCore::IntSize, WebCore::IntSize&gt;(CoreIPC::Arguments5&lt;unsigned long long, bool, float, WebCore::IntSize, WebCore::IntSize&gt; const&amp;, WebKit::DrawingArea*, void (WebKit::DrawingArea::*)(unsigned long long, bool, float, WebCore::IntSize const&amp;, WebCore::IntSize const&amp;)) + 193 (HandleMessage.h:46)
10  com.apple.WebKit2             	0x00000001021ec082 void CoreIPC::handleMessage&lt;Messages::DrawingArea::UpdateBackingStoreState, WebKit::DrawingArea, void (WebKit::DrawingArea::*)(unsigned long long, bool, float, WebCore::IntSize const&amp;, WebCore::IntSize const&amp;)&gt;(CoreIPC::MessageDecoder&amp;, WebKit::DrawingArea*, void (WebKit::DrawingArea::*)(unsigned long long, bool, float, WebCore::IntSize const&amp;, WebCore::IntSize const&amp;)) + 114 (HandleMessage.h:323)
11  com.apple.WebKit2             	0x00000001021ebaa0 WebKit::DrawingArea::didReceiveDrawingAreaMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&amp;) + 160 (DrawingAreaMessageReceiver.cpp:44)
12  com.apple.WebKit2             	0x00000001023f9e01 WebKit::WebPage::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&amp;) + 129 (WebPage.cpp:2949)
13  com.apple.WebKit2             	0x00000001023f9efd non-virtual thunk to WebKit::WebPage::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&amp;) + 61
14  com.apple.WebKit2             	0x000000010256dd8a CoreIPC::MessageReceiverMap::dispatchMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&amp;) + 634 (MessageReceiverMap.cpp:87)
15  com.apple.WebKit2             	0x00000001024cfc1d WebKit::WebProcess::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&amp;) + 77 (WebProcess.cpp:590)
16  com.apple.WebKit2             	0x00000001021c65c8 CoreIPC::Connection::dispatchMessage(CoreIPC::MessageID, CoreIPC::MessageDecoder&amp;) + 72 (Connection.cpp:662)
17  com.apple.WebKit2             	0x00000001021c3a8e CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message&lt;CoreIPC::MessageDecoder&gt;&amp;) + 318 (Connection.cpp:684)
18  com.apple.WebKit2             	0x00000001021c656b CoreIPC::Connection::dispatchOneMessage() + 203 (Connection.cpp:711)
19  com.apple.WebKit2             	0x00000001021cde52 WTF::FunctionWrapper&lt;void (CoreIPC::Connection::*)()&gt;::operator()(CoreIPC::Connection*) + 114 (Functional.h:173)
20  com.apple.WebKit2             	0x00000001021cddd5 WTF::BoundFunctionImpl&lt;WTF::FunctionWrapper&lt;void (CoreIPC::Connection::*)()&gt;, void (CoreIPC::Connection*)&gt;::operator()() + 53 (Functional.h:405)
21  com.apple.WebCore             	0x0000000105b03e39 WTF::Function&lt;void ()&gt;::operator()() const + 137 (Functional.h:613)
22  com.apple.WebCore             	0x0000000105b03b3b WebCore::RunLoop::performWork() + 395 (RunLoop.cpp:89)
23  com.apple.WebCore             	0x0000000105b04f8e WebCore::RunLoop::performWork(void*) + 62 (RunLoopCF.cpp:66)
24  com.apple.CoreFoundation      	0x00007fff8dedf101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
25  com.apple.CoreFoundation      	0x00007fff8dedea25 __CFRunLoopDoSources0 + 245
26  com.apple.CoreFoundation      	0x00007fff8df01dc5 __CFRunLoopRun + 789
27  com.apple.CoreFoundation      	0x00007fff8df016b2 CFRunLoopRunSpecific + 290
28  com.apple.HIToolbox           	0x00007fff867b00a4 RunCurrentEventLoopInMode + 209
29  com.apple.HIToolbox           	0x00007fff867afe42 ReceiveNextEventCommon + 356
30  com.apple.HIToolbox           	0x00007fff867afcd3 BlockUntilNextEventMatchingListInMode + 62
31  com.apple.AppKit              	0x00007fff897ba613 _DPSNextEvent + 685
32  com.apple.AppKit              	0x00007fff897b9ed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
33  com.apple.AppKit              	0x00007fff897b1283 -[NSApplication run] + 517
34  com.apple.WebCore             	0x0000000105b05bec WebCore::RunLoop::run() + 92 (RunLoopMac.mm:37)
35  com.apple.WebKit2             	0x00000001024ea5b3 WebKit::WebProcessMain(WebKit::CommandLine const&amp;) + 4451 (WebProcessMainMac.mm:187)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>799195</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-01-02 19:25:55 -0800</bug_when>
    <thetext>Added a flaky crash expectation in http://trac.webkit.org/changeset/138694.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800352</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-01-04 10:29:56 -0800</bug_when>
    <thetext>Another one: http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK1%20(Tests)/r138805%20(4304)/results.html

This bug is preventing us from making debug bots green.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800353</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2013-01-04 10:30:52 -0800</bug_when>
    <thetext>&lt;rdar://problem/12958038&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800354</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2013-01-04 10:30:53 -0800</bug_when>
    <thetext>&lt;rdar://problem/12958039&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>878167</commentid>
    <comment_count>5</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2013-04-18 18:14:57 -0700</bug_when>
    <thetext>This is happening on Lion Debug WK2 tests as well:

http://build.webkit.org/results/Apple%20Lion%20Debug%20WK2%20(Tests)/r148713%20(8976)/inspector/debugger/script-extract-outline-crash-log.txt

I am going to wait to see that particular test again before marking as flakey.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>917985</commentid>
    <comment_count>6</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2013-08-16 09:57:04 -0700</bug_when>
    <thetext>This test is now consistently flakey on Lion &amp; Mountain Lion WK1 &amp; WK2 bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>918032</commentid>
    <comment_count>7</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2013-08-16 11:19:33 -0700</bug_when>
    <thetext>Added flakiness expectations for all Mac platforms in http://trac.webkit.org/changeset/154189.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>919158</commentid>
    <comment_count>8</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-08-20 12:02:25 -0700</bug_when>
    <thetext>I tried to track down where the layout is being invalidated and not performed, but failed (the build with logging was far, far too slow, and I couldn&apos;t reproduce the problem anymore).

I don&apos;t see any particular reason why we can&apos;t just do layout in InspectorOverlay::paint if it&apos;s stale. Anyone?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>919165</commentid>
    <comment_count>9</comment_count>
      <attachid>209218</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-08-20 12:22:09 -0700</bug_when>
    <thetext>Created attachment 209218
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>919182</commentid>
    <comment_count>10</comment_count>
      <attachid>209218</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2013-08-20 13:12:16 -0700</bug_when>
    <thetext>Comment on attachment 209218
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=209218&amp;action=review

r=me

&gt; Source/WebCore/inspector/InspectorOverlay.cpp:213
&gt; +    view-&gt;updateLayoutAndStyleIfNeededRecursive();
&gt;      ASSERT(!view-&gt;needsLayout());

Seems like you can remove the ASSERT now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>919189</commentid>
    <comment_count>11</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-08-20 13:22:41 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/154353</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>209218</attachid>
            <date>2013-08-20 12:22:09 -0700</date>
            <delta_ts>2013-08-20 13:12:15 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-105988-20130820122209.patch</filename>
            <type>text/plain</type>
            <size>1549</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTU0MzQwCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggMGI3MTQ0N2Y4NGFmODYx
MTM3ZGZmMGIzNmM3Y2MxOGQ5Y2U5MTQxZS4uOGUzZjQ2ZjA5NmIyZTUzZTBmYWE0NmQ1YzQ5NzQy
NjkzNjMzYThkMCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE2IEBACisyMDEzLTA4LTIwICBUaW0g
SG9ydG9uICA8dGltb3RoeV9ob3J0b25AYXBwbGUuY29tPgorCisgICAgICAgIDxodHRwczovL3dl
YmtpdC5vcmcvYi8xMDU5ODg+IFtNYWNdIFNvbWUgaW5zcGVjdG9yIHRlc3RzIGludGVybWl0dGVu
dGx5IGFzc2VydCBpbiBJbnNwZWN0b3JPdmVybGF5OjpwYWludAorCisgICAgICAgIFJldmlld2Vk
IGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFVwZGF0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gIEdyYXBoaWNzQ29udGV4dFN0YXRlU2F2ZXIgc3RhdGVT
YXZlcihjb250ZXh0KTsKICAgICBGcmFtZVZpZXcqIHZpZXcgPSBvdmVybGF5UGFnZSgpLT5tYWlu
RnJhbWUoKS0+dmlldygpOworICAgIHZpZXctPnVwZGF0ZUxheW91dEFuZFN0eWxlSWZOZWVkZWRS
ZWN1cnNpdmUoKTsKICAgICBBU1NFUlQoIXZpZXctPm5lZWRzTGF5b3V0KCkpOwogICAgIHZpZXct
PnBhaW50KCZjb250ZXh0LCBJbnRSZWN0KDAsIDAsIHZpZXctPndpZHRoKCksIHZpZXctPmhlaWdo
dCgpKSk7CiB9Cg==
</data>
<flag name="review"
          id="231205"
          type_id="1"
          status="+"
          setter="joepeck"
    />
          </attachment>
      

    </bug>

</bugzilla>