Bug 332434 - crash when using search filter for folder tree
Summary: crash when using search filter for folder tree
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.12.90
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-22 09:07 UTC by Martin Koller
Modified: 2017-01-07 21:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2014-03-22 09:07:55 UTC
Application: kmail (4.13 beta3)
KDE Platform Version: 4.12.95 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.11.10-7-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I was just typing some letters into the search/filter field for the folder tree when kmail crashed.
I tried to reproduce it but could not.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0e242de880 (LWP 8245))]

Thread 6 (Thread 0x7f0dfeaa1700 (LWP 8248)):
#0  0x00007f0e1fd2a0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0e169d1f56 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f0e169d1f89 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f0e1fd260db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f0e1dbb490d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f0dbd90e700 (LWP 8249)):
#0  0x00007f0e1fd2a0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0e167442ad in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f0e169f9ab6 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f0e1fd260db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f0e1dbb490d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f0dbca15700 (LWP 8250)):
#0  0x00007f0e1fd283e9 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f0e11dbf291 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0e11d7f6f8 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0e1e84bd76 in QEventDispatcherGlib::processEvents (this=0x7f0db00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f0e1e81dd0f in QEventLoop::processEvents (this=this@entry=0x7f0dbca14d60, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0e1e81e005 in QEventLoop::exec (this=this@entry=0x7f0dbca14d60, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0e1e71cfef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#7  0x00007f0e1e71f68f in QThreadPrivate::start (arg=0x24d2900) at thread/qthread_unix.cpp:338
#8  0x00007f0e1fd260db in start_thread () from /lib64/libpthread.so.0
#9  0x00007f0e1dbb490d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f0db5750700 (LWP 8255)):
#0  0x00007f0e11dbf009 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f0e11dbf289 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0e11d7eb77 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0e11d7f523 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f0e11d7f70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f0e1e84bd76 in QEventDispatcherGlib::processEvents (this=0x7f0dac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f0e1e81dd0f in QEventLoop::processEvents (this=this@entry=0x7f0db574fd20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0e1e81e005 in QEventLoop::exec (this=this@entry=0x7f0db574fd20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0e1e71cfef in QThread::exec (this=this@entry=0x29d5a80) at thread/qthread.cpp:536
#9  0x00007f0e1e7ff513 in QInotifyFileSystemWatcherEngine::run (this=0x29d5a80) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f0e1e71f68f in QThreadPrivate::start (arg=0x29d5a80) at thread/qthread_unix.cpp:338
#11 0x00007f0e1fd260db in start_thread () from /lib64/libpthread.so.0
#12 0x00007f0e1dbb490d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0dabdfb700 (LWP 8447)):
#0  0x00007f0e1fd2a0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0e229148cb in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007f0e22914909 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x00007f0e1fd260db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f0e1dbb490d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0e242de880 (LWP 8245)):
[KCrash Handler]
#5  0x00007f0e1db02849 in raise () from /lib64/libc.so.6
#6  0x00007f0e1db03cd8 in abort () from /lib64/libc.so.6
#7  0x00007f0e1e715204 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=<optimized out>) at global/qglobal.cpp:2323
#8  0x00007f0e1e715389 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f0e1e880518 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff70172208) at global/qglobal.cpp:2369
#9  0x00007f0e1e715b94 in qFatal (msg=msg@entry=0x7f0e1e880518 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2552
#10 0x00007f0e1e715bda in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at global/qglobal.cpp:2018
#11 0x00007f0e1a838e50 in MessageList::Core::StorageModel::savePreSelectedMessage (this=0x26f48c0, uniqueIdOfMessage=186601) at /home/KDE4/source/kdepim/messagelist/core/storagemodelbase.cpp:58
#12 0x00007f0e1a84ad2a in MessageList::Core::Widget::saveCurrentSelection (this=0x245a0c0) at /home/KDE4/source/kdepim/messagelist/core/widgetbase.cpp:320
#13 0x00007f0e1a86abf6 in MessageList::Pane::Private::onSelectionChanged (this=0x20b7cc0, selected=..., deselected=...) at /home/KDE4/source/kdepim/messagelist/pane.cpp:460
#14 0x00007f0e1a86e46f in MessageList::Pane::qt_static_metacall (_o=0x2227f10, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fff70172830) at /home/KDE4/build/kdepim/messagelist/moc_pane.cpp:104
#15 0x00007f0e1e832d68 in QMetaObject::activate (sender=0x22def50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff70172830) at kernel/qobject.cpp:3556
#16 0x00007f0e1f77d537 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libQtGui.so.4
#17 0x00007f0e1f782ba1 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libQtGui.so.4
#18 0x00007f0e1f783373 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#19 0x00007f0e20de4e0a in Akonadi::StandardActionManager::Private::favoriteSelectionChanged (this=0x24c3760) at /home/KDE4/source/kdepimlibs/akonadi/standardactionmanager.cpp:572
#20 0x00007f0e20de0e99 in Akonadi::StandardActionManager::qt_static_metacall (_o=0x1f24410, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff70172be0) at /home/KDE4/build/kdepimlibs/akonadi/moc_standardactionmanager.cpp:146
#21 0x00007f0e1e832d68 in QMetaObject::activate (sender=0x2317c80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff70172be0) at kernel/qobject.cpp:3556
#22 0x00007f0e1f77d537 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libQtGui.so.4
#23 0x00007f0e1f782ba1 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libQtGui.so.4
#24 0x00007f0e1f783373 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#25 0x00007f0e1f77e3b8 in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#26 0x00007f0e1f77d767 in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#27 0x00007f0e1f72954a in QAbstractItemView::setCurrentIndex(QModelIndex const&) () from /usr/lib64/libQtGui.so.4
#28 0x00007f0e1f730eba in QAbstractItemView::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib64/libQtGui.so.4
#29 0x00007f0e1f755280 in QListView::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib64/libQtGui.so.4
#30 0x00007f0e1e832d68 in QMetaObject::activate (sender=sender@entry=0x222e470, m=m@entry=0x7f0e1eb825c0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff70173180) at kernel/qobject.cpp:3556
#31 0x00007f0e1e87d1d4 in QAbstractItemModel::rowsAboutToBeRemoved (this=this@entry=0x222e470, _t1=..., _t2=_t2@entry=0, _t3=_t3@entry=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:203
#32 0x00007f0e1e815a75 in QAbstractItemModel::beginRemoveRows (this=0x222e470, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2470
#33 0x00007f0e23d164ea in ?? () from /usr/lib64/libkdeui.so.5
#34 0x00007f0e23d17195 in ?? () from /usr/lib64/libkdeui.so.5
#35 0x00007f0e23d177dd in ?? () from /usr/lib64/libkdeui.so.5
#36 0x00007f0e1e832d68 in QMetaObject::activate (sender=0x247bbc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff70173750) at kernel/qobject.cpp:3556
#37 0x00007f0e1f77d537 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libQtGui.so.4
#38 0x00007f0e1f781513 in ?? () from /usr/lib64/libQtGui.so.4
#39 0x00007f0e1f784549 in ?? () from /usr/lib64/libQtGui.so.4
#40 0x00007f0e1e832d68 in QMetaObject::activate (sender=sender@entry=0x21d73d0, m=m@entry=0x7f0e1eb825c0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff70173a30) at kernel/qobject.cpp:3556
#41 0x00007f0e1e87d1d4 in QAbstractItemModel::rowsAboutToBeRemoved (this=this@entry=0x21d73d0, _t1=..., _t2=_t2@entry=0, _t3=_t3@entry=2) at .moc/release-shared/moc_qabstractitemmodel.cpp:203
#42 0x00007f0e1e815a75 in QAbstractItemModel::beginRemoveRows (this=0x21d73d0, parent=..., first=0, last=2) at kernel/qabstractitemmodel.cpp:2470
#43 0x00007f0e1f7aaef5 in ?? () from /usr/lib64/libQtGui.so.4
#44 0x00007f0e1f7af37f in ?? () from /usr/lib64/libQtGui.so.4
#45 0x00007f0e1f7af59d in ?? () from /usr/lib64/libQtGui.so.4
#46 0x00007f0e1e832d68 in QMetaObject::activate (sender=sender@entry=0x2187890, m=m@entry=0x7f0e1eb825c0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff70173d70) at kernel/qobject.cpp:3556
#47 0x00007f0e1e87d1d4 in QAbstractItemModel::rowsAboutToBeRemoved (this=this@entry=0x2187890, _t1=..., _t2=_t2@entry=3, _t3=_t3@entry=6) at .moc/release-shared/moc_qabstractitemmodel.cpp:203
#48 0x00007f0e1e815a75 in QAbstractItemModel::beginRemoveRows (this=0x2187890, parent=..., first=3, last=6) at kernel/qabstractitemmodel.cpp:2470
#49 0x00007f0e1f7aaef5 in ?? () from /usr/lib64/libQtGui.so.4
#50 0x00007f0e1f7af37f in ?? () from /usr/lib64/libQtGui.so.4
#51 0x00007f0e1f7af82b in ?? () from /usr/lib64/libQtGui.so.4
#52 0x00007f0e1f7afabf in ?? () from /usr/lib64/libQtGui.so.4
#53 0x00007f0e1f7afcee in ?? () from /usr/lib64/libQtGui.so.4
#54 0x00007f0e1f7aff6a in QSortFilterProxyModel::setFilterWildcard(QString const&) () from /usr/lib64/libQtGui.so.4
#55 0x00007f0e1a0d8154 in MailCommon::FolderTreeWidgetProxyModel::setFilterFolder (this=0x2187890, filter=...) at /home/KDE4/source/kdepim/mailcommon/folder/foldertreewidgetproxymodel.cpp:211
#56 0x00007f0e1a0d5a31 in MailCommon::FolderTreeWidget::slotFilterFixedString (this=0x21b8180, text=...) at /home/KDE4/source/kdepim/mailcommon/folder/foldertreewidget.cpp:188
#57 0x00007f0e1a13b488 in MailCommon::FolderTreeWidget::qt_static_metacall (_o=0x21b8180, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff70174390) at /home/KDE4/build/kdepim/mailcommon/moc_foldertreewidget.cpp:59
#58 0x00007f0e1e832d68 in QMetaObject::activate (sender=0x2065d90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff70174390) at kernel/qobject.cpp:3556
#59 0x00007f0e1f634302 in QLineEdit::textChanged(QString const&) () from /usr/lib64/libQtGui.so.4
#60 0x00007f0e1f6346d9 in ?? () from /usr/lib64/libQtGui.so.4
#61 0x00007f0e1e832d68 in QMetaObject::activate (sender=0x2382da0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff701744e0) at kernel/qobject.cpp:3556
#62 0x00007f0e1f8864a5 in QLineControl::textChanged(QString const&) () from /usr/lib64/libQtGui.so.4
#63 0x00007f0e1f639d2d in QLineControl::finishChange(int, bool, bool) () from /usr/lib64/libQtGui.so.4
#64 0x00007f0e1f63ba00 in QLineControl::processKeyEvent(QKeyEvent*) () from /usr/lib64/libQtGui.so.4
#65 0x00007f0e1f630cfa in QLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libQtGui.so.4
#66 0x00007f0e23dd55a8 in KLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkdeui.so.5
#67 0x00007f0e1f288e0a in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#68 0x00007f0e1f6360c1 in QLineEdit::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#69 0x00007f0e23dd6400 in KLineEdit::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#70 0x00007f0e1f2399ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#71 0x00007f0e1f241201 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#72 0x00007f0e23d2747a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#73 0x00007f0e1e81f0ad in QCoreApplication::notifyInternal (this=0x7fff701754b0, receiver=0x2065d90, event=0x7fff70174b00) at kernel/qcoreapplication.cpp:949
#74 0x00007f0e1f2d3eb9 in ?? () from /usr/lib64/libQtGui.so.4
#75 0x00007f0e1f2d4259 in ?? () from /usr/lib64/libQtGui.so.4
#76 0x00007f0e1f2afe7f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#77 0x00007f0e1f2d69c2 in ?? () from /usr/lib64/libQtGui.so.4
#78 0x00007f0e11d7f316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#79 0x00007f0e11d7f668 in ?? () from /usr/lib64/libglib-2.0.so.0
#80 0x00007f0e11d7f70c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#81 0x00007f0e1e84bd55 in QEventDispatcherGlib::processEvents (this=0x1c49ba0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#82 0x00007f0e1f2d6a76 in ?? () from /usr/lib64/libQtGui.so.4
#83 0x00007f0e1e81dd0f in QEventLoop::processEvents (this=this@entry=0x7fff70175460, flags=...) at kernel/qeventloop.cpp:149
#84 0x00007f0e1e81e005 in QEventLoop::exec (this=this@entry=0x7fff70175460, flags=...) at kernel/qeventloop.cpp:204
#85 0x00007f0e1e82313b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#86 0x0000000000403868 in main (argc=1, argv=0x7fff70175768) at /home/KDE4/source/kdepim/kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 17:54:45 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:47:10 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.