<?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>136617</bug_id>
          
          <creation_ts>2014-09-08 00:17:28 -0700</creation_ts>
          <short_desc>[EFL[WK2] MiniBrowser comes to crash on debug mode</short_desc>
          <delta_ts>2014-09-08 03:01:33 -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>WebKit EFL</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>
          
          <blocked>136324</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Gyuyoung Kim">gyuyoung.kim</reporter>
          <assigned_to name="Gyuyoung Kim">gyuyoung.kim</assigned_to>
          <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>ossy</cc>
    
    <cc>ryuan.choi</cc>
    
    <cc>sergio</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1033780</commentid>
    <comment_count>0</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2014-09-08 00:17:28 -0700</bug_when>
    <thetext>There is a crash as soon as Minibrowser runs on debug mode.

gyuyoung@gyuyoung-MacBookPro:~/WebKit$ WebKitBuild/Debug/bin/MiniBrowser 
HTML5 local storage is enabled for this view.
ERR&lt;3506&gt;:efreet_cache lib/efreet/efreet_cache.c:1108 on_send_register() org.freedesktop.DBus.Error.ServiceUnknown The name org.enlightenment.Efreet was not provided by any .service files
ASSERTION FAILED: !window
/home/gyuyoung/WebKit/Source/WebCore/platform/efl/EflScreenUtilities.cpp(113) : void WebCore::applyCursorFromEcoreX(Ecore_X_Window, const char*)
1   0x7f02fabbcfdd WTFCrash
2   0x7f02f65b8a97 WebCore::applyCursorFromEcoreX(unsigned int, char const*)
3   0x7f02fdd47a94 EwkView::updateCursor(unsigned int)
4   0x7f02fdd47c3c EwkView::setCursor(WebCore::Cursor const&amp;)
5   0x7f02fddb95c4 WebKit::WebViewEfl::setCursor(WebCore::Cursor const&amp;)
6   0x7f02fdb2c2ab WebKit::WebPageProxy::setCursor(WebCore::Cursor const&amp;)
7   0x7f02fde05407 void IPC::callMemberFunctionImpl&lt;WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WebCore::Cursor const&amp;), std::tuple&lt;WebCore::Cursor&gt;, 0ul&gt;(WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(WebCore::Cursor const&amp;), std::tuple&lt;WebCore::Cursor&gt;&amp;&amp;, std::index_sequence&lt;0ul&gt;)
8   0x7f02fde014d8 void IPC::callMemberFunction&lt;WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WebCore::Cursor const&amp;), std::tuple&lt;WebCore::Cursor&gt;, std::make_index_sequence&lt;1ul&gt; &gt;(std::tuple&lt;WebCore::Cursor&gt;&amp;&amp;, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(WebCore::Cursor const&amp;))
9   0x7f02fddf5fdf void IPC::handleMessage&lt;Messages::WebPageProxy::SetCursor, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WebCore::Cursor const&amp;)&gt;(IPC::MessageDecoder&amp;, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(WebCore::Cursor const&amp;))
10  0x7f02fddf08d2 WebKit::WebPageProxy::didReceiveMessage(IPC::Connection*, IPC::MessageDecoder&amp;)
11  0x7f02fda1f62e IPC::MessageReceiverMap::dispatchMessage(IPC::Connection*, IPC::MessageDecoder&amp;)
12  0x7f02fda3c7e7 WebKit::ChildProcessProxy::dispatchMessage(IPC::Connection*, IPC::MessageDecoder&amp;)
13  0x7f02fdb651c7 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection*, IPC::MessageDecoder&amp;)
14  0x7f02fda0eae0 IPC::Connection::dispatchMessage(IPC::MessageDecoder&amp;)
15  0x7f02fda0ebac IPC::Connection::dispatchMessage(std::unique_ptr&lt;IPC::MessageDecoder, std::default_delete&lt;IPC::MessageDecoder&gt; &gt;)
16  0x7f02fda0ed6d IPC::Connection::dispatchOneMessage()
17  0x7f02fda1ea1f WTF::FunctionWrapper&lt;void (IPC::Connection::*)()&gt;::operator()(IPC::Connection*)
18  0x7f02fda1e792 WTF::BoundFunctionImpl&lt;WTF::FunctionWrapper&lt;void (IPC::Connection::*)()&gt;, void (IPC::Connection*)&gt;::operator()()
19  0x7f02fda1799d WTF::Function&lt;void ()&gt;::operator()() const
20  0x7f02fda13e65 std::_Function_handler&lt;void (), WTF::Function&lt;void ()&gt; &gt;::_M_invoke(std::_Any_data const&amp;)
21  0x7f02fda275a0 std::function&lt;void ()&gt;::operator()() const
22  0x7f02fde47ba1 WTF::RunLoop::performWork()
23  0x7f02fde48d94 WTF::RunLoop::wakeUpEvent(void*, void*, unsigned int)
24  0x7f02fcb2f07f
25  0x7f02fcb2f80a
26  0x7f02fcb2e811
27  0x7f02fcb2ea17 ecore_main_loop_begin
28  0x40caf5 elm_main
29  0x40cb68 main
30  0x7f02fb6ccec5 __libc_start_main
31  0x4060d9
Error receiving IPC message on socket 27 in process 3537: Connection reset by peer
Segmentation fault (core dumped)
gyuyoung@gyuyoung-MacBookPro:~/WebKit$ LEAK: 1 WebPage
LEAK: 1 WebFrame
LEAK: 200 RenderObject
LEAK: 1 Page
LEAK: 1 Frame
LEAK: 8 CachedResource
LEAK: 4 SubresourceLoader
LEAK: 287 WebCoreNode
LEAK: 24 JSLazyEventListener</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033781</commentid>
    <comment_count>1</comment_count>
      <attachid>237763</attachid>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2014-09-08 00:23:34 -0700</bug_when>
    <thetext>Created attachment 237763
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033782</commentid>
    <comment_count>2</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2014-09-08 00:24:40 -0700</bug_when>
    <thetext>In applyCursorFromEcoreX(), ASSERT(!window) makes a crash though window isn&apos;t null. This is wrong ASSERT use. This patch fixes it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033799</commentid>
    <comment_count>3</comment_count>
      <attachid>237763</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-09-08 02:25:21 -0700</bug_when>
    <thetext>Comment on attachment 237763
