Summary: | Crash when right clicking on expanding widget in code completion | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | E Quincerot <perso258741> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | david.nolden.kde, tobias.hochguertel |
Priority: | HI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi Fix |
Description
E Quincerot
2009-08-18 21:40:43 UTC
kdevelop 3.9.94 (using KDevPlatform 0.9.94) Using KDE 4.3.00 (KDE 4.3.0) "release 155" Provided by rpm for OpenSuse11.1 kdevelop 3.9.94.6.17 kdevplatform 0.9.94.19.11 I'm sorry, but if its unreproduceable and the backtrace is as useless as this one is we can't do anything about this. Created attachment 40637 [details]
New crash information added by DrKonqi
Clicking on tooltips / which are shows for Objects and so .. then the Application crashed, after clicking serveral times from one Object/Class to next Class or methods...
Created attachment 40638 [details]
New crash information added by DrKonqi
Clicking on tooltips / which are shows for Objects and so .. then the Application crashed, after clicking serveral times from one Object/Class to next Class or methods...
I guess you clicked in the completion-list right? The issue is easy to reproduce there. Yes, easily reproducable by requesting the context menu in the expanding widget of the codecompletion. Works fine in quickopen and the context popup though. Apparently the code completion gets closed or something, anyone an idea? Probably needs to be fixed in Kate by catching some context menu event? ==14556== Invalid read of size 8 ==14556== at 0x8AA0947: QWidgetPrivate::show_helper() (qwidget.cpp:7230) ==14556== by 0x8AA2919: QWidget::setVisible(bool) (qwidget.cpp:7440) ==14556== by 0x8E641C3: QMenu::popup(QPoint const&, QAction*) (qwidget.h:485) ==14556== by 0x8E646CD: QMenu::exec(QPoint const&, QAction*) (qmenu.cpp:2067) ==14556== by 0x7B99765: KTextBrowser::contextMenuEvent(QContextMenuEvent*) (ktextbrowser.cpp:125) ==14556== by 0x8A9B187: QWidget::event(QEvent*) (qwidget.cpp:8207) ==14556== by 0x8E23455: QFrame::event(QEvent*) (qframe.cpp:557) ==14556== by 0x831AFB6: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819) ==14556== by 0x8A453EB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4298) ==14556== by 0x8A4BBD2: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3946) ==14556== by 0x7A67F02: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302) ==14556== by 0x831BB9B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704) ==14556== Address 0x1b7b1170 is 32 bytes inside a block of size 40 free'd ==14556== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0x7B99328: KTextBrowser::~KTextBrowser() (ktextbrowser.cpp:60) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0xB8643C8: KDevelop::AbstractNavigationWidget::~AbstractNavigationWidget() (abstractnavigationwidget.cpp:102) ==14556== by 0x291B1C4D: Cpp::NavigationWidget::~NavigationWidget() (navigationwidget.h:30) ==14556== by 0x2E340AAC: ExpandingWidgetModel::clearExpanding() (expandingwidgetmodel.cpp:128) ==14556== by 0x2E3216C4: KateCompletionModel::clearGroups(bool) (katecompletionmodel.cpp:508) ==14556== by 0x2E328A32: KateCompletionModel::clearCompletionModels() (katecompletionmodel.cpp:2052) ==14556== by 0x2E316CA4: KateCompletionWidget::clear() (katecompletionwidget.cpp:731) ==14556== ==14556== Invalid read of size 1 ==14556== at 0x8AA094B: QWidgetPrivate::show_helper() (qwidget.cpp:7230) ==14556== by 0x8AA2919: QWidget::setVisible(bool) (qwidget.cpp:7440) ==14556== by 0x8E641C3: QMenu::popup(QPoint const&, QAction*) (qwidget.h:485) ==14556== by 0x8E646CD: QMenu::exec(QPoint const&, QAction*) (qmenu.cpp:2067) ==14556== by 0x7B99765: KTextBrowser::contextMenuEvent(QContextMenuEvent*) (ktextbrowser.cpp:125) ==14556== by 0x8A9B187: QWidget::event(QEvent*) (qwidget.cpp:8207) ==14556== by 0x8E23455: QFrame::event(QEvent*) (qframe.cpp:557) ==14556== by 0x831AFB6: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819) ==14556== by 0x8A453EB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4298) ==14556== by 0x8A4BBD2: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3946) ==14556== by 0x7A67F02: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302) ==14556== by 0x831BB9B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704) ==14556== Address 0x2c2af70c is 348 bytes inside a block of size 720 free'd ==14556== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==14556== by 0x8331770: QObject::~QObject() (qscopedpointer.h:62) ==14556== by 0x8AA24C5: QWidget::~QWidget() (qwidget.cpp:1492) ==14556== by 0x8E62612: QMenu::~QMenu() (qmenu.cpp:1421) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0x7B99328: KTextBrowser::~KTextBrowser() (ktextbrowser.cpp:60) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0xB8643C8: KDevelop::AbstractNavigationWidget::~AbstractNavigationWidget() (abstractnavigationwidget.cpp:102) ==14556== by 0x291B1C4D: Cpp::NavigationWidget::~NavigationWidget() (navigationwidget.h:30) ==14556== by 0x2E340AAC: ExpandingWidgetModel::clearExpanding() (expandingwidgetmodel.cpp:128) ==14556== ==14556== Invalid read of size 1 ==14556== at 0x8AA0915: QWidgetPrivate::show_helper() (qwidget.cpp:7249) ==14556== by 0x8AA2919: QWidget::setVisible(bool) (qwidget.cpp:7440) ==14556== by 0x8E641C3: QMenu::popup(QPoint const&, QAction*) (qwidget.h:485) ==14556== by 0x8E646CD: QMenu::exec(QPoint const&, QAction*) (qmenu.cpp:2067) ==14556== by 0x7B99765: KTextBrowser::contextMenuEvent(QContextMenuEvent*) (ktextbrowser.cpp:125) ==14556== by 0x8A9B187: QWidget::event(QEvent*) (qwidget.cpp:8207) ==14556== by 0x8E23455: QFrame::event(QEvent*) (qframe.cpp:557) ==14556== by 0x831AFB6: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819) ==14556== by 0x8A453EB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4298) ==14556== by 0x8A4BBD2: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3946) ==14556== by 0x7A67F02: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302) ==14556== by 0x831BB9B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704) ==14556== Address 0x2c2af711 is 353 bytes inside a block of size 720 free'd ==14556== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==14556== by 0x8331770: QObject::~QObject() (qscopedpointer.h:62) ==14556== by 0x8AA24C5: QWidget::~QWidget() (qwidget.cpp:1492) ==14556== by 0x8E62612: QMenu::~QMenu() (qmenu.cpp:1421) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0x7B99328: KTextBrowser::~KTextBrowser() (ktextbrowser.cpp:60) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0xB8643C8: KDevelop::AbstractNavigationWidget::~AbstractNavigationWidget() (abstractnavigationwidget.cpp:102) ==14556== by 0x291B1C4D: Cpp::NavigationWidget::~NavigationWidget() (navigationwidget.h:30) ==14556== by 0x2E340AAC: ExpandingWidgetModel::clearExpanding() (expandingwidgetmodel.cpp:128) ==14556== ==14556== Invalid read of size 8 ==14556== at 0x8A4B6AD: QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) (qwidget.h:234) ==14556== by 0x8AA2929: QWidget::setVisible(bool) (qwidget.cpp:7443) ==14556== by 0x8E641C3: QMenu::popup(QPoint const&, QAction*) (qwidget.h:485) ==14556== by 0x8E646CD: QMenu::exec(QPoint const&, QAction*) (qmenu.cpp:2067) ==14556== by 0x7B99765: KTextBrowser::contextMenuEvent(QContextMenuEvent*) (ktextbrowser.cpp:125) ==14556== by 0x8A9B187: QWidget::event(QEvent*) (qwidget.cpp:8207) ==14556== by 0x8E23455: QFrame::event(QEvent*) (qframe.cpp:557) ==14556== by 0x831AFB6: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819) ==14556== by 0x8A453EB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4298) ==14556== by 0x8A4BBD2: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3946) ==14556== by 0x7A67F02: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302) ==14556== by 0x831BB9B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704) ==14556== Address 0x1b7b1170 is 32 bytes inside a block of size 40 free'd ==14556== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0x7B99328: KTextBrowser::~KTextBrowser() (ktextbrowser.cpp:60) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0xB8643C8: KDevelop::AbstractNavigationWidget::~AbstractNavigationWidget() (abstractnavigationwidget.cpp:102) ==14556== by 0x291B1C4D: Cpp::NavigationWidget::~NavigationWidget() (navigationwidget.h:30) ==14556== by 0x2E340AAC: ExpandingWidgetModel::clearExpanding() (expandingwidgetmodel.cpp:128) ==14556== by 0x2E3216C4: KateCompletionModel::clearGroups(bool) (katecompletionmodel.cpp:508) ==14556== by 0x2E328A32: KateCompletionModel::clearCompletionModels() (katecompletionmodel.cpp:2052) ==14556== by 0x2E316CA4: KateCompletionWidget::clear() (katecompletionwidget.cpp:731) ==14556== ==14556== Invalid read of size 8 ==14556== at 0x8A4B6B1: QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) (qapplication.cpp:3012) ==14556== by 0x8AA2929: QWidget::setVisible(bool) (qwidget.cpp:7443) ==14556== by 0x8E641C3: QMenu::popup(QPoint const&, QAction*) (qwidget.h:485) ==14556== by 0x8E646CD: QMenu::exec(QPoint const&, QAction*) (qmenu.cpp:2067) ==14556== by 0x7B99765: KTextBrowser::contextMenuEvent(QContextMenuEvent*) (ktextbrowser.cpp:125) ==14556== by 0x8A9B187: QWidget::event(QEvent*) (qwidget.cpp:8207) ==14556== by 0x8E23455: QFrame::event(QEvent*) (qframe.cpp:557) ==14556== by 0x831AFB6: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819) ==14556== by 0x8A453EB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4298) ==14556== by 0x8A4BBD2: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3946) ==14556== by 0x7A67F02: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302) ==14556== by 0x831BB9B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704) ==14556== Address 0x2c2af700 is 336 bytes inside a block of size 720 free'd ==14556== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==14556== by 0x8331770: QObject::~QObject() (qscopedpointer.h:62) ==14556== by 0x8AA24C5: QWidget::~QWidget() (qwidget.cpp:1492) ==14556== by 0x8E62612: QMenu::~QMenu() (qmenu.cpp:1421) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0x7B99328: KTextBrowser::~KTextBrowser() (ktextbrowser.cpp:60) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0xB8643C8: KDevelop::AbstractNavigationWidget::~AbstractNavigationWidget() (abstractnavigationwidget.cpp:102) ==14556== by 0x291B1C4D: Cpp::NavigationWidget::~NavigationWidget() (navigationwidget.h:30) ==14556== by 0x2E340AAC: ExpandingWidgetModel::clearExpanding() (expandingwidgetmodel.cpp:128) ==14556== ==14556== Invalid read of size 1 ==14556== at 0x8A4B6B7: QApplicationPrivate::sendSyntheticEnterLeave(QWidget*) (qapplication.cpp:3012) ==14556== by 0x8AA2929: QWidget::setVisible(bool) (qwidget.cpp:7443) ==14556== by 0x8E641C3: QMenu::popup(QPoint const&, QAction*) (qwidget.h:485) ==14556== by 0x8E646CD: QMenu::exec(QPoint const&, QAction*) (qmenu.cpp:2067) ==14556== by 0x7B99765: KTextBrowser::contextMenuEvent(QContextMenuEvent*) (ktextbrowser.cpp:125) ==14556== by 0x8A9B187: QWidget::event(QEvent*) (qwidget.cpp:8207) ==14556== by 0x8E23455: QFrame::event(QEvent*) (qframe.cpp:557) ==14556== by 0x831AFB6: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819) ==14556== by 0x8A453EB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4298) ==14556== by 0x8A4BBD2: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3946) ==14556== by 0x7A67F02: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302) ==14556== by 0x831BB9B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704) ==14556== Address 0x2c2af70c is 348 bytes inside a block of size 720 free'd ==14556== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==14556== by 0x8331770: QObject::~QObject() (qscopedpointer.h:62) ==14556== by 0x8AA24C5: QWidget::~QWidget() (qwidget.cpp:1492) ==14556== by 0x8E62612: QMenu::~QMenu() (qmenu.cpp:1421) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0x7B99328: KTextBrowser::~KTextBrowser() (ktextbrowser.cpp:60) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0xB8643C8: KDevelop::AbstractNavigationWidget::~AbstractNavigationWidget() (abstractnavigationwidget.cpp:102) ==14556== by 0x291B1C4D: Cpp::NavigationWidget::~NavigationWidget() (navigationwidget.h:30) ==14556== by 0x2E340AAC: ExpandingWidgetModel::clearExpanding() (expandingwidgetmodel.cpp:128) ==14556== ==14556== Invalid read of size 8 ==14556== at 0x831BB80: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:691) ==14556== by 0x8AA294F: QWidget::setVisible(bool) (qcoreapplication.h:215) ==14556== by 0x8E641C3: QMenu::popup(QPoint const&, QAction*) (qwidget.h:485) ==14556== by 0x8E646CD: QMenu::exec(QPoint const&, QAction*) (qmenu.cpp:2067) ==14556== by 0x7B99765: KTextBrowser::contextMenuEvent(QContextMenuEvent*) (ktextbrowser.cpp:125) ==14556== by 0x8A9B187: QWidget::event(QEvent*) (qwidget.cpp:8207) ==14556== by 0x8E23455: QFrame::event(QEvent*) (qframe.cpp:557) ==14556== by 0x831AFB6: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819) ==14556== by 0x8A453EB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4298) ==14556== by 0x8A4BBD2: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3946) ==14556== by 0x7A67F02: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302) ==14556== by 0x831BB9B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704) ==14556== Address 0x1b7b1158 is 8 bytes inside a block of size 40 free'd ==14556== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0x7B99328: KTextBrowser::~KTextBrowser() (ktextbrowser.cpp:60) ==14556== by 0x832A61B: QObjectPrivate::deleteChildren() (qobject.cpp:1978) ==14556== by 0x8AA243C: QWidget::~QWidget() (qwidget.cpp:1476) ==14556== by 0xB8643C8: KDevelop::AbstractNavigationWidget::~AbstractNavigationWidget() (abstractnavigationwidget.cpp:102) ==14556== by 0x291B1C4D: Cpp::NavigationWidget::~NavigationWidget() (navigationwidget.h:30) ==14556== by 0x2E340AAC: ExpandingWidgetModel::clearExpanding() (expandingwidgetmodel.cpp:128) ==14556== by 0x2E3216C4: KateCompletionModel::clearGroups(bool) (katecompletionmodel.cpp:508) ==14556== by 0x2E328A32: KateCompletionModel::clearCompletionModels() (katecompletionmodel.cpp:2052) ==14556== by 0x2E316CA4: KateCompletionWidget::clear() (katecompletionwidget.cpp:731) ==14556== ==14556== Invalid read of size 8 ==14556== at 0x831BB8D: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:691) ==14556== by 0x8AA294F: QWidget::setVisible(bool) (qcoreapplication.h:215) ==14556== by 0x8E641C3: QMenu::popup(QPoint const&, QAction*) (qwidget.h:485) ==14556== by 0x8E646CD: QMenu::exec(QPoint const&, QAction*) (qmenu.cpp:2067) ==14556== by 0x7B99765: KTextBrowser::contextMenuEvent(QContextMenuEvent*) (ktextbrowser.cpp:125) ==14556== by 0x8A9B187: QWidget::event(QEvent*) (qwidget.cpp:8207) ==14556== by 0x8E23455: QFrame::event(QEvent*) (qframe.cpp:557) ==14556== by 0x831AFB6: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:819) ==14556== by 0x8A453EB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:4298) ==14556== by 0x8A4BBD2: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3946) ==14556== by 0x7A67F02: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:302) ==14556== by 0x831BB9B: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:704) ==14556== Address 0x40 is not stack'd, malloc'd or (recently) free'd ==14556== It's slotFocusOut that triggers a clear() in KateCompletionWidget. I tried setting contextPolicy to noContextMenu and some focus policies, to no avail. Has anyone more ideas on how to fix this? Is there some way to check whether one of the child elements requested a context menu? This is a kate bug and should be tracked as such. It's probably reproducable with the snippet plugin from trunk, assuming it also shows the snippet contents in the expanding widget (dunno if it does). @Milian: If you re-assign to some other product please also adjust the assignee (Click on the edit link and select Reset Assignee to default) so kdevelop-bugs is not spammed with future updates on the report. Any chance getting this fixed? Since you investigated already, would be nice to simply get rid of it... it's still crashing when requesting the context menu on the scroll bar in the expanding widget and I have no clue on how to fix it. Created attachment 62726 [details]
Fix
Should be fixed. |