<?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>42760</bug_id>
          
          <creation_ts>2010-07-21 09:24:10 -0700</creation_ts>
          <short_desc>[Chromium]: Crash during find-in-page</short_desc>
          <delta_ts>2010-07-21 10:44:58 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Finnur Thorarinsson">finnur.webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>254337</commentid>
    <comment_count>0</comment_count>
    <who name="Finnur Thorarinsson">finnur.webkit</who>
    <bug_when>2010-07-21 09:24:10 -0700</bug_when>
    <thetext>Originally reported here:
http://code.google.com/p/chromium/issues/detail?id=46019

Turns out our users are seeing occasional crashes while searching, probably when search is still ongoing while the tab is closed/browser shutdown, although we haven&apos;t been able to repro. But I have a patch for this; will submit shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254339</commentid>
    <comment_count>1</comment_count>
    <who name="Finnur Thorarinsson">finnur.webkit</who>
    <bug_when>2010-07-21 09:24:44 -0700</bug_when>
    <thetext>Call stack when it crashes:

0x6cf673c6	 [chrome.dll	 - scrollview.cpp:207]	WebCore::ScrollView::visibleContentRect(bool)
0x6cf66f6c	 [chrome.dll	 - scrollview.h:126]	WebCore::ScrollView::visibleWidth()
0x6d16ad77	 [chrome.dll	 - webframeimpl.cpp:558]	WebKit::WebFrameImpl::hasVisibleContent()
0x6d16dedb	 [chrome.dll	 - webframeimpl.cpp:2054]	WebKit::WebFrameImpl::shouldScopeMatches(WebCore::String const &amp;)
0x6d16c9ed	 [chrome.dll	 - webframeimpl.cpp:1403]	WebKit::WebFrameImpl::scopeStringMatches(int,WebKit::WebString const &amp;,WebKit::WebFindOptions const &amp;,bool)
0x6d16e00d	 [chrome.dll	 - webframeimpl.cpp:2087]	WebKit::WebFrameImpl::callScopeStringMatches(WebKit::WebFrameImpl::DeferredScopeStringMatches *,int,WebKit::WebString const &amp;,WebKit::WebFindOptions const &amp;,bool)
0x6d16a9ac	 [chrome.dll	 - webframeimpl.cpp:431]	WebKit::WebFrameImpl::DeferredScopeStringMatches::doTimeout(WebCore::Timer&lt;WebKit::WebFrameImpl::DeferredScopeStringMatches&gt; *)
0x6cf66d84	 [chrome.dll	 - timer.h:98]	WebCore::Timer&lt;WebCore::PageCache&gt;::fired()
0x6d09f4c7	 [chrome.dll	 - threadtimers.cpp:112]	WebCore::ThreadTimers::sharedTimerFiredInternal()
0x6d09f43a	 [chrome.dll	 - threadtimers.cpp:90]	WebCore::ThreadTimers::sharedTimerFired()
0x6cc0be0e	 [chrome.dll	 - message_loop.cc:328]	MessageLoop::RunTask(Task *)
0x6cc0be4b	 [chrome.dll	 - message_loop.cc:336]	MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask const &amp;)
0x6cc0bfe1	 [chrome.dll	 - message_loop.cc:443]	MessageLoop::DoWork()
0x6cc1c343	 [chrome.dll	 - message_pump_default.cc:50]	base::MessagePumpDefault::Run(base::MessagePump::Delegate *)
0x6cc0bcb9	 [chrome.dll	 - message_loop.cc:204]	MessageLoop::RunInternal()
0x6cc0bc3e	 [chrome.dll	 - message_loop.cc:176]	MessageLoop::RunHandler()
0x6cc0bbec	 [chrome.dll	 - message_loop.cc:154]	MessageLoop::Run()
0x6cc2eb81	 [chrome.dll	 - renderer_main.cc:293]	RendererMain(MainFunctionParams const &amp;)
0x6cb43bb1	 [chrome.dll	 - chrome_dll_main.cc:730]	ChromeMain
0x012f356c	 [chrome.exe	 - client_util.cc:200]	MainDllLoader::Launch(HINSTANCE__ *,sandbox::SandboxInterfaceInfo *)
0x012f3b5b	 [chrome.exe	 - chrome_exe_main.cc:46]	wWinMain</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254342</commentid>
    <comment_count>2</comment_count>
      <attachid>62194</attachid>
    <who name="Finnur Thorarinsson">finnur.webkit</who>
    <bug_when>2010-07-21 09:28:07 -0700</bug_when>
    <thetext>Created attachment 62194
Proposed fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254355</commentid>
    <comment_count>3</comment_count>
      <attachid>62197</attachid>
    <who name="Finnur Thorarinsson">finnur.webkit</who>
    <bug_when>2010-07-21 09:47:51 -0700</bug_when>
    <thetext>Created attachment 62197
Added to the description in the changelog</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254367</commentid>
    <comment_count>4</comment_count>
      <attachid>62197</attachid>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2010-07-21 09:54:52 -0700</bug_when>
    <thetext>Comment on attachment 62197
Added to the description in the changelog

ok.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254409</commentid>
    <comment_count>5</comment_count>
      <attachid>62197</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-07-21 10:44:53 -0700</bug_when>
    <thetext>Comment on attachment 62197
Added to the description in the changelog

Clearing flags on attachment: 62197

Committed r63841: &lt;http://trac.webkit.org/changeset/63841&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254410</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-07-21 10:44:58 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>62194</attachid>
            <date>2010-07-21 09:28:07 -0700</date>
            <delta_ts>2010-07-21 09:47:51 -0700</delta_ts>
            <desc>Proposed fix</desc>
            <filename>find_crash_fix.patch</filename>
            <type>text/plain</type>
            <size>1376</size>
            <attacher name="Finnur Thorarinsson">finnur.webkit</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9jaHJvbWl1bS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViS2l0L2No
