Bug 136530

Summary: REGRESSION(r173201): [GTK] Test TestWebKitAPI/WebKit2Gtk/TestDownloads timeouts.
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, zan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Carlos Alberto Lopez Perez 2014-09-04 07:18:22 PDT
Revision r173201 <http://trac.webkit.org/r173201> has caused a regression on the test TestWebKitAPI/WebKit2Gtk/TestDownloads. It now timeouts and gives the following error: "GLib (gthread-posix.c): Unexpected error from C library during 'pthread_mutex_lock': Invalid argument.  Aborting."

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 'pthread_mutex_lock': Invalid argument.  Aborting.
OK
TEST: WebKitBuild/Release/bin/TestWebKitAPI/WebKit2Gtk/TestDownloads: TIMEOUT
Tests that timed out (1): WebKitBuild/Release/bin/TestWebKitAPI/WebKit2Gtk/TestDownloads
Comment 1 Zan Dobersek 2014-09-08 01:07:33 PDT
Rolled out in r173267.
http://trac.webkit.org/changeset/173267

I'll continue working on this under bug #135800.