[Webkit-unassigned] [Bug 124864] Web Inspector: Crash when starting the Inspector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 25 15:14:02 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=124864





--- Comment #1 from Alexandru Chiculita <achicu at adobe.com>  2013-11-25 15:12:27 PST ---
The issue is simple, but I don't know how it didn't reproduce so far:

WebInspector::createInspectorPage() sends Messages::WebInspectorProxy::CreateInspectorPage and waits in sync mode.

WebInspectorProxy::CreateInspectorPage will send back two messages + the sync reply:
1. Messages::WebProcess::CreateWebPageGroup.
2. Messages::WebProcess::CreateWebPage.

WebInspector::createInspectorPage wakes up when it receives the reply, but the two messages from the WebInspectorProxy::CreateInspectorPage are still pending to execute.

The problem is that WebInspector::createInspectorPage forces the call to WebProcess::shared().createWebPage using the data in the sync reply. That's even though there's a pending message that will creating anyway. 

The crash happens when the page tries to use the PageGroup that has not been created yet. The page group creation message didn't had a chance to process.

-- 
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