Bug 290175

Summary: Kmail crash after trying to delete filtered messages
Product: [Applications] kmail2 Reporter: Hrvoje Senjan <hrvoje.senjan>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: gustavo.diaz, nathan, steveire, Tanktalus, winter
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hrvoje Senjan 2011-12-30 13:05:45 UTC
Application: kmail (4.8 rc1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95) "release 10"
Qt Version: 4.8.0
Operating System: Linux 3.1.6-1-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

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

Using qt 4.8, KDE 4.8 RC1 and akonadi 1.7 RC1 . Mails where filtered on my imap account.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7f2705ed8780 (LWP 32415))]

Thread 5 (Thread 0x7f26e7f78700 (LWP 32423)):
#0  0x00007f2700f75e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f26f7422c12 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f26f7dc11a0) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007f26f7422c49 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007f2700f71f05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f270319853d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f26e765f700 (LWP 32424)):
#0  0x00007f27031a5660 in pthread_mutex_unlock () from /lib64/libc.so.6
#1  0x00007f26fb47af81 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f27047f5946 in QEventDispatcherGlib::processEvents (this=0x7f26e00008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#3  0x00007f27047c5672 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f27047c58c7 in QEventLoop::exec (this=0x7f26e765ee00, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007f27046c6537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#6  0x00007f27046c955b in QThreadPrivate::start (arg=0xaf3630) at thread/qthread_unix.cpp:298
#7  0x00007f2700f71f05 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f270319853d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f26e5b44700 (LWP 32425)):
#0  0x00007f2700f761eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27046c99cf in wait (time=30000, this=0xd79a80) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xd799f8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f27046bcddf in QThreadPoolThread::run (this=0xd8c860) at concurrent/qthreadpool.cpp:141
#4  0x00007f27046c955b in QThreadPrivate::start (arg=0xd8c860) at thread/qthread_unix.cpp:298
#5  0x00007f2700f71f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f270319853d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f26e5112700 (LWP 32428)):
#0  0x00007f2700f761eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f27046c99cf in wait (time=30000, this=0x1746920) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1783fb8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f27046bcddf in QThreadPoolThread::run (this=0x1784f40) at concurrent/qthreadpool.cpp:141
#4  0x00007f27046c955b in QThreadPrivate::start (arg=0x1784f40) at thread/qthread_unix.cpp:298
#5  0x00007f2700f71f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f270319853d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2705ed8780 (LWP 32415)):
[KCrash Handler]
#6  0x00007f27030f3d95 in raise () from /lib64/libc.so.6
#7  0x00007f27030f52ab in abort () from /lib64/libc.so.6
#8  0x00007f27046bec84 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2252
#9  0x00007f27046bee3f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f270482a428 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff98a9dc38) at global/qglobal.cpp:2298
#10 0x00007f27046befe4 in qFatal (msg=<optimized out>) at global/qglobal.cpp:2481
#11 0x00007f27046bf02a in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at global/qglobal.cpp:1999
#12 0x00007f27058680b8 in KSelectionProxyModelPrivate::topLevelRowCount (this=<optimized out>) at /usr/src/debug/kdelibs-4.7.95/kdeui/itemviews/kselectionproxymodel.cpp:1344
#13 0x00007f270586ce7b in KSelectionProxyModel::rowCount (this=0x128b900, index=...) at /usr/src/debug/kdelibs-4.7.95/kdeui/itemviews/kselectionproxymodel.cpp:2160
#14 0x00007f27047ba592 in hasIndex (parent=..., column=0, row=32, this=0x128b900) at kernel/qabstractitemmodel.cpp:1636
#15 QAbstractItemModel::hasIndex (this=0x128b900, row=32, column=0, parent=...) at kernel/qabstractitemmodel.cpp:1632
#16 0x00007f2705868cf8 in KSelectionProxyModel::index (this=0x128b900, row=32, column=0, parent=...) at /usr/src/debug/kdelibs-4.7.95/kdeui/itemviews/kselectionproxymodel.cpp:2184
#17 0x00007f27040f4df9 in QSortFilterProxyModelPrivate::proxy_to_source (this=<optimized out>, proxy_index=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:374
#18 0x00007f27040f4efd in QSortFilterProxyModel::mapToSource (this=<optimized out>, proxyIndex=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:2502
#19 0x00007f27040f39e1 in QSortFilterProxyModel::data (this=<optimized out>, index=..., role=34) at itemviews/qsortfilterproxymodel.cpp:1715
#20 0x00007f26feca1b96 in MessageList::StorageModel::itemForRow(int) const () from /usr/lib64/libmessagelist.so.4
#21 0x00007f26feca5b08 in MessageList::Widget::Private::itemForRow(int) const () from /usr/lib64/libmessagelist.so.4
#22 0x00007f26feca5e13 in MessageList::Widget::viewMessageSelected(MessageList::Core::MessageItem*) () from /usr/lib64/libmessagelist.so.4
#23 0x00007f26fec8379c in MessageList::Core::View::slotSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libmessagelist.so.4
#24 0x00007f27047da751 in QMetaObject::activate (sender=0xbb3740, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff98a9e250) at kernel/qobject.cpp:3556
#25 0x00007f27040c4997 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:166
#26 0x00007f27040ca3d1 in QItemSelectionModel::emitSelectionChanged (this=0xbb3740, newSelection=<optimized out>, oldSelection=<optimized out>) at itemviews/qitemselectionmodel.cpp:1600
#27 0x00007f27040cb781 in QItemSelectionModel::select (this=0xbb3740, selection=<optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:1110
#28 0x00007f26fec836a6 in MessageList::Core::View::slotSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libmessagelist.so.4
#29 0x00007f26fec61df1 in ?? () from /usr/lib64/libmessagelist.so.4
#30 0x00007f27047da751 in QMetaObject::activate (sender=0xbb4718, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#31 0x00007f27047df649 in QObject::event (this=0xbb4718, e=<optimized out>) at kernel/qobject.cpp:1166
#32 0x00007f2703b4be84 in notify_helper (e=0x7fff98a9eec0, receiver=0xbb4718, this=0x66fb70) at kernel/qapplication.cpp:4550
#33 QApplicationPrivate::notify_helper (this=0x66fb70, receiver=0xbb4718, e=0x7fff98a9eec0) at kernel/qapplication.cpp:4522
#34 0x00007f2703b50d03 in QApplication::notify (this=0x7fff98a9f2f0, receiver=0xbb4718, e=0x7fff98a9eec0) at kernel/qapplication.cpp:4411
#35 0x00007f270587f1ce in KApplication::notify (this=0x7fff98a9f2f0, receiver=0xbb4718, event=0x7fff98a9eec0) at /usr/src/debug/kdelibs-4.7.95/kdeui/kernel/kapplication.cpp:311
#36 0x00007f27047c688c in QCoreApplication::notifyInternal (this=0x7fff98a9f2f0, receiver=0xbb4718, event=0x7fff98a9eec0) at kernel/qcoreapplication.cpp:876
#37 0x00007f27047f76f8 in sendEvent (event=0x7fff98a9eec0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#38 QTimerInfoList::activateTimers (this=0x672060) at kernel/qeventdispatcher_unix.cpp:626
#39 0x00007f27047f50ad in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#40 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#41 0x00007f27047f50d1 in idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#42 0x00007f26fb47a58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f26fb47ad88 in ?? () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f26fb47af59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f27047f58df in QEventDispatcherGlib::processEvents (this=0x60b000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007f2703bef2de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f27047c5672 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f27047c58c7 in QEventLoop::exec (this=0x7fff98a9f1e0, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f27047ca425 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#50 0x0000000000402601 in main (argc=3, argv=0x7fff98a9f488) at /usr/src/debug/kdepim-4.7.95/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Allen Winter 2011-12-30 13:41:48 UTC
adding Steve to the CC list.
Comment 2 Christophe Marin 2012-01-02 16:54:13 UTC
*** Bug 290403 has been marked as a duplicate of this bug. ***
Comment 3 Gustavo A. Díaz 2012-01-05 12:48:06 UTC
Hi, same is happening to me. Using Kubuntu with KDE 4.8 RC1
Comment 4 Hrvoje Senjan 2012-01-05 15:18:39 UTC
Fixed for me with 4.8RC2
Comment 5 Sebastien Renard 2012-08-18 10:55:15 UTC
*** Bug 290226 has been marked as a duplicate of this bug. ***