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>
Created attachment 94247 [details]
Patch v1 - Acquire the mutex before signaling
Landed in r86972
Revision r86972 cherry-picked into qtwebkit-2.2 with commit 1aba524 <http://gitorious.org/webkit/qtwebkit/commit/1aba524>