<?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>24997</bug_id>
          
          <creation_ts>2009-04-01 20:53:32 -0700</creation_ts>
          <short_desc>Race conditions in icon database threading code</short_desc>
          <delta_ts>2009-04-01 21:52: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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</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>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Steve Falkenburg">sfalken</reporter>
          <assigned_to name="Steve Falkenburg">sfalken</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>116243</commentid>
    <comment_count>0</comment_count>
    <who name="Steve Falkenburg">sfalken</who>
    <bug_when>2009-04-01 20:53:32 -0700</bug_when>
    <thetext>A bug was introduced in r27717 that broke the &quot;icon database thread is running&quot; check.  This check is currently always returning false.

This means we don&apos;t wait until the thread has shut down during icon database closes, and also allows the icon database to be disposed out from under the icon database thread.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116245</commentid>
    <comment_count>1</comment_count>
      <attachid>29182</attachid>
    <who name="Steve Falkenburg">sfalken</who>
    <bug_when>2009-04-01 20:55:58 -0700</bug_when>
    <thetext>Created attachment 29182
Set m_syncThreadRunning</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116246</commentid>
    <comment_count>2</comment_count>
      <attachid>29182</attachid>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2009-04-01 21:23:11 -0700</bug_when>
    <thetext>Comment on attachment 29182
Set m_syncThreadRunning

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116247</commentid>
    <comment_count>3</comment_count>
      <attachid>29182</attachid>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2009-04-01 21:23:12 -0700</bug_when>
    <thetext>Comment on attachment 29182
Set m_syncThreadRunning

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116248</commentid>
    <comment_count>4</comment_count>
    <who name="Steve Falkenburg">sfalken</who>
    <bug_when>2009-04-01 21:52:33 -0700</bug_when>
    <thetext>Fixed in r42163.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>29182</attachid>
            <date>2009-04-01 20:55:58 -0700</date>
            <delta_ts>2009-04-01 21:23:11 -0700</delta_ts>
            <desc>Set m_syncThreadRunning</desc>
            <filename>patch.diff</filename>
            <type>text/plain</type>
            <size>1237</size>
            <attacher name="Steve Falkenburg">sfalken</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDQyMTYy
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTYgQEAKKzIwMDktMDQt
MDEgIFN0ZXZlIEZhbGtlbmJ1cmcgIDxzZmFsa2VuQGFwcGxlLmNvbT4KKworICAgICAgICBodHRw
czovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjQ5OTcKKyAgICAgICAgUmFjZSBj
b25kaXRpb25zIGluIGljb24gZGF0YWJhc2UgdGhy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VGhyZWFk
UnVubmluZyA9IG1fc3luY1RocmVhZDsKICAgICBtX3N5bmNMb2NrLnVubG9jaygpOwogICAgIGlm
ICghbV9zeW5jVGhyZWFkKQogICAgICAgICByZXR1cm4gZmFsc2U7Cg==
</data>
<flag name="review"
          id="14470"
          type_id="1"
          status="+"
          setter="oliver"
    />
          </attachment>
      

    </bug>

</bugzilla>