<?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>55865</bug_id>
          
          <creation_ts>2011-03-07 02:13:55 -0800</creation_ts>
          <short_desc>[EFL] Crash on quit when the Web Inspector debugger is paused</short_desc>
          <delta_ts>2017-03-11 10:35:48 -0800</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</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Mikołaj Małecki">m.malecki</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dbates</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>l.slachciak</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>363273</commentid>
    <comment_count>0</comment_count>
    <who name="Mikołaj Małecki">m.malecki</who>
    <bug_when>2011-03-07 02:13:55 -0800</bug_when>
    <thetext>The crash happens when Web Inspector is on and javascript is paused. In this case, the debugger calls WebCore::ScriptDebugServer::pauseIfNeeded(), and inside it enters another level of event loop. The problem is that once the loop is exited, the state of data, especially *page-&gt;group()-&gt;pages().begin(), is unstable, and this page is probably during destruction process or it may even be a dangling pointer. This way, when setJavaScriptPaused with this page results in crash.

I suspect the system doesn&apos;t predict that the event loop may happen to be exited in this function instead of the main event loop in the application that uses webkit.

This behavior can be reproduced with WebKit-efl, as well as with Arora [Webkit-Qt] (although I haven&apos;t observed it with Rekonq [Webkit-KDE]):

1. Run Arora with any page (preferably under gdb because without it the crash may be unable to be observed)
2. Open Web Inspector
3. Click &quot;Scripts&quot; and pause javascript (make sure that you can see the backtrace)
4. Close the Arora window

I know you can think that it&apos;s insignificant that a crash happens when you close the program. The problem is, though, that this problem occurs also when you close a widget realized by WRT engine, and in this case the whole WRT engine crashes, not only the widget being closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>370079</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2011-03-18 19:32:29 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 44230 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378049</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2011-04-01 13:54:24 -0700</bug_when>
    <thetext>I don&apos;t think this is a dupe of bug 44230, that bug is about Mac and about closign the window. This is abotu EFL and Qt in Arora.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378052</commentid>
    <comment_count>3</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2011-04-01 13:55:46 -0700</bug_when>
    <thetext>Reopening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>972071</commentid>
    <comment_count>4</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2014-01-25 16:00:13 -0800</bug_when>
    <thetext>Is this still an issue? Migrating to new component.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>972072</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-01-25 16:00:44 -0800</bug_when>
    <thetext>&lt;rdar://problem/15909919&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1286283</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-03-11 10:35:48 -0800</bug_when>
    <thetext>Closing this bug because the EFL port has been removed from trunk.

If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>