Bug 447748

Summary: Konversation crashed after sending a message, normally runs fine
Product: [Applications] konversation Reporter: wodencafe
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 1.8.21081   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description wodencafe 2021-12-31 16:52:13 UTC
Application: konversation (1.8.21081)

Qt Version: 5.15.2
Frameworks Version: 5.86.0
Operating System: Linux 5.13.0-23-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: Ubuntu 21.10

-- Information about the crash:
- What I was doing when the application crashed:
I had just replied to a PM in Konversation, normally Konversation runs fine, and this instance had been running for at least a day. I keep it running sometimes for weeks at a time. But for some reason, this time it crashed after sending the message. The window just disappeared, and then the KDE crash report assistant appeared in my system tray.

There is a good quality stack trace attached, and I'm available via email should further details be requested.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault

[KCrash Handler]
#4  ViewContainer::rowCount (this=0x564beecfb3f0, parent=...) at ./src/viewer/viewcontainer.cpp:388
#5  0x00007f6f46aa489f in QAbstractItemModel::hasChildren (this=0x564beecfb3f0, parent=...) at itemmodels/qabstractitemmodel.cpp:1800
#6  0x00007f6f478ebbfd in QTreeView::doItemsLayout (this=0x564beecf7000) at itemviews/qtreeview.cpp:2099
#7  0x00007f6f478e2929 in QAbstractItemViewPrivate::executePostedLayout (this=0x564beecf7060) at ../../include/QtWidgets/5.15.2/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:229
#8  QAbstractItemViewPrivate::executePostedLayout (this=0x564beecf7060) at ../../include/QtWidgets/5.15.2/QtWidgets/private/../../../../../src/widgets/itemviews/qabstractitemview_p.h:226
#9  QTreeView::visualRect (this=this@entry=0x564beecf7000, index=...) at itemviews/qtreeview.cpp:1110
#10 0x00007f6f4786e94c in QAbstractItemViewPrivate::setHoverIndex (this=this@entry=0x564beecf7060, index=...) at itemviews/qabstractitemview.cpp:163
#11 0x00007f6f4787ba8b in QAbstractItemView::viewportEvent (this=0x564beecf7000, event=0x7ffe6fffca00) at itemviews/qabstractitemview.cpp:1704
#12 0x00007f6f46b0aeca in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1189
#13 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x564beecf7850, event=event@entry=0x7ffe6fffca00) at kernel/qcoreapplication.cpp:1178
#14 0x00007f6f475f76a2 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x564beecf7850, e=0x7ffe6fffca00) at kernel/qapplication.cpp:3626
#15 0x00007f6f46b0b16a in QCoreApplication::notifyInternal2 (receiver=0x564beecf7850, event=0x7ffe6fffca00) at kernel/qcoreapplication.cpp:1063
#16 0x00007f6f475fd38d in QApplicationPrivate::dispatchEnterLeave (enter=0x564bf2de9490, leave=<optimized out>, globalPosF=...) at kernel/qapplication.cpp:2243
#17 0x00007f6f475fe273 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x564bf2de9490, event=event@entry=0x7ffe6fffcc10, alienWidget=alienWidget@entry=0x564bf2de9490, nativeWidget=nativeWidget@entry=0x564beecfc0c0, buttonDown=buttonDown@entry=0x7f6f47b4aa10 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=true) at kernel/qapplication.cpp:2591
#18 0x00007f6f475fe812 in QApplicationPrivate::sendSyntheticEnterLeave (this=<optimized out>, widget=widget@entry=0x564bef6de9b0) at kernel/qapplication.cpp:2695
#19 0x00007f6f47639c89 in QWidgetPrivate::setVisible (this=0x564bf2e3fed0, visible=<optimized out>) at kernel/qwidget.cpp:8113
#20 0x00007f6f4761e235 in QStackedLayout::setCurrentIndex (this=0x564beedb1530, index=84) at kernel/qstackedlayout.cpp:321
#21 0x00007f6f4761e79f in QStackedLayout::takeAt (this=0x564beedb1530, index=84) at kernel/qstackedlayout.cpp:273
#22 0x00007f6f47618f8e in QLayout::removeWidget (this=0x564beedb1530, widget=widget@entry=0x564bf3160be0) at kernel/qlayout.cpp:1393
#23 0x00007f6f477b2a74 in QStackedWidget::removeWidget (this=<optimized out>, widget=widget@entry=0x564bf3160be0) at widgets/qstackedwidget.cpp:197
#24 0x00007f6f477d6a96 in QTabWidgetPrivate::_q_tabMoved (this=0x564beec859d0, from=84, to=83) at widgets/qtabwidget.cpp:811
#25 0x00007f6f46b42a88 in doActivate<false> (sender=0x564beedf1c90, signal_index=9, argv=0x7ffe6fffcf00) at kernel/qobject.cpp:3898
#26 0x00007f6f46b3bd67 in QMetaObject::activate (sender=sender@entry=0x564beedf1c90, m=m@entry=0x7f6f47b2cfc0 <QTabBar::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe6fffcf00) at kernel/qobject.cpp:3946
#27 0x00007f6f477b4f53 in QTabBar::tabMoved (this=this@entry=0x564beedf1c90, _t1=<optimized out>, _t1@entry=84, _t2=<optimized out>, _t2@entry=83) at .moc/moc_qtabbar.cpp:352
#28 0x00007f6f477b8eb9 in QTabBar::moveTab (this=0x564beedf1c90, from=84, to=83) at widgets/qtabbar.cpp:2054
#29 0x0000564bece13bd6 in ViewContainer::moveViewLeft (this=0x564beecfb3f0) at ./src/viewer/viewcontainer.cpp:1900
#30 0x00007f6f46b42a53 in QtPrivate::QSlotObjectBase::call (a=0x7ffe6fffd140, r=0x564beecfb3f0, this=0x564beed9b530) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#31 doActivate<false> (sender=0x564beedd4970, signal_index=4, argv=0x7ffe6fffd140) at kernel/qobject.cpp:3886
#32 0x00007f6f46b3bd67 in QMetaObject::activate (sender=sender@entry=0x564beedd4970, m=m@entry=0x7f6f47b1bd40 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe6fffd140) at kernel/qobject.cpp:3946
#33 0x00007f6f475f0b86 in QAction::triggered (this=this@entry=0x564beedd4970, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#34 0x00007f6f475f389c in QAction::activate (this=0x564beedd4970, event=<optimized out>) at kernel/qaction.cpp:1161
#35 0x00007f6f475f4487 in QAction::event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1086
#36 QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1075
#37 0x00007f6f475f76b3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x564beedd4970, e=0x7ffe6fffd310) at kernel/qapplication.cpp:3632
#38 0x00007f6f46b0b16a in QCoreApplication::notifyInternal2 (receiver=0x564beedd4970, event=0x7ffe6fffd310) at kernel/qcoreapplication.cpp:1063
#39 0x00007f6f46f20054 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#40 0x00007f6f46f20a03 in QShortcutMap::tryShortcut(QKeyEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#41 0x00007f6f46ec8ec2 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#42 0x00007f6f46eec32f in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#43 0x00007f6f46ec59bc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#44 0x00007f6f41480b9e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#45 0x00007f6f449238bb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f6f44976f08 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f6f44921003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f6f46b64548 in QEventDispatcherGlib::processEvents (this=0x564beebf1490, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#49 0x00007f6f46b09a9b in QEventLoop::exec (this=this@entry=0x7ffe6fffd710, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#50 0x00007f6f46b12024 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#51 0x0000564becd098e2 in main (argc=<optimized out>, argv=0x7ffe6fffd830) at ./src/main.cpp:149
[Inferior 1 (process 7484) detached]

Possible duplicates by query: bug 431069, bug 386943, bug 246632, bug 160562, bug 158129.

Reported using DrKonqi