[Webkit-unassigned] [Bug 55728] [fileapi] Worker File API calls that create Blobs fail in debug builds due to random number generator thread assertion

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 17 17:31:22 PDT 2011


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





--- Comment #43 from Michael Nordman <michaeln at google.com>  2011-05-17 17:31:21 PST ---
> Both 
>     s_dtoaP5Mutex = new Mutex;
>     initializeDates();
> are in the wrong place.
> 
> Seems like 
>      // StringImpl::empty() does not construct its static string in a threadsafe fashion,
>      // so ensure it has been initialized from here.
>      StringImpl::empty();
>      wtfThreadData();
> Should also be done in wtf.

All that looks out of place to me too, needs to be initted for WTF independently of JSC. Is there a WTF::initialize() call anywhere, that would be a good place to put get the TLS slot defined for FastMalloc on windows (the non-pthreads version) too.

> btw, the asserts are about to be removed from this method: https://bugs.webkit.org/show_bug.cgi?id=60846 so this issue won't be noticed.
> 
> The real issue here (imo) is getting WTF_MULTIPLE_THREADS turned on for chromium but the current fire is won't be there shortly.

That wasn't the issue i came here to fix, but yes it certainly is the bigger fish to fry. Do we have a timeframe for putting v8 isolates to use? Is that actively being worked on at this point?

-- 
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