[Webkit-unassigned] [Bug 64951] [Chromium] fast/frames/meta-refresh-user-gesture.html is crashy on Windows.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 26 00:54:57 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=64951





--- Comment #4 from Johnny(Jianning) Ding <jnd at chromium.org>  2011-07-26 00:54:58 PST ---
This bug was caused by different threads in DRT chromium port may try to initialize the standard_schemes global variable at same time. 
According to the InitStandardSchemes implementation in url_util.cc, when one thread was calling InitStandardSchemes, another thread might think the standard_schemes is completed, then called LowerCaseEqualsASCII to compare whether the specified scheme is one of standard schmemes, but standard_schemes->at(i) might return null pointer at this point (see method DoIsStandard in url_util.cc). There was a similar bug on http://code.google.com/p/google-url/issues/detail?id=17.

The fix is pretty easy and provided in http://code.google.com/p/google-url/issues/detail?id=17. Which is to call standard_schemes initialization when initializing the program before other threads generate GURL object.
>From my understanding, we should call the URL library Initialization in webkit_support::SetUpTestEnvironment which is in Chromium source path.

A fix may be submitted to Chromium, let's keep this bug open. Will close it when the CL landed in Chromium.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list