<?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>15573</bug_id>
          
          <creation_ts>2007-10-20 02:29:34 -0700</creation_ts>
          <short_desc>r26785(nightly) cannot be LoadLibrary-ed and therefore leads crash</short_desc>
          <delta_ts>2007-10-20 20:16:29 -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>Platform</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>15586</dup_id>
          
          <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>808caaa4.8ce9.9cd6c799e9f6</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58896</commentid>
    <comment_count>0</comment_count>
    <who name="">808caaa4.8ce9.9cd6c799e9f6</who>
    <bug_when>2007-10-20 02:29:34 -0700</bug_when>
    <thetext>WebKit.dll cannot be LoadLibrary-ed.

ntsd says it crashes at WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary +0x12b,
it refers fs:2Ch and _tls_index, and both uninitialized (both NULL).

Some sites said __declspec(thread) cannot used for LoadLibrary-ed DLL.

http://msdn2.microsoft.com/en-us/library/2s9wt68x(VS.80).aspx</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58897</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-10-20 03:22:06 -0700</bug_when>
    <thetext>This is a known incompatibility between current WebKit on Windows and the publicly available builds of Safari for Windows.  Using a newer build of Safari will prevent this issue from occurring.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58904</commentid>
    <comment_count>2</comment_count>
    <who name="">808caaa4.8ce9.9cd6c799e9f6</who>
    <bug_when>2007-10-20 04:36:43 -0700</bug_when>
    <thetext>hm... it seems it depends on var &apos;threadHeap&apos; is on TLSByLoader[0], 
may be Safari.exe have same initializer, since _tls_index may 0 if delayloaded.

// My 310A18 is v3.0.4(523.7) today, so cannot evaluate now.

BTW, may I use WebKit.dll with another app which doesn&apos;t initialize fs:2Ch ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58968</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-10-20 20:16:29 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 15586 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>