Bug 292689 - kmail 4.8 sometimes crashes when I do mail search
Summary: kmail 4.8 sometimes crashes when I do mail search
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-28 14:28 UTC by Hussam Al-Tayeb
Modified: 2012-03-01 15:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.1


Attachments
New crash information added by DrKonqi (13.32 KB, text/plain)
2012-02-16 18:20 UTC, Hussam Al-Tayeb
Details
New crash information added by DrKonqi (13.08 KB, text/plain)
2012-03-01 08:26 UTC, Hussam Al-Tayeb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hussam Al-Tayeb 2012-01-28 14:28:00 UTC
Application: kmail (4.8.0)
KDE Platform Version: 4.8.00 (4.8.0 (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.2-1-ARCH i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
kmail 4.8 sometimes crashes when I do text query mail search.

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

Thread 5 (Thread 0xacfc1b40 (LWP 1337)):
#0  0xb772a424 in __kernel_vsyscall ()
#1  0xb56ba94b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5cf267c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb325d483 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb325d59f in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb17d3a9c in ?? () from /usr/lib/libGL.so.1
#6  0x00000000 in ?? ()

Thread 4 (Thread 0xac6c0b40 (LWP 1343)):
#0  0xb56b8c9f in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb5cf2894 in pthread_mutex_lock () from /lib/libc.so.6
#2  0xb422baab in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0xb422c6b0 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb422c9ea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb60666d7 in QEventDispatcherGlib::processEvents (this=0xabd00478, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb602e35d in QEventLoop::processEvents (this=0xac6c0180, flags=...) at kernel/qeventloop.cpp:149
#7  0xb602e5f9 in QEventLoop::exec (this=0xac6c0180, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5f09cad in QThread::exec (this=0x9c77968) at thread/qthread.cpp:501
#9  0xb5f09d7b in QThread::run (this=0x9c77968) at thread/qthread.cpp:568
#10 0xb5f0cffa in QThreadPrivate::start (arg=0x9c77968) at thread/qthread_unix.cpp:298
#11 0xb17d3a9c in ?? () from /usr/lib/libGL.so.1
#12 0x00000000 in ?? ()

Thread 3 (Thread 0xaab0ab40 (LWP 29579)):
#0  0xb772a424 in __kernel_vsyscall ()
#1  0xb56bacf3 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5cf26d4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb5f0d522 in wait (time=30000, this=0x9ce5590) at thread/qwaitcondition_unix.cpp:84
#4  QWaitCondition::wait (this=0x9ce5538, mutex=0x9ce5534, time=30000) at thread/qwaitcondition_unix.cpp:158
#5  0xb5eff744 in QThreadPoolThread::run (this=0x9cf0328) at concurrent/qthreadpool.cpp:141
#6  0xb5f0cffa in QThreadPrivate::start (arg=0x9cf0328) at thread/qthread_unix.cpp:298
#7  0xb17d3a9c in ?? () from /usr/lib/libGL.so.1
#8  0x00000000 in ?? ()

Thread 2 (Thread 0xab8e2b40 (LWP 29580)):
#0  0xb772a424 in __kernel_vsyscall ()
#1  0xb56bacf3 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5cf26d4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb5f0d522 in wait (time=30000, this=0x9e529f8) at thread/qwaitcondition_unix.cpp:84
#4  QWaitCondition::wait (this=0x9e529c8, mutex=0x9e529c4, time=30000) at thread/qwaitcondition_unix.cpp:158
#5  0xb5eff744 in QThreadPoolThread::run (this=0x9dd89e8) at concurrent/qthreadpool.cpp:141
#6  0xb5f0cffa in QThreadPrivate::start (arg=0x9dd89e8) at thread/qthread_unix.cpp:298
#7  0xb17d3a9c in ?? () from /usr/lib/libGL.so.1
#8  0x00000000 in ?? ()

Thread 1 (Thread 0xaf97d780 (LWP 1285)):
[KCrash Handler]
#7  0xb772a424 in __kernel_vsyscall ()
#8  0xb5c2a02f in raise () from /lib/libc.so.6
#9  0xb5c2b9b5 in abort () from /lib/libc.so.6
#10 0xb5f0155a in qt_message_output (msgType=QtFatalMsg, buf=0xa0ad998 "ASSERT: \"job->currentIndex() <= job->endIndex()\" in file /home/hussam/packages/kdepim/src/kdepim/messagelist/core/model.cpp, line 4275") at global/qglobal.cpp:2252
#11 0xb5f0175b in qt_message (msgType=QtFatalMsg, msg=0xb60a5e68 "ASSERT: \"%s\" in file %s, line %d", ap=0xbfbfeb84 ",\317\342\264\350\316\342\264\263\020") at global/qglobal.cpp:2298
#12 0xb5f01878 in qFatal (msg=0xb60a5e68 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2481
#13 0xb5f01905 in qt_assert (assertion=0xb4e2cf2c "job->currentIndex() <= job->endIndex()", file=0xb4e2cee8 "/home/hussam/packages/kdepim/src/kdepim/messagelist/core/model.cpp", line=4275) at global/qglobal.cpp:1999
#14 0xb4dcf54c in MessageList::Core::ModelPrivate::slotStorageModelRowsInserted (this=0x9c4dcb8, parent=..., from=0, to=0) at /home/hussam/packages/kdepim/src/kdepim/messagelist/core/model.cpp:4275
#15 0xb6047f49 in QMetaObject::activate (sender=0xa06e4b0, m=0xb619d298, local_signal_index=5, argv=0xbfbfecd0) at kernel/qobject.cpp:3547
#16 0xb60a0fb5 in QAbstractItemModel::rowsInserted (this=0xa06e4b0, _t1=..., _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:197
#17 0xb60a170b in qt_static_metacall (_a=0xbfbfedf0, _id=5, _o=0xa06e4b0, _c=<optimized out>) at .moc/debug-shared/moc_qabstractitemmodel.cpp:99
#18 QAbstractItemModel::qt_static_metacall (_o=0xa06e4b0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfbfedf0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:88
#19 0xb6047f49 in QMetaObject::activate (sender=0xa2443c0, m=0xb619d298, local_signal_index=5, argv=0xbfbfedf0) at kernel/qobject.cpp:3547
#20 0xb60a0fb5 in QAbstractItemModel::rowsInserted (this=0xa2443c0, _t1=..., _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:197
#21 0xb6028916 in QAbstractItemModel::endInsertRows (this=0xa2443c0) at kernel/qabstractitemmodel.cpp:2433
#22 0xb69abcfc in QSortFilterProxyModelPrivate::insert_source_items (this=0xa24b048, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:695
#23 0xb69b0b3c in QSortFilterProxyModelPrivate::source_items_inserted (this=0xa24b048, source_parent=..., start=0, end=0, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#24 0xb69b0f20 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xa24b048, source_parent=..., start=0, end=0) at itemviews/qsortfilterproxymodel.cpp:1280
#25 0xb6047f49 in QMetaObject::activate (sender=0x9afb170, m=0xb619d298, local_signal_index=5, argv=0xbfbff080) at kernel/qobject.cpp:3547
#26 0xb60a0fb5 in QAbstractItemModel::rowsInserted (this=0x9afb170, _t1=..., _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:197
#27 0xb6028916 in QAbstractItemModel::endInsertRows (this=0x9afb170) at kernel/qabstractitemmodel.cpp:2433
#28 0xb742a03e in KSelectionProxyModelPrivate::sourceRowsInserted (this=0xa2c4c40, parent=..., start=0, end=0) at /home/hussam/packages/kdelibs/src/kdelibs/kdeui/itemviews/kselectionproxymodel.cpp:1038
#29 0xb6047f49 in QMetaObject::activate (sender=0x9a6e318, m=0xb619d298, local_signal_index=5, argv=0xbfbff210) at kernel/qobject.cpp:3547
#30 0xb60a0fb5 in QAbstractItemModel::rowsInserted (this=0x9a6e318, _t1=..., _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:197
#31 0xb6028916 in QAbstractItemModel::endInsertRows (this=0x9a6e318) at kernel/qabstractitemmodel.cpp:2433
#32 0xb50eff6e in Akonadi::EntityTreeModelPrivate::monitoredItemLinked (this=0xbfbff2d8, item=..., collection=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/entitytreemodel_p.cpp:1177
#33 0xb50e5dec in Akonadi::EntityTreeModel::qt_static_metacall (_o=0x9a6e318, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfbff404) at /home/hussam/packages/kdepimlibs/src/build/akonadi/entitytreemodel.moc:148
#34 0xb6047f49 in QMetaObject::activate (sender=0x9904060, m=0xb52762b8, local_signal_index=4, argv=0xbfbff404) at kernel/qobject.cpp:3547
#35 0xb513231d in Akonadi::Monitor::itemLinked (this=0x9904060, _t1=..., _t2=...) at /home/hussam/packages/kdepimlibs/src/build/akonadi/monitor.moc:217
#36 0xb5136cfb in Akonadi::MonitorPrivate::emitItemNotification (this=0x9904b50, msg=..., item=..., collection=..., collectionDest=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:540
#37 0xb5137ec6 in Akonadi::MonitorPrivate::emitNotification (this=0x9904b50, msg=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:288
#38 0xb50a12b7 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x9904b50, msg=...) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/changerecorder_p.h:60
#39 0xb51377cf in Akonadi::MonitorPrivate::flushPipeline (this=0x9904b50) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:429
#40 0xb5137830 in Akonadi::MonitorPrivate::dataAvailable (this=0x9904b50) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/monitor_p.cpp:438
#41 0xb5132b36 in Akonadi::Monitor::qt_static_metacall (_o=0x9904060, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xbfbff760) at /home/hussam/packages/kdepimlibs/src/build/akonadi/monitor.moc:137
#42 0xb6047f49 in QMetaObject::activate (sender=0x9ad1238, m=0xb5274dfc, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#43 0xb50de3d5 in Akonadi::EntityCacheBase::dataAvailable (this=0x9ad1238) at /home/hussam/packages/kdepimlibs/src/build/akonadi/entitycache_p.moc:102
#44 0xb50a5f89 in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x9ad1238, job=0xa0a7718) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/entitycache_p.h:192
#45 0xb50de485 in Akonadi::EntityCacheBase::qt_static_metacall (_o=0x9ad1238, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfbff8e8) at /home/hussam/packages/kdepimlibs/src/build/akonadi/entitycache_p.moc:54
#46 0xb6047f49 in QMetaObject::activate (sender=0xa0a7718, m=0xb723b4ac, local_signal_index=3, argv=0xbfbff8e8) at kernel/qobject.cpp:3547
#47 0xb7074735 in KJob::result (this=0xa0a7718, _t1=0xa0a7718) at /home/hussam/packages/kdelibs/src/build/kdecore/kjob.moc:208
#48 0xb7074787 in KJob::emitResult (this=0xa0a7718) at /home/hussam/packages/kdelibs/src/kdelibs/kdecore/jobs/kjob.cpp:318
#49 0xb512cec3 in Akonadi::JobPrivate::delayedEmitResult (this=0xa0b9738) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/job.cpp:144
#50 0xb6043301 in QMetaCallEvent::placeMetaCall (this=0xa26e2a8, object=0xa0a7718) at kernel/qobject.cpp:525
#51 0xb604d75b in QObject::event (this=0xa0a7718, e=0xa26e2a8) at kernel/qobject.cpp:1195
#52 0xb62dac6c in notify_helper (e=0xa26e2a8, receiver=0xa0a7718, this=0x98f9ef8) at kernel/qapplication.cpp:4550
#53 QApplicationPrivate::notify_helper (this=0x98f9ef8, receiver=0xa0a7718, e=0xa26e2a8) at kernel/qapplication.cpp:4522
#54 0xb62e0ced in QApplication::notify (this=0x98f9ef8, receiver=0xa0a7718, e=0xa26e2a8) at kernel/qapplication.cpp:4411
#55 0xb743d3c8 in KApplication::notify (this=0xbfc0016c, receiver=0xa0a7718, event=0xa26e2a8) at /home/hussam/packages/kdelibs/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#56 0xb602fffe in QCoreApplication::notifyInternal (this=0xbfc0016c, receiver=0xa0a7718, event=0xa26e2a8) at kernel/qcoreapplication.cpp:876
#57 0xb6033dc0 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#58 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9845130) at kernel/qcoreapplication.cpp:1500
#59 0xb603418c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#60 0xb60661e4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#61 postEventSourceDispatch (s=0x98fae88) at kernel/qeventdispatcher_glib.cpp:279
#62 0xb422c01f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#63 0xb422c750 in ?? () from /usr/lib/libglib-2.0.so.0
#64 0xb422c9ea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#65 0xb6066677 in QEventDispatcherGlib::processEvents (this=0x9845ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#66 0xb639de1a in QGuiEventDispatcherGlib::processEvents (this=0x9845ea0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#67 0xb602e35d in QEventLoop::processEvents (this=0xbfc00094, flags=...) at kernel/qeventloop.cpp:149
#68 0xb602e5f9 in QEventLoop::exec (this=0xbfc00094, flags=...) at kernel/qeventloop.cpp:204
#69 0xb603423a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#70 0xb62d8a24 in QApplication::exec () at kernel/qapplication.cpp:3811
#71 0x08049c9e in main (argc=3, argv=0xbfc00254) at /home/hussam/packages/kdepim/src/kdepim/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Hussam Al-Tayeb 2012-02-16 18:20:05 UTC
Created attachment 68852 [details]
New crash information added by DrKonqi

kmail (4.8.0) on KDE Platform 4.8.00 (4.8.0) using Qt 4.8.0

- What I was doing when the application crashed:

still crashes with akonadi 1.7.0 and kmail from latest 4.8 branch

-- Backtrace (Reduced):
#13 0xb5f9b905 in qt_assert (assertion=0xb4ec95ec "job->currentIndex() <= job->endIndex()", file=0xb4ec95a8 "/home/hussam/packages/kdepim/src/kdepim/messagelist/core/model.cpp", line=4275) at global/qglobal.cpp:1999
#14 0xb4e6b62c in MessageList::Core::ModelPrivate::slotStorageModelRowsInserted (this=0x90f6838, parent=..., from=0, to=0) at /home/hussam/packages/kdepim/src/kdepim/messagelist/core/model.cpp:4275
[...]
#16 0xb613afd5 in QAbstractItemModel::rowsInserted (this=0x964f430, _t1=..., _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:197
#17 0xb613b72b in qt_static_metacall (_a=0xbf84a3b0, _id=5, _o=0x964f430, _c=<optimized out>) at .moc/debug-shared/moc_qabstractitemmodel.cpp:99
#18 QAbstractItemModel::qt_static_metacall (_o=0x964f430, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf84a3b0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:88
Comment 2 Hussam Al-Tayeb 2012-03-01 08:26:31 UTC
Created attachment 69204 [details]
New crash information added by DrKonqi

kmail (4.8.0) on KDE Platform 4.8.00 (4.8.0) using Qt 4.8.0

again I did a mail search using subject and kmail crashed.

-- Backtrace (Reduced):
#13 0xb5eea905 in qt_assert (assertion=0xb4e127cc "job->currentIndex() <= job->endIndex()", file=0xb4e12788 "/home/hussam/packages/kdepim/src/kdepim/messagelist/core/model.cpp", line=4232) at global/qglobal.cpp:1999
#14 0xb4db47bc in MessageList::Core::ModelPrivate::slotStorageModelRowsInserted (this=0x8d68c70, parent=..., from=0, to=0) at /home/hussam/packages/kdepim/src/kdepim/messagelist/core/model.cpp:4232
[...]
#16 0xb6089fd5 in QAbstractItemModel::rowsInserted (this=0x90b1e70, _t1=..., _t2=0, _t3=0) at .moc/debug-shared/moc_qabstractitemmodel.cpp:197
#17 0xb608a72b in qt_static_metacall (_a=0xbf80d240, _id=5, _o=0x90b1e70, _c=<optimized out>) at .moc/debug-shared/moc_qabstractitemmodel.cpp:99
#18 QAbstractItemModel::qt_static_metacall (_o=0x90b1e70, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf80d240) at .moc/debug-shared/moc_qabstractitemmodel.cpp:88
Comment 3 Laurent Montel 2012-03-01 14:58:42 UTC
Fixed in 4.8.1
Comment 4 Hussam Al-Tayeb 2012-03-01 15:09:17 UTC
cool, I just did a build from 4.8 branch. thank you.