[Webkit-unassigned] [Bug 129896] CoreIPC deadlocks when actively using LocalStorage
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 9 13:15:46 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=129896
Alexey Proskuryakov <ap at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|WebProcess hangs waiting |CoreIPC deadlocks when
|for |actively using LocalStorage
|DecidePolicyForNavigationAc |
|tion response that never |
|comes |
--- Comment #7 from Alexey Proskuryakov <ap at webkit.org> 2014-04-09 13:16:06 PST ---
Both WebProcess and UIProcess are actually stuck inside mach_msg() in Connection::sendOutgoingMessage(). WebProcess is trying to send a SetItem message, and UIProcess is trying to send a DidSetItem message (or potentially DispatchStorageEvent).
When both processes are sending messages on the IPC.ReceiveQueue thread, they are not receiving messages, so there is no chance to get out of this deadlock.
Perhaps we should add a timeout to mach_msg, and try receiving messages for a while if we can't send? Or use separate threads for sending and receiving?
--
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