[Webkit-unassigned] [Bug 30385] New: [Qt] QGLauncher crashes while closing a window
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 15 05:05:57 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30385
Summary: [Qt] QGLauncher crashes while closing a window
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Keywords: Qt
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tonikitoo at webkit.org
CC: hausmann at webkit.org
Suppose the following situation:
1) a QGWV object is create.
2) a custom QWebPage-devivated class is create and set as QGWBV's page.
QGraphicsWebView* webView = new QGraphicsWebView;
WebPage* page = new WebPage;
webView->setPage(page);
NOTE: "webView" is not parent of "page".
3) submit a load.
page->mainFrame()->setHtml("<some/html/here>");
If one tries to delete the "webView" object during the load, it is deleted
successfuly (its 'pageClient' reference is also deleted) *BUT* the object
"page" itself is not deleted since it is *not* a children of "webView". Ongoing
painting actions can still try to access (the now invalid) pageClient pointer
right after QGWV deletion.
see both attached backtraces...
--
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