<?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>86378</bug_id>
          
          <creation_ts>2012-05-14 09:13:18 -0700</creation_ts>
          <short_desc>REGRESSION(r116796): Assertion failure in API tests</short_desc>
          <delta_ts>2012-05-14 11:16:37 -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>Plug-ins</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>86386</dependson>
          <blocked>86143</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Antti Koivisto">koivisto</reporter>
          <assigned_to name="Andreas Kling">kling</assigned_to>
          <cc>andersca</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>623031</commentid>
    <comment_count>0</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2012-05-14 09:13:18 -0700</bug_when>
    <thetext>Looks like r116796 caused an assertion failure.

From http://build.webkit.org/builders/Lion%20Debug%20%28Tests%29/builds/6498/steps/run-api-tests/logs/stdio :

Note: Google Test filter = WebKit2.WKConnectionTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from WebKit2
[ RUN      ] WebKit2.WKConnectionTest
[       OK ] WebKit2.WKConnectionTest (153 ms)
[----------] 1 test from WebKit2 (153 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (153 ms total)
[  PASSED  ] 1 test.

  YOU HAVE 1 DISABLED TEST

ASSERTION FAILED: !m_isValid
/Volumes/Data/slave/lion-intel-debug/build/Source/WebKit2/Platform/WorkQueue.cpp(39) : WorkQueue::~WorkQueue()
1   0x10f1a3d25 WorkQueue::~WorkQueue()
2   0x10efc3506 WebKit::WebContext::~WebContext()
3   0x10efc3125 WebKit::WebContext::~WebContext()
4   0x10efc30f9 WebKit::WebContext::~WebContext()
5   0x10ee444c3 WTF::ThreadSafeRefCounted&lt;WebKit::APIObject&gt;::deref()
6   0x10efd8ffc void WTF::derefIfNotNull&lt;WebKit::WebContext&gt;(WebKit::WebContext*)
7   0x10f148ea8 WTF::RefPtr&lt;WebKit::WebContext&gt;::~RefPtr()
8   0x10f13e6f5 WTF::RefPtr&lt;WebKit::WebContext&gt;::~RefPtr()
9   0x10f13bca4 WebKit::WebProcessProxy::~WebProcessProxy()
10  0x10f13b9b5 WebKit::WebProcessProxy::~WebProcessProxy()
11  0x10f13b989 WebKit::WebProcessProxy::~WebProcessProxy()
12  0x10ee44c33 WTF::RefCounted&lt;WebKit::WebProcessProxy&gt;::deref()
13  0x10ee44bcc void WTF::derefIfNotNull&lt;WebKit::WebProcessProxy&gt;(WebKit::WebProcessProxy*)
14  0x10ee44b98 WTF::RefPtr&lt;WebKit::WebProcessProxy&gt;::~RefPtr()
15  0x10ee43ef5 WTF::RefPtr&lt;WebKit::WebProcessProxy&gt;::~RefPtr()
16  0x10f098f14 WebKit::WebPageProxy::~WebPageProxy()
17  0x10f098ba5 WebKit::WebPageProxy::~WebPageProxy()
18  0x10f098b79 WebKit::WebPageProxy::~WebPageProxy()
19  0x10ee444c3 WTF::ThreadSafeRefCounted&lt;WebKit::APIObject&gt;::deref()
20  0x10f05949c void WTF::derefIfNotNull&lt;WebKit::WebPageProxy&gt;(WebKit::WebPageProxy*)
21  0x10f0594c8 WTF::RefPtr&lt;WebKit::WebPageProxy&gt;::~RefPtr()
22  0x10f0592f5 WTF::RefPtr&lt;WebKit::WebPageProxy&gt;::~RefPtr()
23  0x10f184f80 -[WKViewData .cxx_destruct]
24  0x7fff945b24ed object_cxxDestructFromClass
25  0x7fff945ae5f1 objc_destructInstance
26  0x7fff945aed33 object_dispose
27  0x7fff892c5276 -[NSObject dealloc]
28  0x10f185511 -[WKView dealloc]
29  0x7fff945af03c (anonymous namespace)::AutoreleasePoolPage::pop(void*)
30  0x7fff892c5b05 _CFAutoreleasePoolPop
31  0x7fff8ac916f3 -[NSAutoreleasePool drain]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>623037</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Kling">kling</who>
    <bug_when>2012-05-14 09:22:14 -0700</bug_when>
    <thetext>Looks like I intentionally broke everything. Taking.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>623090</commentid>
    <comment_count>2</comment_count>
      <attachid>141751</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2012-05-14 10:35:51 -0700</bug_when>
    <thetext>Created attachment 141751
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>623113</commentid>
    <comment_count>3</comment_count>
    <who name="Andreas Kling">kling</who>
    <bug_when>2012-05-14 11:03:50 -0700</bug_when>
    <thetext>Committed r116969: &lt;http://trac.webkit.org/changeset/116969&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>623121</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-05-14 11:10:19 -0700</bug_when>
    <thetext>Re-opened since this is blocked by 86386</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>623130</commentid>
    <comment_count>5</comment_count>
      <attachid>141751</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2012-05-14 11:16:22 -0700</bug_when>
    <thetext>Comment on attachment 141751
Patch

Clearing flags on attachment: 141751

Committed r116971: &lt;http://trac.webkit.org/changeset/116971&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>623131</commentid>
    <comment_count>6</comment_count>
    <who name="Andreas Kling">kling</who>
    <bug_when>2012-05-14 11:16:37 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>141751</attachid>
            <date>2012-05-14 10:35:51 -0700</date>
            <delta_ts>2012-05-14 11:16:22 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-86378.diff</filename>
            <type>text/plain</type>
            <size>1223</size>
            <attacher name="Andreas Kling">kling</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCBjZDI0ZGE2Li43YjNkZWU0IDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViS2l0
Mi9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTcg
QEAKKzIwMTItMDUtMTQgIEFuZHJlYXMgS2xpbmcgIDxrbGluZ0B3ZWJraXQub3JnPgorCisgICAg
ICAgIFJFR1JFU1NJT04ocjExNjc5Nik6IEFzc2VydGlvbiBmYWlsdXJlIGluIEFQSSB0ZXN0cwor
ICAgICAgICA8aHR0cDovL3dlYmtpdC5vcmcvYi84NjM3OD4KKyAgICAgICAgPHJkYXI6Ly9wcm9i
bGVtLzEwNzc3MjE4PgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisg
ICAgICAgIEludmFsaWRhdGUgdGhlIHBsdWdpbiB3b3JrIHF1ZXVlIGluIH5XZWJDb250ZXh0IHRv
IGF2b2lkIGhpdHRpbmcKKyAgICAgICAgdGhlICFtX2lzVmFsaW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