<?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>23279</bug_id>
          
          <creation_ts>2009-01-12 15:53:30 -0800</creation_ts>
          <short_desc>[GTK] fix crash after WebView dispose</short_desc>
          <delta_ts>2009-01-13 11:57:47 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alexander Butenko">a.butenka</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105415</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Butenko">a.butenka</who>
    <bug_when>2009-01-12 15:53:30 -0800</bug_when>
    <thetext>Bug is related to #23194. 

The WebCore::Page is deleted by the dispose implementation and webkit_web_view_set_scroll_adjustments() doesn&apos;t check is Page still exist.
Mischeck leads to a crash sometimes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105416</commentid>
    <comment_count>1</comment_count>
      <attachid>26653</attachid>
    <who name="Alexander Butenko">a.butenka</who>
    <bug_when>2009-01-12 15:58:24 -0800</bug_when>
    <thetext>Created attachment 26653
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105474</commentid>
    <comment_count>2</comment_count>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2009-01-13 03:35:45 -0800</bug_when>
    <thetext>Looks good. I have this as well:

@@ -883,6 +887,9 @@ static gboolean webkit_navigation_request_handled(GSignalInvocationHint* ihint,
 static AtkObject* webkit_web_view_get_accessible(GtkWidget* widget)
 {
     WebKitWebView* webView = WEBKIT_WEB_VIEW(widget);
+    if (!core(webView))
+        return NULL;
+
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105482</commentid>
    <comment_count>3</comment_count>
      <attachid>26653</attachid>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2009-01-13 06:29:11 -0800</bug_when>
    <thetext>Comment on attachment 26653
patch

I will land this with the atk hunk from the comments. there was mutual agreement on #webkit-gtk on this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105541</commentid>
    <comment_count>4</comment_count>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2009-01-13 11:57:47 -0800</bug_when>
    <thetext>Landed in r39855.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>26653</attachid>
            <date>2009-01-12 15:58:24 -0800</date>
            <delta_ts>2009-01-13 06:29:11 -0800</delta_ts>
            <desc>patch</desc>
            <filename>webkit_web_view_set_scroll_adjustments_crashfix.patch</filename>
            <type>text/plain</type>
            <size>1053</size>
            <attacher name="Alexander Butenko">a.butenka</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9ndGsvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC9ndGsvQ2hh
bmdlTG9nCShyZXZpc2lvbiAzOTg0MikKKysrIFdlYktpdC9ndGsvQ2hhbmdlTG9nCSh3b3JraW5n
IGNvcHkpCkBAIC0xLDMgKzEsMTMgQEAKKzIwMDktMDEtMTIgIEFsZXhhbmRlci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ICAgICBpZiAoaGFkaikK
</data>
<flag name="review"
          id="12685"
          type_id="1"
          status="+"
          setter="zecke"
    />
          </attachment>
      

    </bug>

</bugzilla>