<?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>156622</bug_id>
          
          <creation_ts>2016-04-15 00:29:29 -0700</creation_ts>
          <short_desc>[UNIX] Initialize WebKit before the platform initializations</short_desc>
          <delta_ts>2016-07-01 06:24:00 -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>WebKit2</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>158149</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>156736</dependson>
          <blocked>156735</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>commit-queue</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>hs85.jeong</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1184039</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-04-15 00:29:29 -0700</bug_when>
    <thetext>The platform specific initialization might use something that would require WebKit2 to be initialized. For example, in debug mode, the GTK+ port uses WTF::sleep that requires the threading to be initialized.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184040</commentid>
    <comment_count>1</comment_count>
      <attachid>276466</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-04-15 00:31:20 -0700</bug_when>
    <thetext>Created attachment 276466
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184608</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-04-18 01:31:05 -0700</bug_when>
    <thetext>Committed r199658: &lt;http://trac.webkit.org/changeset/199658&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184898</commentid>
    <comment_count>3</comment_count>
    <who name="Hunseop Jeong">hs85.jeong</who>
    <bug_when>2016-04-18 21:26:32 -0700</bug_when>
    <thetext>Efl port has been crashed since r199658.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184932</commentid>
    <comment_count>4</comment_count>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2016-04-18 23:07:45 -0700</bug_when>
    <thetext>I upload a fix for now - Bug 156735</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184948</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-04-19 00:18:32 -0700</bug_when>
    <thetext>Re-opened since this is blocked by bug 156736</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1207094</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2016-07-01 06:24:00 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 158149 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>276466</attachid>
            <date>2016-04-15 00:31:20 -0700</date>
            <delta_ts>2016-04-15 06:24:20 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>wk2-init.diff</filename>
            <type>text/plain</type>
            <size>1431</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9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bGlhLmNvbT4KIAogICAgICAgICBVbnJldmlld2VkLiBGaXggR1RLKyBidWls
ZCBhZnRlciByMTk5NTU4LgpkaWZmIC0tZ2l0IGEvU291cmNlL1dlYktpdDIvU2hhcmVkL3VuaXgv
Q2hpbGRQcm9jZXNzTWFpbi5oIGIvU291cmNlL1dlYktpdDIvU2hhcmVkL3VuaXgvQ2hpbGRQcm9j
ZXNzTWFpbi5oCmluZGV4IDdiOTAyOTQuLmFjY2M3NjQgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XZWJL
aXQyL1NoYXJlZC91bml4L0NoaWxkUHJvY2Vzc01haW4uaAorKysgYi9Tb3VyY2UvV2ViS2l0Mi9T
aGFyZWQvdW5peC9DaGlsZFByb2Nlc3NNYWluLmgKQEAgLTQ5LDExICs0OSwxMSBAQCBpbnQgQ2hp
bGRQcm9jZXNzTWFpbihpbnQgYXJnYywgY2hhcioqIGFyZ3YpCiB7CiAgICAgQ2hpbGRQcm9jZXNz
TWFpblR5cGUgY2hpbGRNYWluOwogCisgICAgSW5pdGlhbGl6ZVdlYktpdDIoKTsKKwogICAgIGlm
ICghY2hpbGRNYWluLnBsYXRmb3JtSW5pdGlhbGl6ZSgpKQogICAgICAgICByZXR1cm4gRVhJVF9G
QUlMVVJFOwogCi0gICAgSW5pdGlhbGl6ZVdlYktpdDIoKTsKLQogICAgIGlmICghY2hpbGRNYWlu
LnBhcnNlQ29tbWFuZExpbmUoYXJnYywgYXJndikpCiAgICAgICAgIHJldHVybiBFWElUX0ZBSUxV
UkU7CiAK
</data>
<flag name="review"
          id="300767"
          type_id="1"
          status="+"
          setter="mcatanzaro"
    />
          </attachment>
      

    </bug>

</bugzilla>