Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
3.x
-
None
-
None
-
2761e6f57ecd00c3435dbb8a6cf5f40653195d5d
Description
1. Build demos.sln with the debug configuration with MSVC2005 SP1
2. put browser/debug/browser.exe in the QT bin directory
3. Run browser.exe and enable the web inspector
4. Open a web page and open the web inspector
5. Close browser.exe
Expected result: browser.exe exits without an error
Actual result: browser.exe crashes
void QWebInspector::setPage(QWebPage* page)
{
if (d->page)
if (page && page->d->inspector && page->d->inspector != this)
{ // Break newPage<->newPageCurrentInspector page->d->inspector->setPage(0); }d->page = page; // crash
if (page)
{ // Setup the reciprocal association page->d->setInspector(this); }}