Bug 61203

Summary: Horrendous bug in callOnMainThreadAndWait
Product: WebKit Reporter: Brady Eidson <beidson>
Component: JavaScriptCoreAssignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: ademar, ap, darin, levin
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch v1 - Acquire the mutex before signaling sam: review+

Description Brady Eidson 2011-05-20 11:27:03 PDT
Horrendous bug in callOnMainThreadAndWait

When the main thread is done with the invocation and decides to signal the waiting thread, it doesn't reacquire the mutex first.  Ouch!

In radar as <rdar://problem/9472883>
Comment 1 Brady Eidson 2011-05-20 11:30:14 PDT
Created attachment 94247 [details]
Patch v1 - Acquire the mutex before signaling
Comment 2 Brady Eidson 2011-05-20 11:46:28 PDT
Landed in r86972
Comment 3 Ademar Reis 2011-05-23 07:47:31 PDT
Revision r86972 cherry-picked into qtwebkit-2.2 with commit 1aba524 <http://gitorious.org/webkit/qtwebkit/commit/1aba524>