[Webkit-unassigned] [Bug 33096] [Qt] DRT: Support evaluateInWebInspector(), setTimerProfilingEnabled() and display().

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 25 11:55:58 PST 2010


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





--- Comment #39 from Robert Hogan <robert at roberthogan.net>  2010-01-25 11:55:56 PST ---
(In reply to comment #38)
> 
> and since 'frontend' (i.e. m_page) was actually deleted by the
> InspectorController it crashes when attempting to setParent.

Hah, another red herring I'm afraid - the actual culprit is:

Page* InspectorClientQt::createPage()
{
<..>
    m_inspectorView.set(inspectorView);
<..>
   
m_inspectedWebPage->d->getOrCreateInspector()->d->setFrontend(inspectorView);

 m_inspectorView.set(inspectorView) deletes the inspectorView for which
setFrontEnd has a dangling pointer, and so crashes at:

void QWebInspectorPrivate::setFrontend(QWidget* newFrontend)
{
    if (frontend)
        frontend->setParent(0);

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