| Summary: | KDevelop/KF5 Crash when expanding Classes -> All projects classes view | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Andreas Cord-Landwehr <cordlandwehr> |
| Component: | general | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | CC: | |
| Priority: | NOR | Keywords: | drkonqi, triaged |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Andreas Cord-Landwehr
2015-05-07 17:39:31 UTC
Hm, cannot reproduce this. If it still happens with current master, please reopen it :) Sorry, still happens. But I can give you the assert that is hit :)
Different to before, now I have to click expand at "All project classes", but one level below.
My build is current master from 5 min before.
[New Thread 0x7fff7dffb700 (LWP 25819)]
kdevelop(25659)/(default) qt_assert_x: ASSERT failure in QVector<T>::at: "index out of range", file ../../include/QtCore/../../src/corelib/tools/qvector.h, line 393
Program received signal SIGABRT, Aborted.
0x00007ffff0417107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff0417107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff04184e8 in __GI_abort () at abort.c:89
#2 0x00007ffff10c3291 in qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) (context=..., message=...) at global/qlogging.cpp:1578
#3 0x00007ffff10bf95c in QMessageLogger::fatal(char const*, ...) const (this=0x7fffffff9390, msg=0x7ffff13df298 "ASSERT failure in %s: \"%s\", file %s, line %d")
at global/qlogging.cpp:781
#4 0x00007ffff10b8bf3 in qt_assert_x(char const*, char const*, char const*, int) (where=0x7ffff24ec4e2 "QVector<T>::at", what=0x7ffff24ec4cf "index out of range", file=0x7ffff24ec498 "../../include/QtCore/../../src/corelib/tools/qvector.h", line=393) at global/qglobal.cpp:2974
#5 0x00007ffff22f4def in QVector<QTreeViewItem>::at(int) const (this=0x54068a8, i=1) at ../../include/QtCore/../../src/corelib/tools/qvector.h:393
#6 0x00007ffff235a306 in QTreeViewPrivate::beginAnimatedOperation() (this=0x5406460) at itemviews/qtreeview.cpp:3209
#7 0x00007ffff2359b42 in QTreeViewPrivate::expand(int, bool) (this=0x5406460, item=1, emitSignal=true) at itemviews/qtreeview.cpp:3093
#8 0x00007ffff234fd6d in QTreeView::expand(QModelIndex const&) (this=0x5406410, index=...) at itemviews/qtreeview.cpp:779
#9 0x00007fff9bbc6129 in ClassTree::itemActivated(QModelIndex const&) (this=0x5406410, index=...)
at /opt/kde/src/extragear/kdevelop/kdevplatform/plugins/classbrowser/classtree.cpp:145
#10 0x00007fff9bbc6c5b in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QModelIndex const&>, void, void (ClassTree::*)(QModelIndex const&)>::call(void (ClassTree::*)(QModelIndex const&), ClassTree*, void**) (f=
(void (ClassTree::*)(ClassTree * const, const QModelIndex &)) 0x7fff9bbc6024 <ClassTree::itemActivated(QModelIndex const&)>, o=0x5406410, arg=0x7fffffff9830)
at /opt/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:501
#11 0x00007fff9bbc6bdf in QtPrivate::FunctionPointer<void (ClassTree::*)(QModelIndex const&)>::call<QtPrivate::List<QModelIndex const&>, void>(void (ClassTree::*)(QModelIndex const&), ClassTree*, void**) (f=
(void (ClassTree::*)(ClassTree * const, const QModelIndex &)) 0x7fff9bbc6024 <ClassTree::itemActivated(QModelIndex const&)>, o=0x5406410, arg=0x7fffffff9830)
at /opt/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:520
#12 0x00007fff9bbc6aeb in QtPrivate::QSlotObject<void (ClassTree::*)(QModelIndex const&), QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x540ee50, r=0x5406410, a=0x7fffffff9830, ret=0x0) at /opt/qt5/qtbase/src/corelib/kernel/qobject_impl.h:143
#13 0x00007ffff1341809 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (this=0x540ee50, r=0x5406410, a=0x7fffffff9830)
at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#14 0x00007ffff133e80a in QMetaObject::activate(QObject*, int, int, void**) (sender=0x5406410, signalOffset=7, local_signal_index=3, argv=0x7fffffff9830)
at kernel/qobject.cpp:3698
---Type <return> to continue, or q <return> to quit---
#15 0x00007ffff133e120 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x5406410, m=0x7ffff26a6a00 <QAbstractItemView::staticMetaObject>, local_signal_index=3, argv=0x7fffffff9830) at kernel/qobject.cpp:3578
#16 0x00007ffff231282b in QAbstractItemView::activated(QModelIndex const&) (this=0x5406410, _t1=...) at .moc/moc_qabstractitemview.cpp:646
#17 0x00007ffff23079aa in QAbstractItemView::mouseReleaseEvent(QMouseEvent*) (this=0x5406410, event=0x7fffffffa930) at itemviews/qabstractitemview.cpp:1866
#18 0x00007ffff2354b9c in QTreeView::mouseReleaseEvent(QMouseEvent*) (this=0x5406410, event=0x7fffffffa930) at itemviews/qtreeview.cpp:1917
#19 0x00007ffff207935f in QWidget::event(QEvent*) (this=0x5406410, event=0x7fffffffa930) at kernel/qwidget.cpp:8675
#20 0x00007ffff21aa12d in QFrame::event(QEvent*) (this=0x5406410, e=0x7fffffffa930) at widgets/qframe.cpp:540
#21 0x00007ffff2249aa6 in QAbstractScrollArea::viewportEvent(QEvent*) (this=0x5406410, e=0x7fffffffa930) at widgets/qabstractscrollarea.cpp:1200
#22 0x00007ffff2306868 in QAbstractItemView::viewportEvent(QEvent*) (this=0x5406410, event=0x7fffffffa930) at itemviews/qabstractitemview.cpp:1685
#23 0x00007ffff2351c0b in QTreeView::viewportEvent(QEvent*) (this=0x5406410, event=0x7fffffffa930) at itemviews/qtreeview.cpp:1309
#24 0x00007ffff224ad53 in QAbstractScrollAreaPrivate::viewportEvent(QEvent*) (this=0x5406460, event=0x7fffffffa930) at widgets/qabstractscrollarea_p.h:102
#25 0x00007ffff224ae1c in QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) (this=0x53fe300, o=0x53faca0, e=0x7fffffffa930)
at widgets/qabstractscrollarea_p.h:118
#26 0x00007ffff130031b in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (this=0x66c680, receiver=0x53faca0, event=0x7fffffffa930)
at kernel/qcoreapplication.cpp:1072
#27 0x00007ffff202a5ed in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x66c680, receiver=0x53faca0, e=0x7fffffffa930)
at kernel/qapplication.cpp:3712
#28 0x00007ffff2028590 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffbcc0, receiver=0x53faca0, e=0x7fffffffa930) at kernel/qapplication.cpp:3276
#29 0x00007ffff12fff9e in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffbcc0, receiver=0x53faca0, event=0x7fffffffa930)
at kernel/qcoreapplication.cpp:965
#30 0x00007ffff202d5f1 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=0x53faca0, event=0x7fffffffa930)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#31 0x00007ffff2026fa9 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=0x53faca0, event=0x7fffffffa930, alienWidget=0x53faca0, nativeWidget=0x5753580, buttonDown=0x7ffff26bc730 <qt_button_down>, lastMouseReceiver=..., spontaneous=true)
at kernel/qapplication.cpp:2770
#32 0x00007ffff20a4673 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=0x5a0a2e0, event=0x7fffffffb510) at kernel/qwidgetwindow.cpp:555
#33 0x00007ffff20a3386 in QWidgetWindow::event(QEvent*) (this=0x5a0a2e0, event=0x7fffffffb510) at kernel/qwidgetwindow.cpp:210
---Type <return> to continue, or q <return> to quit---
#34 0x00007ffff202a616 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=0x66c680, receiver=0x5a0a2e0, e=0x7fffffffb510)
at kernel/qapplication.cpp:3716
#35 0x00007ffff2027d75 in QApplication::notify(QObject*, QEvent*) (this=0x7fffffffbcc0, receiver=0x5a0a2e0, e=0x7fffffffb510) at kernel/qapplication.cpp:3160
#36 0x00007ffff12fff9e in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7fffffffbcc0, receiver=0x5a0a2e0, event=0x7fffffffb510)
at kernel/qcoreapplication.cpp:965
#37 0x00007ffff18c7ee9 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=0x5a0a2e0, event=0x7fffffffb510)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#38 0x00007ffff18c0ff0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x101e250) at kernel/qguiapplication.cpp:1789
#39 0x00007ffff18c058a in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=0x101e250)
at kernel/qguiapplication.cpp:1581
#40 0x00007ffff18a8c65 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:625
#41 0x00007fffd612dd34 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=0x6aace0) at eventdispatchers/qeventdispatcher_glib.cpp:70
#42 0x00007fffe3c2bc3d in g_main_context_dispatch (context=0x7fffcc0016f0) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3122
#43 0x00007fffe3c2bc3d in g_main_context_dispatch (context=context@entry=0x7fffcc0016f0) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3737
#44 0x00007fffe3c2bf20 in g_main_context_iterate (context=context@entry=0x7fffcc0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3808
#45 0x00007fffe3c2bfcc in g_main_context_iteration (context=0x7fffcc0016f0, may_block=1) at /tmp/buildd/glib2.0-2.44.1/./glib/gmain.c:3869
#46 0x00007ffff13760d9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x6ad300, flags=...)
at kernel/qeventdispatcher_glib.cpp:418
#47 0x00007fffd612df58 in QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x6ad300, flags=...)
at eventdispatchers/qeventdispatcher_glib.cpp:115
#48 0x00007ffff12fcb5c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffba40, flags=...) at kernel/qeventloop.cpp:128
#49 0x00007ffff12fce50 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffba40, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007ffff130067c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#51 0x00007ffff18c03ba in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1527
#52 0x00007ffff202774f in QApplication::exec() () at kernel/qapplication.cpp:2976
#53 0x000000000041a0ca in main(int, char**) (argc=1, argv=0x7fffffffdbc8) at /opt/kde/src/extragear/kdevelop/kdevelop/app/main.cpp:644
Hm. I don't see what's going on, and I can't reproduce it. Maybe somebody else can. :/ I think this is an upstream bug and will need to be fixed there. alternatively, it could be something messed up with the model. Yeah I think it would be valuable to put the model under modeltest and ensure it passes those tests. could you try that quickly? If it does not show anything, then we need to fix it upstream by adding a safeguard there Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |