[Webkit-unassigned] [Bug 30375] New: QWebView crashes with Flash content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 14 21:32:04 PDT 2009


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

           Summary: QWebView crashes with Flash content
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit at colby.id.au


Created an attachment (id=41205)
 --> (https://bugs.webkit.org/attachment.cgi?id=41205)
Example application compiled with Qt 4.6.0-beta1; source code in bug
description.

Steps to reproduce / test case:
Enable QWebView plugins, then show the following URL:
http://www.adobe.com/software/flash/about/

Example:
#include <QApplication>
#include <QWebView>

int main(int argc, char *argv[]) {
  QApplication app(argc, argv);
  QWebView webView;
  webView.settings()->setAttribute(QWebSettings::PluginsEnabled,true);
  //webView.setUrl(QUrl::fromEncoded("http://www.google.com.au")); // Works
fine.
 
webView.setUrl(QUrl::fromEncoded("http://www.adobe.com/software/flash/about/"));
// Crashes with 4.6.0-tp1.
  webView.show();
  return app.exec();
}

The problem occurs on many (but not all) webpages with Flash content.
Examples include:
* http://www.adobe.com/software/flash/about/
* http://developer.yahoo.com/search/boss/

Crash occurs on Windows XP, but not on OSX.

Crash occurs when built with, and run-time linked to, Qt 4.6.0-tp1 or Qt
4.6.0-beta1.

Interestingly, the crash does *not* occur if the example is built with 4.6.0,
but runs with 4.5.x DLLs.

All Qt 4.6.0 versions were build via:
make confclean
configure -debug-and-release -opensource -no-exceptions -no-qt3support
-openssl-linked OPENSSL_LIBS="-lssl -lcrypto -lgdi32 -lWs2_32" -I
C:\OpenSSL\include -L C:\OpenSSL\lib
make -j2 sub-src

Qt Creator's debugger shows that the crash is somewhere in
WebCore::PluginView::hookedBeginPaint.

Example crash debug stack:
0 ?? 0
1 WebCore::PluginView::hookedBeginPaint
D:\Qt\4.6.0-tp1-dynamic\bin\QtWebKitd4.dll 0
2 npswf32!Flash_DisableLocalSecurity
C:\WINDOWS\system32\macromed\Flash\NPSWF32.dll 0
3 ?? 0
4 ?? 0
5 ?? 0
6 ?? 0
7 ?? 0
8 ?? 0
9 ?? 0
10 ?? 0
11 ?? 0
12 ?? 0
13 ?? 0
14 ?? 0

I've attached a copy if above example compiled with Qt 4.6.0-beta1; just run it
with Qt 4.6.0-beta1 DLLs and it should crash (but runs fine with Qt 4.6.0-beta1
DLLs, but with QtWebKit4.dll replaced with 4.5.3 version).

In case it helps, Qt 4.6.0-beta1 appears to be using WebKit 532.1.

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