[Webkit-unassigned] [Bug 37303] New: Application crash on exit if NPPlugin is loaded

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 8 18:31:40 PDT 2010


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

           Summary: Application crash on exit if NPPlugin is loaded
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: S60 Hardware
        OS/Version: S60 3rd edition
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P1
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: david.leong at nokia.com
                CC: laszlo.1.gombos at nokia.com



David Leong <david.leong at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #52930|                            |review?
               Flag|                            |


Created an attachment (id=52930)
 --> (https://bugs.webkit.org/attachment.cgi?id=52930)
fix to check for null pointer

Qt-Symbian applications which use Qtwebkit and load Netscape plugins currently
crashes on exit.

The crash has been narrowed down to:

void PluginView::platformDestroy()
{
    QWebPageClient* client =
m_parentFrame->view()->hostWindow()->platformPageClient();
    if (qobject_cast<QGraphicsWebView*>(client->pluginParent()))   // Crashes
here
        delete
static_cast<PluginContainerSymbian*>(platformPluginWidget())->proxy();
    else
        delete platformPluginWidget();
}

The crash is caused by a NULL client*. qobject_cast causes an exception as it
requires a valid QObject pointer to access underlying Qtmetadata.

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