[kmail2] [Bug 388424] New: abort when clicking on favorites folder

Martin Koller bugzilla_noreply at kde.org
Mon Jan 1 14:19:58 GMT 2018


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

            Bug ID: 388424
           Summary: abort when clicking on favorites folder
           Product: kmail2
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: folders
          Assignee: kdepim-bugs at kde.org
          Reporter: kollix at aon.at
  Target Milestone: ---

kmail built from source as of today.
After starting kmail, enter some text in the filter line edit above the folder
tree (tree gets reduced to some folders), then click on a favorite folder ->
abort.
Problem is in akonadi/src/widgets/standardactionmanager.cpp
favoriteSelectionChanged()
line 587 where the selection.indexes() calls first() but the list is actually
empty.

#0  0x00007ffff16948d7 in raise () from /lib64/libc.so.6
#1  0x00007ffff1695caa in abort () from /lib64/libc.so.6
#2  0x00007ffff2340dae in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib64/libQt5Core.so.5
#3  0x00007ffff233c0c6 in qt_assert(char const*, char const*, int) () from
/usr/lib64/libQt5Core.so.5
#4  0x00007fffeb7ea47a in QList<QModelIndex>::first (this=0x7fffffffbdb0) at
/usr/include/qt5/QtCore/qlist.h:345
#5  0x00007fffeb804477 in
Akonadi::StandardActionManager::Private::favoriteSelectionChanged
(this=0xe56f20)
    at
/home/KDE5/source/kde/pim/akonadi/src/widgets/standardactionmanager.cpp:587
#6  0x00007fffeb8000cc in Akonadi::StandardActionManager::qt_static_metacall
(_o=0xe49e70, _c=QMetaObject::InvokeMetaMethod, _id=4, 
    _a=0x7fffffffbf80) at
/home/KDE5/source/build/kde/pim/akonadi/src/widgets/moc_standardactionmanager.cpp:258
#7  0x00007ffff253f3df in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#8  0x00007ffff24cdc67 in QItemSelectionModel::selectionChanged(QItemSelection
const&, QItemSelection const&) ()
   from /usr/lib64/libQt5Core.so.5
#9  0x00007ffff24d098a in
QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection
const&) ()
   from /usr/lib64/libQt5Core.so.5
#10 0x00007ffff24d187a in QItemSelectionModel::select(QItemSelection const&,
QFlags<QItemSelectionModel::SelectionFlag>) ()
   from /usr/lib64/libQt5Core.so.5
#11 0x00007ffff3491af7 in QListView::setSelection(QRect const&,
QFlags<QItemSelectionModel::SelectionFlag>) ()
   from /usr/lib64/libQt5Widgets.so.5
#12 0x00007ffff345a550 in QAbstractItemView::mousePressEvent(QMouseEvent*) ()
from /usr/lib64/libQt5Widgets.so.5
#13 0x00007ffff0b0a842 in MailCommon::FavoriteCollectionWidget::mousePressEvent
(this=0xe5b690, e=0x7fffffffc920)
    at
/home/KDE5/source/kde/pim/mailcommon/src/widgets/favoritecollectionwidget.cpp:79
#14 0x00007ffff325e590 in QWidget::event(QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#15 0x00007ffff330112e in QFrame::event(QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#16 0x00007ffff345f04b in QAbstractItemView::viewportEvent(QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#17 0x00007ffff2514fe1 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Core.so.5
#18 0x00007ffff32226f5 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#19 0x00007ffff3229b9c in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#20 0x00007ffff2515115 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#21 0x00007ffff3228a19 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from
/usr/lib64/libQt5Widgets.so.5
#22 0x00007ffff3276a6f in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#23 0x00007ffff3278f83 in QWidgetWindow::event(QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#24 0x00007ffff322271c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#25 0x00007ffff3229500 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#26 0x00007ffff2515115 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#27 0x00007ffff2a8308d in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
()
   from /usr/lib64/libQt5Gui.so.5
#28 0x00007ffff2a84c45 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
()
   from /usr/lib64/libQt5Gui.so.5
#29 0x00007ffff2a636bb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
   from /usr/lib64/libQt5Gui.so.5
#30 0x00007fffc8435b6b in
QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib64/libQt5XcbQpa.so.5
#31 0x00007ffff251383b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQt5Core.so.5
#32 0x00007ffff251bef4 in QCoreApplication::exec() () from
/usr/lib64/libQt5Core.so.5
#33 0x00000000004047fa in main (argc=1, argv=0x7fffffffd2e8) at
/home/KDE5/source/kde/pim/kmail/src/main.cpp:156

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list