Bug 15933 - QtWebKit crash when move Mouse on QWebPage
Summary: QtWebKit crash when move Mouse on QWebPage
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P1 Critical
Assignee: George Staikos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-10 04:54 PST by William Lee
Modified: 2007-11-19 11:54 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Lee 2007-11-10 04:54:37 PST
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
Comment 1 Mike Hommey 2007-11-11 09:43:17 PST
Got the same crash with the same stack trace here. FWIW, The code where the crash occurs comes from revision 27525
Comment 2 Mike Hommey 2007-11-19 11:23:51 PST
In what revision did this get fixed ?
Comment 3 George Staikos 2007-11-19 11:42:38 PST
27904
Comment 4 Mike Hommey 2007-11-19 11:54:50 PST
Thanks