Patch

LGTM, r=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033800</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-09-08 02:26:31 -0700</bug_when>
    <thetext>Just to note, this buggy assert comes from http://trac.webkit.org/changeset/173354</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033811</commentid>
    <comment_count>5</comment_count>
      <attachid>237763</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-09-08 03:01:26 -0700</bug_when>
    <thetext>Comment on attachment 237763
Patch

Clearing flags on attachment: 237763

Committed r173373: &lt;http://trac.webkit.org/changeset/173373&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033812</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-09-08 03:01:33 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>237763</attachid>
            <date>2014-09-08 00:23:34 -0700</date>
            <delta_ts>2014-09-08 03:01:26 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-136617-20140908162328.patch</filename>
            <type>text/plain</type>
            <size>1470</size>
            <attacher name="Gyuyoung Kim">gyuyoung.kim</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTczMzY1CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggMDIzODc2YTkxM2JkNzgz
MTVkOWY5MGY1YzY4NjIzYzVjZjY2M2Q1My4uNWFhZTFiYWY1YTg4OWE4NDM1OWZiNDk5ZjFlYmFm
YTA3ZGM0MmQ4YiAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1IEBACisyMDE0LTA5LTA4ICBHeXV5
b3VuZyBLaW0gIDxneXV5b3VuZy5raW1Ac2Ftc3VuZy5jb20+CisKKyAgICAgICAgW0VGTFtXSzJd
IE1pbmlCcm93c2VyIGNvbWVzIHRvIGNyYXNoIG9uIGRlYnVnIG1vZGUKKyAgICAgICAgaHR0cHM6
Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEzNjYxNworCisgICAgICAgIFJldmll
d2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIEZpeCB3cm9uZyBBU1NFUlRJT04gdXNl
IGluIGFwcGx5Q3Vyc29yRnJvbUVjb3JlWCgpLgorCisgICAgICAgICogcGxhdGZvcm0vZWZsL0Vm
bFNjcmVlblV0aWxpdGllcy5jcHA6IENoYW5nZSBBU1NFUlQoIXdpbmRvdykgd2l0aCAqQVNTRVJU
KHdpbmRvdykqCisgICAg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