Bug 22530 - Assertion failures seen on buildbot due to uninitialized WorkerThread::m_threadID
Summary: Assertion failures seen on buildbot due to uninitialized WorkerThread::m_thre...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-27 03:18 PST by Alexey Proskuryakov
Modified: 2008-11-30 00:32 PST (History)
0 users

See Also:


Attachments
proposed fix (5.57 KB, patch)
2008-11-27 03:40 PST, Alexey Proskuryakov
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2008-11-27 03:18:55 PST
There is a race condition when initializing WorkerThread::m_threadID, because it is stored after the thread is created. This causes assertion failures when checking current thread id.

Same problem is present when initializing database threads.
Comment 1 Alexey Proskuryakov 2008-11-27 03:40:29 PST
Created attachment 25558 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2008-11-30 00:32:02 PST
Committed revision 38850.