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+

Brady Eidson
Reported 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>
Attachments
Patch v1 - Acquire the mutex before signaling (1.46 KB, patch)
2011-05-20 11:30 PDT, Brady Eidson
sam: review+
Brady Eidson
Comment 1 2011-05-20 11:30:14 PDT
Created attachment 94247 [details] Patch v1 - Acquire the mutex before signaling
Brady Eidson
Comment 2 2011-05-20 11:46:28 PDT
Landed in r86972
Ademar Reis
Comment 3 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>
Note You need to log in before you can comment on or make changes to this bug.