[Webkit-unassigned] [Bug 109305] New: [WK2] Page reloading will crash UIProcess after WebProcess was killed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 8 08:47:45 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=109305
Summary: [WK2] Page reloading will crash UIProcess after
WebProcess was killed
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P1
Component: WebKit2
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: savagobr at yahoo.com
Steps to reproduce:
a) Start a WK2 based browser
b) Kill the associated WebProcess
c) Reload the page
What happens:
A call to load a new page or to reload the current page will start by first inspecting the state of WebProcess. If it is not valid, WebPageProxy::reattachToWebProcess() is executed that later will call WebPageProxy::initializeWebPage().
The backtrace shows that in ::initializeWebPage the crash happens, at calling a method of the class object pointed by m_inspector (an instance of WebInspectorProxy). The issue is that when the WebProcess dies, WebPageProxy::processDidCrash() is executed and sets the pointer to null.
This patch adds a check for the pointer state before executing calls on it and moves the creation of WebInspector object from the reattachToWebProcess() to initializeWebPage().
--
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