Hi,

there seems to be a problem with this commit in qt master:

http://qt.gitorious.org/+qt-developers/qt/webkit/commit/1a5e7171b9da383ca5f6be92b7cb6e502fd79fc4

I get a crash in QMetaObject::changeGuard() at this place:

        if (!more)
            QObjectPrivate::get(*ptr)->hasGuards = false;

The problem could be that it accesses the object private pointer of an object 
that has already been deleted?

Also, the for loop uses "it.key() == *ptr && it != end", the order of the 
checks should probably reversed.

Thanks,
Carina Denkmann
Application: Konqueror (konqueror), signal: Segmentation fault
[KCrash Handler]
#6  QMetaObject::changeGuard (ptr=0x81d97e0, o=0x0) at 
/local/git/Qt/qt/src/corelib/kernel/qobject.cpp:415
#7  0xb6b4a517 in QMenuPrivate::activateAction (this=0x81d9660, 
action=0x81859c0, action_e=QAction::Trigger, self=<value optimized out>)
    at 
../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qpointer.h:68
#8  0xb6b4b537 in QMenu::mouseReleaseEvent (this=0x81d9640, e=0xbfbe1cd4) at 
/local/git/Qt/qt/src/gui/widgets/qmenu.cpp:2235
#9  0xb7838f50 in KMenu::mouseReleaseEvent (this=0x81d9640, e=0xbfbe1cd4) at 
/local/svn/kde/trunk/KDE/kdelibs/kdeui/widgets/kmenu.cpp:456
#10 0xb674e60d in QWidget::event (this=0x81d9640, event=0xbfbe1cd4) at 
/local/git/Qt/qt/src/gui/kernel/qwidget.cpp:7518
#11 0xb6b4cbc4 in QMenu::event (this=0x81d9640, e=0xbfbe1cd4) at 
/local/git/Qt/qt/src/gui/widgets/qmenu.cpp:2334
#12 0xb66f297c in QApplicationPrivate::notify_helper (this=0x80681d0, 
receiver=0x81d9640, e=0xbfbe1cd4) at 
/local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4102
#13 0xb66fa5cb in QApplication::notify (this=0xbfbe25c4, receiver=0x81d9640, 
e=0xbfbe1cd4) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3761
#14 0xb774fd94 in KApplication::notify (this=0xbfbe25c4, receiver=0x81d9640, 
event=0xbfbe1cd4) at 
/local/svn/kde/trunk/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#15 0xb712445b in QCoreApplication::notifyInternal (this=0xbfbe25c4, 
receiver=0x81d9640, event=0xbfbe1cd4) at 
/local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:624
#16 0xb66f941f in QApplicationPrivate::sendMouseEvent (receiver=0x81d9640, 
event=0xbfbe1cd4, alienWidget=0x0, nativeWidget=0x81d9640, 
buttonDown=0xb6f91b00, lastMouseReceiver=..., spontaneous=true)
    at 
../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:213
#17 0xb6771090 in QETWidget::translateMouseEvent (this=0x81d9640, 
event=0xbfbe21f0) at /local/git/Qt/qt/src/gui/kernel/qapplication_x11.cpp:4435
#18 0xb677013b in QApplication::x11ProcessEvent (this=0xbfbe25c4, 
event=0xbfbe21f0) at /local/git/Qt/qt/src/gui/kernel/qapplication_x11.cpp:3518
#19 0xb6799a02 in x11EventSourceDispatch (s=0x806b0e8, callback=0, 
user_data=0x0) at 
/local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#20 0xb5ebe9c8 in IA__g_main_context_dispatch (context=0x806a490) at 
gmain.c:2144
#21 0xb5ec2083 in g_main_context_iterate (context=0x806a490, block=1, 
dispatch=1, self=0x8068420) at gmain.c:2778
#22 0xb5ec2241 in IA__g_main_context_iteration (context=0x806a490, may_block=1) 
at gmain.c:2841
#23 0xb714ec9c in QEventDispatcherGlib::processEvents (this=0x80503d8, 
flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:327
#24 0xb6799135 in QGuiEventDispatcherGlib::processEvents (this=0x80503d8, 
flags=...) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#25 0xb7122a49 in QEventLoop::processEvents (this=0xbfbe2494, flags=...) at 
/local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#26 0xb7122e9a in QEventLoop::exec (this=0xbfbe2494, flags=...) at 
/local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#27 0xb712530f in QCoreApplication::exec () at 
/local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:902
#28 0xb66f2a17 in QApplication::exec () at 
/local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3530
#29 0xb7f7c8ea in kdemain (argc=1, argv=0xbfbe29a4) at 
/local/svn/kde/trunk/KDE/kdebase/apps/konqueror/src/konqmain.cpp:257
#30 0x08048799 in main (argc=1, argv=0xbfbe29a4) at 
/local/build/KDE/kdebase/apps/konqueror/src/konqueror_dummy.cpp:3
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to