cm9taXVtL0NoYW5nZUxvZwkocmV2aXNpb24gNjM4MzEpCisrKyBXZWJLaXQvY2hyb21pdW0vQ2hh
bmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTMgQEAKKzIwMTAtMDctMjEgIEZpbm51
ciBUaG9yYXJpbnNzb24gIDxmaW5udXIud2Via2l0QGdtYWlsLmNvbT4KKworICAgICAgICBSZXZp
ZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBBdm9pZCBjcmFzaGluZyBkdXJpbmcg
ZmluZC1pbi1wYWdlIHdoZW4gfHZpZXd8IGlzIE5VTEwuCisgICAgICAgIGh0dHBzOi8vYnVncy53
ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD00Mjc2MAorCisgICAgICAgICogc3JjL1dlYkZyYW1l
SW1wbC5jcHA6CisgICAgICAgIChXZWJLaXQ6OldlYkZyYW1lSW1wbDo6c2hvdWxkU2NvcGVNYXRj
aGVzKToKKwogMjAxMC0wNy0yMSAgSGFucyBXZW5uYm9yZyAgPGhhbnNAY2hyb21pdW0ub3JnPgog
CiAgICAgICAgIFJldmlld2VkIGJ5IFN0ZXZlIEJsb2NrLgpJbmRleDogV2ViS2l0L2Nocm9taXVt
L3NyYy9XZWJGcmFtZUltcGwuY3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC9jaHJvbWl1bS9zcmMv
V2ViRnJhbWVJbXBsLmNwcAkocmV2aXNpb24gNjM4MzEpCisrKyBXZWJLaXQvY2hyb21pdW0vc3Jj
L1dlYkZyYW1lSW1wbC5jcHAJKHdvcmtpbmcgY29weSkKQEAgLTIxMDEsOSArMjEwMSw5IEBAIGlu
dCBXZWJGcmFtZUltcGw6Om9yZGluYWxPZkZpcnN0TWF0Y2hGb3IKIAogYm9vbCBXZWJGcmFtZUlt
cGw6OnNob3VsZFNjb3BlTWF0Y2hlcyhjb25zdCBTdHJpbmcmIHNlYXJjaFRleHQpCiB7Ci0gICAg
Ly8gRG9uJ3Qgc2NvcGUgaWYgd2UgY2FuJ3QgZmluZCBhIGZyYW1lIG9yIGlmIHRoZSBmcmFtZSBp
cyBub3QgdmlzaWJsZS4KKyAgICAvLyBEb24ndCBzY29wZSBpZiB3ZSBjYW4ndCBmaW5kIGEgZnJh
bWUgb3IgYSB2aWV3IG9yIGlmIHRoZSBmcmFtZSBpcyBub3QgdmlzaWJsZS4KICAgICAvLyBUaGUg
dXNlciBtYXkgaGF2ZSBjbG9zZWQgdGhlIHRhYi9hcHBsaWNhdGlvbiwgc28gYWJvcnQuCi0gICAg
aWYgKCFmcmFtZSgpIHx8ICFoYXNWaXNpYmxlQ29udGVudCgpKQorICAgIGlmICghZnJhbWUoKSB8
fCAhZnJhbWUoKS0+dmlldygpIHx8ICFoYXNWaXNpYmxlQ29udGVudCgpKQogICAgICAgICByZXR1
cm4gZmFsc2U7CiAKICAgICBBU1NFUlQoZnJhbWUoKS0+ZG9jdW1lbnQoKSAmJiBmcmFtZSgpLT52
aWV3KCkpOwo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>62197</attachid>
            <date>2010-07-21 09:47:51 -0700</date>
            <delta_ts>2010-07-21 10:44:53 -0700</delta_ts>
            <desc>Added to the description in the changelog</desc>
            <filename>find_crash_fix2.patch</filename>
            <type>text/plain</type>
            <size>1569</size>
            <attacher name="Finnur Thorarinsson">finnur.webkit</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9jaHJvbWl1bS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViS2l0L2No
cm9taXVtL0NoYW5nZUxvZwkocmV2aXNpb24gNjM4MzEpCisrKyBXZWJLaXQvY2hyb21pdW0vQ2hh
bmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTcgQEAKKzIwMTAtMDctMjEgIEZpbm51
ciBUaG9yYXJpbnNzb24gIDxmaW5udXIud2Via2l0QGdtYWlsLmNvbT4KKworICAgICAgICBSZXZp
ZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBBdm9pZCBjcmFzaGluZyBkdXJpbmcg
ZmluZC1pbi1wYWdlIHdoZW4gfHZpZXd8IGlzIE5VTEwuCisgICAgICAgIGh0dHBzOi8vYnVncy53
ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD00Mjc2MAorICAgICAgICAKKyAgICAgICAgVGhlcmUg
YXJlIG5vIGxheW91dCB0ZXN0cyBiZWNhdXNlIHdlIGRvbid0IGhhdmUgYSByZXBybyBjYXNlCisg
ICAgICAgIHRvIHdvcmsgd2l0aCwgc28gdGhpcyBpcyBhIHNwZWN1bGF0aXZlIGZpeCBiYXNlZCBv
biBjcmFzaCBkdW1wCisgICAgICAgIGRpYWdub3Npcy4gU2VlIGJ1ZyBmb3IgZGV0YWlscy4KKwor
ICAgICAgICAqIHNyYy9XZWJGcmFtZUltcGwuY3BwOgorICAgICA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