https://bugs.kde.org/show_bug.cgi?id=396332

            Bug ID: 396332
           Summary: Segfault when moving a thread when new messages arrive
                    into the same thread
           Product: trojita
           Version: git
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Core
          Assignee: trojita-b...@kde.org
          Reporter: j...@kde.org
  Target Milestone: ---

I started dragging a thread and one standalone unthreaded message; I was going
to move them to another mailbox. Another message arrived in the meanwhile. That
message was going to become a part of that existing thread that I was dragging.
Here's a backtrace. There was no assert crash, just a segfault:

(gdb) bt
#0  0x00007feb49c2f30d in QSortFilterProxyModel::parent (this=0x27a3790,
child=...) at
/var/tmp/portage/dev-qt/qtcore-5.11.9999/work/qtcore-5.11.9999/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1999
#1  0x00000000004c6273 in Gui::MsgListView::startDrag(QFlags<Qt::DropAction>)
()
#2  0x00007feb4ab4f24c in QAbstractItemView::mouseMoveEvent(QMouseEvent*) () at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/itemviews/qabstractitemview.cpp:1836
#3  0x00007feb4abb8233 in QTreeView::mouseMoveEvent (this=0x26a5b00,
event=0x7ffc030a5a80) at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/itemviews/qtreeview.cpp:1989
#4  0x00007feb4a93ec48 in QWidget::event (this=this@entry=0x26a5b00,
event=event@entry=0x7ffc030a5a80) at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/kernel/qwidget.cpp:8916
#5  0x00007feb4a9e0b3e in QFrame::event (this=0x26a5b00, e=0x7ffc030a5a80) at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/widgets/qframe.cpp:550
#6  0x00007feb4ab4fb9b in QAbstractItemView::viewportEvent
(this=this@entry=0x26a5b00, event=event@entry=0x7ffc030a5a80)
    at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/itemviews/qabstractitemview.cpp:1748
#7  0x00007feb4abb798b in QTreeView::viewportEvent (this=0x26a5b00,
event=0x7ffc030a5a80) at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/itemviews/qtreeview.cpp:1326
#8  0x00007feb49c5375e in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at
/var/tmp/portage/dev-qt/qtcore-5.11.9999/work/qtcore-5.11.9999/src/corelib/kernel/qcoreapplication.cpp:1174
#9  0x00007feb4a900f41 in QApplicationPrivate::notify_helper
(this=this@entry=0x258ff50, receiver=receiver@entry=0x26a61e0,
e=e@entry=0x7ffc030a5a80)
    at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/kernel/qapplication.cpp:3721
#10 0x00007feb4a9086e7 in QApplication::notify(QObject*, QEvent*) () at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/kernel/qapplication.cpp:3201
#11 0x00007feb49c53911 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at
/var/tmp/portage/dev-qt/qtcore-5.11.9999/work/qtcore-5.11.9999/src/corelib/kernel/qcoreapplication.cpp:1048
#12 0x00007feb4a907a20 in QCoreApplication::sendEvent (event=<optimized out>,
receiver=<optimized out>) at
../../include/QtCore/../../../qtwidgets-5.11.9999/src/corelib/kernel/qcoreapplication.h:234
#13 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x26a61e0,
event=event@entry=0x7ffc030a5a80, alienWidget=alienWidget@entry=0x26a61e0,
nativeWidget=0x7ffc030a62a0, 
    buttonDown=buttonDown@entry=0x7feb4aff2390 <qt_button_down>,
lastMouseReceiver=..., spontaneous=true) at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/kernel/qapplication.cpp:2693
#14 0x00007feb4a9592f8 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/kernel/qwidgetwindow.cpp:659
#15 0x00007feb4a95bc50 in QWidgetWindow::event (this=0x27726f0,
event=0x7ffc030a5e60) at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/kernel/qwidgetwindow.cpp:281
#16 0x00007feb4a900f51 in QApplicationPrivate::notify_helper
(this=this@entry=0x258ff50, receiver=receiver@entry=0x27726f0,
e=e@entry=0x7ffc030a5e60)
    at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/kernel/qapplication.cpp:3725
#17 0x00007feb4a9084a0 in QApplication::notify(QObject*, QEvent*) () at
/var/tmp/portage/dev-qt/qtwidgets-5.11.9999/work/qtwidgets-5.11.9999/src/widgets/kernel/qapplication.cpp:3484
#18 0x00007feb49c53911 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at
/var/tmp/portage/dev-qt/qtcore-5.11.9999/work/qtcore-5.11.9999/src/corelib/kernel/qcoreapplication.cpp:1048
#19 0x00007feb4a1dca44 in QCoreApplication::sendSpontaneousEvent
(event=0x7ffc030a5e60, receiver=0x27726f0) at
../../include/QtCore/../../../qtgui-5.11.9999/src/corelib/kernel/qcoreapplication.h:237
#20 QGuiApplicationPrivate::processMouseEvent (e=0x99ab860) at
/var/tmp/portage/dev-qt/qtgui-5.11.9999/work/qtgui-5.11.9999/src/gui/kernel/qguiapplication.cpp:2070
#21 0x00007feb4a1dea15 in QGuiApplicationPrivate::processWindowSystemEvent
(e=e@entry=0x99ab860) at
/var/tmp/portage/dev-qt/qtgui-5.11.9999/work/qtgui-5.11.9999/src/gui/kernel/qguiapplication.cpp:1805
#22 0x00007feb4a1b919a in QWindowSystemInterface::sendWindowSystemEvents
(flags=...) at
/var/tmp/portage/dev-qt/qtgui-5.11.9999/work/qtgui-5.11.9999/src/gui/kernel/qwindowsysteminterface.cpp:1028
#23 0x00007feb3d7ae7ec in QPAEventDispatcherGlib::processEvents
(this=0x25e5410, flags=...) at
/var/tmp/portage/dev-qt/qtgui-5.11.9999/work/qtgui-5.11.9999/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:70
#24 0x00007feb49c52903 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
../../include/QtCore/../../../qtcore-5.11.9999/src/corelib/global/qflags.h:71
#25 0x00007feb49c5a66f in QCoreApplication::exec() () at
/var/tmp/portage/dev-qt/qtcore-5.11.9999/work/qtcore-5.11.9999/src/corelib/kernel/qcoreapplication.cpp:1336
#26 0x0000000000454fd8 in main ()

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to