[Webkit-unassigned] [Bug 42785] Crash in WebKit2WebProcess in WaitForMultipleObjects beneath WorkQueue::workQueueThreadBody every time WebKitTestRunner runs a test
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 28 08:31:07 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=42785
--- Comment #22 from Adam Roben (aroben) <aroben at apple.com> 2010-07-28 08:31:06 PST ---
One way I think we could fix this is:
1) Allocate an event and set it as the overlapped.hEvent member before passing the overlapped structure to ::WriteFile
2) If ::WriteFile succeeds, destroy the event
3) If ::WriteFile fails with ERROR_IO_PENDING, call ::RegisterWaitForSingleObject, passing overlapped.hEvent as the object to wait on and a newly-heap-allocated structure that holds the event and the ArgumentEncoder as the context pointer
4) When the wait callback function is called, destroy the ArgumentEncoder and the event
--
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