<?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>125436</bug_id>
          
          <creation_ts>2013-12-08 20:38:59 -0800</creation_ts>
          <short_desc>[GTK] run-webkit-tests may DOS the system, specially in debug builds</short_desc>
          <delta_ts>2014-01-02 05:32:04 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Gustavo Noronha (kov)">gustavo</reporter>
          <assigned_to name="Gustavo Noronha (kov)">gustavo</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>957751</commentid>
    <comment_count>0</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2013-12-08 20:38:59 -0800</bug_when>
    <thetext>[GTK] run-webkit-tests may DOS the system, specially in debug builds</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>957790</commentid>
    <comment_count>1</comment_count>
      <attachid>218735</attachid>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2013-12-09 01:18:22 -0800</bug_when>
    <thetext>Created attachment 218735
Patch for landing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>957806</commentid>
    <comment_count>2</comment_count>
      <attachid>218735</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-12-09 01:52:50 -0800</bug_when>
    <thetext>Comment on attachment 218735
Patch for landing

Clearing flags on attachment: 218735

Committed r160304: &lt;http://trac.webkit.org/changeset/160304&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>957807</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-12-09 01:52:52 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963203</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2013-12-29 06:52:06 -0800</bug_when>
    <thetext>This has caused other problems unfortunately. The other day I noticed that my ephy was using the webkit library in my source tree and I hadn&apos;t run make install. I&apos;ve been investigating the problem and I&apos;ve noticed that my source tree is hardcoded in the rpath of the web process and plugin process executables installed in my jhbuild:

$ objdump -p /home/cgarcia/gnome/libexec/WebKitWebProcess | grep RPATH
  RPATH                /home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/.libs:/home/cgarcia/gnome/lib64

That explains why the non installed build sources are used by my ephy instead of the installed ones. The problem is that when using --no-fast-install, the binaries are not relinked when installed. I&apos;ve tried using --disable-fast-install configure option, but then it fails when trying to relink binaries not using the --no-fast-install option. 

For now I&apos;ve reverted this patch locally, but maybe we can use --no-fast-install for all binaries that are going to be installed and use --disable-fast-install configure option unconditionally. Or maybe there&apos;s a way to tell libtool to not do fast-install for binaries linked with --no-fast-install ld flag. I&apos;ve tried manually adding fast_install=no to the WebKitWebProcess librool wrapper script and it worked, correctly relinking the command before installing it, but I don&apos;t know if that can be done automatically somehow.

Btw, the no-fast-install ld flag was already removed by Gustavo in r116205.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963214</commentid>
    <comment_count>5</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2013-12-29 09:25:18 -0800</bug_when>
    <thetext>Maybe we can remove the rpath instead? It&apos;s what Debian does for all binaries.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963286</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2013-12-29 23:28:36 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; Maybe we can remove the rpath instead? It&apos;s what Debian does for all binaries.

If that&apos;s enough and you don&apos;t need to relink. How can we do that while installing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963713</commentid>
    <comment_count>7</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-01-02 02:36:24 -0800</bug_when>
    <thetext>I&apos;ve tried by disabling fast install globally and the build is a lot slower :-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963730</commentid>
    <comment_count>8</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-01-02 04:35:02 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; I&apos;ve tried by disabling fast install globally and the build is a lot slower :-(

Was doing it wrongly, using LT_INIT, added AC_DISABLE_FAST_INSTALL to Source/autotools/SetupLibtool.m4 and it doesn&apos;t affect to the build times, as expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963737</commentid>
    <comment_count>9</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-01-02 05:32:04 -0800</bug_when>
    <thetext>See https://bugs.webkit.org/show_bug.cgi?id=126381</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>218735</attachid>
            <date>2013-12-09 01:18:22 -0800</date>
            <delta_ts>2013-12-09 01:52:50 -0800</delta_ts>
            <desc>Patch for landing</desc>
            <filename>bug-125436-20131209101820.patch</filename>
            <type>text/plain</type>
            <size>1513</size>
            <attacher name="Gustavo Noron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