<?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>136530</bug_id>
          
          <creation_ts>2014-09-04 07:18:22 -0700</creation_ts>
          <short_desc>REGRESSION(r173201): [GTK] Test TestWebKitAPI/WebKit2Gtk/TestDownloads timeouts.</short_desc>
          <delta_ts>2014-09-08 01:07: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>WebKitGTK</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="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1033196</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2014-09-04 07:18:22 -0700</bug_when>
    <thetext>Revision r173201 &lt;http://trac.webkit.org/r173201&gt; has caused a regression on the test TestWebKitAPI/WebKit2Gtk/TestDownloads. It now timeouts and gives the following error: &quot;GLib (gthread-posix.c): Unexpected error from C library during &apos;pthread_mutex_lock&apos;: Invalid argument.  Aborting.&quot;

I have double checked this. I tried to locally revert r173201 and the test passes again as expected without any error.

This is the output from the test:

$ Tools/Scripts/run-gtk-tests --verbose --release WebKitBuild/Release/bin/TestWebKitAPI/WebKit2Gtk/TestDownloads
TEST: WebKitBuild/Release/bin/TestWebKitAPI/WebKit2Gtk/TestDownloads... (pid=19026)
  /webkit2/Downloads/local-file:                                       OK
  /webkit2/Downloads/local-file-error:                                 OK
  /webkit2/Downloads/remote-file:                                      OK
  /webkit2/Downloads/remote-file-error:                                OK
  /webkit2/Downloads/policy-decision-download:                         GLib (gthread-posix.c): Unexpected error from C library during &apos;pthread_mutex_lock&apos;: Invalid argument.  Aborting.
OK
TEST: WebKitBuild/Release/bin/TestWebKitAPI/WebKit2Gtk/TestDownloads: TIMEOUT
Tests that timed out (1): WebKitBuild/Release/bin/TestWebKitAPI/WebKit2Gtk/TestDownloads</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1033787</commentid>
    <comment_count>1</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2014-09-08 01:07:33 -0700</bug_when>
    <thetext>Rolled out in r173267.
http://trac.webkit.org/changeset/173267

I&apos;ll continue working on this under bug #135800.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>