Summary: | SEGV while creating a new .cpp file through document window popup context menu [QMetaObject::changeGuard] | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Nikolay <Nick.Shustov> |
Component: | file create | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kfunk, Nick.Shustov |
Priority: | NOR | ||
Version: | 4.4.1 | ||
Target Milestone: | 4.3.0 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdevplatform/a3885b2ee3ac4942815ad464e03854e08acdec9a | Version Fixed In: | |
Sentry Crash Report: |
Description
Nikolay
2012-12-10 02:47:13 UTC
Confirmed. Probably a similar issues as the one here: https://bugs.kde.org/show_bug.cgi?id=218310 (see last comment for fix). I'll have a look. Detailled backtrace: #0 0x00007ffff5a64914 in QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x400000009) at ../../include/QtCore/../../../../src/qt/src/corelib/tools/qscopedpointer.h:135 #1 0x00007ffff5a7e1ec in qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../../../src/qt/src/corelib/global/qglobal.h:2455 #2 0x00007ffff5a7e282 in QObject::d_func (this=0x400000001) at ../../include/QtCore/../../../../src/qt/src/corelib/kernel/qobject.h:115 #3 0x00007ffff5a7e2ba in QObjectPrivate::get (o=0x400000001) at ../../include/QtCore/private/../../../../../src/qt/src/corelib/kernel/qobject_p.h:178 #4 0x00007ffff5bdead3 in QMetaObject::changeGuard (ptr=0x405dad0, o=0x0) at /home/krf/devel/src/qt/src/corelib/kernel/qobject.cpp:460 #5 0x00007ffff4b96c1e in QPointer<QAction>::operator= (this=0x405dad0, p=0x0) at ../../include/QtCore/../../../../src/qt/src/corelib/kernel/qpointer.h:68 #6 0x00007ffff5162372 in QMenuPrivate::activateAction (this=0x405d810, action=0x60a09f0, action_e=QAction::Trigger, self=true) at /home/krf/devel/src/qt/src/gui/widgets/qmenu.cpp:1143 #7 0x00007ffff5166c78 in QMenu::mouseReleaseEvent (this=0x4134940, e=0x7fffffffce80) at /home/krf/devel/src/qt/src/gui/widgets/qmenu.cpp:2372 #8 0x00007ffff6271090 in KMenu::mouseReleaseEvent (this=0x4134940, e=0x7fffffffce80) at ../../kdeui/widgets/kmenu.cpp:464 #9 0x00007ffff4c094a1 in QWidget::event (this=0x4134940, event=0x7fffffffce80) at /home/krf/devel/src/qt/src/gui/kernel/qwidget.cpp:8375 #10 0x00007ffff516732d in QMenu::event (this=0x4134940, e=0x7fffffffce80) at /home/krf/devel/src/qt/src/gui/widgets/qmenu.cpp:2481 #11 0x00007ffff4ba32f0 in QApplicationPrivate::notify_helper (this=0x6ce720, receiver=0x4134940, e=0x7fffffffce80) at /home/krf/devel/src/qt/src/gui/kernel/qapplication.cpp:4562 #12 0x00007ffff4ba1038 in QApplication::notify (this=0x7fffffffdcc0, receiver=0x4134940, e=0x7fffffffce80) at /home/krf/devel/src/qt/src/gui/kernel/qapplication.cpp:4105 #13 0x00007ffff61b81d6 in KApplication::notify (this=0x7fffffffdcc0, receiver=0x4134940, event=0x7fffffffce80) at ../../kdeui/kernel/kapplication.cpp:311 #14 0x00007ffff5bc6a6c in QCoreApplication::notifyInternal (this=0x7fffffffdcc0, receiver=0x4134940, event=0x7fffffffce80) at /home/krf/devel/src/qt/src/corelib/kernel/qcoreapplication.cpp:946 #15 0x00007ffff4ba5eff in QCoreApplication::sendSpontaneousEvent (receiver=0x4134940, event=0x7fffffffce80) at ../../include/QtCore/../../../../src/qt/src/corelib/kernel/qcoreapplication.h:234 #16 0x00007ffff4b9f5a6 in QApplicationPrivate::sendMouseEvent (receiver=0x4134940, event=0x7fffffffce80, alienWidget=0x0, nativeWidget=0x4134940, buttonDown=0x7ffff59e43b8 <qt_button_down>, lastMouseRece iver=..., spontaneous=true) at /home/krf/devel/src/qt/src/gui/kernel/qapplication.cpp:3171 (gdb) 0x4134940, event=0x7fffffffd560) at /home/krf/devel/src/qt/src/gui/kernel/qapplication_x11.cpp:4450 #18 0x00007ffff4c42b19 in QApplication::x11ProcessEvent (this=0x7fffffffdcc0, event=0x7fffffffd560) at /home/krf/devel/src/qt/src/gui/kernel/qapplication_x11.cpp:3517 #19 0x00007ffff4c7f796 in x11EventSourceDispatch (s=0x6cf8f0, callback=0x0, user_data=0x0) at /home/krf/devel/src/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:146 #20 0x00007fffee309ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007fffee309de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #22 0x00007fffee309ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007ffff5c0382e in QEventDispatcherGlib::processEvents (this=0x6ce6e0, flags=...) at /home/krf/devel/src/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:426 #24 0x00007ffff4c7fb5e in QGuiEventDispatcherGlib::processEvents (this=0x6ce6e0, flags=...) at /home/krf/devel/src/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204 #25 0x00007ffff5bc3e6c in QEventLoop::processEvents (this=0x7fffffffd8b0, flags=...) at /home/krf/devel/src/qt/src/corelib/kernel/qeventloop.cpp:149 #26 0x00007ffff5bc4000 in QEventLoop::exec (this=0x7fffffffd8b0, flags=...) at /home/krf/devel/src/qt/src/corelib/kernel/qeventloop.cpp:204 #27 0x00007ffff5bc7102 in QCoreApplication::exec () at /home/krf/devel/src/qt/src/corelib/kernel/qcoreapplication.cpp:1218 #28 0x00007ffff4ba024a in QApplication::exec () at /home/krf/devel/src/qt/src/gui/kernel/qapplication.cpp:3823 #29 0x000000000040d60b in main (argc=<optimized out>, argv=<optimized out>) at /home/krf/devel/src/kdevelop/app/main.cpp:506 (In reply to comment #1) > Confirmed. > > Probably a similar issues as the one here: > https://bugs.kde.org/show_bug.cgi?id=218310 > (see last comment for fix). > > I'll have a look. Thank you. As far as I understood, the last comment of https://bugs.kde.org/show_bug.cgi?id=218310 suggests it is fixed in KDE platform 4.9.3. The "About" splash in my KDE installation does say "KDE Platform 4.9.3" - is it fair to assume that it is a different issue then? It was fixed for akregator - a different application. And yes, KDevelop is still hitting this issue very reliably with the steps you gave. Here's a valgrind report, but I'll need to redo it with more stack frames, it still is not pointing at which menu is getting deleted here... kdevelop(7285)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home/milian/projects" VALID MENU: false ==7285== Invalid write of size 1 ==7285== at 0x8DB7069: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8DBB5D8: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7AD9494: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x89E16DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8DBF3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x899212B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x899882C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7A228A9: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x8246EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x8997FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8A09F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8A086CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== Address 0x21ada251 is 529 bytes inside a block of size 728 free'd ==7285== at 0x4C2A86C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7285== by 0x825FA74: QObject::~QObject() (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x89DDF7B: QWidget::~QWidget() (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7AD7E78: KMenu::~KMenu() (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B0E589: KXMLGUIBuilder::removeContainer(QWidget*, QWidget*, QDomElement&, QAction*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B2083B: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B209B7: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B2044D: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B18378: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B18222: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x54409FF: KDevelop::MainWindowPrivate::mergeView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==7285== by 0x544066F: KDevelop::MainWindowPrivate::changeActiveView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==7285== ==7285== Invalid read of size 8 ==7285== at 0x8DBB5E3: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7AD9494: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x89E16DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8DBF3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x899212B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x899882C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7A228A9: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x8246EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x8997FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8A09F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8A086CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8A2F231: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== Address 0x21ada300 is 704 bytes inside a block of size 728 free'd ==7285== at 0x4C2A86C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7285== by 0x825FA74: QObject::~QObject() (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x89DDF7B: QWidget::~QWidget() (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7AD7E78: KMenu::~KMenu() (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B0E589: KXMLGUIBuilder::removeContainer(QWidget*, QWidget*, QDomElement&, QAction*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B2083B: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B209B7: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B2044D: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B18378: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B18222: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x54409FF: KDevelop::MainWindowPrivate::mergeView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==7285== by 0x544066F: KDevelop::MainWindowPrivate::changeActiveView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==7285== ==7285== Invalid read of size 8 ==7285== at 0x825E2A7: QMetaObject::changeGuard(QObject**, QObject*) (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x8DBB5FC: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7AD9494: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x89E16DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8DBF3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x899212B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x899882C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7A228A9: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x8246EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x8997FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8A09F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8A086CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== Address 0x21ada300 is 704 bytes inside a block of size 728 free'd ==7285== at 0x4C2A86C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7285== by 0x825FA74: QObject::~QObject() (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x89DDF7B: QWidget::~QWidget() (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7AD7E78: KMenu::~KMenu() (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B0E589: KXMLGUIBuilder::removeContainer(QWidget*, QWidget*, QDomElement&, QAction*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B2083B: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B209B7: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B2044D: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B18378: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B18222: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x54409FF: KDevelop::MainWindowPrivate::mergeView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==7285== by 0x544066F: KDevelop::MainWindowPrivate::changeActiveView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==7285== ==7285== Invalid read of size 8 ==7285== at 0x825E2F1: QMetaObject::changeGuard(QObject**, QObject*) (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x8DBB5FC: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7AD9494: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x89E16DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8DBF3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x899212B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x899882C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7A228A9: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x8246EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x8997FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8A09F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8A086CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== Address 0x21ada300 is 704 bytes inside a block of size 728 free'd ==7285== at 0x4C2A86C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7285== by 0x825FA74: QObject::~QObject() (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x89DDF7B: QWidget::~QWidget() (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7AD7E78: KMenu::~KMenu() (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B0E589: KXMLGUIBuilder::removeContainer(QWidget*, QWidget*, QDomElement&, QAction*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B2083B: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B209B7: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B2044D: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B18378: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B18222: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x54409FF: KDevelop::MainWindowPrivate::mergeView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==7285== by 0x544066F: KDevelop::MainWindowPrivate::changeActiveView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==7285== ==7285== Invalid write of size 8 ==7285== at 0x825E315: QMetaObject::changeGuard(QObject**, QObject*) (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x8DBB5FC: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7AD9494: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x89E16DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8DBF3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x899212B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x899882C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7A228A9: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x8246EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x8997FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8A09F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x8A086CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==7285== Address 0x21ada300 is 704 bytes inside a block of size 728 free'd ==7285== at 0x4C2A86C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==7285== by 0x825FA74: QObject::~QObject() (in /usr/lib/libQtCore.so.4.8.5) ==7285== by 0x89DDF7B: QWidget::~QWidget() (in /usr/lib/libQtGui.so.4.8.5) ==7285== by 0x7AD7E78: KMenu::~KMenu() (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B0E589: KXMLGUIBuilder::removeContainer(QWidget*, QWidget*, QDomElement&, QAction*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B2083B: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B209B7: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B2044D: ??? (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B18378: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x7B18222: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.4) ==7285== by 0x54409FF: KDevelop::MainWindowPrivate::mergeView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==7285== by 0x544066F: KDevelop::MainWindowPrivate::changeActiveView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==7285== ==23465== Thread 1: ==23465== Invalid write of size 1 ==23465== at 0x8DB5069: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DB95D8: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7AD8B44: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x89DF6DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DBD3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899012B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899682C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7A21F59: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x8244EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8995FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A07F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A066CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A2D231: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xF6E9DA5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA0F7: ??? (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA19B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0x8271B84: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8A2D2E5: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8243B5E: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8243E54: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8248F8A: QCoreApplication::exec() (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x4228E1: main (in /home/milian/projects/compiled/kde4/bin/kdevelop) ==23465== Address 0x22ec86a1 is 529 bytes inside a block of size 728 free'd ==23465== at 0x4C2A86C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==23465== by 0x825DA74: QObject::~QObject() (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x89DBF7B: QWidget::~QWidget() (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7AD7528: KMenu::~KMenu() (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B0DC39: KXMLGUIBuilder::removeContainer(QWidget*, QWidget*, QDomElement&, QAction*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B1FEEB: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B20067: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B1FAFD: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B17A28: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B178D2: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x5441A0F: KDevelop::MainWindowPrivate::mergeView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x544167F: KDevelop::MainWindowPrivate::changeActiveView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x544680C: KDevelop::MainWindowPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x41BD5CE: Sublime::MainWindow::activeViewChanged(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x41BD57F: Sublime::MainWindow::setActiveView(Sublime::View*, bool) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x41BD34C: Sublime::MainWindow::activateView(Sublime::View*, bool) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x54A7A97: KDevelop::DocumentControllerPrivate::openDocumentInternal(KDevelop::IDocument*, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x54A6014: KDevelop::DocumentControllerPrivate::openDocumentInternal(KUrl const&, QString const&, KTextEditor::Range const&, QString const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x549CC35: KDevelop::DocumentController::openDocument(KUrl const&, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, QString const&, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x31F88CD3: createFile(KDevelop::ProjectFolderItem const*) (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x31F88ECF: ProjectManagerViewPlugin::createFileFromContextMenu() (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x31F8A23B: ProjectManagerViewPlugin::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8989FD1: QAction::triggered(bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x898B9A2: QAction::activate(QAction::ActionEvent) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DB5088: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DB95D8: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x89DF6DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DBD3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899012B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899682C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7A21F59: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x8244EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8995FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A07F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A066CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A2D231: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xF6E9DA5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA0F7: ??? (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA19B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0x8271B84: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8A2D2E5: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8243B5E: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8243E54: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8DBC1A6: QMenu::exec(QPoint const&, QAction*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xB6DB1FC: KDevelop::Populator::populate() (in /home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.7.0.0) ==23465== by 0xB6DAD51: KDevelop::Populator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.7.0.0) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8989FD1: QAction::triggered(bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== ==23465== Invalid read of size 8 ==23465== at 0x8DB95E3: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7AD8B44: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x89DF6DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DBD3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899012B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899682C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7A21F59: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x8244EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8995FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A07F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A066CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A2D231: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xF6E9DA5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA0F7: ??? (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA19B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0x8271B84: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8A2D2E5: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8243B5E: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8243E54: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8248F8A: QCoreApplication::exec() (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x4228E1: main (in /home/milian/projects/compiled/kde4/bin/kdevelop) ==23465== Address 0x22ec8750 is 704 bytes inside a block of size 728 free'd ==23465== at 0x4C2A86C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==23465== by 0x825DA74: QObject::~QObject() (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x89DBF7B: QWidget::~QWidget() (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7AD7528: KMenu::~KMenu() (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B0DC39: KXMLGUIBuilder::removeContainer(QWidget*, QWidget*, QDomElement&, QAction*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B1FEEB: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B20067: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B1FAFD: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B17A28: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B178D2: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x5441A0F: KDevelop::MainWindowPrivate::mergeView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x544167F: KDevelop::MainWindowPrivate::changeActiveView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x544680C: KDevelop::MainWindowPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x41BD5CE: Sublime::MainWindow::activeViewChanged(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x41BD57F: Sublime::MainWindow::setActiveView(Sublime::View*, bool) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x41BD34C: Sublime::MainWindow::activateView(Sublime::View*, bool) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x54A7A97: KDevelop::DocumentControllerPrivate::openDocumentInternal(KDevelop::IDocument*, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x54A6014: KDevelop::DocumentControllerPrivate::openDocumentInternal(KUrl const&, QString const&, KTextEditor::Range const&, QString const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x549CC35: KDevelop::DocumentController::openDocument(KUrl const&, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, QString const&, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x31F88CD3: createFile(KDevelop::ProjectFolderItem const*) (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x31F88ECF: ProjectManagerViewPlugin::createFileFromContextMenu() (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x31F8A23B: ProjectManagerViewPlugin::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8989FD1: QAction::triggered(bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x898B9A2: QAction::activate(QAction::ActionEvent) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DB5088: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DB95D8: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x89DF6DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DBD3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899012B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899682C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7A21F59: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x8244EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8995FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A07F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A066CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A2D231: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xF6E9DA5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA0F7: ??? (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA19B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0x8271B84: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8A2D2E5: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8243B5E: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8243E54: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8DBC1A6: QMenu::exec(QPoint const&, QAction*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xB6DB1FC: KDevelop::Populator::populate() (in /home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.7.0.0) ==23465== by 0xB6DAD51: KDevelop::Populator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.7.0.0) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8989FD1: QAction::triggered(bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== ==23465== Invalid read of size 8 ==23465== at 0x825C2A7: QMetaObject::changeGuard(QObject**, QObject*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8DB95FC: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7AD8B44: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x89DF6DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DBD3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899012B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899682C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7A21F59: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x8244EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8995FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A07F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A066CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A2D231: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xF6E9DA5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA0F7: ??? (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA19B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0x8271B84: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8A2D2E5: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8243B5E: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8243E54: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8248F8A: QCoreApplication::exec() (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x4228E1: main (in /home/milian/projects/compiled/kde4/bin/kdevelop) ==23465== Address 0x22ec8750 is 704 bytes inside a block of size 728 free'd ==23465== at 0x4C2A86C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==23465== by 0x825DA74: QObject::~QObject() (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x89DBF7B: QWidget::~QWidget() (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7AD7528: KMenu::~KMenu() (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B0DC39: KXMLGUIBuilder::removeContainer(QWidget*, QWidget*, QDomElement&, QAction*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B1FEEB: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B20067: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B1FAFD: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B17A28: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B178D2: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x5441A0F: KDevelop::MainWindowPrivate::mergeView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x544167F: KDevelop::MainWindowPrivate::changeActiveView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x544680C: KDevelop::MainWindowPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x41BD5CE: Sublime::MainWindow::activeViewChanged(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x41BD57F: Sublime::MainWindow::setActiveView(Sublime::View*, bool) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x41BD34C: Sublime::MainWindow::activateView(Sublime::View*, bool) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x54A7A97: KDevelop::DocumentControllerPrivate::openDocumentInternal(KDevelop::IDocument*, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x54A6014: KDevelop::DocumentControllerPrivate::openDocumentInternal(KUrl const&, QString const&, KTextEditor::Range const&, QString const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x549CC35: KDevelop::DocumentController::openDocument(KUrl const&, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, QString const&, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x31F88CD3: createFile(KDevelop::ProjectFolderItem const*) (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x31F88ECF: ProjectManagerViewPlugin::createFileFromContextMenu() (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x31F8A23B: ProjectManagerViewPlugin::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8989FD1: QAction::triggered(bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x898B9A2: QAction::activate(QAction::ActionEvent) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DB5088: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DB95D8: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x89DF6DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DBD3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899012B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899682C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7A21F59: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x8244EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8995FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A07F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A066CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A2D231: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xF6E9DA5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA0F7: ??? (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA19B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0x8271B84: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8A2D2E5: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8243B5E: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8243E54: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8DBC1A6: QMenu::exec(QPoint const&, QAction*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xB6DB1FC: KDevelop::Populator::populate() (in /home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.7.0.0) ==23465== by 0xB6DAD51: KDevelop::Populator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.7.0.0) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8989FD1: QAction::triggered(bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== ==23465== Invalid read of size 8 ==23465== at 0x825C2F1: QMetaObject::changeGuard(QObject**, QObject*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8DB95FC: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7AD8B44: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x89DF6DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DBD3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899012B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899682C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7A21F59: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x8244EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8995FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A07F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A066CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A2D231: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xF6E9DA5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA0F7: ??? (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA19B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0x8271B84: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8A2D2E5: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8243B5E: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8243E54: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8248F8A: QCoreApplication::exec() (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x4228E1: main (in /home/milian/projects/compiled/kde4/bin/kdevelop) ==23465== Address 0x22ec8750 is 704 bytes inside a block of size 728 free'd ==23465== at 0x4C2A86C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==23465== by 0x825DA74: QObject::~QObject() (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x89DBF7B: QWidget::~QWidget() (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7AD7528: KMenu::~KMenu() (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B0DC39: KXMLGUIBuilder::removeContainer(QWidget*, QWidget*, QDomElement&, QAction*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B1FEEB: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B20067: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B1FAFD: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B17A28: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B178D2: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x5441A0F: KDevelop::MainWindowPrivate::mergeView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x544167F: KDevelop::MainWindowPrivate::changeActiveView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x544680C: KDevelop::MainWindowPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x41BD5CE: Sublime::MainWindow::activeViewChanged(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x41BD57F: Sublime::MainWindow::setActiveView(Sublime::View*, bool) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x41BD34C: Sublime::MainWindow::activateView(Sublime::View*, bool) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x54A7A97: KDevelop::DocumentControllerPrivate::openDocumentInternal(KDevelop::IDocument*, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x54A6014: KDevelop::DocumentControllerPrivate::openDocumentInternal(KUrl const&, QString const&, KTextEditor::Range const&, QString const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x549CC35: KDevelop::DocumentController::openDocument(KUrl const&, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, QString const&, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x31F88CD3: createFile(KDevelop::ProjectFolderItem const*) (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x31F88ECF: ProjectManagerViewPlugin::createFileFromContextMenu() (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x31F8A23B: ProjectManagerViewPlugin::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8989FD1: QAction::triggered(bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x898B9A2: QAction::activate(QAction::ActionEvent) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DB5088: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DB95D8: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x89DF6DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DBD3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899012B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899682C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7A21F59: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x8244EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8995FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A07F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A066CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A2D231: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xF6E9DA5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA0F7: ??? (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA19B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0x8271B84: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8A2D2E5: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8243B5E: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8243E54: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8DBC1A6: QMenu::exec(QPoint const&, QAction*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xB6DB1FC: KDevelop::Populator::populate() (in /home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.7.0.0) ==23465== by 0xB6DAD51: KDevelop::Populator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.7.0.0) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8989FD1: QAction::triggered(bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== ==23465== Invalid write of size 8 ==23465== at 0x825C315: QMetaObject::changeGuard(QObject**, QObject*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8DB95FC: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7AD8B44: KMenu::mouseReleaseEvent(QMouseEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x89DF6DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DBD3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899012B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899682C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7A21F59: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x8244EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8995FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A07F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A066CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A2D231: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xF6E9DA5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA0F7: ??? (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA19B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0x8271B84: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8A2D2E5: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8243B5E: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8243E54: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8248F8A: QCoreApplication::exec() (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x4228E1: main (in /home/milian/projects/compiled/kde4/bin/kdevelop) ==23465== Address 0x22ec8750 is 704 bytes inside a block of size 728 free'd ==23465== at 0x4C2A86C: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==23465== by 0x825DA74: QObject::~QObject() (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x89DBF7B: QWidget::~QWidget() (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7AD7528: KMenu::~KMenu() (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B0DC39: KXMLGUIBuilder::removeContainer(QWidget*, QWidget*, QDomElement&, QAction*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B1FEEB: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B20067: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B1FAFD: ??? (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B17A28: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x7B178D2: KXMLGUIFactory::removeClient(KXMLGUIClient*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x5441A0F: KDevelop::MainWindowPrivate::mergeView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x544167F: KDevelop::MainWindowPrivate::changeActiveView(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x544680C: KDevelop::MainWindowPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x41BD5CE: Sublime::MainWindow::activeViewChanged(Sublime::View*) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x41BD57F: Sublime::MainWindow::setActiveView(Sublime::View*, bool) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x41BD34C: Sublime::MainWindow::activateView(Sublime::View*, bool) (in /home/milian/projects/compiled/kde4/lib/libsublime.so.7.0.0) ==23465== by 0x54A7A97: KDevelop::DocumentControllerPrivate::openDocumentInternal(KDevelop::IDocument*, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x54A6014: KDevelop::DocumentControllerPrivate::openDocumentInternal(KUrl const&, QString const&, KTextEditor::Range const&, QString const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x549CC35: KDevelop::DocumentController::openDocument(KUrl const&, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, QString const&, KDevelop::IDocument*) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformshell.so.7.0.0) ==23465== by 0x31F88CD3: createFile(KDevelop::ProjectFolderItem const*) (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x31F88ECF: ProjectManagerViewPlugin::createFileFromContextMenu() (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x31F8A23B: ProjectManagerViewPlugin::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/kde4/kdevprojectmanagerview.so) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8989FD1: QAction::triggered(bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x898B9A2: QAction::activate(QAction::ActionEvent) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DB5088: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DB95D8: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x89DF6DD: QWidget::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8DBD3BA: QMenu::event(QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899012B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x899682C: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x7A21F59: KApplication::notify(QObject*, QEvent*) (in /usr/lib/libkdeui.so.5.10.5) ==23465== by 0x8244EFC: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8995FE2: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A07F8B: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A066CB: QApplication::x11ProcessEvent(_XEvent*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8A2D231: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xF6E9DA5: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA0F7: ??? (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0xF6EA19B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.3600.3) ==23465== by 0x8271B84: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8A2D2E5: ??? (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0x8243B5E: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8243E54: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8DBC1A6: QMenu::exec(QPoint const&, QAction*) (in /usr/lib/libQtGui.so.4.8.5) ==23465== by 0xB6DB1FC: KDevelop::Populator::populate() (in /home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.7.0.0) ==23465== by 0xB6DAD51: KDevelop::Populator::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /home/milian/projects/compiled/kde4/lib/libkdevplatformproject.so.7.0.0) ==23465== by 0x8258BA7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.5) ==23465== by 0x8989FD1: QAction::triggered(bool) (in /usr/lib/libQtGui.so.4.8.5) ==23465== Git commit a3885b2ee3ac4942815ad464e03854e08acdec9a by Milian Wolff. Committed on 12/07/2013 at 10:47. Pushed by mwolff into branch 'master'. Cleanup and fixup ProjectUtils to not leak and not trigger crashes. The most important part of this patch is the change to use a dynamic allocated QMenu which is then _not_ run synchronously via exec() but rather allocate it on the heap and use QObject/QWidget parentship to handle the deallocation eventually. This also fixes the memory leak of the populator objects. And it fixes a crash since QMenu::exec applies a nested event loop which apparently does not work nicely together with KXMLGUI. One could also fix that by delaying (i.e. Qt::QueuedConnection) the handling of _all_ QMenu actions - but that won't work of course. So yeah, I think this is the best option to handle this crash. Maybe one should even investigate whether we can/should deprecate the usage of QMenu::exec in our codebase... M +30 -19 project/projectutils.cpp http://commits.kde.org/kdevplatform/a3885b2ee3ac4942815ad464e03854e08acdec9a |