Bug 55276 - WebPage::close() accesses "this" after it is destroyed.
Summary: WebPage::close() accesses "this" after it is destroyed.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.6
: P1 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
: 53721 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-25 16:05 PST by Alexey Proskuryakov
Modified: 2011-02-27 10:49 PST (History)
2 users (show)

See Also:


Attachments
proposed patch (1.37 KB, patch)
2011-02-25 16:11 PST, Alexey Proskuryakov
andersca: 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 2011-02-25 16:05:52 PST
Causes crashes with GuardMalloc.

    WebProcess::shared().removeWebPage(m_pageID); // Can destroy "this"
 
    if (m_isRunningModal) {
        m_isRunningModal = false;
Comment 1 Alexey Proskuryakov 2011-02-25 16:11:15 PST
Created attachment 83896 [details]
proposed patch
Comment 2 Alexey Proskuryakov 2011-02-25 16:25:57 PST
Committed <http://trac.webkit.org/changeset/79742>.
Comment 3 Adam Roben (:aroben) 2011-02-27 08:23:05 PST

*** This bug has been marked as a duplicate of bug 53721 ***
Comment 4 Alexey Proskuryakov 2011-02-27 10:49:20 PST
*** Bug 53721 has been marked as a duplicate of this bug. ***