Bug 15933
| Summary: | QtWebKit crash when move Mouse on QWebPage | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | William Lee <welemon> |
| Component: | WebKit Qt | Assignee: | George Staikos <staikos> |
| Status: | RESOLVED FIXED | ||
| Severity: | Critical | CC: | mh+webkit |
| Priority: | P1 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Linux | ||
William Lee
After finish loading a page, like en.wikipedia.org
you move your mouse over QtLauncher windows, it crash.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1241691392 (LWP 19977)]
0xb77bb858 in QWebPage::mouseMoveEvent (this=0x808d9d8, ev=0xbff89db0) at ../../../WebKit/qt/Api/qwebpage.cpp:804
804 QWebFramePrivate *frame = d->currentFrame(ev->pos())->d;
(gdb) where
#0 0xb77bb858 in QWebPage::mouseMoveEvent (this=0x808d9d8, ev=0xbff89db0) at ../../../WebKit/qt/Api/qwebpage.cpp:804
#1 0xb6a3594d in QWidget::event (this=0x808d9d8, event=0xbff89db0) at kernel/qwidget.cpp:6014
#2 0xb69d985d in QApplicationPrivate::notify_helper (this=0x80560a0, receiver=0x808d9d8, e=0xbff89db0) at kernel/qapplication.cpp:3536
#3 0xb69da3fc in QApplication::notify (this=0xbff8a5a0, receiver=0x808d9d8, e=0xbff89db0) at kernel/qapplication.cpp:3235
#4 0xb65cb8f8 in QCoreApplication::notifyInternal (this=0xbff8a5a0, receiver=0x808d9d8, event=0xbff89db0)
at kernel/qcoreapplication.cpp:507
#5 0xb69e657d in QCoreApplication::sendSpontaneousEvent (receiver=0x808d9d8, event=0xbff89db0)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:187
#6 0xb6a54ed4 in QETWidget::translateMouseEvent (this=0x808d9d8, event=0xbff8a2bc) at kernel/qapplication_x11.cpp:3837
#7 0xb6a52cdf in QApplication::x11ProcessEvent (this=0xbff8a5a0, event=0xbff8a2bc) at kernel/qapplication_x11.cpp:3021
#8 0xb6a82bb7 in x11EventSourceDispatch (s=0x8063320, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:120
#9 0xb642fdf2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#10 0xb6432dcf in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x08062690 in ?? ()
#12 0x00000000 in ?? ()
(gdb) list
799 #endif
800 }
801
802 void QWebPage::mouseMoveEvent(QMouseEvent *ev)
803 {
804 QWebFramePrivate *frame = d->currentFrame(ev->pos())->d;
805 if (!frame->frameView)
806 return;
807
808 frame->eventHandler->handleMouseMoveEvent(PlatformMouseEvent(ev, 0));
(gdb) print d
$1 = (QWebPagePrivate *) 0x808dbb8
(gdb) print ev
$2 = (class QMouseEvent *) 0xbff89db0
(gdb) print ev->pos()
$3 = (const QPoint &) @0xbff89dc0: {xp = 704, yp = 620}
(gdb) print d->currentFrame(en->pos())
No symbol "en" in current context.
(gdb) print d->currentFrame(ev->pos())
$4 = (class QWebFrame *) 0x0
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mike Hommey
Got the same crash with the same stack trace here. FWIW, The code where the crash occurs comes from revision 27525
Mike Hommey
In what revision did this get fixed ?
George Staikos
27904
Mike Hommey
Thanks