[Webkit-unassigned] [Bug 30490] New: [Qt] Plugins : QtWebKit crashes if page is not deleted
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 18 00:57:29 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30490
Summary: [Qt] Plugins : QtWebKit crashes if page is not deleted
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Plug-ins
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: girish at forwardbias.in
If you open a page with plugins and the QWebPage is not deleted, the program
will crash on exit.
Problem with QWebView or QWeb
int main(int argc, char** argv)
{
QApplication app(argc, argv);
QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled,
true);
QWebPage *page = new QWebPage;
page->mainFrame()->setUrl(app.arguments()[1]);
QWidget w; w.show();
app.exec();
// delete page; // uncomment to not crash
return 0;
}
The backtrace points to flash (useless, afaict):
#0 0xb605e9e0 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1 0xb2694d42 in ?? () from /usr/lib/adobe-flashplugin/libflashplayer.so
#2 0xb26e2f92 in ?? () from /usr/lib/adobe-flashplugin/libflashplayer.so
#3 0xb2563a4d in ?? () from /usr/lib/adobe-flashplugin/libflashplayer.so
#4 0xb254d0d0 in ?? () from /usr/lib/adobe-flashplugin/libflashplayer.so
#5 0xb5dfdbb9 in exit () from /lib/tls/i686/cmov/libc.so.6
#6 0xb5de577d in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#7 0x08048b41 in _start () at ../sysdeps/i386/elf/start.S:119
I debugging a little, it appears that if that if page's mainFrame->setView(0)
is the key piece of code that makes it not crash.
--
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