https://bugs.kde.org/show_bug.cgi?id=392522
Bug ID: 392522 Summary: ASSERT: "index.isValid()" in file /home/jkt/work/prog/trojita/src/Composer/ComposerAttac hments.cpp, line 448 Product: trojita Version: git Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Message Composer Assignee: trojita-b...@kde.org Reporter: j...@kde.org Target Milestone: --- 1) compose mail 2) attach a part from an IMAP message 3) send, but let an error interrupt sending during APPEND 4) go offline and back online 5) pwned: #0 0x00007f9ece00b21b in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #1 0x00007f9ece00c8b1 in __GI_abort () at abort.c:89 #2 0x00007f9eced6799e in qt_message_fatal (context=..., message=<synthetic pointer>...) at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/global/qlogging.cpp:1690 #3 QMessageLogger::fatal (this=this@entry=0x7ffd59e61380, msg=msg@entry=0x7f9ecf02c038 "ASSERT: \"%s\" in file %s, line %d") at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/global/qlogging.cpp:796 #4 0x00007f9eced61c45 in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/global/qglobal.cpp:3077 #5 0x000000000052f81a in Composer::ImapPartAttachmentItem::imapUrl() const () #6 0x000000000052ecc9 in Composer::ImapPartAttachmentItem::caption() const () #7 0x0000000000511c38 in Composer::MessageComposer::data(QModelIndex const&, int) const () #8 0x00007f9ecfb38a99 in QModelIndex::data (arole=0, this=0x3137c08) at ../../include/QtCore/../../../qtwidgets-5.9.9999/src/corelib/itemmodels/qabstractitemmodel.h:432 #9 QStyledItemDelegate::initStyleOption (this=0x202ce40, option=0x7ffd59e615c0, index=...) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/itemviews/qstyleditemdelegate.cpp:345 #10 0x00007f9ecfb37a1a in QStyledItemDelegate::sizeHint (this=0x202ce40, option=..., index=...) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/itemviews/qstyleditemdelegate.cpp:410 #11 0x00007f9ecfb52249 in QListViewPrivate::itemSize (this=0x23df890, option=..., index=...) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/itemviews/qlistview.cpp:1784 #12 0x00007f9ecfb5255b in QCommonListViewBase::itemSize (this=0x2fd7410, idx=..., opt=...) at ../../include/QtWidgets/5.9.2/QtWidgets/private/../../../../../../qtwidgets-5.9.9999/src/widgets/itemviews/qlistview_p.h:465 #13 QListModeViewBase::indexToListViewItem (this=0x2fd7410, index=...) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/itemviews/qlistview.cpp:2358 #14 0x00007f9ecfb552a3 in QListViewPrivate::indexToListViewItem (this=0x23df890, index=...) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/itemviews/qlistview.cpp:1729 #15 0x00007f9ecfb564f8 in QListViewPrivate::rectForIndex (index=..., this=0x23df890) at ../../include/QtWidgets/5.9.2/QtWidgets/private/../../../../../../qtwidgets-5.9.9999/src/widgets/itemviews/qlistview_p.h:341 #16 QListView::rectForIndex (this=<optimized out>, index=...) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/itemviews/qlistview.cpp:1223 #17 0x00007f9ecfb565b0 in QListView::visualRect (this=<optimized out>, index=...) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/itemviews/qlistview.cpp:558 #18 0x00007f9ecfb52f97 in QListView::paintEvent (this=0x2d5b130, e=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/itemviews/qlistview.cpp:987 #19 0x00007f9ecf89ca60 in QWidget::event (this=this@entry=0x2d5b130, event=event@entry=0x7ffd59e62090) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/kernel/qwidget.cpp:9198 #20 0x00007f9ecf959891 in QFrame::event (this=0x2d5b130, e=0x7ffd59e62090) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/widgets/qframe.cpp:550 #21 0x00007f9ecfb17df3 in QAbstractItemView::viewportEvent (this=0x2d5b130, event=0x7ffd59e62090) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/itemviews/qabstractitemview.cpp:1748 #22 0x00007f9ecef62d26 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x1f88b40, event=event@entry=0x7ffd59e62090) at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/kernel/qcoreapplication.cpp:1129 #23 0x00007f9ecf850d1a in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x1f88b40, e=0x7ffd59e62090) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/kernel/qapplication.cpp:3718 #24 0x00007f9ecf8594a2 in QApplication::notify (this=0x7ffd59e62d00, receiver=0x1f88b40, e=0x7ffd59e62090) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/kernel/qapplication.cpp:3481 #25 0x00007f9ecef63078 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x1f88b40, event=event@entry=0x7ffd59e62090) at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/kernel/qcoreapplication.cpp:1018 #26 0x00007f9ecf89523d in QCoreApplication::sendSpontaneousEvent (event=0x7ffd59e62090, receiver=0x1f88b40) at ../../include/QtCore/../../../qtwidgets-5.9.9999/src/corelib/kernel/qcoreapplication.h:236 #27 QWidgetPrivate::sendPaintEvent (this=this@entry=0x2b9cd20, toBePainted=...) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/kernel/qwidget.cpp:5721 #28 0x00007f9ecf895914 in QWidgetPrivate::drawWidget (this=this@entry=0x2b9cd20, pdev=0x2075ba0, rgn=..., offset=..., flags=36, sharedPainter=sharedPainter@entry=0x0, backingStore=0x263d6d0) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/kernel/qwidget.cpp:5661 #29 0x00007f9ecf862849 in QWidgetBackingStore::doSync (this=this@entry=0x263d6d0) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/kernel/qwidgetbackingstore.cpp:1375 #30 0x00007f9ecf862b61 in QWidgetBackingStore::sync (this=0x263d6d0) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/kernel/qwidgetbackingstore.cpp:1162 #31 0x00007f9ecf883772 in QWidgetPrivate::syncBackingStore (this=0x231f4f0) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/kernel/qwidget.cpp:1979 #32 0x00007f9ecf89cde8 in QWidget::event (this=0x231f380, event=0x2179ab0) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/kernel/qwidget.cpp:9137 #33 0x00007f9ecf850d54 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x231f380, e=0x2179ab0) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/kernel/qapplication.cpp:3722 #34 0x00007f9ecf8594a2 in QApplication::notify (this=0x7ffd59e62d00, receiver=0x231f380, e=0x2179ab0) at /var/tmp/portage/dev-qt/qtwidgets-5.9.9999/work/qtwidgets-5.9.9999/src/widgets/kernel/qapplication.cpp:3481 #35 0x00007f9ecef63078 in QCoreApplication::notifyInternal2 (receiver=0x231f380, event=event@entry=0x2179ab0) at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/kernel/qcoreapplication.cpp:1018 #36 0x00007f9ecef66237 in QCoreApplication::sendEvent (event=0x2179ab0, receiver=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/kernel/qcoreapplication.h:233 #37 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x177af20) ---Type <return> to continue, or q <return> to quit--- at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/kernel/qcoreapplication.cpp:1678 #38 0x00007f9ecef6680e in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/kernel/qcoreapplication.cpp:1532 #39 0x00007f9ecefc0369 in postEventSourceDispatch (s=0x17cfc40) at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/kernel/qeventdispatcher_glib.cpp:276 #40 0x00007f9ec95b980c in g_main_dispatch (context=0x7f9ebc0016f0) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3154 #41 g_main_context_dispatch (context=context@entry=0x7f9ebc0016f0) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3769 #42 0x00007f9ec95b9b18 in g_main_context_iterate (context=context@entry=0x7f9ebc0016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3840 #43 0x00007f9ec95b9c21 in g_main_context_iteration (context=0x7f9ebc0016f0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.48.2/work/glib-2.48.2/glib/gmain.c:3901 #44 0x00007f9ecefbfe9d in QEventDispatcherGlib::processEvents (this=0x17d7550, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #45 0x00007f9ecef611ba in QEventLoop::exec (this=this@entry=0x7ffd59e62b50, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/kernel/qeventloop.cpp:212 #46 0x00007f9ecef6ad48 in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.9.9999/work/qtcore-5.9.9999/src/corelib/kernel/qcoreapplication.cpp:1291 #47 0x0000000000454e08 in main () -- You are receiving this mail because: You are watching all bug changes.